RE: [PATCH v2] HID: usbhid: set mouse as a wakeup resource
From: David Laight
Date: Fri Jun 17 2022 - 11:39:22 EST
From: Alan Stern
> Sent: 17 June 2022 16:05
...
> Another issue is whether wakeup for a mouse means pressing a button or
> just moving the mouse. For a mouse that uses LEDs to sense motion,
> moving it won't generate a wakeup request -- USB suspend does not allow
> the mouse to use enough current to keep the LEDs illuminated. On the
> other hand, there's no reason why wakeup by pressing a button shouldn't
> always work.
I'm not even sure I want a system to wake up because it's mouse
gets knocked.
I guess a mouse could include accelerometers so that you can shake it!
I've an idea that one of my systems manages to boot if the mouse
is knocked (and it was last shutdown from windows).
At least, that it why I think it is sometimes booting up.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)