]>
Commit | Line | Data |
---|---|---|
3344bf47 GKH |
1 | From 15e2cffec3aa0d47a8d75ae80e1b136bfb5dff30 Mon Sep 17 00:00:00 2001 |
2 | From: Edvard Holst <edvard.holst@gmail.com> | |
3 | Date: Sat, 3 Feb 2018 11:46:15 -0800 | |
4 | Subject: Input: synaptics - Lenovo Thinkpad X1 Carbon G5 (2017) with Elantech trackpoints should use RMI | |
5 | ||
6 | From: Edvard Holst <edvard.holst@gmail.com> | |
7 | ||
8 | commit 15e2cffec3aa0d47a8d75ae80e1b136bfb5dff30 upstream. | |
9 | ||
10 | Lenovo use two different trackpoints in the fifth generation Thinkpad X1 | |
11 | Carbon. Both are accessible over SMBUS/RMI but the pnpIDs are missing. | |
12 | This patch is for the Elantech trackpoint specifically which also | |
13 | reports SMB version 3 so rmi_smbus needs to be updated in order to | |
14 | handle it. | |
15 | ||
16 | For the record, I was not the first one to come up with this patch as it | |
17 | has been floating around the internet for a while now. However, I have | |
18 | spent significant time with testing and my efforts to find the original | |
19 | author of the patch have been unsuccessful. | |
20 | ||
21 | Signed-off-by: Edvard Holst <edvard.holst@gmail.com> | |
22 | Cc: stable@vger.kernel.org | |
23 | Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> | |
24 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
25 | ||
26 | --- | |
27 | drivers/input/mouse/synaptics.c | 1 + | |
28 | 1 file changed, 1 insertion(+) | |
29 | ||
30 | --- a/drivers/input/mouse/synaptics.c | |
31 | +++ b/drivers/input/mouse/synaptics.c | |
32 | @@ -173,6 +173,7 @@ static const char * const smbus_pnp_ids[ | |
33 | "LEN0046", /* X250 */ | |
34 | "LEN004a", /* W541 */ | |
35 | "LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */ | |
36 | + "LEN0073", /* X1 Carbon G5 (Elantech) */ | |
37 | "LEN200f", /* T450s */ | |
38 | NULL | |
39 | }; |