Re: Keyboard LED state after suspend
From: Dmitry Torokhov <hidden>
Date: 2008-11-13 21:52:53
On Thu, Nov 13, 2008 at 10:08:37PM +0100, Oliver Neukum wrote:
Am Donnerstag, 13. November 2008 21:05:39 schrieb Alan Stern:quoted
Jiri and Oliver: I tried the experiment of turning off NumLock and all the other keyboard LED settings before hibernating. After resuming, the LEDs on my PS/2 keyboard remained off but the NumLock LED on my USB keyboard was on. Probably the BIOS turned it on during the restart and Linux never turned it back off. Should we set the keyboard LED state whenever a keyboard is resumed? Is this handled already in the new autosuspend work?No, as this is no autosuspend problem. In fact it is not a driver problem at all. This suggests that the HID layer should have hooks in resumption.
Actually I have patches that do that in input layer. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html