diff -Nru systemd-247.3/debian/changelog systemd-247.3/debian/changelog --- systemd-247.3/debian/changelog 2021-04-07 23:57:49.000000000 +0800 +++ systemd-247.3/debian/changelog 2021-04-28 22:58:10.000000000 +0800 @@ -1,3 +1,10 @@ +systemd (247.3-3ubuntu3.1) hirsute; urgency=medium + + * debian/patches/0001-hwdb-60-keyboard-Update-Dell-Privacy-Local-Mic-Mute-.patch + Apply upstream patch to correct key and device mapping. + + -- Andy Chi Wed, 28 Apr 2021 14:58:10 +0000 + systemd (247.3-3ubuntu3) hirsute; urgency=medium * Make systemd-rfkill work with latest Linux kernels (LP: #1921696) diff -Nru systemd-247.3/debian/patches/0001-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-.patch systemd-247.3/debian/patches/0001-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-.patch --- systemd-247.3/debian/patches/0001-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-.patch 1970-01-01 08:00:00.000000000 +0800 +++ systemd-247.3/debian/patches/0001-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-.patch 2021-04-28 22:58:10.000000000 +0800 @@ -0,0 +1,34 @@ +From 9e04eb0d5fc07617d5e37df991eac11d5812c92e Mon Sep 17 00:00:00 2001 +From: Perry Yuan +Date: Sun, 7 Mar 2021 21:50:49 -0500 +Subject: [PATCH] hwdb: 60-keyboard:: Update Dell Privacy Micmute Hotkey Map + +Dell new Privacy feature provide new hardware level privacy +protect for users +This patch remaps scancode 0x120001 to key code F20 micmute +The old matching string cannot cover some other Dell products +which have the privacy feature,expand the string to all the system +that can load the privacy driver,privacy driver already detect the +system if it can support this feature. So here we can safely just +map the micmute key to scancode 0x120001 + +Signed-off-by: Perry Yuan +--- + hwdb.d/60-keyboard.hwdb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: systemd/hwdb.d/60-keyboard.hwdb +=================================================================== +--- systemd.orig/hwdb.d/60-keyboard.hwdb ++++ systemd/hwdb.d/60-keyboard.hwdb +@@ -376,8 +376,8 @@ evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr + KEYBOARD_KEY_100150=f20 # Mic mute toggle, should be micmute + + # Dell Latitude privacy microphone mute +-evdev:name:Dell Privacy Driver:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:sku0A3E:* +- KEYBOARD_KEY_12001=f20 # Mic mute toggle, should be micmute ++evdev:name:Dell Privacy Driver:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:* ++ KEYBOARD_KEY_120001=f20 # Mic mute toggle, should be micmute + + ########################################################### + # Everex diff -Nru systemd-247.3/debian/patches/series systemd-247.3/debian/patches/series --- systemd-247.3/debian/patches/series 2021-04-07 23:57:49.000000000 +0800 +++ systemd-247.3/debian/patches/series 2021-04-28 22:58:10.000000000 +0800 @@ -62,3 +62,4 @@ lp1921696/rfkill-improve-error-logging.patch lp1921696/rfkill-use-short-writes-and-accept-long-reads.patch LoadCredentials-do-not-assert-on-invalid-syntax.patch +0001-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-.patch