]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.18-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Sep 2017 13:50:02 +0000 (15:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Sep 2017 13:50:02 +0000 (15:50 +0200)
added patches:
input-i8042-add-gigabyte-p57-to-the-keyboard-reset-table.patch

queue-3.18/input-i8042-add-gigabyte-p57-to-the-keyboard-reset-table.patch [new file with mode: 0644]
queue-3.18/series

diff --git a/queue-3.18/input-i8042-add-gigabyte-p57-to-the-keyboard-reset-table.patch b/queue-3.18/input-i8042-add-gigabyte-p57-to-the-keyboard-reset-table.patch
new file mode 100644 (file)
index 0000000..1a026c0
--- /dev/null
@@ -0,0 +1,37 @@
+From 697c5d8a36768b36729533fb44622b35d56d6ad0 Mon Sep 17 00:00:00 2001
+From: Kai-Heng Feng <kai.heng.feng@canonical.com>
+Date: Fri, 15 Sep 2017 09:36:16 -0700
+Subject: Input: i8042 - add Gigabyte P57 to the keyboard reset table
+
+From: Kai-Heng Feng <kai.heng.feng@canonical.com>
+
+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>
+
+---
+ drivers/input/serio/i8042-x86ia64io.h |    7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/drivers/input/serio/i8042-x86ia64io.h
++++ b/drivers/input/serio/i8042-x86ia64io.h
+@@ -805,6 +805,13 @@ static const struct dmi_system_id __init
+               },
+       },
+       {
++              /* 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"),
index ef09cf0ff600bdf8c19ca268f4ab8715b1f7fdb5..d319b362d4ba18f0bd938c2154141125b524879f 100644 (file)
@@ -7,3 +7,4 @@ ipv6-fix-typo-in-fib6_net_exit.patch
 f2fs-check-hot_data-for-roll-forward-recovery.patch
 revert-usb-musb-fix-tx-fifo-flush-handling-again.patch
 ip6_gre-fix-endianness-errors-in-ip6gre_err.patch
+input-i8042-add-gigabyte-p57-to-the-keyboard-reset-table.patch