Annoying Mouse auto-suspend

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Annoying Mouse auto-suspend

Postby viking60 » 24 Jan 2015, 15:29

After a kernel upgrade my usb laser mouse kept suspending after some seconds.
Clicking would reactivate it but that can be rather problematic when you play online chess etc.
So after having made a lot of hopeless moves in my fight with the chess-players of the world; I decided to do something about it.

It turns out that my traditional desktop also has the laptop mode tools installed, and they are mostly about saving energy.

I went to /etc/laptop-mode and there I found the file; laptop-mode.conf
So I edited it

Code: Select all

sudo nano /etc/laptop-mode/laptop-mode.conf

Here I found

Code: Select all

ENABLE_LAPTOP_MODE_TOOLS=1

and changed it to

Code: Select all

ENABLE_LAPTOP_MODE_TOOLS=0


After that the USB mouse stopped auto-suspending.

My screensaver and hibernation do work just as before because they are obviously not taken care of by the laptop mode tools.
This might be different on a laptop - but this was a regular Manjaro Linux desktop.

It is possible to only turn of the settings for usb suspension and make the settings more targeted (the file is well commented).

Problem solved :B
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Tips & Tricks”