USB mouse not working after unplug-plug in 14.04

My Nox "Krom Kull" mouse will not work (except for the lights) in my laptop when I unplug it and then plug it again in "Ubuntu 14.04".

I have tried with an old "Razer" mouse and that one does work. I also kind of remember this not being a problem a month or two ago, so this could be related to a recent Ubuntu update. And, due to a recent mechanical issue with this mouse, I have been given a new one of the same model that also does not work. The model and an OS update seem to be the best candidate as the source of the problem.

The laptop is an "Alienware m17r4".

Thanks!


Try reloading the mouse driver with

sudo rmmod usbhid
sudo modprobe usbhid

when the mouse is plugged in and not working.
If it helps, try adding usbhid to the end of /etc/modules file and reboot. This is sort of shamanic as it should make no difference, but often helps with unrecognized thumb drives.
If it does not help, you can create a udev rule to reload the mouse module on mouse plugging.


try this

echo "on" | sudo tee /sys/bus/usb/devices/usb*/power/control

then reboot. it works for me.


This happens because the power management switches off usb devices in order to save power after a certain period of inactivity. Although there are solutions to solve this manually I recommend to install software called tlp.

$ sudo add-apt-repository ppa:linrunner/tlp

$ sudo apt-get update

$ sudo apt-get install tlp

$ sudo tlp start