Backport patch to add new elantech touchpad support (rhbz 1051668)
This commit is contained in:
parent
87656d6616
commit
9bbbb9b88a
|
@ -0,0 +1,32 @@
|
|||
Bugzilla: 1051668
|
||||
Upstream-status: 3.15
|
||||
|
||||
From ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06 Mon Sep 17 00:00:00 2001
|
||||
From: Jordan Rife <jrife0@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@gmail.com>
|
||||
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@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
|
||||
|
|
@ -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@fedoraproject.org>
|
||||
- Backport patch to add new elantech touchpad support (rhbz 1051668)
|
||||
|
||||
* Wed May 14 2014 Hans de Goede <hdegoede@redhat.com>
|
||||
- Add synaptics min/max quirk patch for the ThinkPad W540 (rhbz 1096436)
|
||||
|
||||
|
|
Loading…
Reference in New Issue