Dealing with mouse and touchpad freezes in Linux
Sometimes the desktop in several Linux distributions freezes for no apparent reason; active windows can still be used, and the mouse pointer can be moved around, but clicking is impossible. Furthermore, your touchpad can no longer be controlled; the ‘Touchpad’ tab disappears from the System / Preferences / Mouse menu. Even if mouse functionality eventually returns, the touchpad remains uncontrollable. This extremely annoying bug occurs randomly and may last for a couple of seconds, or until you restart your X server.
If you check your system’s log after such an event (/var/log/messages) you will notice a few entries similar to these:
Sep 9 09:38:15 umbra kernel: [ 4939.006198] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
Sep 9 09:38:15 umbra kernel: [ 4939.012220] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 - driver resynched.
Basically this indicates an IRQ conflict between your mouse and your touchpad. This is a Linux kernel bug (I am currently using 2.6.28) and as such it affects most distributions. An easy way to recover both mouse and touchpad functionality without having to restart your X server is restarting the mouse driver. Run the following commands on a terminal window:
sudo rmmod psmouse
sudo modprobe psmouse
If there is no terminal window open, you can use one of the following:
- In Gnome or KDE, press Alt + F2, type gnome-terminal and press Enter
- Press Control + Alt + F1, login with your username and password, type the commands, then press Control + Alt + F7 to get back to X
Hopefully a future kernel release will fix this problem for good.
36 Comments »
Leave a Reply
-
Recent
- Call of Cthulhu character generator for Android
- Using JiBX with Jersey
- Preventing session expiration with AJAX
- Migrating from VirtualBox to VMWare in Linux
- Fully disabling touchpad in Ubuntu 9.10 Karmic Koala
- Fixing sound after upgrading to Ubuntu 9.10 Karmic Koala
- Dealing with mouse and touchpad freezes in Linux
- Selecting language of multilingual web sites
- 4 + 1 ways to celebrate the Software Freedom Day
- OLPC Deployment in the Greek village of Sminthi
- Building and deploying Seam/JBoss applications with Intellij IDEA 8.1
- Free Software in Education
-
Links
-
Archives
- August 2011 (1)
- November 2010 (1)
- June 2010 (1)
- February 2010 (1)
- January 2010 (1)
- December 2009 (1)
- September 2009 (3)
- August 2009 (2)
- May 2009 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS
The article has been added to the foss library.
http://fosslib.tsakf.net/record/245
Thanks! Been having this problem since doing a fresh install of Ubuntu 9.10 (on Dell Inspiron 1420).
[…] https://xpapad.wordpress.com/2009/09/09/dealing-with-mouse-and-touchpad-freezes-in-linux/ […]
Thanks, very informative and helpful.
Ubuntu 11.04 on Dell V131
nice & concise. consnice.
cheer man – I’ve having this exact problem on mint v 12.
..and of course your rm then rescan worked a treat…
+1
Thanks aplenty. Been having this problem repeatedly on my Asus netbook when using Ubuntu 11.10. This works great.
Been having a slightly different but similar issue with my trackpad on my Thinkpad. Thanks for the quick fix that actually WORKS! Much appreciated.
Thanks so much for this fix. It saved a lot of time!
[…] in 2009, Xenofon Papadopoulos posted on mice and trackpads not working after a specific error comes up. He was on Linux kernel […]
Pingback by Cowabuntu! | August 28, 2012 |
Great: no need to end my session and my touchpad works again. Thanks! <3
great :) it’s a beautiful workaround.. I have been roaming around for past few weeks all the mint forums for a solution.. Thanks a ton
Hi.. I’ve had the same problem… I was able to take it one step further.. I placed the following in my /etc/rc.local
modprobe -r psmouse
modprobe psmouse proto=imps
this appears to permanently fix the problem….
Thanks so much!
Superb! Thanks a ton …
Thank you, that worked very well
Brilliant tip :) got my touchpad back with no reboot. Thanks
My keyboard freezes as well. I have a fresh install of Av Linux 6. Does anybody know how I can prevent the freezing? I find this very strange for an operating sustem that gets so many ” hallelujahs” for stability etc…hmmmmm…..a bit disappointing to say the least…
I hope I get this fixed so that I still can enjoy the supposedly nice OS Linux, especially the Av variant with lots of audio and video stuff…;-)
What the lightening of happiness has told me.
Oakley Jupiter Squared http://www.ebuyaccessories.com
Fantastic workaround thanks! Seems I’ve been having this problem for ages.
It’s the first time I encounter the problem on Ubuntu 14.04.1 LTS.
You saved me a lot of time searching a solution. Thanks guy !!
Thanks, but it didn’t work for me.
WORKED, five years LATER. I am using Ubuntu 14.10. Of course, we don’t know the CAUSE of the problem, but this temporary solution does work perfectly, and has been tested more than five times.
[…] mas info sobre esto pueden consultar este (inglés) o este otro […]
Pingback by Problemas con el touchpad en Linux. | el Blog de Gastón | January 7, 2015 |
[…] the command sudo rmmod psmouse to prevent a mouse click problem that randomly manifests itself. See https://xpapad.wordpress.com/2009/09/09/dealing-with-mouse-and-touchpad-freezes-in-linux/ for more info on this problem. I got tired of entering it on every […]
Pingback by How do I start applications automatically on login? - Popular Ubuntu Questions | January 11, 2015 |
[…] the command sudo rmmod psmouse to prevent a mouse click problem that randomly manifests itself. See https://xpapad.wordpress.com/2009/09/09/dealing-with-mouse-and-touchpad-freezes-in-linux/ for more info on this problem. I got tired of entering it on every […]
Pingback by Answer: How do I start applications automatically on login? #it #fix #computers | StackCopy | February 10, 2015 |
Thank you for sharing It was very helpful thank you very much……
still bug persists in Ubuntu 14.04 / Ubuntu 14.10. Thanks for your quick solution.
[…] the command sudo rmmod psmouse to prevent a mouse click problem that randomly manifests itself. See https://xpapad.wordpress.com/2009/09/09/dealing-with-mouse-and-touchpad-freezes-in-linux/ for more info on this problem. I got tired of entering it on every […]
Pingback by Ubuntu:How do I start applications automatically on login? – Ubuntu Linux Questions | October 13, 2015 |
My mouse stops working at random times, probably due to broken motherboard i/o controller (keyboard keeps working). On Win 7 mouse starts working after short time but in Linux you have to manually reload the driver. Thanks!
I have the same problem in Centos could you help me out to sort this problem
I still have to do this 7 years later, that’s just sad.
8 years later still having this problem , freaking sad.
Funny, it seems to repeat itself all the time. i have this issue, 14.04.5 LTS 2018.. huhhuh…
Thank you!
[…] încă mai puteți ajunge la o consolă sau la un terminal, poate ați putea încerca această soluție. În caz contrar, cred că soluția lui sebelk este probabil un bun început. Dacă uciderea […]
Pingback by Cursorul se blochează - taste pentru a elibera? | March 31, 2021 |