I'm trying to figure out how to prevent my mouse from waking up my computer. I don't want to disable the USB controller entirely. I've tried adding a udev rule that targets my mouse, but it doesn't seem to be working. Here's the rule I used: `ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0090", ATTR{power/wakeup}="disabled"`. I'm on CachyOS, by the way. I later realized that I forgot to replug the device, which was why it wasn't applying. However, I'd still like some advice on this!
4 Answers
You might want to try changing ‘disabled’ to ‘off’ in your udev rule. Sometimes that small change can make a difference.
Honestly, if you want to avoid these wake-ups entirely, you could just skip using sleep mode on your PC.
If you're having wake-up issues, tech like ChatGPT can really help streamline solutions. It’s important to confirm what distro you're using for more tailored guidance. Just make sure to play around with understanding the commands—it'll help with diagnosing what could be keeping your mouse active for wake-up.
One hack I use is just turning my wireless mouse off when I’m not at my laptop. It helps prevent accidental wakes, but I totally get that it's a bit tedious to do every time you want to use the computer.

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