Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: *kernel hacking* question (sort of)



On Tue, 1 Dec 1998, Scott Stone wrote:

> OK.  I want to know if there's an ioctl or whatever that I can use to
> determine if the CD tray is open or closed.  There are IOCTLS to open
> it and to close it, but I can't find one that will tell me what the
> current state is.  Does such a thing exist?

You may want to play around with CDROM_DISC_STATUS.

-- Chris

----------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 *** place TBA ***
IMPORTANT: TLUG is looking for a venue for the next meeting
if you could host in your university or office, please contact us
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
----------------------------------------------------------------
more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links