Skip to content

platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbd

Patryk Pilichowski lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86: msi-wmi: Sort scancodes numericallydrivers/platform/x86/msi-wmi.c+10 -130 replies
2/2platform/x86: msi-wmi: Ignore WMI events for keys also handled by atkbddrivers/platform/x86/msi-wmi.c+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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/[email protected]/

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

Signature · 1 line
2.56.0