From 4d6cea8de6446176183fdf66e1870d38f74b0f7f Mon Sep 17 00:00:00 2001 From: Srijan Keshri Date: Wed, 26 Aug 2026 02:10:36 +0530 Subject: [PATCH] hwdb: stop lid open toggling airplane mode on HP ENVY x360 Convertible 13 (#43521) The embedded controller on the HP ENVY x360 Convertible 13 emits atkbd scancode e057 on every lid open. The generic HP block maps e057 to KEY_WLAN, which desktop environments bind to the airplane-mode action, so opening the lid switches off every radio. There is no physical key on this machine that emits e057, it only ever arrives from the lid. This is the same firmware behavior already quirked for the HP Spectre x360 Convertible ("Prevents random airplane mode activation") and the HP Pavilion Gaming 15-dk1 ("lid keys"). Add the property to the existing ENVY x360 13 record rather than to the Spectre d7 block. The match line for this model already appears further down the file, so duplicating it there is rejected by parse-hwdb. e058 is emitted on lid close but carries no keycode in the generic HP block, so it is already inert and is left alone here. Replaces #43495. Closes #43494. Co-authored-by: Robin Richard Rajan --- hwdb.d/60-keyboard.hwdb | 1 + 1 file changed, 1 insertion(+) diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 590217dde5..29403e556f 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -714,6 +714,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:* # ENVY x360 13 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:* KEYBOARD_KEY_82=micmute # Microphone mute button + KEYBOARD_KEY_d7=unknown # EC emits e057 on every lid open # 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*:*