]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add evdev entry for the Lenovo X230 series touchpad
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Apr 2015 22:01:52 +0000 (18:01 -0400)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 21 Apr 2015 01:29:01 +0000 (11:29 +1000)
The Lenovo X230 advertize a vertical resolution of 136, which gives a true
size of 31 mm. The actual physical size of the touchpad is 40 mm, so
override the resolution to 100.

hwdb/60-evdev.hwdb

index ae483aaf51ff22cea5b2649e4e1be91bef61dda7..0533f1b90b7d020cf358e29642d92a1685cb7148 100644 (file)
 # If a field is missing the field will be left as-is. Not all fields need to
 # be present. e.g. ::45 sets the resolution to 45 units/mm.
 
+#
+# Sort by by brand, model
+
+#########################################
+# Apple
+#########################################
+
 # Macbook5,1 (unibody), aka wellspring3
 evdev:input:b0003v05ACp0236*
 evdev:input:b0003v05ACp0237*
@@ -75,3 +82,12 @@ evdev:input:b0003v05ACp025b*
  EVDEV_ABS_01=::92
  EVDEV_ABS_35=::94
  EVDEV_ABS_36=::92
+
+#########################################
+# Lenovo
+#########################################
+
+# Lenovo X230 series
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*X230*
+ EVDEV_ABS_01=::100
+ EVDEV_ABS_36=::100