Re: [patch]full runtime power management for usbhid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> this patch enables full runtime power management for usbhid.
> Currently usbhid supports autosuspend only upon open and close. Thus
> it is useless for devices which are always opened, such as keyboards
> and mice. This patch enables the use of remote wakeup for devices that
> support it.
> 
> It suspends idle usb hid devices after a timeout if possible unless
> 
> - hiddev has opened the device
> - error handling is under way
> - a key is being held down
> (keyboards don't signal remote wakeup upon release of a key)
> - an led is active on the device
> (leds use too much power for a suspend device to keep lit -
> this can be overridden with a module parameter)

Hmm... so numlock now costs ~3W... perhaps we should be defaulting to
numlock=off, again?

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux