Created attachment 222302 [details]
Since upgrading from 12.1-p10 (I think it was -p10 anyway) to 12.2-p3 and pkg upgrade -f, tapping the touchpad on my laptop stopped being recognized. (But moving the pointer by sliding a fingertip on the touchpad still works.) In Xorg.log I see messages like: "[ 1619.693] (EE) event5 - ETPS/2 Elantech Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details". I'm unsure whether this is a FreeBSD bug or a Xorg bug.
Created attachment 222303 [details]
libinput record output
https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html (linked in the Xorg log error line) suggested that I supply this.
Full package version deltas before and after the upgrade would be handy.
Without steps to reproduce or isolation this will be challenging to progress
Search results for "Touch jump detected and discarded" point to freedesktop/libinput
As to whether its a 'kernel bug', that needs to be 'verified' (what is the code that prints that and why?)
^Triage: -regression (unverified)
@Reporter The following would be handy:
- /var/run/dmesg.boot (as an attachment)
- pkg version -v (as an attachment) before and after upgrade. At least the logs from pkg for the pkg upgrade -f proces (should show version deltas)
Created attachment 222312 [details]
/var/run/dmesg.boot (as requested)
% grep libinput /var/log/messages
Feb 9 06:02:49 gadfly pkg: libinput reinstalled: 1.16.4 -> 1.16.4
Feb 9 06:13:27 gadfly pkg: xf86-input-libinput reinstalled: 0.30.0_1 -> 0.30.0_1
Full paste of pkg upgrade -f /var/log/messages output available upon request, but I think this is enough to rule out a libinput change as the cause.
Created attachment 222315 [details]
/var/log/messages record of whole pkg upgrade -f session
Could it be iichid package is still compiled for 12.1?
(In reply to Gleb Popov from comment #7)
% pkg info iichid
pkg: No package(s) matching iichid
% pkg search iichid
iichid-0.0.3 Generic FreeBSD HID layer for I2C and USB devices
So not installed at all. Should it be? (Probably from ports with default options if so, just to rule out a 12.1 stray definitely.)
(In reply to PauAmma from comment #8)
Hum. Check the output of `kldstat -n iichid` first. If it is loaded, then you don't need to install the port, and the problem lies somewhere else.
IIRC, libinput has taps disabled by default. You should add following lines to xorg.conf to enable it again:
Identifier "libinput touchpad catchall"
Option "Tapping" "on"
Option "ClickMethod" "clickfinger"
(In reply to Vladimir Kondratyev from comment #10)
I just added:
Option "Tapping" "on"
to it and tapping works again, thanks. I'm still not sure what changed that made that option necessary, but I can live with the uncertainty for now, although it'd be nice to know eventually.
I was using 12.1-RELEASE with moused and elantech support. After an upgrade to 12.2-RELEASE that setup was being ignored and I was able to figure out that it is now using libinput on X11. Tapping did not work as described in this bug report.
I was having much difficulty making my old setup work. However, the workaround with "Tapping" and "ClickMethod" worked. The touchpad now seem to be fully functional