Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-07-21 10:23:21 +0200
committerJiri Slaby <jslaby@suse.cz>2019-07-21 10:23:23 +0200
commit3140cbb2ca76e62c8d4343e6fcafe9088a145a9e (patch)
treea42601cdcacadbd5df84cb1b4fecc3b1e4cfd601
parente1b4273cd5fc72eed48a7a51b7182235d6673384 (diff)
Input: synaptics - enable SMBUS on T480 thinkpad trackpad
-rw-r--r--patches.kernel.org/5.2.2-003-Input-synaptics-enable-SMBUS-on-T480-thinkpad-t.patch41
-rw-r--r--series.conf1
2 files changed, 42 insertions, 0 deletions
diff --git a/patches.kernel.org/5.2.2-003-Input-synaptics-enable-SMBUS-on-T480-thinkpad-t.patch b/patches.kernel.org/5.2.2-003-Input-synaptics-enable-SMBUS-on-T480-thinkpad-t.patch
new file mode 100644
index 0000000000..01e3f13bd3
--- /dev/null
+++ b/patches.kernel.org/5.2.2-003-Input-synaptics-enable-SMBUS-on-T480-thinkpad-t.patch
@@ -0,0 +1,41 @@
+From: Cole Rogers <colerogers@disroot.org>
+Date: Mon, 1 Jul 2019 00:47:48 -0700
+Subject: [PATCH] Input: synaptics - enable SMBUS on T480 thinkpad trackpad
+References: bnc#1012628
+Patch-mainline: 5.2.2
+Git-commit: abbe3acd7d72ab4633ade6bd24e8306b67e0add3
+
+commit abbe3acd7d72ab4633ade6bd24e8306b67e0add3 upstream.
+
+Thinkpad t480 laptops had some touchpad features disabled, resulting in the
+loss of pinch to activities in GNOME, on wayland, and other touch gestures
+being slower. This patch adds the touchpad of the t480 to the smbus_pnp_ids
+whitelist to enable the extra features. In my testing this does not break
+suspend (on fedora, with wayland, and GNOME, using the rc-6 kernel), while
+also fixing the feature on a T480.
+
+Signed-off-by: Cole Rogers <colerogers@disroot.org>
+Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
+Cc: stable@vger.kernel.org
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
+---
+ drivers/input/mouse/synaptics.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
+index b8ec301025b7..1080c0c49815 100644
+--- a/drivers/input/mouse/synaptics.c
++++ b/drivers/input/mouse/synaptics.c
+@@ -173,6 +173,7 @@ static const char * const smbus_pnp_ids[] = {
+ "LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */
+ "LEN0073", /* X1 Carbon G5 (Elantech) */
+ "LEN0092", /* X1 Carbon 6 */
++ "LEN0093", /* T480 */
+ "LEN0096", /* X280 */
+ "LEN0097", /* X280 -> ALPS trackpoint */
+ "LEN200f", /* T450s */
+--
+2.22.0
+
diff --git a/series.conf b/series.conf
index dfe8184eed..1e630ff9bc 100644
--- a/series.conf
+++ b/series.conf
@@ -90,6 +90,7 @@
patches.kernel.org/5.2.1-061-Linux-5.2.1.patch
patches.kernel.org/5.2.2-001-Revert-e1000e-fix-cyclic-resets-at-link-up-with.patch
patches.kernel.org/5.2.2-002-e1000e-start-network-tx-queue-only-when-link-is.patch
+ patches.kernel.org/5.2.2-003-Input-synaptics-enable-SMBUS-on-T480-thinkpad-t.patch
########################################################
# Build fixes that apply to the vanilla kernel too.