Preventing the wireless mouse from waking up a suspended laptop?

Adam Funk a24061 at ducksburg.com
Thu Dec 22 19:42:46 UTC 2022


On 2022-11-25, Colin Law wrote:

> On Wed, 23 Nov 2022 at 10:21, Adam Funk <a24061 at ducksburg.com> wrote:
>>
>> (I'm running Ubuntu-MATE 22.04 LTS on my current laptop, but I've had
>> the same problem with all previous versions and laptops.)
>>
>> If my USB wireless mouse is moved while the laptop is suspended (with
>> the lid closed), the laptop wakes up. I have to remember to flip the
>> switch on the underside of the mouse off before moving it
>> anywhere. (Otherwise I get to work/home and find that the laptop is
>> warm and the battery has dropped 10% or so.)
>>
>> Is there an option to disable this so only the keyboard can wake it
>> up?
>
> Most usb ports are powered down when the laptop is disabled, so the
> receiver should not signal anything.  My laptop has one which stays
> powered up. perhaps you have plugged the receiver into one of those.
>
> Otherwise this may help
> http://www.das-werkstatt.com/forum/werkstatt/viewtopic.php?f=7&t=1985

Thanks, I'm looking into that now, but the entries in my
/proc/acpi/wakeup don't have any obvious USB stuff:

Device	S-state	  Status   Sysfs node
PEG0	  S4	*enabled   pci:0000:00:01.0
PEGP	  S4	*disabled  pci:0000:01:00.0
PEG1	  S4	*disabled
PEGP	  S4	*disabled
PEG2	  S4	*disabled
PEGP	  S4	*disabled
RP01	  S4	*disabled
PXSX	  S4	*disabled
RP15	  S4	*enabled   pci:0000:00:1d.6
PXSX	  S4	*disabled  pci:0000:03:00.0
XHC	  S3	*enabled   pci:0000:00:14.0
XDCI	  S4	*disabled
HDAS	  S4	*disabled  pci:0000:00:1f.3
AWAC	  S4	*enabled   platform:ACPI000E:00

None of the numbers look like anything in the lsusb output either (I
know the mouse is 046d:c534 in that).

Any idea what any of that stuff means?

Thanks
Adam




More information about the ubuntu-users mailing list