summaryrefslogtreecommitdiff
path: root/hwdb
diff options
context:
space:
mode:
authorHans de Goede <j.w.r.degoede@gmail.com>2019-02-03 23:58:39 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2019-02-04 08:58:39 +1000
commitb8cd434d201c267209845106d1a7b91745302d93 (patch)
tree0c56880db8ac79ffaa818bcbbb504d354022b187 /hwdb
parenta2ca57521b8a7a183bc51305e75e5de3c7b1288a (diff)
downloadsystemd-b8cd434d201c267209845106d1a7b91745302d93.tar.gz
hwdb: Add key-mapping for GPIO-keys on HP stream 7 tablet (#11631)
The HP stream 7 ACPI tables contains a gpio-keys entry for a non connected GPIO causing spurious events, this commit maps this key to unknown to disable it. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=202279
Diffstat (limited to 'hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb8
1 files changed, 8 insertions, 0 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index 2f46b6e23b..a8581b1bc3 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -618,6 +618,14 @@ evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*645*G4*
KEYBOARD_KEY_73=slash # Slash key
KEYBOARD_KEY_f8=wlan # Wireless HW switch button
+# HP Stream 7
+# The ACPI tables contains a gpio-keys entry for a non connected GPIO
+# causing spurious events, map this to unknown to disable it
+# older kernels use "ev:23" newer kernels "ev:3"
+evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
+evdev:name:gpio-keys:phys:gpio-keys/input0:ev:23:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
+ KEYBOARD_KEY_0=unknown
+
##########################################################
# Huawei
##########################################################