Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!darwin.sura.net!howland.reston.ans.net!agate!tfs.com!julian From: julian@TFS.COM (Julian Elischer) Subject: Re: FreeBSD Questions Message-ID: <CG5x46.JI4@tfs.com> Sender: usenet@tfs.com Organization: TRW Financial Systems, Oakland, CA References: <chiCG4qp4.H3E@netcom.com> <JKH.93Nov7210846@whisker.lotus.ie> Date: Mon, 8 Nov 1993 07:36:05 GMT Lines: 27 Jordan K. Hubbard <jkh@whisker.lotus.ie> wrote: >In article <chiCG4qp4.H3E@netcom.com> chi@netcom.com (Curt Hagenlocher) writes: > postings. Is there support for sending commands to my CDROM to play > music CDs? If it matters, I've got an Adaptec 1542 controller and > >Yes, don't have the ioctl's offhand - look in /usr/src/sys/scsi/scsi_cd.h. >There's even an `xcdplayer' package floating around. The ioctl information is actualy in /sys/sys/cdio.h, and unfortunatly the interface needs a LOT of work. it has the following flaws: 1/ it uses bitfields and so is going to fail with the MAC port (and other big-endians) 2/ it is very SCSI specific, simply exporting to the user some of the SCSI 2 cd music commands and structures. 3/ it is totally incompatible with the (zillion) incompatiple SCSI-1 cdroms that have manufacturer specific (made up on the spot) audio commands. (e.g. the Nec 35,38, etc (upto 85)) xcdplayer does in fact exist and does work for conforming SCSI-II cdroms . (I don't have it with me though) > julian