]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
platform: x86: dell-laptop: Add support for keyboard backlight
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Thu, 19 Feb 2015 10:58:29 +0000 (11:58 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 8 Apr 2015 03:57:32 +0000 (20:57 -0700)
commit6cff8d60aa0aba5583ecda09984dbcb2f24cc28d
tree654725b0acb42475010569b20a95175807c7b7d2
parent9659bee43bf010d4c7037fee9c023124f144c6ca
platform: x86: dell-laptop: Add support for keyboard backlight

This patch adds the support for the configuration of the keyboard
backlight on supported Dell laptops.

With this patch it is possible to set:
* keyboard backlight level
* timeout after which the backlight will be automatically turned off
* input activity triggers (keyboard, touchpad, mouse) that enable the backlight
* ambient light settings

The settings are exposed via /sys/class/leds/dell::kbd_backlight/

The code is based on the newly released documentation by Dell in the
libsmbios project.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Documentation/ABI/testing/sysfs-platform-dell-laptop [new file with mode: 0644]
drivers/platform/x86/dell-laptop.c