On Thu, Feb 9, 2017 at 8:08 PM, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote: > On Thu, Feb 9, 2017, at 13:44, Hans de Goede wrote: >> Make thinkpad_acpi call led_classdev_notify_brightness_hw_changed on the >> kbd_led led_classdev registered by thinkpad_acpi when the kbd backlight >> brightness is changed through the hotkey. >> >> This will allow userspace to monitor (poll) for brightness changes on >> these LEDs caused by the hotkey. > > It will *often* do so, you assume the thinkpad firmware is far more well > behaved than it really is :-( > > It is model/bios-revision specific. Fortunately, it should works on > most models, and there really isn't a better way of doing this (other > than adding the event to the NVRAM poll set of some very old models, > which is also not worth doing unless you can actually test it). > >> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> > Acked-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> Thanks, thinkpad_acpi bits are applied to testing > > -- > Henrique Holschuh -- With Best Regards, Andy Shevchenko