Re: Questions on CDROM support
Dave Boynton (dboynton@worldnet.att.net)
Sun, 10 Oct 1999 21:22:47 -0400
> From: Jens Axboe <axboe@image.dk>
> On Sat, Oct 09 1999, Anthony Barbachan wrote:
> > Do SCSI or EIDE CDROMs notify the host enviroment in any way that the eject
> > button has been pressed or that its status has changed either directly or
> > indirectly? If not, could the pressing of the eject button be monitored
> > through some sort of polling?
>
> Same as above. Your best choice is probably to poll with
> CDROM_MEDIA_CHANGED and use that information, although that
> can't tell you about eject attempts.
DirectCD in Win95 does determine that the eject button was pressed with
a mounted disc, and pops up a dialog asking if they want to close the
disc before ejecting.
Dave Boynton
dave@trylinux.com
-
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/