Thread (14 messages) 14 messages, 7 authors, 2015-06-30

Re: [PATCH][RFC] usbhid: enable autosuspend for internal devices

From: Jiri Kosina <hidden>
Date: 2015-06-29 11:16:56
Also in: lkml

On Mon, 29 Jun 2015, Oliver Neukum wrote:
quoted
Last time we were testing this, autosuspend for USB HID devices was quite 
a disaster.

Do you have any idea whether udev developers tested the "autosuspend on by 
default for USB HID devices" on reasonable set of devices?

The culrpits that I remember from top of my head (it's been long time 
ago):

- the LEDs for suspended device go off. This is very confusing at least on 
  keyboards, and brings really bad user experience
That is a bug. hidinput_count_leds() is supposed to prevent that.
This is a HW property and nothing kernel can do about. I am not saying it 
doesn't bring the LEDs up to a proper state again once auto-resumed. But I 
hate the LEDs going off a few seconds after I stop typing (i.e. once the 
keyboard gets auto-suspended).

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help