Re: even newer version of USB HID autosuspend

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.kernel.input,gmane.linux.usb.devel
Message-ID <[email protected]>
Am Freitag 05 Oktober 2007 schrieb Jiri Kosina:
> On Fri, 5 Oct 2007, Oliver Neukum wrote:
> 
> > Please review and/or test.
> 
> Hi Oliver,
> 
> thanks a lot for taking care of this, I will look at it and give it some 
> testing ASAP.
> 
> I am still surprised how large this patch has to be ...

So was I.

1. The input layer insists on doing output from interrupt
2. HID has very elaborate error handling which complicates locking
3. A workaround for autorepeat is included

> > This leaves me with a planning difficulty. For keyboards it is not fully 
> > transparent. The LEDs are switched off when then keyboard is suspended. 
> > Should I now implement a mode where active LEDs block suspension and if 
> > so, how do I switch it on?
> 
> Maybe module parameter of usbhid could be used to specify the desired 
> behavior?

Yes, but what are the desired behaviors?

	Regards
		Oliver
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.