Thread (7 messages) 7 messages, 2 authors, 2025-09-24

Re: Touchpad multitouch leaves ghost fingers

flat view

From: Benjamin Tissoires <bentiss@kernel.org>
Date: 2025-09-23 16:30:37
Also in: lkml

On Sep 22 2025, Yinon Burgansky wrote:
On Mon, Sep 22, 2025 at 7:51 PM Benjamin Tissoires [off-list ref] wrote:
quoted
Well, I was meaning that I would provide a HID-BPF MR ready to install
for you.
That would be awesome! Thank you very much!
Got something out with https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/merge_requests/204
that seems to solve your case on the hid-recorder you provided.
quoted
But if you want to play with it, feel free to do so :)
For a jump start on HID-BPF:
https://libevdev.pages.freedesktop.org/udev-hid-bpf/tutorial.html
Thank you for the reference. I’m feeling quite fatigued from the
debugging process, as it took me a considerable amount of time to
identify the issue.
It was surprisingly difficult to determine what exactly was wrong with
the touchpad and to uncover the root cause; perhaps I didn’t search
for the right terms.
However, I’m glad I finally took the time to debug it, submit the bug
report, and find out what was wrong. Thank you!
quoted
The advantage of HID-BPF is that we can drop the file in the filesystem
and then forget about it.
My plan is to have the HID-BPF detect whether the quirk has been applied
or not and would gracefully remove itself once the kernel is fixed.
That's cool, nice design.
Unfortunately I spoke too fast. The NSMU quirk is internal to the
hid-multitouch driver, and not exported in the struct hid_device. Thus
we don't have a direct access to the quirk. It should also be present in
the driver data of the hid_device or in the input_device, but in both
cases BPF prevents us to simply follow the pointers.

In the end, it shouldn't be an issue if you have both the fixed kernel
and the BPF because both fixes are not mutually exclusive.
quoted
PS: please try to refrain from top-posting your reply. The usage is to
inline your reply or reply below,
Sorry about that, hopefully I did it right this time.
Yep, much better this time. I didn't meant to be rude, but if you want
to interact with the LKML, some people gets angry about top posting and
would just send you a link without even reading your email. So better
having better habits :)

Cheers,
Benjamin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help