[kernel/f20] Add min/max quirk for the ThinkPad Edge E531 touchpad (rhbz#1114768)

Hans de Goede jwrdegoede at fedoraproject.org
Tue Jul 1 10:41:47 UTC 2014


commit ea3f980e152dddbc324300cac89a93536f676c7b
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue Jul 1 12:41:55 2014 +0200

    Add min/max quirk for the ThinkPad Edge E531 touchpad (rhbz#1114768)

 ...dd-min-max-quirk-for-pnp-id-LEN2002-Edge-.patch |   41 ++++++++++++++++++++
 kernel.spec                                        |    9 ++++
 2 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/0001-synaptics-Add-min-max-quirk-for-pnp-id-LEN2002-Edge-.patch b/0001-synaptics-Add-min-max-quirk-for-pnp-id-LEN2002-Edge-.patch
new file mode 100644
index 0000000..964710d
--- /dev/null
+++ b/0001-synaptics-Add-min-max-quirk-for-pnp-id-LEN2002-Edge-.patch
@@ -0,0 +1,41 @@
+Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1114768
+Upstream-status: Send upstream, with Cc: stable at vger.kernel.org
+
+From f7c60e6750a17e3d6734ab12a2f8e3aab521406e Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede at redhat.com>
+Date: Tue, 1 Jul 2014 12:27:05 +0200
+Subject: [PATCH] synaptics: Add min/max quirk for pnp-id LEN2002 (Edge E531)
+
+https://bugzilla.redhat.com/show_bug.cgi?id=1114768
+
+Signed-off-by: Hans de Goede <hdegoede at redhat.com>
+---
+ drivers/input/mouse/synaptics.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
+index 75a5154..84c72f6 100644
+--- a/drivers/input/mouse/synaptics.c
++++ b/drivers/input/mouse/synaptics.c
+@@ -132,7 +132,8 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
+ 		1232, 5710, 1156, 4696
+ 	},
+ 	{
+-		(const char * const []){"LEN0034", "LEN0036", "LEN2004", NULL},
++		(const char * const []){"LEN0034", "LEN0036", "LEN2002",
++					"LEN2004", NULL},
+ 		1024, 5112, 2024, 4832
+ 	},
+ 	{
+@@ -168,7 +169,7 @@ static const char * const topbuttonpad_pnp_ids[] = {
+ 	"LEN0049",
+ 	"LEN2000",
+ 	"LEN2001", /* Edge E431 */
+-	"LEN2002",
++	"LEN2002", /* Edge E531 */
+ 	"LEN2003",
+ 	"LEN2004", /* L440 */
+ 	"LEN2005",
+-- 
+2.0.0
+
diff --git a/kernel.spec b/kernel.spec
index 4b98425..9b2bc0f 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -764,6 +764,9 @@ Patch25110: 0001-ideapad-laptop-Change-Lenovo-Yoga-2-series-rfkill-ha.patch
 #rhbz 1015989
 Patch25111: netfilter-nf_nat-fix-oops-on-netns-removal.patch
 
+#rhbz 1114768
+Patch25112: 0001-synaptics-Add-min-max-quirk-for-pnp-id-LEN2002-Edge-.patch
+
 # END OF PATCH DEFINITIONS
 
 %endif
@@ -1487,6 +1490,9 @@ ApplyPatch 0001-ideapad-laptop-Change-Lenovo-Yoga-2-series-rfkill-ha.patch
 #rhbz 1015989
 ApplyPatch netfilter-nf_nat-fix-oops-on-netns-removal.patch
 
+#rhbz 1114768
+ApplyPatch 0001-synaptics-Add-min-max-quirk-for-pnp-id-LEN2002-Edge-.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2298,6 +2304,9 @@ fi
 #                 ||----w |
 #                 ||     ||
 %changelog
+* Tue Jul  1 2014 Hans de Goede <hdegoede at redhat.com>
+- Add min/max quirk for the ThinkPad Edge E531 touchpad (rhbz#1114768)
+
 * Mon Jun 30 2014 Josh Boyer <jwboyer at fedoraproject.org> - 3.15.2-200
 - Backport netfilter panic fix (rhbz 1015989)
 


More information about the scm-commits mailing list