Re: Of removable devices
Jens Axboe (axboe@suse.de)
Thu, 17 Feb 2000 00:08:29 +0100
On Wed, Feb 16 2000, Erik Andersen wrote:
> Sure you can lock the drive shut and use the CDROM_SEND_PACKET ioctl to slam
> out a INQUIRY packet, and if it reports that it supports Mt. Fuji, then you
> can shoot out a GET_CONFIGURATION packet and read the results to see if 1)
> medium can be locked 2) and supports Morphing. If all is well so far,
> then you can send out a GET_EVENT/STATUS_NOTIFICATION packet and check the
> result to see if the external request notification class is supported. If
> it is, then you can do completely host controlled CDROM drive control (of
> course since no drives supports asyncronous host event notification
> ("Asyncronous Morphing"), you will need to poll the drive to see any media
> events.
>
> And then there is the little problem at Mt. Fuji support
> is not especially wide-spread at the moment...
Exactly, it would be very bad to count on anything but recent CD-R/W
and DVD drives supporting the event profile feature. Even the
(relatively) new Yamaha CRW6414 does not report the media event
class, although it does work...
--
* Jens Axboe <axboe@suse.de>
* Linux CD-ROM Maintainer
* http://www.kernel.dk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/