[PATCH v2] platform/x86: asus-nb-wmi: Ignore spurious 0xe5 events

From: Evgeny Volferts

Date: Mon Nov 09 2026 - 03:18:13 EST


Some ASUS laptops periodically emit WMI event 0xe5, which is not
associated with a supported key or action.

On the ROG Zephyrus G16 GU605MY, this event occurs approximately
every 12 seconds and is reported as KEY_UNKNOWN. When the session
is locked, it repeatedly wakes both the internal display and an
external monitor connected through a Thunderbolt dock.

Ignore event 0xe5 globally to prevent these spurious input events.
The same event has also been observed on other ASUS laptop models.

Signed-off-by: Evgeny Volferts <eugene.wolferz@xxxxxxxxx>
---
Changes in v2:
- Replace the GU605MY-specific DMI quirk with a global KE_IGNORE
entry for event 0xE5, following review feedback.
- Remove the DMI quirk and associated key filter logic.

A similar global fix was independently submitted by
Seyed Mohammad Mahdi Hosseini:
https://lore.kernel.org/r/d3871d83ee3f5eea3900d8bc0da1de764a8fc2ec.1791672579.git.i@xxxxxxxx

drivers/platform/x86/asus-nb-wmi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index aeb461b1644d..6e784a4909a0 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -662,6 +662,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
{ KE_KEY, 0xCB, { KEY_F14 } }, /* Fn+noise-cancel */
{ KE_IGNORE, 0xC6, }, /* Ambient Light Sensor notification */
{ KE_IGNORE, 0xCF, }, /* AC mode */
+ { KE_IGNORE, 0xE5, }, /* Periodic EC notification */
{ KE_KEY, 0xFA, { KEY_PROG2 } }, /* Lid flip action */
{ KE_KEY, 0xBD, { KEY_PROG2 } }, /* Lid flip action on ROG xflow laptops */
{ KE_KEY, ASUS_WMI_KEY_ARMOURY, { KEY_PROG3 } },
--
2.56.0