On Fri, Jun 26, 2009 at 03:13:13PM -0700, Kok, Auke wrote:

> I'm all for actually giving people actually a chance to 'break' their system.
> having a keyboard break because someone used powertop isn't that bad: We find 
> out
> that there is a bad keyboard out there first of all, something we would have
> missed completely.

Heh. I'm fine with it being suggested in the sense of "Press this to 
save some power but potentially break your system", but currently it's 
something that can cause subtle breakage (many printers and scanners 
will stop working) and users may not connect the two.

> when does the kernel set 'power/autosuspend' to -1?

Only if booted with usbcore.autosuspend=-1. Otherwise it implies that 
the user or distribution has forcibly disabled it.

> we can certainly 'blacklist' "input" devices, if there was an elegant way to
> detect whether a device is indeed such a thing from sysfs...

Easiest is to look at the driver links for the interfaces in sysfs. That 
ought to link to hid for input devices.

-- 
Matthew Garrett | [email protected]

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

Reply via email to