systemd/0847-Prevents-airplane-mode-toggle-for-HP-Spectre-16.patch
Jan Macku 5e4e586032 systemd-252-41
Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
2024-08-16 09:00:42 +02:00

28 lines
1.2 KiB
Diff

From 4cddffc18d44849f58b95692aaecda4b33dea67d Mon Sep 17 00:00:00 2001
From: Hannoskaj <jonas.kahn@protonmail.com>
Date: Mon, 26 Dec 2022 09:43:36 +0100
Subject: [PATCH] Prevents airplane mode toggle for HP Spectre 16
(cherry picked from commit cb6f38b182eecee9878e6103ccfec0e201d4c850)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index a31beda268..4b58a42232 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -605,6 +605,10 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:*
KEYBOARD_KEY_82=f20 # Microphone mute button, should be micmute
+# Spectre x360 16 2022
+evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pn*HP[sS][pP][eE][cC][tT][rR][eE]*x3602-in-1*:*
+ KEYBOARD_KEY_08=unknown # Prevents random airplane mode activation
+
# HP Elite x2 1013 G3
evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:*
KEYBOARD_KEY_f8=unknown # rfkill is also reported by HP Wireless hotkeys