[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024052218-hull-urology-9ec9@gregkh>
Date: Wed, 22 May 2024 13:23:45 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: huanglei814 <huanglei814@....com>
Cc: jikos@...nel.org, bentiss@...nel.org, linux-usb@...r.kernel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
huanglei <huanglei@...inos.cn>
Subject: Re: [PATCH] HID: usbhid: enable remote wakeup for mouse
On Wed, May 22, 2024 at 05:22:57PM +0800, huanglei814 wrote:
> From: huanglei <huanglei@...inos.cn>
>
> This patch enables remote wakeup by default for USB mouse
> devices.
That is not a good idea. Please see the mailing list archives for the
past 20+ years for why this is the way it is.
If you know your device can support this, please set it in userspace,
but we can not change the default value at this point in time, sorry.
> 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).
And that is really not a wise choice, boot protocol mice have no
requirement that they support remote wakeup. So restricting it like
this really will not help, sorry.
Again, do this in userspace, that's why the interface is there to do so.
greg k-h
Powered by blists - more mailing lists