(in my case the first one was enough even after testing with other USB ports)Īccording to this post, run: printf '%s\n' '#!/bin/bash' 'exit 0' | sudo tee -a /etc/rc.local Sudo sh -c 'echo XHCI > /proc/acpi/wakeup' Sudo sh -c 'echo EHC2 > /proc/acpi/wakeup' Test which items need to be disabled - as indicated here - for each of the items that were posted as enabled under cat /proc/acpi/wakeup | sort by running in terminal each of the commands below and then testing if the mouse wakes the system (without the need for restart): sudo sh -c 'echo EHC1 > /proc/acpi/wakeup' To have the wakeup items disabled on every startup, you can add something like this to /etc/rc.local. Please note that although the usb transceiver for my mouse is plugged into a usb2 port and nothing is in any usb3 port, the computer will wake on mouse moves until all 3 items are disabled. The first 2 are usb2 and the 3rd a usb3 entry. I had to disable 3 different items in /proc/acpi/wakeup. I wish to add my twist to the solutions as that may help in more cases. Thanks to all posters as the mouse wakeup is a major inconvenience and I got my answers here.