]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
authorDennis Wassenberg <dennis.wassenberg@secunet.com>
Thu, 8 Mar 2018 23:32:09 +0000 (15:32 -0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 9 Apr 2018 13:42:01 +0000 (10:42 -0300)
BugLink: http://bugs.launchpad.net/bugs/1762370
commit b56af54ac78c54a519d82813836f305d7f76ef27 upstream.

Reset i8042 before probing because of insufficient BIOS initialisation of
the i8042 serial controller. This makes Synaptics touchpad detection
possible. Without resetting the Synaptics touchpad is not detected because
there are always NACK messages from AUX port.

Signed-off-by: Dennis Wassenberg <dennis.wassenberg@secunet.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/input/serio/i8042-x86ia64io.h

index 6cbbdc6e968756a495301f340a2085d3fdf74e65..6ca00f9ef224765455da5964f17b9c8e04ef352f 100644 (file)
@@ -620,6 +620,13 @@ static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "20046"),
                },
        },
+       {
+               /* Lenovo ThinkPad L460 */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L460"),
+               },
+       },
        {
                /* Clevo P650RS, 650RP6, Sager NP8152-S, and others */
                .matches = {