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.
14 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).
[...] http://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!