]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add mic mute key mapping for HP Elite x360
authorAndy Chi <andy.chi@canonical.com>
Tue, 29 Mar 2022 07:36:13 +0000 (15:36 +0800)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Mar 2022 12:48:26 +0000 (14:48 +0200)
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.

hwdb.d/60-keyboard.hwdb

index eeadd1a059d969ebe675072685e006d4eb92567d..c196a1fd64b26032048810543a6d9219cbcbbbc9 100644 (file)
@@ -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