quirks: Customize ALPS i2c touchpad palm detect pressure threshold
authorKai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
Mon, 28 Sep 2020 02:43:28 +0000 (10:43 +0800)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 6 Oct 2020 22:15:08 +0000 (08:15 +1000)
ALPS i2c touchpad support ABS_PRESSURE and ABS_MT_PRESSURE capabilities,
The default threshold 130 is too easy to across while finger movement.
It will cause the cursor stalled after the threshold is achieved, which
impacts user experience.
Test with some ALPS touchpads 0488:101A, 0488:101D, 0488:101E, the value
180 is good on those platforms.

Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
(cherry picked from commit f0997536a7a3e384bfe64b67c5c1f874656042c6)

quirks/30-vendor-alps.quirks

index 6ebcbb855680700ab08b9e047925a33656145dbf..abdf98eaef791c683b433ce0842242b566ba7c6f 100644 (file)
@@ -19,6 +19,12 @@ MatchVendor=0x0002
 MatchProduct=0x0008
 ModelALPSSerialTouchpad=1
 
+[ALPS i2c Touchpads]
+MatchUdevType=touchpad
+MatchBus=i2c
+MatchVendor=0x0488
+AttrPalmPressureThreshold=180
+
 [ALPS v8 Touchpads]
 MatchUdevType=touchpad
 MatchBus=ps2