[kernel/f19] Backport patch to add new elantech touchpad support (rhbz 1051668)

Josh Boyer jwboyer at fedoraproject.org
Tue May 20 16:19:18 UTC 2014


commit 9bbbb9b88a07246665c3e5b179d6b1eb494d725e
Author: Josh Boyer <jwboyer at fedoraproject.org>
Date:   Tue May 20 12:18:26 2014 -0400

    Backport patch to add new elantech touchpad support (rhbz 1051668)

 ...-add-support-for-newer-elantech-touchpads.patch |   32 ++++++++++++++++++++
 kernel.spec                                        |    9 +++++
 2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/Input-elantech-add-support-for-newer-elantech-touchpads.patch b/Input-elantech-add-support-for-newer-elantech-touchpads.patch
new file mode 100644
index 0000000..448aeae
--- /dev/null
+++ b/Input-elantech-add-support-for-newer-elantech-touchpads.patch
@@ -0,0 +1,32 @@
+Bugzilla: 1051668
+Upstream-status: 3.15
+
+From ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06 Mon Sep 17 00:00:00 2001
+From: Jordan Rife <jrife0 at gmail.com>
+Date: Tue, 22 Apr 2014 17:44:51 -0700
+Subject: Input: elantech - add support for newer elantech touchpads
+
+Newer elantech touchpads are not recognized by the current driver, since it
+fails to detect their firmware version number. This prevents more advanced
+touchpad features from being usable such as two-finger scrolling. This
+patch allows newer touchpads to be detected and be fully functional. Tested
+on Sony Vaio SVF13N17PXB.
+
+Signed-off-by: Jordan Rife <jrife0 at gmail.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
+
+diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
+index ef1cf52..088d354 100644
+--- a/drivers/input/mouse/elantech.c
++++ b/drivers/input/mouse/elantech.c
+@@ -1353,6 +1353,7 @@ static int elantech_set_properties(struct elantech_data *etd)
+ 		case 6:
+ 		case 7:
+ 		case 8:
++		case 9:
+ 			etd->hw_version = 4;
+ 			break;
+ 		default:
+-- 
+cgit v0.10.1
+
diff --git a/kernel.spec b/kernel.spec
index 6777827..80d7262 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -781,6 +781,9 @@ Patch25090: filter-prevent-nla-extensions-to-peek-beyond-the-end.patch
 #rhbz 1096436
 Patch25091: 0001-synaptics-Add-min-max-quirk-for-the-ThinkPad-W540.patch
 
+#rhbz 1051668
+Patch25092: Input-elantech-add-support-for-newer-elantech-touchpads.patch
+
 # END OF PATCH DEFINITIONS
 
 %endif
@@ -1505,6 +1508,9 @@ ApplyPatch filter-prevent-nla-extensions-to-peek-beyond-the-end.patch
 #rhbz 1096436
 ApplyPatch 0001-synaptics-Add-min-max-quirk-for-the-ThinkPad-W540.patch
 
+#rhbz 1051668
+ApplyPatch Input-elantech-add-support-for-newer-elantech-touchpads.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2317,6 +2323,9 @@ fi
 # and build.
 
 %changelog
+* Tue May 20 2014 Josh Boyer <jwboyer at fedoraproject.org>
+- Backport patch to add new elantech touchpad support (rhbz 1051668)
+
 * Wed May 14 2014 Hans de Goede <hdegoede at redhat.com>
 - Add synaptics min/max quirk patch for the ThinkPad W540 (rhbz 1096436)
 


More information about the scm-commits mailing list