Date: Fri, 19 Jul 1996 18:48:18 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-scsi@freebsd.org Cc: jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi) Subject: Re: CD driver Message-ID: <199607191648.SAA01276@uriah.heep.sax.de> In-Reply-To: <9607191436.AA18664@cabri.obs-besancon.fr> from Jean-Marc Zucconi at "Jul 19, 96 03:36:09 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Jean-Marc Zucconi wrote: > > 0xd9? Sheesh. Yet another one... What is it? The same parameter > > list as 0xa8 (READ(12))? > > Here is how I do it: > #define READ_DIGITAL_AUDIO 0xd9 /* cdrom read digital audio */ > > struct scsi_read_digitalaudio > { > u_char op_code; > u_char :5; > u_char lun:3; > u_char unused1; > u_char start_m; > u_char start_s; > u_char start_f; > u_char unused2; > u_char end_m; > u_char end_s; > u_char end_f; > u_char subcode; > u_char control; > }; Ah, so this looks like a READ AUDIO MSF command. 0xd8 is a READ AUDIO LBA (with the exact same parameter list as 0xa8 -- READ(12)). Can you perchance test whether your drive would also grok the 0xd8 one? (Btw., what's the `subcode' field for?) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607191648.SAA01276>