summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-04-09 10:41:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-04-22 11:07:08 +1000
commitf183c1c38778b659b4c75a0e2c532dd5a9f8d437 (patch)
tree8110272e4b28e6cf27b8aec14b5611c42220d404
parent62ef210d11714703345dc8d35915ff53c37aee01 (diff)
conf: add more PnPIDs and DMI matches for Lenovos
And expand DMI strings to more precise matches Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--conf/11-x11-synaptics.fdi3
-rw-r--r--conf/50-synaptics.conf5
2 files changed, 5 insertions, 3 deletions
diff --git a/conf/11-x11-synaptics.fdi b/conf/11-x11-synaptics.fdi
index a898875..8145912 100644
--- a/conf/11-x11-synaptics.fdi
+++ b/conf/11-x11-synaptics.fdi
@@ -37,7 +37,8 @@
</match>
<match
- key="/org/freedesktop/Hal/devices/computer:system.hardware.version" contains_outof="T440;X240;T540;Helix;S1Yoga">
+ key="/org/freedesktop/Hal/devices/computer:system.hardware.version"
+ contains_outof="ThinkPad T440;ThinkPad X240;ThinkPad T540;ThinkPad Helix;ThinkPad S1 Yoga;ThinkPad L440;ThinkPad X1 Carbon 2nd;ThinkPad T431;ThinkPad L540">
<match key="input.product" contains="Synaptics">
<merge key="input.x11_options.ClickPad" type="string">on</merge>
<merge key="input.x11_options.SecondarySoftButtonAreas" type="string">58% 0 0 8% 42% 58% 0 8%</merge>
diff --git a/conf/50-synaptics.conf b/conf/50-synaptics.conf
index d808e6f..161c1dd 100644
--- a/conf/50-synaptics.conf
+++ b/conf/50-synaptics.conf
@@ -50,13 +50,14 @@ EndSection
# the top softbutton area enabled by default.
# Affected devices and their PNPIDs
# LEN0033: Helix
-# LEN0034: T540
+# LEN0034: T431, T540, X1 Carbon
# LEN0035: X240
# LEN0036: T440
# LEN0042: Yoga
+# LEN2004: L440, L540
Section "InputClass"
Identifier "Lenovo TrackPoint top software buttons"
MatchDriver "synaptics"
- MatchPnPID "LEN0033*|LEN0034*|LEN0035*|LEN0036*|LEN0042*"
+ MatchPnPID "LEN0033*|LEN0034*|LEN0035*|LEN0036*|LEN0042*|LEN2004*"
Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
EndSection