summaryrefslogtreecommitdiff
path: root/src/linux/up-device-supply.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-10-16 12:53:19 +0200
committerBastien Nocera <hadess@hadess.net>2017-02-15 17:33:24 +0100
commit0e256ece04a98d3d202ed9640d33c56aaaeda137 (patch)
tree77189e05b20f8306bd78f83a7b09ee0b8e1d7031 /src/linux/up-device-supply.c
parentd28ee53aa5472adfcb75f4517dcd040ef616db13 (diff)
UpKbdBacklight: Send notifications about hardware brightness changes
Backlights, starting with kernel 4.11 [1] can have a "brightness_hw_changed" sysfs attribute, which can be polled to detect hardware initiated brightness changes, such as ones done through firmware-handled keyboard backlight hotkeys, or firmware controlled changes (eg. turn off backlight on low battery). [1] https://patchwork.kernel.org/patch/9544111/ https://bugs.freedesktop.org/show_bug.cgi?id=98404
Diffstat (limited to 'src/linux/up-device-supply.c')
0 files changed, 0 insertions, 0 deletions