Thread (1 message) 1 message, 1 author, 2021-05-17

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

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-05-17 10:42:12
Also in: linux-input, lkml

On Mon, May 17, 2021 at 06:39:06PM +0800, 马强 wrote:
quoted
quoted
 
quoted
quoted
Thanks for the prompt response.  
 
We can change "dev->power.should_wakeup" to enabled,  
I do not understand this statement.  
quoted
but ultimately it depends on the hardware and BIOS for wakeup.  
Yes, and the hardware here (USB mice), do not all support this, so you  
can not enable it universally as it will cause problems, right?  
I mean, the kernel should set should_wakeup to enabled

so that system can be awakened when the hardware here(USB mice) supports the
wake-up ability.
And how do you determine, in the kernel, if the mouse can do that?

What range of hardware did you test this change with?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help