USB mouse not working after unplug-plug in 14.04
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.