Re: [PATCH] HID: usbhid: enable remote wakeup for mouse

From: huanglei
Date: Thu May 23 2024 - 23:15:41 EST


Just wanted to support mouse  wake up.

Set it in userspace will be a better choice, Now,canceled the patch.



在 2024/5/22 18:00, Oliver Neukum 写道:
On 22.05.24 11:22, huanglei814 wrote:
From: huanglei <huanglei@xxxxxxxxxx>

This patch enables remote wakeup by default for USB mouse
devices.  Mouse can used to be wakeup devices, but the correct
place to enable it depends on the device's bus; no single
approach will work for all mouse devices.  In particular, this
covers only USB mouse (and then only those supporting the boot
protocol).

Hi,

could you explain in the log why you want this to depend
on support for the boot protocol?

    Regards
        Oliver