[7223] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

reading data from a cd

daemon@ATHENA.MIT.EDU (Sam Skivington)
Wed Sep 15 15:16:54 1999

From:   "Sam Skivington" <sam.skivington@virgin.net>
To:     <linux-scsi@vger.rutgers.edu>
Date:   Wed, 15 Sep 1999 19:34:31 +0100

Hi.  I hope this is the right mailing list for my question...and sorry to
sound like a complete newbie...

I can do this already with normal (zip and hard) disks, but I want to read
data from a CD ROM device. not audio data, just normal (mode1) data.

How do I go about it?  I guess my first step is to use READ TOC, and later
on I must use SEEK10 and, later still,  READ10, but what is the complete
sequence for finding out where and reading, say, the first block of data
from track 1 (mode 1 format) on a cd?

If there is any C code out there which can do it I'd be very grateful if
someone could point me in the direction of it.

Thanx - Sam




-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post