Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
authorChen-Yu Tsai <wens@csie.org>
Wed, 18 Jul 2018 17:24:35 +0000 (17:24 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 20 Nov 2018 18:05:44 +0000 (18:05 +0000)
commit 384cf4285b34e08917e3e66603382f2b0c4f6e1b upstream.

The Lenovo LaVie Z laptop requires i8042 to be reset in order to
consistently detect its Elantech touchpad. The nomux and kbdreset
quirks are not sufficient.

It's possible the other LaVie Z models from NEC require this as well.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/input/serio/i8042-x86ia64io.h

index 1ed8460f70e48399075e7aee553e57193481bdc0..03b7b2a32f2274bfc5648587b7604b88eb03b65e 100644 (file)
@@ -520,6 +520,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "N24_25BU"),
                },
        },
+       {
+               /* Lenovo LaVie Z */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo LaVie Z"),
+               },
+       },
        { }
 };