aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorWerner Sembach <wse@tuxedocomputers.com>2025-04-25 22:53:29 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-05-08 16:03:58 +0300
commitcfd84b3f419bf0aec60ecddc92c61b539c339ec9 (patch)
tree47baba9745d7a1456d9bee6314c6d1cae8054cc7 /lib/mpi/mpi-sub-ui.c
parentplatform/x86: asus-wmi: Refactor Ally suspend/resume (diff)
downloadwireguard-linux-cfd84b3f419bf0aec60ecddc92c61b539c339ec9.tar.xz
wireguard-linux-cfd84b3f419bf0aec60ecddc92c61b539c339ec9.zip
platform/x86/tuxedo: Add virtual LampArray for TUXEDO NB04 devices
The TUXEDO Sirius 16 Gen1 and TUXEDO Sirius 16 Gen2 devices have a per-key controllable RGB keyboard backlight. The firmware API for it is implemented via WMI. To make the backlight userspace configurable this driver emulates a LampArray HID device and translates the input from hidraw to the corresponding WMI calls. This is a new approach as the leds subsystem lacks a suitable UAPI for per-key keyboard backlights, and like this no new UAPI needs to be established. The handle_* functions an corresponding structs are named based on the HID spec: HID Usage Tables 1.6 -> 26 Lighting And Illumination Page (0x59) Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Link: https://lore.kernel.org/r/20250425210043.342288-2-wse@tuxedocomputers.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions