Skip to content

platform/x86: Notify userspace about hotkeys changing kbd-backlight brightness

Hans de Goede linux-leds platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v8 Latest7 patches 48 repliesIn review

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform/x86/thinkpad_acpi: Stop setting led_classdev brightness directlydrivers/platform/x86/thinkpad_acpi.c+1 -36 replies
2/7platform/x86/thinkpad_acpi: Use brightness_set_blocking callback for LEDsdrivers/platform/x86/thinkpad_acpi.c+16 -641 reply
3/7platform/x86/thinkpad: Call led_classdev_notify_brightness_hw_changed on kbd brightness changedrivers/platform/x86/thinkpad_acpi.c+38 -46 replies
4/7platform/x86/dell-*: Add a generic dell-laptop notifier chaindrivers/platform/x86/dell-smbios.c drivers/platform/x86/dell-smbios.h+31 -01 reply
5/7platform/x86/dell-laptop: Refactor kbd_led_triggers_store()drivers/platform/x86/dell-laptop.c+32 -311 reply
6/7platform/x86/dell-laptop: Protect kbd_state against racesdrivers/platform/x86/dell-laptop.c+76 -365 replies
7/7platform/x86/dell-*: Call led_classdev_notify_brightness_hw_changed on kbd brightness changedrivers/platform/x86/dell-laptop.c drivers/platform/x86/dell-wmi.c+55 -620 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHenrique de Moraes HolschuhPavel Machek
SeriesA-b
1/7A-b
2/7A-b
3/7A-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/7] platform/x86: Notify userspace about hotkeys changing kbd-backlight brightness

Hi All,

Here is v8 of the platform drivers changes matching / using the new v8 LED subsys led_classdev_notify_brightness_hw_changed() functionality queued in -next.

There have been some changes (and preparation patches added) compared to the previous versions since the new LED api requires the driver to only call led_classdev_notify_brightness_hw_changed() on hotkey triggered changes and the ACPI events indicating brightness changes also get triggered when setting the brightness to led_set_brightness (or sysfs).

This series depends on the patch adding led_classdev_notify_brightness_hw_changed() to the LED subsystem, Jacek can you create a stable branch with just that patch which the platform/x86 platform maintainers can merge, so that they can apply this series ?

Regards,

Hans