Oliver Neukum wrote:
> Am Dienstag 06 Mai 2008 19:23:50 schrieb Alan Jenkins:
>   
>   
>> I had to enable autosuspend manually (which is a good).  It doesn't
>> implement "don't suspend when keyboard LEDs are set", but I guess you
>>     
>
> This version should do that.
>
>   
>> already knew that. Powertop shows it's effective at allowing my USB
>> device tree to suspend, avoiding UHCI wakeups.  I didn't get any error
>> messages or lockdep warnings for you to look at, sorry.  I can comment
>> on the experience and what I assume is my buggy hardware though :-).
>>     
>
> Common, unfortunately.
>  
>   
>> If I set the timeout to 0, I can't type at all.  The keyboard LEDs stay
>>     
>
> Don't set it to 0 then. That's a driver limitation. I guess it'll have to be
> documented.
>
>   
>> on while I'm typing, but nothing appears on the screen.  It suggests the
>> keyboard takes a minimum amount of time to resume, and it's not being
>> allowed to do so - though maybe it's reporting that it's resumed too early.
>>
>> Verdict:
>> It's not "transparent" on my shiny new Logitech USB keyboard.  However,
>> I might still choose to use it with a timeout set at a similar length to
>> my screensaver.  I find it useful that it turns the LEDs off and on, as
>> a visual reminder of what's going on.  (So personally, I wouldn't want
>> it to implement "don't suspend when keyboard LEDs are set").
>>     
>
> Well, not too bad. Can you test this version, too?
>   
Seems fine.  It respects the LEDs now, unless I tell it not to - thanks
for adding the module parameter!

I think I've worked out how to avoid the lost key-presses.  Sometimes
they get lost; sometimes they don't.  The difference seems to how long I
wait after the keyboard suspends.  If I wait a few seconds after it's
suspended (as shown by the LEDs), then it resumes flawlessly.  It should
be possible to reduce the impact of the hardware misfeature by
increasing the timeout.  The longer the keyboard has been idle already,
the lower the probability it'll be used in the next few seconds. 

So I'm happy now :-).

Alan

_______________________________________________
Discuss mailing list
[email protected]
http://mail.lesswatts.org/mailman/listinfo/discuss

Reply via email to