Re: Digital Audio Extraction with ATAPI drives far from perfect

From: Jens Axboe
Date: Sat Jan 07 2006 - 06:54:37 EST


On Sat, Jan 07 2006, Sebastian wrote:
> On Sa, Jan 07, 2006 at 12:00:04 +0100, Jens Axboe wrote:
> >
> > One more question - when using ide-scsi, does it use the SG_IO ioctl to
> > rip cdda, or does it use CDROMREADAUDIO like I'm assuming it does with
> > ide-cd? Is there a way to force SG_IO usage with a given device in
> > cdparanoia? If so, please try ide-cd with SG_IO usage instead.
> >
>
> There's one reference in cdparanoia to CDROMREADAUDIO, none at all to SG_IO:
>
> interface/cooked_interface.c line 89:
>
> do {
> if((err=ioctl(d->ioctl_fd, CDROMREADAUDIO, &arg))){
> if(!d->error_retry)return(-7);
> switch(errno){
> ...
>
> http://svn.xiph.org/trunk/cdparanoia/interface/cooked_interface.c

(please, don't drop me from the cc list!!)

it might be using the older sg interface, opening read/write to /dev/sgX
char devices directly. In which case you can't test it with ide-cd,
sadly.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/