Page 1 of 1

Annoying Mouse auto-suspend

Posted: 24 Jan 2015, 15:29
by viking60
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