Re: Questions on CDROM support

Jens Axboe (axboe@image.dk)
Mon, 11 Oct 1999 10:33:40 +0200


On Sun, Oct 10 1999, Dave Boynton wrote:
> > 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.

Yes, and it does so by polling with GET_EVENT_STATUS a couple
of times per second.

-- 
*  Jens Axboe <axboe@image.dk>
*  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/