Mouse/Touchpad suddenly stops working correctly
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hi everyone, I'm using Trisquel 11 with Mate. I'm facing this problem with my laptop's touchpad and external mouse. Normally, when I boot into the system touchpad and external mouse both work. But suddenly, even though I can move the cursor with both touchpad and mouse, if I click mouse-1 or mouse-2 buttons, it doesn't do clicking at the current position of the cursor. Instead the clicking will happen at a particular place, say the start button. The only way I can make them work again is by logging out, or suspending the system, using the keyboard. Of course, rebooting also works. After that, they start working correctly again, but after some time, I don't know when they again behave this incorrect way, and I'm again forced to logout/suspend.
I hope it's not a kernel related issue, because I've been using linux-libre kernel with this machine for many months before I installed Trisquel in it. Also, I was testing Triskel 12 beta isos, and, when I boot into the live environment for the first time, same issue was there. It got fixed after I logged out and logged back in.
Thanks for any help. I am attaching xorg log. My other laptop also runs Debian GNU/Linux-libre and I never seen this issue with that mouse. (It happened right now when I was composing this post).
Pièce jointe | Taille |
---|---|
mouse-bug.txt | 37.12 Ko |
I hope it's not a kernel related issue, because I've been using linux-libre kernel with this machine for many months before I installed Trisquel in it.
You can also use the linux-libre kernel with Trisquel following instructions at https://www.fsfla.org/ikiwiki/selibre/linux-libre/freesh.en.html.
Th error in log invites you to "see https://wayland.freedesktop.org/libinput/doc/1.20.0/touchpad-jumping-cursors.html for details". That page explains that "in most cases, this is a bug in the firmware (or kernel driver)". If you want a newer kernel without fetching it out of the Trisquel repository, you can install the package named linux-image-generic-hwe-11.0. It provides a 6.8 version of Linux. Maybe it is enough.
Now, I have tried Linux-libre 6.12, Trisquel's Linux 5.15, 6.8 (hwe) and even mainline linux kernel 5.10. With all of these kernels, the bug exist and touch jump, and debounce errors are reported in xorg logs.
Maybe it would help to install the input driver "xserver-xorg-input-synaptics".
Since you have an external mouse disabling the touchpad may help.
I am guessing you are using Trisquel the Mate version. I think the touchpad is controlled through Trisquel Menu -> System -> Prereferences -> Hardware -> Mouse
Here is an old version of the mate mouse menu, (apparently it changes whether you have touchpad or not):
At least in the KDE version, Triskel, you can disable your touchpad through the Touchpad settings.
I think problem is fixed. I installed the XFCE4 DE, and in xfce4, I went to Settings Manager -> Mouse and Touchpad -> Devices. Here, in the drop down menu, I can see four options.
- SYNA306A:00 06CB: 830F Mouse
- SYNA306A:00 06CB: 830F Touchpad
- PS/2 generic mouse
- SynPS/2 Synaptics Touchpad
I selected 3 and 4 one by one, and disabled them using the slider beside them. It's been nearly 24 hours and I haven't seen the issue so far. I don't think Mate or Plasma provide a way to disable those pointing devices in GUI. So, I assume there should be do this by editing some Xorg configuration file. Any idea what to put in which file?
Edit: I have found a way to disable (3) and (4) in Mate (or any DE running Xorg) using the xinput utility (installed by default in T11).
To get a list of available input devices. Run:
$ xinput list
Next, to disable the two input devies:
$ xinput disable 'PS/2 generic mouse' $ xinput disable 'SynPS/2 Synaptics Touchpad'
These changes are temporary, so you have to apply them every time you login by putting them in Startup Applications in Control center.