Skip to content

Commit 4b9bb68

Browse files
jason77-wangmartinpitt
authored andcommitted
keymap: Add microphone mute keymap for several HP laptops
On these several 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. BugLink: https://bugs.launchpad.net/bugs/1409721 BugLink: https://bugs.launchpad.net/bugs/1334968 Signed-off-by: Hui Wang <hui.wang@canonical.com>
1 parent 1c11181 commit 4b9bb68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hwdb/60-keyboard.hwdb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,14 @@ keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr*
473473
# KEYBOARD_KEY_3e=fullscreen, no defined key sym
474474

475475

476+
# HP EliteBook 725 G2
477+
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPLicrice:pvr*
478+
# HP ProBook 440 G2
479+
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP440G2:pvr*
480+
# HP ProBook 445 G1
481+
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPProBook445G1NotebookPC:pvr*
482+
KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute
483+
476484
###########################################################
477485
# IBM
478486
###########################################################

0 commit comments

Comments
 (0)