[systemd-commits] 2 commits - hwdb/60-evdev.hwdb
Peter Hutterer
whot at kemper.freedesktop.org
Mon Apr 20 18:35:45 PDT 2015
hwdb/60-evdev.hwdb | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
New commits:
commit 696f1dbfe193cb12e20703b96034ceed1bd8b4d4
Author: Benjamin Tissoires <benjamin.tissoires at redhat.com>
Date: Mon Apr 20 18:01:53 2015 -0400
hwdb: add Chromebook pixel (2015) resolution fix
The atmel driver sets a default resolution of 20 for each touchpads it
creates. On this model, 10 is more appropriate.
The resolution is not set for the touchscreen by the kernel, so match
the name to both touchpad and touchscreen.
diff --git a/hwdb/60-evdev.hwdb b/hwdb/60-evdev.hwdb
index 0533f1b..464d6bd 100644
--- a/hwdb/60-evdev.hwdb
+++ b/hwdb/60-evdev.hwdb
@@ -84,6 +84,17 @@ evdev:input:b0003v05ACp025b*
EVDEV_ABS_36=::92
#########################################
+# Google
+#########################################
+
+# Chromebook Pixel (2015) - Samus
+evdev:name:Atmel maXTouch Touch*:dmi:bvn*:bvr*:bd*:svnGOOGLE:pnSamus*
+ EVDEV_ABS_00=::10
+ EVDEV_ABS_01=::10
+ EVDEV_ABS_35=::10
+ EVDEV_ABS_36=::10
+
+#########################################
# Lenovo
#########################################
commit a58223dc373ff89600088016bee85705fa382bab
Author: Benjamin Tissoires <benjamin.tissoires at redhat.com>
Date: Mon Apr 20 18:01:52 2015 -0400
hwdb: add evdev entry for the Lenovo X230 series touchpad
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.
diff --git a/hwdb/60-evdev.hwdb b/hwdb/60-evdev.hwdb
index ae483aa..0533f1b 100644
--- a/hwdb/60-evdev.hwdb
+++ b/hwdb/60-evdev.hwdb
@@ -36,6 +36,13 @@
# 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
More information about the systemd-commits
mailing list