Messages in this thread | | | Date | Mon, 30 Mar 1998 15:13:08 +0200 | From | Pavel Machek <> | Subject | Re: Detecting media insertion |
| |
> Alistair Riddell wrote: > >This has been brought up many times before... > >There is no way that you can detect media insertion/eject with standard > >hardware. > >Windows works by polling the device every few seconds which obviously > >increases the load on the system. > > Polling would be fine. This is not something I need to do > one thousand times per second. There is no need for an interrupt line. > I just don't want the system to pull the drive tray in when I check.
THis is *hard* to do on floppy. I remember I did it without sounds, but light was on all the time (IIRC). I still have that DOS program somewhere.
Pavel
-- Do *NOT* buy software, GNU software is better and free! Pavel GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |