Floppy drive LED

From: Alan Jenkins
Date: Fri Mar 18 2005 - 10:29:36 EST


I compiled my kernel (2.6.11) with the floppy driver as a module - so it
is not loaded on boot. When the floppy driver is laoded, the LED
behaves as expected. When I unload it, the LED stays in its current
state. So if I do this...

# modprobe floppy; sleep 5; dd if=/dev/fd0 count=1 of=/dev/null; rmmod
floppy

...then the LED will be on when the driver is unloaded, so it will stay
that way until the driver is loaded again.

Its not at all important, and its probably known, but it doesn't look
very professional :). Any thoughts? Would it be possible to tell
whether the LED is on or not, and wait until its off?

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/