11

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!

MichaelPalin
  • 160
  • 1
  • 1
  • 8
  • Try to reboot from the previous kernel version, its most likely caused by the drivers in the recent update. – Moga Aug 04 '14 at 11:53

6 Answers6

20

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.

Zanna
  • 70,465
2

try this

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

then reboot. it works for me.

  • 1
    ( my apologies for asking this two years after -- but that's the first when I saw it ) how comes it works after reboot? To my knowledge, /sys and /proc settings are not permanent – ジョージ Dec 20 '18 at 10:26
  • 1
    @ジョージ Maybe rebooting is what makes it work. – Tibo Jan 18 '19 at 13:30
1

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
0

I had a problem with the computer usb power. The mouse wouldn't light up, but worked fine on another computer. I plugged the mouse into a usb-hub and the mouse would work.

0

I faced a similar issue when upgrading from 15.10 to 16.04. The mouse would work for 5 seconds and then go into a sleep mode, and wouldn't work again unless I clicked the button. My solution was to uninstall a power-saving package designed for laptops, and then reboot:

sudo apt remove laptop-mode-tools
sudo reboot
Michael
  • 131
0

I had the same problem and the fix was super simple!

Go to System settings -> Setting Editor

Then you get a dialog window, in the left select "pointers", search for the virtual mouse, and in "properties" you get a "Device_enable" with value 0. Change the value to 1 and then you are done!!

Let me know if it works!

Andy
  • 1
  • 1
    I don't see the 'Setting Editor' under System Settings – Shoan Jul 28 '17 at 06:16
  • This sounds like it's equivalent to xinput, find the ID of the relevant mouse, then xinput enable <id>, in which case I don't think it will work when the device is not being detected at all. – Miriam Jan 11 '21 at 09:51