Skip to content

platform/x86: add Xiaomi WMI key driver

Lucy Wong lkml platform-driver-x86 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1platform/x86: add Xiaomi WMI key driverMAINTAINERS drivers/platform/x86/Kconfig drivers/platform/x86/Makefile +1 more+157 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] platform/x86: add Xiaomi WMI key driver

This adds a driver for extra function keys on certain Xiaomi laptops.

Unlike the existing xiaomi-wmi driver where each key has its own WMI GUID, this machine delivers all keys through a single event GUID (B74AF83F-...), encoding the event type and keycode in the event buffer.

I was unsure whether this should be merged into the existing xiaomi-wmi.c or kept separate due to the different mechanism. I chose a separate file for clarity; happy to merge if preferred.

Tested on Xiaomi Mi Gaming Laptop (8th gen Intel).

Lucy Wong (1):
platform/x86: add Xiaomi WMI key driver

 MAINTAINERS                            |   6 ++
 drivers/platform/x86/Kconfig           |  11 ++
 drivers/platform/x86/Makefile          |   1 +
 drivers/platform/x86/xiaomi-wmi-keys.c | 139 +++++++++++++++++++++++++
 4 files changed, 157 insertions(+)
 create mode 100644 drivers/platform/x86/xiaomi-wmi-keys.c
Signature · 1 line
2.54.0