linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] HID: multitouch: fix sticky-fingers quirks
@ 2025-10-08 14:06 Benjamin Tissoires
  2025-10-08 14:06 ` [PATCH 1/2] HID: multitouch: fix sticky fingers Benjamin Tissoires
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Benjamin Tissoires @ 2025-10-08 14:06 UTC (permalink / raw)
  To: Jiri Kosina, Shuah Khan
  Cc: Peter Hutterer, linux-input, linux-kernel, linux-kselftest,
	Benjamin Tissoires, stable

According to Peter, we've had for a very long time an issue on some
mutltiouch touchpads where the fingers were stuck in a scrolling mode,
or 3 fingers gesture mode. I was unable to debug it because it was
rather hard to reproduce.

Recently, some people raised the issue again on libinput, and this time
added a recording of the actual bug.

It turns out that the sticky finger quirk that was introduced back in
2017 was only checking the last report, and that those missing releases
also happen when moving from 3 to 1 finger (only 1 is released instead
of 2).

This solution seems to me to be the most sensible, because we could also
add the NSMU quirk to win8 multitouch touchpads, but this would involve
a lot more computations at each report for rather annoying corner cases.

Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1194
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
---
Benjamin Tissoires (2):
      HID: multitouch: fix sticky fingers
      selftests/hid: add tests for missing release on the Dell Synaptics

 drivers/hid/hid-multitouch.c                       | 27 ++++++-----
 .../testing/selftests/hid/tests/test_multitouch.py | 55 ++++++++++++++++++++++
 2 files changed, 69 insertions(+), 13 deletions(-)
---
base-commit: 54ba6d9b1393a0061600c0e49c8ebef65d60a8b2
change-id: 20250926-fix-sticky-fingers-8ae88436ae82

Best regards,
-- 
Benjamin Tissoires <bentiss@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-15 15:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-08 14:06 [PATCH 0/2] HID: multitouch: fix sticky-fingers quirks Benjamin Tissoires
2025-10-08 14:06 ` [PATCH 1/2] HID: multitouch: fix sticky fingers Benjamin Tissoires
2025-10-08 14:06 ` [PATCH 2/2] selftests/hid: add tests for missing release on the Dell Synaptics Benjamin Tissoires
2025-10-15 15:27 ` [PATCH 0/2] HID: multitouch: fix sticky-fingers quirks Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).