linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Keyboard LED state after suspend
@ 2008-11-13 20:05 Alan Stern
       [not found] ` <Pine.LNX.4.44L0.0811131501250.3036-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Stern @ 2008-11-13 20:05 UTC (permalink / raw)
  To: Jiri Kosina, Oliver Neukum; +Cc: linux-input-u79uwXL29TY76Z2rM5mHXA, USB list

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?

Alan Stern

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard LED state after suspend
       [not found] ` <Pine.LNX.4.44L0.0811131501250.3036-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
@ 2008-11-13 21:08   ` Oliver Neukum
       [not found]     ` <200811132208.37874.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Neukum @ 2008-11-13 21:08 UTC (permalink / raw)
  To: Alan Stern; +Cc: Jiri Kosina, linux-input-u79uwXL29TY76Z2rM5mHXA, USB list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard LED state after suspend
       [not found]     ` <200811132208.37874.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
@ 2008-11-13 21:52       ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2008-11-13 21:52 UTC (permalink / raw)
  To: Oliver Neukum
  Cc: Alan Stern, Jiri Kosina, linux-input-u79uwXL29TY76Z2rM5mHXA,
	USB list

On Thu, Nov 13, 2008 at 10:08:37PM +0100, Oliver Neukum wrote:
> 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.
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-13 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-13 20:05 Keyboard LED state after suspend Alan Stern
     [not found] ` <Pine.LNX.4.44L0.0811131501250.3036-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2008-11-13 21:08   ` Oliver Neukum
     [not found]     ` <200811132208.37874.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2008-11-13 21:52       ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).