On Fri, Dec 05, 2014 at 12:53:31PM +0100, Pali Rohár wrote: > This patch adds support for configuring keyboard backlight settings on supported > Dell laptops. It exports kernel leds interface and uses Dell SMBIOS tokens or > keyboard class interface. > > With this patch it is possible to set: > * keyboard backlight level > * timeout after which will be backlight automatically turned off > * input activity triggers (keyboard, touchpad, mouse) which enable backlight > * ambient light settings > > Settings are exported via sysfs: > /sys/class/leds/dell::kbd_backlight/ > > Code is based on newly released documentation by Dell in libsmbios project. > > Thanks to Dan Carpenter who reported bug about unpredictable results in > quirks->kbd_timeouts for loop. His fix adds needs_kbd_timeouts flag to > quirk structure to indicate if kbd_timeouts array is empty or not. > > Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx> > Signed-off-by: Gabriele Mazzotta <gabriele.mzt@xxxxxxxxx> > Cc: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied to testing with minor English corrections to the new comments. Thank you Pali. -- Darren Hart Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html