[PATCH] input/mouse/synaptics: Add SYN1217 to PNP detection list

From: Paul Menzel
Date: Thu Feb 15 2018 - 08:50:42 EST


Date: Wed, 14 Feb 2018 18:16:43 +0100

On the TUXEDO Book BU1406, since Linux 4.12, the Linux kernel logs the message
below.

```
kernel: psmouse serio1: synaptics: Your touchpad (PNP: SYN1217 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@xxxxxxxxxxxxxxxx
```

Booting with `psmouse.synaptics_intertouch=1`, the touchpad continues to
work, so add the ID of the device to the list of IDs, whose devices
support I2C mode.

CC: stable@xxxxxxxxxxxxxxx
Signed-off-by: Paul Menzel <pmenzel@xxxxxxxxxxxxx>
---
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 3d2e23a0ae39..80ddbb966d83 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -178,6 +178,7 @@ static const char * const smbus_pnp_ids[] = {
};

static const char * const forcepad_pnp_ids[] = {
+ "SYN1217",
"SYN300D",
"SYN3014",
NULL
--
2.14.1