[PATCH v2 0/2] platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbd

From: Patryk Pilichowski

Date: Tue Oct 20 2026 - 10:25:17 EST


On MSI notebooks, several keys send a WMI event through the Wind event
GUID in addition to a regular AT keyboard event, and each press logs
"Unknown key pressed". This series marks those codes as KE_IGNORE.

Patch 1 sorts the existing scancodes numerically with no functional
change, as suggested by Ilpo. Patch 2 adds the new entries.

Changes in v2:
- Split into two patches: first sort the existing scancodes
numerically, give every entry an explicit value and use lowercase
hex (Ilpo)
- Add the new scancodes in sorted order

v1: https://lore.kernel.org/platform-driver-x86/20260926165034.94254-1-pat.pilichowski@xxxxxxxxx/

Patryk Pilichowski (2):
platform/x86: msi-wmi: Sort scancodes numerically
platform/x86: msi-wmi: Ignore WMI events for keys also handled by
atkbd

drivers/platform/x86/msi-wmi.c | 35 +++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)


base-commit: 893018d51f27ec0449155b0afe371aaf65380630
--
2.56.0