summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics.c
diff options
context:
space:
mode:
authorEdvard Holst <edvard.holst@gmail.com>2018-02-03 20:46:15 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-05-23 20:45:50 +0200
commit15e2cffec3aa0d47a8d75ae80e1b136bfb5dff30 (patch)
tree7ece6e767fd89f401a3dd9d60c80bc7a2151a547 /drivers/input/mouse/synaptics.c
parentInput: synaptics - Lenovo Carbon X1 Gen5 (2017) devices should use RMI (diff)
downloadlinux-15e2cffec3aa0d47a8d75ae80e1b136bfb5dff30.tar.xz
linux-15e2cffec3aa0d47a8d75ae80e1b136bfb5dff30.zip
Input: synaptics - Lenovo Thinkpad X1 Carbon G5 (2017) with Elantech trackpoints should use RMI
Lenovo use two different trackpoints in the fifth generation Thinkpad X1 Carbon. Both are accessible over SMBUS/RMI but the pnpIDs are missing. This patch is for the Elantech trackpoint specifically which also reports SMB version 3 so rmi_smbus needs to be updated in order to handle it. For the record, I was not the first one to come up with this patch as it has been floating around the internet for a while now. However, I have spent significant time with testing and my efforts to find the original author of the patch have been unsuccessful. Signed-off-by: Edvard Holst <edvard.holst@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/synaptics.c')
-rw-r--r--drivers/input/mouse/synaptics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 096586f12e4a..6b9db57faa80 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -173,6 +173,7 @@ static const char * const smbus_pnp_ids[] = {
"LEN0046", /* X250 */
"LEN004a", /* W541 */
"LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */
+ "LEN0073", /* X1 Carbon G5 (Elantech) */
"LEN200f", /* T450s */
NULL
};