ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
8d419f
From bfb6b8e75721c0d56d3a9ea8561f50f0f820b8a3 Mon Sep 17 00:00:00 2001
8d419f
From: Andy Chi <andy.chi@canonical.com>
8d419f
Date: Tue, 29 Mar 2022 15:36:13 +0800
8d419f
Subject: [PATCH] hwdb: Add mic mute key mapping for HP Elite x360
8d419f
8d419f
On the new Elite x360 2 in 1 HP laptops, the microphone mute hotkey is "Fn+F8" and
8d419f
the scancode for this hotkey is 0x81, but this scancode was mapped to
8d419f
fn_esc in the HP generic keymap section. To fix this problem, we add
8d419f
a machine specific keymap section to add the correct keymap rule.
8d419f
8d419f
(cherry picked from commit f09f6dc2c8f59b2b58159cc413b605a547c8646e)
8d419f
8d419f
Related: #2087778
8d419f
---
8d419f
 hwdb.d/60-keyboard.hwdb | 2 ++
8d419f
 1 file changed, 2 insertions(+)
8d419f
8d419f
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
8d419f
index eeadd1a059..c196a1fd64 100644
8d419f
--- a/hwdb.d/60-keyboard.hwdb
8d419f
+++ b/hwdb.d/60-keyboard.hwdb
8d419f
@@ -651,6 +651,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPLicrice:*
8d419f
 # HP EliteBook
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBook*:*
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteBook*:*
8d419f
+# HP Elite x360
8d419f
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPElite*x360*:*
8d419f
 # HP Elite Dragonfly
8d419f
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteDragonfly*:*
8d419f
 # HP ProBook 440 G2