Alberto Gonzalez wrote:
> On Friday 26 June 2009 11:34:13 Jan Willies wrote:
>> Hi Alberto,
>>
>> Am 26.06.2009 00:38, schrieb Alberto Gonzalez:
>>> Now I have upgraded to kernel 2.6.30 (a distro kernel - Arch Linux) and
>>> powertop tells me to enable USB auto-suspend too,  the difference is that
>>> now it does have an effect and the wakeups get reduced. The problem is
>>> that I lose my mouse and keyboard. Is this the desired effect of enabling
>>> USB auto-suspend? Or was the previous behavior the correct one? Hhmm,
>>> shouldn't it be something in between, i.e, that USB get suspended when
>>> I'm not using the keyboard or mouse but that it wakes up when I do?
>> Matthew Garrett blogged some background on this:
>>
>> http://mjg59.livejournal.com/111995.html
> 
> Thanks for the link. Interestingly Matthew Garrett says there that powertop 
> is 
> actually doing it in the wrong way (USB autosuspend), so maybe this is a bug 
> in powertop (bug in the sense of using a wrong/old implementation)?

Matthew knows where to find me and how to write patches, so I assume he's got
something coming for me then...

And is he talking about usb autosuspend or bluetooth disable where powertop 
"gets
it wrong"?

> As I said in my other reply, I've found out that my mouse can actually auto-
> suspend successfully (and wake up) by modifying 
> /sys/bus/usb/devices/.../power/ausotsuspend (while powertop kills it 
> altogether). So maybe that's the one that powertop should touch when you 
> press 
> the U key?

That's the file that powertop touches when you press 'U'. powertop also sets
power/level to "auto", meaning the kernel can suspend/resume the device when it
wants.

if someone has patches on how to improve this, I'll gladly take them...

Auke


_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to