diff -Nru systemd-249.11/debian/changelog systemd-249.11/debian/changelog --- systemd-249.11/debian/changelog 2022-03-19 00:12:07.000000000 +0800 +++ systemd-249.11/debian/changelog 2022-03-30 11:14:58.000000000 +0800 @@ -1,3 +1,10 @@ +systemd (249.11-0ubuntu3) jammy; urgency=medium + + * Add mic mute key for HP machine (LP: #1967038) + - debian/patches/hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch + + -- Andy Chi Wed, 30 Mar 2022 11:14:58 +0800 + systemd (249.11-0ubuntu2) jammy; urgency=medium * Fix calculator key on HP Omen, using upstream 6f2353a & 7092021 (LP: #1929345) diff -Nru systemd-249.11/debian/patches/hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch systemd-249.11/debian/patches/hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch --- systemd-249.11/debian/patches/hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch 1970-01-01 08:00:00.000000000 +0800 +++ systemd-249.11/debian/patches/hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch 2022-03-30 10:51:02.000000000 +0800 @@ -0,0 +1,26 @@ +From f09f6dc2c8f59b2b58159cc413b605a547c8646e Mon Sep 17 00:00:00 2001 +From: Andy Chi +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. +--- + hwdb.d/60-keyboard.hwdb | 2 ++ + 1 file changed, 2 insertions(+) + +Index: systemd/hwdb.d/60-keyboard.hwdb +=================================================================== +--- systemd.orig/hwdb.d/60-keyboard.hwdb ++++ systemd/hwdb.d/60-keyboard.hwdb +@@ -621,6 +621,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett + # 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 diff -Nru systemd-249.11/debian/patches/series systemd-249.11/debian/patches/series --- systemd-249.11/debian/patches/series 2022-03-16 18:15:00.000000000 +0800 +++ systemd-249.11/debian/patches/series 2022-03-30 10:50:56.000000000 +0800 @@ -84,3 +84,4 @@ debian/UBUNTU-Don-t-override-Ubuntu-s-default-sysctl-values-LP-1962038.patch lp1929345/hwdb-Add-force-release-for-HP-Omen-15-calculator-key.-205.patch lp1929345/hwdb-Force-release-calculator-key-on-all-HP-OMEN-laptops.patch +hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch