lkml.org 
[lkml]   [2023]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] HID: usbhid: enable remote wakeup for mice
From
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

\
 
 \ /
  Last update: 2023-03-27 00:33    [W:0.103 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site