• David Brownell's avatar
    [PATCH] USB: usb suspend support for hid-core · ac23b6c4
    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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    ac23b6c4
hid-core.c 51 KB