Why my USB mouse get suspended after 3 seconds of inactivity?

Posted by Vi. on Super User See other posts from Super User or by Vi.
Published on 2012-04-04T21:56:26Z Indexed on 2012/04/04 23:33 UTC
Read the original article Hit count: 143

Filed under:
|
|
|

Mouse's bottom LED goes off after 3 seconds after connection and cursor movements and wheel stops. Pressing any button, reconnecting or resetting USB device resumes it for another 3 seconds (when resumed by pressing button, this event does no go to X).

This happens when using any of USB ports. This mouse works well with other computer with Linux. It was working well before.

Why can it happen? How to fix it?

Update: It happens only if laptop is on battery.

Answer: this is caused by powersaving done by laptop-mode-tools. To temporary turn off powersaving one can use

for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done

© Super User or respective owner

Related posts about linux

Related posts about usb