четверг, 27 марта 2014 г.

Don't let your USB mouse die!

Annoying thing: when you try to use USB mouse, it goes to "sleep" mode after only few seconds of inactivity (mouse inactivity), meaning there is no more red light at it's bottom and it doesn't respond to movements. You should click buttons to have it awaken.

The issue is related to powersaving, and it can be saved with using the following command:

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