# Re: Keyboard LED state after suspend

- From: Oliver Neukum \<hidden\>
- Date: 2008-11-13 21:08:37 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2008/11/8910417
- Thread: https://ratatoskr.run/linux-input/2008/11/8910417/t.md

```text
Am Donnerstag, 13. November 2008 21:05:39 schrieb Alan Stern:
> 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.

	Regards
		Oliver
--
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
```
