Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1685494 > unrolled thread

[PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table

Started byKai-Heng Feng <kai.heng.feng@canonical.com>
First post2017-07-12 05:50 +0200
Last post2017-07-12 05:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table Kai-Heng Feng <kai.heng.feng@canonical.com> - 2017-07-12 05:50 +0200

#1685494 — [PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table

FromKai-Heng Feng <kai.heng.feng@canonical.com>
Date2017-07-12 05:50 +0200
Subject[PATCH] Input: i8042 - add Gigabyte P57 to the keyboard reset table
Message-ID<u2gOZ-2Ol-1@gated-at.bofh.it>
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>
---
 drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 09720d950686..1c6a49b5b93d 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -833,6 +833,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"),
-- 
2.13.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web