Date: Mon, 4 Dec 1995 11:36:46 -0800 (PST) From: Julian Elischer <julian@ref.tfs.com> To: paul@netcraft.co.uk Cc: msmith@atrad.adelaide.edu.au, questions@freebsd.org Subject: Re: Audio from cdrom Message-ID: <199512041936.LAA06118@ref.tfs.com> In-Reply-To: <199512041500.PAA23322@server.netcraft.co.uk> from "Paul Richards" at Dec 4, 95 03:00:43 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > In reply to Michael Smith who said > > > I hacked the code so that it did do a drive query and the SCSI_INQUIRY > command failed! Regardless of non-standard audio commands I suspect > there's something more generic wrong if I can't even get the drive > to tell me what it is. you have to open the control device fopr the cdrom to get the ioctls to work.. in other words in needs to open /dev/rcd0.ctl, not /dev/cd0 this is because User-level scsi commands are genericaly dangerous and we demsnd that to use them , you need have specific permissions (e.g. read/write perms on the control device) julian > > I'm open to ideas but I can't do any work on this until next weekend because > I'm back at work and the box is at home. > > > -- > Paul Richards, Netcraft Ltd. > Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk > Phone: 0370 462071 (Mobile), +44 1225 447500 (work) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512041936.LAA06118>