DenverD said the following on 11/25/2009 07:54 AM:
this is not meant to be funny: have you tried a little patience?
or, i wonder if you are using 'old school' techniques to manually mount USB or CD/DVDs? you do know that that is all now automatic (on modern hardware, are you running an antique?)...just put it in and WAIT a SECOND or three and let it run its routines to detect, label, mount, and announce it is ready to work/play..
THEN, if you unplug/remove it, it _should_ detect that (maybe not in the next nanosecond) and run its routines to free the device/port, etc..and be ready for another plug-in..
How long, one asks, how long does one have to wait? Well, it all depends. If the machine was in a rapid spin-loop at the kernel, inspecting the CD-ROM and USB ports then it would be virtually instantaneous, but you wouldn't be getting any other work done :-) So a process wakes up every few seconds and checks. Well roughly, depending on other things like load and scheduling. I see in my process tree (trimmed to fit for readability) root hald-addon-input: Listening on /dev/input/event7 /dev/input/event6 /dev/input/event8 /dev/input/event4 /dev/input/event5 /dev/input/event0 /dev/input/event9 root hald-addon-storage: polling /dev/sdc (every 2 sec) root hald-addon-storage: polling /dev/sdb (every 2 sec) 105 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket root hald-addon-storage: polling /dev/sr0 (every 2 sec) So it looks like in this case its every two seconds. Where is that set? I don't know. I also don't know why sometimes its 16 seconds and why sometimes its "disabled' and why the ACPID listener isn't root or what that significance is. Maybe someone can tell me. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org