mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbd
@ 2026-10-20 14:14 Patryk Pilichowski
  2026-10-20 14:14 ` [PATCH v2 1/2] platform/x86: msi-wmi: Sort scancodes numerically Patryk Pilichowski
  2026-10-20 14:14 ` [PATCH v2 2/2] platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbd Patryk Pilichowski
  0 siblings, 2 replies; 3+ messages in thread
From: Patryk Pilichowski @ 2026-10-20 14:14 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Patryk Pilichowski

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@gmail.com/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-20 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 14:14 [PATCH v2 0/2] platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbd Patryk Pilichowski
2026-10-20 14:14 ` [PATCH v2 1/2] platform/x86: msi-wmi: Sort scancodes numerically Patryk Pilichowski
2026-10-20 14:14 ` [PATCH v2 2/2] platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbd Patryk Pilichowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®