You can disable wakeup by modifying "/proc/acpi/wakeup" in Linux

1. get all wakeup sources - "cat /proc/acpi/wakeup"

The results are something like

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
...
XHC       S3    *enabled   pci:0000:00:14.0
...

2. find out which USB maps to your logitech mouse. You probably need
trial and error couple times. The above example is XHC which is USB3
controller which is capable of waking up from S3, S2 and S1. Your will
differ.

3. disable it by "echo XHC | sudo tee /proc/acpi/wakeup" (assuming XHC
is the one).

finally, you can disable it automatically by rc.local (like
https://vpsfix.com/community/server-administration/no-etc-rc-local-file-
on-ubuntu-18-04-heres-what-to-do/)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877488

Title:
  External mouse movement wakes computer from hibernate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877488/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to