public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Danny Kukawka <danny.kukawka@web.de>
To: hal@lists.freedesktop.org
Cc: Corentin Chary <corentin.chary@gmail.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	acpi4asus-user@lists.sourceforge.net,
	Alan Jenkins <sourcejedi.lkml@googlemail.com>,
	linux acpi <linux-acpi@vger.kernel.org>
Subject: Re: Illuminated keyboard on ASUS U50VG laptop, backlight or led ?
Date: Thu, 6 Aug 2009 18:20:19 +0200	[thread overview]
Message-ID: <200908061820.23412.danny.kukawka@web.de> (raw)
In-Reply-To: <71cd59b00908060459y56448912od7f8914f3b44de0e@mail.gmail.com>

On Donnerstag, 6. August 2009, Corentin Chary wrote:
> On Thu, Aug 6, 2009 at 12:48 PM, Danny Kukawka<danny.kukawka@web.de> wrote:
[...]
> > Can you please provide a "grep . */*" from /sys/class/leds/ with the
> > affected device? If I read the kernel doc for leds (which this device
> > is), we don't need a num_levels for it:
> >
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f
> >=Documentation/leds-class.txt;h=6399557cdab3d6542a0feea0c0cd2c6b2af5ffad;h
> >b=HEAD
> >
> > "... The brightness file will set the brightness of the LED (taking a
> > value 0-255). Most LEDs don't have hardware brightness support so will
> > just be turned on for non-zero brightness settings. ..."
>
> The documentation is probably out of date, the led class provide
> a max_brightness file. 255 is the default value, but it can be overridden.
>
> See:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=d
>rivers/leds/led-class.c;h=f2cc13d76810f457c752d6f92f53759980f465ea;hb=HEAD#l
>76
>
> leds-dac124s085.c define it to 0xFFF for example.
> And asus-laptop will soon use 3 as max_brightness for asus::kbd_backlight.
>
> But still, it seems that examples/light_sensors_and_keyboard_backlight.py
> and others are using something that is not defined in hal-spec-properties.

Thanks for the information. Please check out my latest commits:
http://cgit.freedesktop.org/~dkukawka/hal/log/

I hope this finally solve the problem.

Danny



  reply	other threads:[~2009-08-06 16:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24  7:34 Illuminated keyboard on ASUS U50VG laptop, backlight or led ? Corentin Chary
2009-07-28 19:51 ` Corentin Chary
2009-07-28 20:04   ` Matthew Garrett
2009-08-01 10:40     ` Corentin Chary
2009-08-01 11:19       ` Alan Jenkins
2009-08-01 12:40         ` Corentin Chary
2009-08-01 13:21           ` Danny Kukawka
2009-08-01 15:50             ` Corentin Chary
2009-08-01 16:30               ` Alan Jenkins
2009-08-01 17:21                 ` Danny Kukawka
2009-08-01 19:43                   ` Alan Jenkins
2009-08-01 19:47                     ` Alan Jenkins
2009-08-02  7:20                     ` Corentin Chary
2009-08-06 10:07                       ` Corentin Chary
2009-08-06 10:48                         ` Danny Kukawka
2009-08-06 11:59                           ` Corentin Chary
2009-08-06 16:20                             ` Danny Kukawka [this message]
2009-08-06 17:00                               ` Corentin Chary
2009-12-07  7:51                               ` Corentin Chary

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=200908061820.23412.danny.kukawka@web.de \
    --to=danny.kukawka@web.de \
    --cc=acpi4asus-user@lists.sourceforge.net \
    --cc=corentin.chary@gmail.com \
    --cc=hal@lists.freedesktop.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=sourcejedi.lkml@googlemail.com \
    /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