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