You are not logged in.

#1 2018-07-27 09:12:51

antony
Member
Registered: 2011-07-14
Posts: 43

Random touchpad/trackpoint failures

Hi,

I'm having an issue with my laptop (Lenovo X1 Carbon Gen 2) touchpad and trackpoint and was hoping to get some advice here.

Some time after booting the computer, the touchpad and trackpoint stop working.  This can occur minutes or hours after the boot, seemingly at random.  Shutting down and restarting the computer appears to be the only way to fix the problem.  I am hopeful that it's not a hardware issue as both the touchpad and the trackpoint always fail at the same time, suggesting that it's something on the software side...

Trying 'libinput debug-events --device /dev/input/eventNN' (for either the touchpad or the trackpoint) results in no event being reported after the failure (whereas events are properly reported before the failure).

Even after the failure, plugging in a USB mouse works.

My setup should be fairly standard, I have xorg-server and xf86-input-libinput (0.28.0-1) installed (not xf86-libinput-synaptics), the only entries in /etc/X11/xorg.conf.d are setting up the keyboard layout and a "natural scroll" option ('Option "VertScrollDelta" "-50"' and same horizontally); the DE is KDE.

Any suggestions (at least to troubleshoot whether it's a hardware issue or not) would be welcome.  Thanks!

Offline

#2 2018-07-27 11:47:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,171

Re: Random touchpad/trackpoint failures

Some powersaving feature? Maybe the device doesn't wake up from a usb autosuspend?
Disable all power saving daemons and pass "usbcore.autosuspend=-1" to the kernel parameters (this should disable usb autosuspending) and test whether this still happens (if not, you can disable autosuspend for that particular device)

Online

#3 2018-07-27 14:20:55

antony
Member
Registered: 2011-07-14
Posts: 43

Re: Random touchpad/trackpoint failures

"sudo modprobe -r psmouse && sudo modprobe psmouse" was suggested to me elsewhere and fixes the problem when it occurs.  But it's kind of a hack so I'll leave this open while investigating "actual" fixes.

FWIW, it appears that dmesg sometimes shows some errors when this occurs (but not always):

  [  871.419596] rmi4_physical rmi4-00: Failed to read irqs, code=-6

Offline

#4 2018-07-27 14:26:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,171

Re: Random touchpad/trackpoint failures

see whether "psmouse.resync_time=10" or "psmouse.synaptics_intertouch=1" makes a difference

Online

#5 2018-08-14 20:18:22

antony
Member
Registered: 2011-07-14
Posts: 43

Re: Random touchpad/trackpoint failures

Looks like setting both psmouse.resync_time=2 and psmouse.synaptics_intertouch=1 does help, in the sense that freezes are no longer fatal but fix themselves after, well, ~2s.  So it's still not optimal but definitely better.

Offline

Board footer

Powered by FluxBB