Re: [linux-pm] [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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux