Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.telstra.net!psgrain!usenet.eel.ufl.edu!www.nntp.primenet.com!nntp.primenet.com!EU.net!newsfeed.internetmci.com!uuneo.neosoft.com!dolphin.neosoft.com!nobody From: conrads@neosoft.com (Conrad Sabatier) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: xcdplayer for ATAPI Drve?? Date: Tue, 18 Feb 1997 07:23:29 -0600 Organization: NeoSoft, Inc. Lines: 29 Message-ID: <hgace5.ir1.ln@dolphin.neosoft.com> References: <5eacso$auo@walt.ee.pdx.edu> Reply-To: conrads@neosoft.com NNTP-Posting-Host: 206.27.167.0 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35806 In article <5eacso$auo@walt.ee.pdx.edu>, daver@sirius.cs.pdx.edu (Dave Roethig) writes: > > I am using FreeBSD 2.1.0 with a ATAPI CD drive. > I compiled xcdplayer from the ports dist. but I am > having trouble running it. > > I call it with "xcdplayer -device /dev/wcd0c", > It opens a window and then displays errors: > > ioctl(cdromreadtocentry): Invalid argument > ioctl(cdromreadtocentry): Invalid argument > cdrom_get_curtime: error from cdrom_open > > > > What's wrong?? It has to do with the ioctl mechanism in the ATAPI driver. Certain calls that work with "standard" CD-ROMs fail. Someone posted a patch here recently for the wcd driver that "translates" certain calls into something the device can handle. I'll see if I can find my copy and either post it again or mail it to you. Remind me, if I don't get back to you soon enough. -- Conrad Sabatier http://www.neosoft.com/~conrads