Messages in this thread | | | Date | Thu, 23 Feb 2023 19:22:34 +0800 | Subject | Re: [PATCH] HID: usbhid: enable remote wakeup for mice | From | Michael Wu <> |
| |
Dear Oliver,
On 2/22/2023 5:34 PM, Oliver Neukum wrote: > On 22.02.23 02:39, Michael Wu wrote: >> This patch fixes a problem that USB mouse can't wake up the device that >> enters standby. > > Hi, > > I am afraid I need to ask you to be a bit more precise here. > Are you referring to USB mice being unable to wake up a system, > even if you so request via sysfs, or that they won't by default? > > Regards > Oliver
Yes. I can't use any USB mouse which supports Remote Wakeup to wake up the system by default. If I enable the wakeup node in /sys/bus/usb/devices which is disabled by default, the mouse can wakeup the system successfully. Clearly, the only thing I can do is to register the wakeup source for USB Mouse devices.
-- Regards, Michael Wu
| |