lkml.org 
[lkml]   [1999]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Questions on CDROM support
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.062 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site