47
submitted 7 months ago by GravitySpoiled@lemmy.ml to c/linux@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] reddthat@reddthat.com 4 points 7 months ago

Those wakelock devices map to specific devices. If you run lsusb you will see the pci:0000:00:1c.4 and others.

  • Find the one that your mouse is.
  • Do the echo command into that device RP05.
  • Confirm it's disabled.
  • suspend & then try moving the mouse
  • if it works edit the systemd script with the correct echo command
  • make sure you make the service Enabled (otherwise it won't start on boot)
  • reboot and confirm it's still disabled.

That should be what is needed to disable waking up from the mouse.

this post was submitted on 07 Feb 2024
47 points (98.0% liked)

Linux

47364 readers
1031 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS