Subject: Re: cdda2wav 1.8 and HITACHI CDR-7930: Solution
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Scott Presnell <srp@zgi.com>
List: port-i386
Date: 02/07/2000 08:26:28
Manuel Bouyer wrote:
> > % /usr/local/audio/bin/cdda2wav -D /dev/cd0d -B -V
> > samplefile size will be 423211868 bytes.
> > recording 2399.01600 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
> > overlap:min/max/cur, jitter, percent_done:
> > ??/??/??/??????? 0%
> > ReadSony12 CDDA...
> > Executing 'Read12' command on Bus 15 Target 0, Lun 0 timeout 100s
> > CDB: D8 00 00 00 00 00 00 00 00 1A 00 00
> > /usr/local/audio/bin/cdda2wav: Input/output error. Read12: scsi sendcmd: retryable error
> > CDB: D8 00 00 00 00 00 00 00 00 1A 00 00
> > status: 0x0 (GOOD STATUS)
> > resid: 61152
> > cmd finished after 0.004s timeout 100s
> > Read CD-ROM12 failed
> > Child exited with 2
> >
>
> Does the kernel prints some error message at this time ?
No the kernel doesn't.
Sorry, I'm about to answer my own question:
I figured it out after trying cdd. Cdd recognzied that it didn't know
the CDR-7930, but kindly gave me the option of trying out different
SCSI command sets. At the risk of locking up my computer, I did that.
It seems that the HITACHI CDR-7930 uses something resembling the
SONY CD-ROM CDU311 command set. From that I altered cdda2wav to use
ReadCddaMMC12 when accessing the CDR-7930 drive. With these modifications
I was able to get valid .wav files from the CD. For the curious, the
SCSI command that works is 0xBE.
Thanks.
- Scott