lkml.org 
[lkml]   [2012]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] samsung-laptop: Set keyboard backlight initially
On 24/12/12 09:41, Corentin Chary wrote:
> On Sun, Dec 23, 2012 at 6:21 PM, Roland Stigge <stigge@antcom.de> wrote:
>> After boot, /sys/devices/platform/samsung/leds/samsung::kbd_backlight/brightness
>> shows the maximum value (8) by readout, but the led is off. I need to manually
>> set it to the respective value to have keyboard backlight.
>
> If the led is set to 0, what's the value after reboot ? 0 or 8 ?

Right - when writing 0 there before restart, the led value is actually 8
after reboot, and the LED hardware is ON. This holds for both reboot and
halt+poweron cycle.

Maybe this is related to the "#define MAX_BRIGHT 0x07" (which is unused
in samsung-laptop.c)? A bit confusing in the code - but your question
hints for some other bug (to be solved differently). Tell me if I can
help somehow, here.

> What's the behavior on windows ?

There is no windows available on this machine.

Thanks,

Roland


\
 
 \ /
  Last update: 2012-12-24 14:41    [W:0.044 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site