*BSD News Article 89663


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeeds.sol.net!hammer.uoregon.edu!cs.uoregon.edu!usenet.ee.pdx.edu!sirius.cs.pdx.edu!daver
From: daver@sirius.cs.pdx.edu (Dave Roethig)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: xcdplayer for ATAPI Drve??
Date: 18 Feb 1997 18:40:40 GMT
Organization: Portland State University, Portland, OR
Lines: 51
Message-ID: <5ect38$c1i@walt.ee.pdx.edu>
References: <5eacso$auo@walt.ee.pdx.edu> <hgace5.ir1.ln@dolphin.neosoft.com>
NNTP-Posting-Host: sirius.cs.pdx.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35782


Conrad Sabatier (conrads@neosoft.com) wrote:
: 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




I installed the patch and re-built the kernel and xcdplayer 
seems to work well!

One problem is still there:  there is a regular hiss when a CD
is played.  It sounds like a record player playing a record
with a small scratch.

I think the CD drive is a Toshiba.

Is the CD drive not being sampled fast enough?


Thanks
Dave