[kernel/f19] Add synaptics min-max quirk for ThinkPad Edge E431 (rhbz#1089689)

Hans de Goede jwrdegoede at fedoraproject.org
Fri Apr 25 08:37:39 UTC 2014


commit 560ec8e0524b76367f9b50bce41b9a4848d62c0a
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Fri Apr 25 10:37:25 2014 +0200

    Add synaptics min-max quirk for ThinkPad Edge E431 (rhbz#1089689)

 ...-Add-min-max-quirk-for-ThinkPad-Edge-E431.patch |   33 ++++++++++++++++++++
 kernel.spec                                        |    9 +++++
 2 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/0001-synaptics-Add-min-max-quirk-for-ThinkPad-Edge-E431.patch b/0001-synaptics-Add-min-max-quirk-for-ThinkPad-Edge-E431.patch
new file mode 100644
index 0000000..03527a5
--- /dev/null
+++ b/0001-synaptics-Add-min-max-quirk-for-ThinkPad-Edge-E431.patch
@@ -0,0 +1,33 @@
+From d1b9785eda70e7638927d294139c6d4796cb7ea6 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede at redhat.com>
+Date: Tue, 22 Apr 2014 11:08:16 +0200
+Subject: [PATCH v3] synaptics: Add min/max quirk for ThinkPad Edge E431
+
+Cc: stable at vger.kernel.org
+Signed-off-by: Hans de Goede <hdegoede at redhat.com>
+---
+ drivers/input/mouse/synaptics.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
+index 7c9f509..93cc8fd 100644
+--- a/drivers/input/mouse/synaptics.c
++++ b/drivers/input/mouse/synaptics.c
+@@ -1566,6 +1566,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
+ 		.driver_data = (int []){1232, 5710, 1156, 4696},
+ 	},
+ 	{
++		/* Lenovo ThinkPad Edge E431 */
++		.matches = {
++			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
++			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad Edge E431"),
++		},
++		.driver_data = (int []){1024, 5022, 2508, 4832},
++	},
++	{
+ 		/* Lenovo ThinkPad T431s */
+ 		.matches = {
+ 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+-- 
+1.9.0
+
diff --git a/kernel.spec b/kernel.spec
index 9620ca0..7a2fa0b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -777,6 +777,9 @@ Patch25062: 0001-HID-rmi-introduce-RMI-driver-for-Synaptics-touchpads.patch
 #rhbz 1089583
 Patch25064: 0001-HID-rmi-do-not-handle-touchscreens-through-hid-rmi.patch
 
+#rhbz 1089689
+Patch25065: 0001-synaptics-Add-min-max-quirk-for-ThinkPad-Edge-E431.patch
+
 # END OF PATCH DEFINITIONS
 
 %endif
@@ -1499,6 +1502,9 @@ ApplyPatch 0001-synaptics-Add-min-max-quirk-for-ThinkPad-T431s-L440-.patch
 #rhbz 1071914
 ApplyPatch USB-serial-ftdi_sio-add-id-for-Brainboxes-serial-car.patch
 
+#rhbz 1089689
+ApplyPatch 0001-synaptics-Add-min-max-quirk-for-ThinkPad-Edge-E431.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2311,6 +2317,9 @@ fi
 # and build.
 
 %changelog
+* Fri Apr 25 2014 Hans de Goede <hdegoede at redhat.com>
+- Add synaptics min-max quirk for ThinkPad Edge E431 (rhbz#1089689)
+
 * Wed Apr 23 2014 Justin M. Forbes <jforbes at fedoraproject.org> - 3.13.11-100
 - Linux v3.13.11
 


More information about the scm-commits mailing list