From: RussianNeuroMancer Date: Sun, 27 Sep 2020 01:25:27 +0000 (+0800) Subject: Prevent triple reporting of rfkill button on HP Elite x2 1013 G3, plus five other... X-Git-Tag: v247-rc1~161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=714fdbad84f4fe70f56c77c3d3677fae1cc94303;p=thirdparty%2Fsystemd.git Prevent triple reporting of rfkill button on HP Elite x2 1013 G3, plus five other hotkeys 1. rfkill hotkey is reported from three source: keyboard, Intel HID and HP Wireless hotkeys. Let's block first two. 2. Correct mapping for calendar, micmute, display and brightness hotkeys. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 855b98f70c8..343f2cb7fdd 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -541,6 +541,18 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360Convert evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:pvr* KEYBOARD_KEY_82=f20 # Fn+F12; Microphone mute button, should be micmute +# HP Elite x2 1013 G3 +evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:* + KEYBOARD_KEY_f8=unknown # rfkill is also reported by HP Wireless hotkeys + KEYBOARD_KEY_64=calendar + KEYBOARD_KEY_81=f20 # Microphone mute button + KEYBOARD_KEY_ee=switchvideomode # Switch display outputs + KEYBOARD_KEY_92=brightnessdown + KEYBOARD_KEY_97=brightnessup + +evdev:name:Intel HID events:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:* + KEYBOARD_KEY_08=unknown # rfkill is also reported by HP Wireless hotkeys + # Elitebook evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Compaq*:pvr* evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*EliteBook*:pvr*