Why my USB mouse get suspended after 3 seconds of inactivity?
- by Vi.
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