I'm new to Linux (just a week in), and I'm using Bazzite as my first distro. Recently, something has started waking my computer from sleep, so I tried to track it down. I looked at `cat /proc/acpi/wakeup` and `sudo dmidecode |grep Wake-up`, which indicated either the mouse or keyboard was causing the problem. I followed a suggestion to disable the mouse using `sudo sh -c "echo I225 > /proc/acpi/wakeup"`, but while it did turn off the mouse, now I can't get it to work again even after trying to re-enable it. After rebooting, the mouse only works on the first login and then shuts off again. Does anyone know how I can fix this mess?
3 Answers
Disabling your mouse in `/proc/acpi/wakeup` usually won't cause the issue you're seeing, especially if it still doesn't work after a reboot. There could have been other commands you ran that affected the mouse functionality. Just double-check to make sure you didn't change anything else while troubleshooting the wake-up issue.
I ran into problems with my mouse after messing with wake settings too. I used a script that I run as root each time I boot up to re-enable devices automatically. You might want to set up something similar to avoid having to manually re-enable your mouse every time.
Hey! I’ve had a similar issue with an Intel Ethernet Controller before. It seems like echoing to `/proc/acpi/wakeup` doesn’t persist after reboot, so that might not be the direct cause here. It might be worth checking if you've modified anything else, or you might need to rerun your commands after restarting.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures