Re: Detecting media insertion

George Bonser (grep@oriole.sbay.org)
Sun, 29 Mar 1998 16:41:19 -0800 (PST)


Solaris does the same. You can see the cdrom drive access lamp flicker at
regular intervals as it is being polled. vold constantly checks for a
media change.

On Sun, 29 Mar 1998, Adam J. Richter wrote:

> 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.
>

George Bonser
Just be thankful that Microsoft does not manufacture pharmaceuticals.
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu