-
David Brownell authored
Basic HID driver support for USB suspend/resume. At least one keyboard works OK as a remote wakeup source ... unless you write the sysfs power/state attribute using that USB keyboard, in which case the input subsystem reports an endless stream of newlines! :) Someone still needs to implement some configurable timer to support the "suspend idle mice/keyboards/..." policy for devices that can issue wakeup events. In conjunction with autosuspend policies in hub and HCD (UHCI) code, that could allegedly save 2W of power by enabling the C3 state on Centrino laptops that use USB mice. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
ac23b6c4