Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been using Ubuntu 12.04 LTS on my work desktop for a few months. Yesterday, I started having issues with my USB mouse.

Whenever I type for a while, and I try to move the mouse afterwards, it takes a couple of seconds to respond.

I kept a tail of the system log open on a side screen, and also the graphical process monitor. I have not noticed any unusual activity during the mouse freezes.

What I did notice one was that the mouse tracking light had gone into an odd pulsing mode while it was frozen once. It looked like a power-save mode.

What other log views or debug tools could I use to determine what's happening?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

It turns out this was caused by powernap. Since it's a desktop PC, I thought it would be fine to remove it:

sudo apt-get remove powernap

I've had no side effects. However, some people may want to keep PowerNap. According to this answer, you could also just disable the USB suspend: http://askubuntu.com/questions/80638/how-to-disable-auto-power-off-of-usb-devices-like-usb-mouse

sudo powernap-action --disable usb_autosuspend
share|improve this answer

for restarting usb mouse you need to issue the following command

sudo /etc/init.d/hotplug restart

-- for touchpad you need to restart the touchpad/mouse interface using

sudo modprobe -r psmouse  

this removes mouse interface from linux kernel . then

sudo modprobe psmouse  

this adds mouse interface to linux kernel

source: http://looselytyped.blogspot.in/2012/10/fixing-mousetouchpad-freeze-and-hanging.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.