lkml.org 
[lkml]   [2015]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] platform: x86: dell-laptop: Add support for keyboard backlight
On Sun, Feb 22, 2015 at 12:04:23PM +0100, Pali Rohár wrote:
> On Thursday 19 February 2015 11:58:29 Gabriele Mazzotta wrote:
> > 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>
> > ---
> > .../ABI/testing/sysfs-platform-dell-laptop | 69 ++
> > drivers/platform/x86/dell-laptop.c | 1089
> > +++++++++++++++++++- 2 files changed, 1152 insertions(+), 6
> > deletions(-)
> > create mode 100644
> > Documentation/ABI/testing/sysfs-platform-dell-laptop
> >
>
> This patch is same as combination of previous, just contains all
> changes in single patch file. Difference between v3.19-rc5 and
> current version is just als code was moved to separate functions
> and als backlight can be enabled via new sysfs attribute (like in
> second patch which was sent).
>
> I tested this patch on top of linus tree (commit 79513d0) and
> keyboard backlight works fine.
>
> Darren, what do you think, can be this patch which brings
> keyboard backlight support finally moved to mainline kernel?

So sorry for the delay folks, bad week :( This landed too late for 3.20... her
durr 4.0, but should make 4.1. Expect to see it in next in the next few days.

--
Darren Hart
Intel Open Source Technology Center


\
 
 \ /
  Last update: 2015-02-26 07:41    [W:0.048 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site