diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2017-09-15 09:36:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-27 14:39:19 +0200 |
commit | fcaec235666c3bebaa618577b98e8ae330ebb678 (patch) | |
tree | 1748b612a54a5c5a4aee70936af1bde7018402ba | |
parent | 6053a5fec5692f65b1dcf191ef88f147fc0f7525 (diff) | |
download | linux-stable-fcaec235666c3bebaa618577b98e8ae330ebb678.tar.gz linux-stable-fcaec235666c3bebaa618577b98e8ae330ebb678.tar.bz2 linux-stable-fcaec235666c3bebaa618577b98e8ae330ebb678.zip |
Input: i8042 - add Gigabyte P57 to the keyboard reset table
commit 697c5d8a36768b36729533fb44622b35d56d6ad0 upstream.
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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/input/serio/i8042-x86ia64io.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 5be14ad29d46..dbf09836ff30 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -905,6 +905,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = { }, }, { + /* Gigabyte P57 - Elantech touchpad */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"), + DMI_MATCH(DMI_PRODUCT_NAME, "P57"), + }, + }, + { /* Schenker XMG C504 - Elantech touchpad */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "XMG"), |