diff options
| author | Luke D. Jones <luke@ljones.dev> | 2022-08-26 11:22:51 +1200 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2022-08-26 11:48:06 +0200 |
| commit | 61f64515299e5f4885093656087ec1c0df8109c5 (patch) | |
| tree | cdccc7184bfb7f2ec9534630776845f4e7eac977 /lib/mpi/mpi-sub-ui.c | |
| parent | e305a71cea37a64c7558b8b979f6f08f657d0c3d (diff) | |
platform/x86: asus-wmi: Implement TUF laptop keyboard power states
Adds support for setting various power states of TUF keyboards.
These states are combinations of:
- boot, set if a boot animation is shown on keyboard
- awake, set if the keyboard LEDs are visible while laptop is on
- sleep, set if an animation is displayed while the laptop is suspended
- keyboard (unknown effect)
Adds two sysfs attributes to asus::kbd_backlight:
- kbd_rgb_state
- kbd_rgb_state_index
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20220825232251.345893-3-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
