Dear fellow Gentoo users,

Despite being a largely silent gentoo-user subscribers, I am always
fascinated by the helpful and in-depth discussions that pop up every so
often on this mailing list.

I hope somebody can help me resolve this frustrating situation or at
least help be debug it in a meaningful way that can help a bug report.

My laptop's trackpad is an ETPS/2 Elantech on a ThinkPad Yoga 260 (ca.
2016). Every so often it freezes and refuses to respond to any and all
input. The freeze usually lasts for a second or so, but can sometimes be
longer in the range of 10-15 seconds or even freeze indefinitely until
the "psmouse" kernel module is reloaded. It also experiences "jumping"
behaviour, most commonly encountered when press-holding one of the
companion buttons along with a dragging gesture, but that's not an
exclusive scenario.

When a freeze occurs, my dmesg is usually plagued messages as seen in
the attachment provided (excerpt) while Xorg.0.log often shows error
messages as in the attachment (excerpt). Apart from these messages, both
dmesg and Xorg logs look otherwise healthy.

A quick Google search can reveal complaints about this issues across
distributions (Ubuntu, Fedora, Debian) that can be traced back to at
least 2012 in various laptop models. There also appears to be a related
upstream kernel bug [1] that has been left in limbo.

Ever since I got this laptop I have been having this issue every so
often but usually only with the odd hiccup and rarely impeding in any
way. Lately, however this has been a nightmare. Given that this is my
daily driver for work and research and this issue is getting out of
hand. The worst part is that the internal keyboard is on the same serial
bus and a freeze in the touchpad driver often causes a freeze of the
keyboard where keyboard events get queued up and eventually interpreted
rapidly all at once, should the touchpad recover. If not, the system
appears to have frozen (even though it's not and can be controlled with
USB peripherals).

I run a Plasma desktop on a 17.1 profile with libinput. I have _not_
been able to identify any recent package updates that may have led to
the increase in frequency. The issue is present on both kernel 5.4.28
(stable) as well as 5.6.10 (~amd64).

For close to 15y on Gentoo, I have not once encountered an issue that I
have been unable to debug and solve :( Though admittedly, this may well
not be a Gentoo-specific issue.

To keep this email short(ish), I haven't provided too much detail, but
am happy to dig further. Any input, especially if someone has
encountered this themselves, would be greatly appreciated!

[1] https://bugzilla.kernel.org/show_bug.cgi?id=48161

Cheers,
Victor
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 - 
driver resynced.
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:03:52 2020] psmouse serio1: issuing reconnect request
[Tue May  5 10:05:28 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:05:28 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 - 
driver resynced.
[Tue May  5 10:05:28 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:05:28 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 - 
driver resynced.
[Tue May  5 10:05:29 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:05:29 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:05:29 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:05:30 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost synchronization, throwing 5 bytes away.
[Tue May  5 10:05:31 2020] psmouse serio1: resync failed, issuing reconnect 
request
[Tue May  5 10:28:17 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:28:17 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:28:17 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:28:17 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:28:17 2020] psmouse serio1: Touchpad at isa0060/serio1/input0 
lost sync at byte 6
[Tue May  5 10:28:17 2020] psmouse serio1: issuing reconnect request
[Tue May  5 10:45:40 2020] perf: interrupt took too long (2544 > 2500), 
lowering kernel.perf_event_max_sample_rate to 78500
[Tue May  5 10:55:23 2020] perf: interrupt took too long (3185 > 3180), 
lowering kernel.perf_event_max_sample_rate to 62750
[Tue May  5 11:07:48 2020] perf: interrupt took too long (4051 > 3981), 
lowering kernel.perf_event_max_sample_rate to 49250
[   219.131] (EE) event18 - ETPS/2 Elantech Touchpad: kernel bug: Touch jump 
detected and discarded. See 
https://wayland.freedesktop.org/libinput/doc/1.15.4/touchpad-jumping-cursors.html
 for details
[   642.582] (EE) event18 - ETPS/2 Elantech Touchpad: kernel bug: Touch jump 
detected and discarded. See 
https://wayland.freedesktop.org/libinput/doc/1.15.4/touchpad-jumping-cursors.html
 for details
[  1892.782] [dix] EventToCore: Not implemented yet
[  1914.965] (EE) event18 - ETPS/2 Elantech Touchpad: kernel bug: Touch jump 
detected and discarded. See 
https://wayland.freedesktop.org/libinput/doc/1.15.4/touchpad-jumping-cursors.html
 for details

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to