[SRU] [Y/Z] [PATCH 0/1] Fix keyboard led sysfs cannot control its brightness
Seth Forshee
seth.forshee at canonical.com
Tue May 30 13:43:17 UTC 2017
On Thu, May 25, 2017 at 11:29:42AM +0800, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1693126
>
> Impact:
> On some new dell laptops, the keyboard led backlight sysfs cannot control its brightness:
> dell_laptop: Setting old previous keyboard state failed
> leds dell::kbd_backlight: Setting an LED's brightness failed (-6)
>
> Fix:
> Commit 9216e0dcb5533a999d544d0af8661118e0588e1d can fix the issue:
> This patch adds support for retrieving current timeout AC values and also
> updating them. Current timeout value in sysfs is displayed based on current
> AC status, like current display brightness value.
>
> Test:
> Keyboad backlight now can be correctly controlled by sysfs
> "dell:kbd_backlight/brightness" on Dell Precision 3520.
>
> Pali Rohár (1):
> platform/x86: dell-laptop: Add keyboard backlight timeout AC settings
>
> drivers/platform/x86/dell-laptop.c | 59 ++++++++++++++++++++++++++++++++++----
> 1 file changed, 53 insertions(+), 6 deletions(-)
Upstream fix, good testing, backport looks good.
Acked-by: Seth Forshee <seth.forshee at canonical.com>
Also applied to artful/master-next.
More information about the kernel-team
mailing list