teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0293-hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch

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