[PATCH v2 0/3] platform/x86: asus-wmi: move keyboard control firmware attributes

Denis Benato posted 3 patches 1 month, 1 week ago
There is a newer version of this series
drivers/platform/x86/asus-armoury.c        | 256 +++++++++++++++++++++
drivers/platform/x86/asus-wmi.c            |  13 +-
include/linux/platform_data/x86/asus-wmi.h |  15 ++
3 files changed, 283 insertions(+), 1 deletion(-)
[PATCH v2 0/3] platform/x86: asus-wmi: move keyboard control firmware attributes
Posted by Denis Benato 1 month, 1 week ago
Hi all,

I was recently reading through the asusctl issue tracker and I found
out that some users have been having troubles with the keyboard RGB control
that was working before since the creation of asus-armoury and subequent
deprecation of old sysfs attributes.

This patch series aims to re-introduce those attributes in asus-armoury
so that userspace tools can still control keyboard RGB lighting
without having to rely on deprecated asus-wmi attributes.

In addition to that, since disabling OOBE is essential for controlling
LEDs on some models and it was incorrectly tied to deprecated attributes,
this patch series also fixes sending OOBE at probe time.

Link: https://gitlab.com/asus-linux/asusctl/-/issues/619

Regards,
Denis

Changelog:
- v1
  - Initial submission
- v2
  - asus-armoury: drivers should be silent on success
  - asus-armoury: make better use of __free annotation

Denis Benato (3):
  platform/x86: asus-wmi: explicitly mark more code with
    CONFIG_ASUS_WMI_DEPRECATED_ATTRS
  platform/x86: asus-wmi: fix sending OOBE at probe
  platform/x86: asus-armoury: add keyboard control firmware attributes

 drivers/platform/x86/asus-armoury.c        | 256 +++++++++++++++++++++
 drivers/platform/x86/asus-wmi.c            |  13 +-
 include/linux/platform_data/x86/asus-wmi.h |  15 ++
 3 files changed, 283 insertions(+), 1 deletion(-)

-- 
2.52.0