Many times my mouse USB suddenly stops working, though the trackpad works just fine. I have to click it to make it work again. I have found the following solution:
sudo bash
for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done
However, I have to execute this script every time the problem occurs. What is the true reason behind it? How can I fix it permanently?
I am using Ubuntu 14.04 LTS.