]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: synaptics - enable InterTouch for the ThinkPad P1 G3
authorLyude Paul <lyude@redhat.com>
Wed, 14 Sep 2022 12:34:49 +0000 (05:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Sep 2022 12:35:16 +0000 (05:35 -0700)
Noticed this while trying to debug some unrelated issues: this laptop has
the ability to use rmi4 but doesn't by default. So let's fix that.

Tested locally, including mouse buttons, on my ThinkPad P1 G3. This might
also enable the X1 Extreme G3, but I don't have such a system to test
locally (presumably Mark can chime in if that's the case).

Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20220909202127.141761-1-lyude@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c

index e3f657713b557ea58f459c4e07930606d5afa121..4971ec9f9748fa720287085cb1159e98251fc417 100644 (file)
@@ -182,6 +182,7 @@ static const char * const smbus_pnp_ids[] = {
        "LEN0099", /* X1 Extreme Gen 1 / P1 Gen 1 */
        "LEN009b", /* T580 */
        "LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */
+       "LEN040f", /* P1 Gen 3 */
        "LEN200f", /* T450s */
        "LEN2044", /* L470  */
        "LEN2054", /* E480 */