It is incredibly annoying to me that my mouse wakes the computer when I barely touch it. If I want my PC to turn on, I press the Super key.
I find very hacky scripts online, I tried some but they didn’t work. How did you disable it?
This option is missing from settings.


Unfortunately, disabling the devices doesn’t work.
RP01 S4 *enabled pci:0000:00:1c.0 RP05 S4 *enabled pci:0000:00:1c.4 RP06 S4 *enabled pci:0000:00:1c.5 LID0 S3 *enabled platform:PNP0C0D:00 PBTN S3 *enabled platform:PNP0C0C:00I had this device earlier but I disabled it with your systemctl service earlier and although I stopped the service, it didn’t come back. Probably, it’s back on next reboot.
XHC S0 *enabled pci:0000:00:14.0I didn’t test LID0 or Powerbutton.
Those wakelock devices map to specific devices. If you run
lsusbyou will see thepci:0000:00:1c.4and others.RP05.That should be what is needed to disable waking up from the mouse.