Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-18 17:24:15 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-18 17:24:29 +0100
commit092301fb8673eb94c5167f24e72ea72644ddf024 (patch)
treea4267aca64200a5cb021e03fe195453f37ee0ebb
parentfb98cf5a4f1ac55ebd1712cedfc7a406b0c084a4 (diff)
Input: synaptics - enable SMBus for HP EliteBook 840 G4
(bsc#1051510).
-rw-r--r--patches.drivers/Input-synaptics-enable-SMBus-for-HP-EliteBook-840-G4.patch54
-rw-r--r--series.conf1
2 files changed, 55 insertions, 0 deletions
diff --git a/patches.drivers/Input-synaptics-enable-SMBus-for-HP-EliteBook-840-G4.patch b/patches.drivers/Input-synaptics-enable-SMBus-for-HP-EliteBook-840-G4.patch
new file mode 100644
index 0000000000..f1b458bbe7
--- /dev/null
+++ b/patches.drivers/Input-synaptics-enable-SMBus-for-HP-EliteBook-840-G4.patch
@@ -0,0 +1,54 @@
+From 7a71712293ba303aad928f580b89addb0be2892e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= <grawity@gmail.com>
+Date: Fri, 21 Dec 2018 01:04:26 -0800
+Subject: [PATCH] Input: synaptics - enable SMBus for HP EliteBook 840 G4
+Mime-version: 1.0
+Content-type: text/plain; charset=UTF-8
+Content-transfer-encoding: 8bit
+Git-commit: 7a71712293ba303aad928f580b89addb0be2892e
+Patch-mainline: v4.20
+References: bsc#1051510
+
+dmesg reports that "Your touchpad (PNP: SYN3052 SYN0100 SYN0002 PNP0f13)
+says it can support a different bus."
+
+I've tested the offered psmouse.synaptics_intertouch=1 with 4.18.x and
+4.19.x and it seems to work well. No problems seen with suspend/resume.
+
+Also, it appears that RMI/SMBus mode is actually required for 3-4 finger
+multitouch gestures to work -- otherwise they are not reported at all.
+
+Information from dmesg in both modes:
+
+ psmouse serio3: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2b1,
+ caps: 0xf00123/0x840300/0x2e800/0x0, board id: 3139, fw id: 2000742
+
+ psmouse serio3: synaptics: Trying to set up SMBus access
+ rmi4_smbus 6-002c: registering SMbus-connected sensor
+ rmi4_f01 rmi4-00.fn01: found RMI device,
+ manufacturer: Synaptics, product: TM3139-001, fw id: 2000742
+
+Signed-off-by: Mantas Mikul─Śnas <grawity@gmail.com>
+Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Acked-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ 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 7bdf8fc2c3b5..b6da0c1267e3 100644
+--- a/drivers/input/mouse/synaptics.c
++++ b/drivers/input/mouse/synaptics.c
+@@ -179,6 +179,7 @@ static const char * const smbus_pnp_ids[] = {
+ "LEN0096", /* X280 */
+ "LEN0097", /* X280 -> ALPS trackpoint */
+ "LEN200f", /* T450s */
++ "SYN3052", /* HP EliteBook 840 G4 */
+ "SYN3221", /* HP 15-ay000 */
+ NULL
+ };
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 6ff8f3b6a0..4f5773ea62 100644
--- a/series.conf
+++ b/series.conf
@@ -19602,6 +19602,7 @@
patches.drivers/gpio-mvebu-only-fail-on-missing-clk-if-pwm-is-actual.patch
patches.drivers/Input-omap-keypad-fix-idle-configuration-to-not-bloc.patch
patches.drivers/Input-synaptics-enable-RMI-on-ThinkPad-T560.patch
+ patches.drivers/Input-synaptics-enable-SMBus-for-HP-EliteBook-840-G4.patch
patches.drm/0001-drm-ioctl-Fix-Spectre-v1-vulnerabilities.patch
patches.fixes/x86-mm-Fix-decoy-address-handling-vs-32-bit-builds.patch
patches.drm/0001-drm-rockchip-psr-do-not-dereference-encoder-before-i.patch