Skip to content

asus-wmi: Keyboard rgb led multicolor support

Abhijeet V lkml llvm oe-kbuild-all platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2asus-wmi: Use led multicolor class for keyboard backlightdrivers/platform/x86/asus-wmi.c+63 -462 replies
2/2asus-wmi: Add support for keyboard rgb backlightsdrivers/platform/x86/asus-wmi.c include/linux/platform_data/x86/asus-wmi.h+139 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] asus-wmi: Keyboard rgb led multicolor support

Hi

This patch series adds support for rgb keyboards on certain ASUS laptops by utilizing the multicolor led device class. Much of the wmi interacting code was obtained from the faustus kernel module:
https://github.com/hackbnw/faustus

The driver is hardcoded to use only the static mode provided by the platform. There are other modes that are supported like strobe, and rainbow and also variable speeds. However, I'm not sure how to integrate that into the led classdev. Support for them could be added in a separate patch later.

This is my first contribution (other than reporting a regression to asus-wmi recently). I've tried my best to stick to the kernel's code standards. I apologize if I've missed any obviously glaring issues.

Thanks
Abhijeet