]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Input: i8042 - add Gigabyte P57 to the keyboard reset table
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Fri, 15 Sep 2017 16:36:16 +0000 (09:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 15 Sep 2017 16:51:22 +0000 (09:51 -0700)
Similar to other Gigabyte laptops, the touchpad on P57 requires a
keyboard reset to detect Elantech touchpad correctly.

BugLink: https://bugs.launchpad.net/bugs/1594214
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-x86ia64io.h

index ae81e57e13b9519dbe3b49697a0db5322f2dd0a7..6cbbdc6e968756a495301f340a2085d3fdf74e65 100644 (file)
@@ -839,6 +839,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "P34"),
                },
        },
+       {
+               /* Gigabyte P57 - Elantech touchpad */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "P57"),
+               },
+       },
        {
                /* Schenker XMG C504 - Elantech touchpad */
                .matches = {