2

I have just installed Arch Linux with kernel version 3.9.5-1. While running xorg (in particular, XMonad), my Microsoft optical USB mouse fails (stops sending movements) after a length of time, every time I run my computer. When I look at the underside, the light is still on, but it is significantly dimmer. The problem is not solved by restarting xorg, but rebooting the computer temporarily fixes the problem.

Only a couple of days ago, I had been running both Windows 7 and a previous version of Arch with no problems regarding the mouse at all, so I think that the mouse itself is still fully working. Does anyone have any suggestions as to how I can solve this?

Thanks!

1
  • Really just a shot in the dark but your mouse might be recognized as a touchpad and if you don't have "Disable touchpad while typing" unchecked in the system settings it may fail to enable the mouse again after you were typing. Jun 15, 2013 at 21:19

1 Answer 1

2

UPDATE: I have written an article about USB autosuspend issues with GNU/Linux. Check this out for a more elegant solution.

I had a similar issue with a Microsoft Wheel Mouse Optical USB and PS/2 Compatible since upgrading a Linux Mint Debian Edition system to kernel 3.10-2-amd64. The culprit is an inappropriate autosuspend by the kernel's USB power management. In Debian, this is compiled as the usbcore module into the kernel.

You can resolve this permanently by issuing at the command line:

sudo echo "options usbcore autosuspend=-1" > /etc/modprobe.d/disable-usb-autosuspend.conf

Some kernels might require autosuspend=0, though.

If your system uses initrd (most probably do), then rebuild the initrd for your kernel.

For example:

uname -r
sudo dpkg-reconfigure linux-image-3.10-2-amd64

Reboot and check with:

cat /sys/module/usbcore/parameters/autosuspend

which should yield -1 now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .