> Hmmm... I don't know what readvcd-2.3 is at all, but this looks
> very similar to a patch that was added to drivers/block/ide-cd.c
> to add support for these ioctls. What I am curious about is if _anybody_
> has ever used or will ever plan on using the CDROMREADMODE1, the
> CDROMREADMODE2, or CDROMREADRAW ioctls for anything? I don't think
> they are very useful, and I have been considering dropping them (as
> part of my major updates to the kernel CD-ROM support). Do you actually
> use these ioctls for anything?
Please, DON'T!! :)
> Now, before everyone gets their underware in a wad, this should be
> seriously considered. If you want to get raw CD-DA to perfectly
> copy your CD collection, you should use the CDROMREADAUDIO ioctl.
> Is there really a need to read raw frames of mode1, mode2, or
> raw (whatever) data? Boris, what are you needing these ioctls for?
>
For playing video CDs, like subject says. Look to http://www.mpegtv.com.
Their cool CD-i and video CD (or is it the same?) player works nice under linux.
It reads mpeg stream, which is read from CD tracks by readvcd (pointer is at
mpegtv's FAQ) which in turn uses CDROMREADRAW ioctl to read it.
-- Best regards, -- Boris.