public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Cc: mjg59@srcf.ucam.org, dvhart@infradead.org,
	linux-kernel@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, A.Sloman@cs.bham.ac.uk,
	computersforpeace@gmail.com, dan.carpenter@oracle.com
Subject: Re: [PATCH] platform: x86: dell-laptop: Add support for keyboard backlight
Date: Sun, 22 Feb 2015 12:04:23 +0100	[thread overview]
Message-ID: <201502221204.24003@pali> (raw)
In-Reply-To: <1424343509-13639-1-git-send-email-gabriele.mzt@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 1632 bytes --]

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?

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2015-02-22 11:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 10:58 [PATCH] platform: x86: dell-laptop: Add support for keyboard backlight Gabriele Mazzotta
2015-02-22 11:04 ` Pali Rohár [this message]
2015-02-26  6:06   ` Darren Hart
2015-03-06 18:05 ` Darren Hart
  -- strict thread matches above, loose matches on Subject: below --
2014-11-14 12:23 Pali Rohár
2014-11-19 18:34 ` Darren Hart
2014-11-19 19:23   ` Matthew Garrett
2014-11-19 19:51     ` Pali Rohár
2014-11-19 19:12       ` Darren Hart
2014-11-19 20:41   ` Pali Rohár
2014-11-21 20:39     ` Darren Hart
2014-11-22 18:46       ` Pali Rohár
2014-11-21 22:09         ` Darren Hart
2014-11-23 14:48           ` Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201502221204.24003@pali \
    --to=pali.rohar@gmail.com \
    --cc=A.Sloman@cs.bham.ac.uk \
    --cc=computersforpeace@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=dvhart@infradead.org \
    --cc=gabriele.mzt@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox