mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] platform/x86: add Xiaomi WMI key driver
@ 2026-06-01 15:27 Lucy Wong
  2026-06-01 15:27 ` [PATCH 1/1] " Lucy Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Lucy Wong @ 2026-06-01 15:27 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Lucy Wong

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

-- 
2.54.0


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH 0/1] platform/x86: add Xiaomi WMI key driver
@ 2026-06-01 15:14 Lucy Wong
  2026-06-01 15:14 ` [PATCH 1/1] " Lucy Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Lucy Wong @ 2026-06-01 15:14 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Lucy Wong

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

-- 
2.54.0


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

end of thread, other threads:[~2026-06-10 17:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 15:27 [PATCH 0/1] platform/x86: add Xiaomi WMI key driver Lucy Wong
2026-06-01 15:27 ` [PATCH 1/1] " Lucy Wong
2026-06-08 10:09   ` Ilpo Järvinen
2026-06-10 17:40     ` Armin Wolf
  -- strict thread matches above, loose matches on Subject: below --
2026-06-01 15:14 [PATCH 0/1] " Lucy Wong
2026-06-01 15:14 ` [PATCH 1/1] " Lucy Wong

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®