PKGBUILDs/extra/libinput/0002-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch

34 lines
1.2 KiB
Diff
Raw Normal View History

2017-05-05 14:14:01 +00:00
From bf5b10b31d23682d1fc1333e9094e902dcc7150a Mon Sep 17 00:00:00 2001
2017-04-23 22:11:40 +00:00
From: Paul Kocialkowski <contact@paulk.fr>
Date: Fri, 21 Apr 2017 13:31:57 +0200
2017-05-05 14:14:01 +00:00
Subject: [PATCH 2/4] udev: Add support for I2C Elan touchpads (without dmi)
2017-04-23 22:11:40 +00:00
This adds support for I2C Elan touchpads, such as the ones found in
various ARM CrOS devices. These devices do not use dmi.
The pressure range is copied as-is from the current Elantech PS/2
touchpads entry. It is not adapted to every touchpad configuration.
Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
---
2017-05-05 14:14:01 +00:00
udev/90-libinput-model-quirks.hwdb | 3 +++
1 file changed, 3 insertions(+)
2017-04-23 22:11:40 +00:00
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
2017-05-05 14:14:01 +00:00
index 560e77a..8cf3304 100644
2017-04-23 22:11:40 +00:00
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
2017-05-05 14:14:01 +00:00
@@ -90,6 +90,9 @@ libinput:name:*ETPS/2 Elantech Touchpad*:dmi:*
libinput:name:*ETPS/2 Elantech Touchpad*:dmi:*svnASUSTeKComputerInc.:pnUX21E:*
LIBINPUT_ATTR_PRESSURE_RANGE=24:10
2017-04-23 22:11:40 +00:00
+libinput:name:*Elan Touchpad*
+ LIBINPUT_ATTR_PRESSURE_RANGE=24:8
+
##########################################
# Google
##########################################
--
2.12.2