Summary: | Add keyboard backlight save/restore | ||
---|---|---|---|
Product: | systemd | Reporter: | Bastien Nocera <bugzilla> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | bugzilla, teg |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Add support for saving/restoring keyboard backlights |
Description
Bastien Nocera
2013-10-11 07:47:48 UTC
Created attachment 87429 [details] [review] Add support for saving/restoring keyboard backlights Piggy-backing on the display backlight code, this saves and restores keyboard backlights on supported devices. The detection code matches that of UPower: http://cgit.freedesktop.org/upower/tree/src/up-kbd-backlight.c#n173 NOTE: Untested. Thanks for the patch. I applied it with a minor change: the matching on the kernel name was a bit too strict for some keyboard backlight devices (I could find at least "{samsung,asus,smc}::kbd_backlight" in the kernel). Please check that this makes sense for you: http://cgit.freedesktop.org/systemd/systemd/commit/?id=1a0464230c08506c3fd715ff7cc56660df3a85ca |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.