]> Git Repo - J-linux.git/commitdiff
Input: synaptics - enable SMBUS on T480 thinkpad trackpad
authorCole Rogers <[email protected]>
Mon, 1 Jul 2019 07:47:48 +0000 (00:47 -0700)
committerDmitry Torokhov <[email protected]>
Mon, 1 Jul 2019 08:22:21 +0000 (01:22 -0700)
Thinkpad t480 laptops had some touchpad features disabled, resulting in the
loss of pinch to activities in GNOME, on wayland, and other touch gestures
being slower. This patch adds the touchpad of the t480 to the smbus_pnp_ids
whitelist to enable the extra features. In my testing this does not break
suspend (on fedora, with wayland, and GNOME, using the rc-6 kernel), while
also fixing the feature on a T480.

Signed-off-by: Cole Rogers <[email protected]>
Acked-by: Benjamin Tissoires <[email protected]>
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/mouse/synaptics.c

index 8e6077d8e434a30cf76598164aa95cffcf2439fb..68fd8232d44cf9387e19589fb5152969b9bca1ff 100644 (file)
@@ -176,6 +176,7 @@ static const char * const smbus_pnp_ids[] = {
        "LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */
        "LEN0073", /* X1 Carbon G5 (Elantech) */
        "LEN0092", /* X1 Carbon 6 */
+       "LEN0093", /* T480 */
        "LEN0096", /* X280 */
        "LEN0097", /* X280 -> ALPS trackpoint */
        "LEN200f", /* T450s */
This page took 0.05907 seconds and 4 git commands to generate.