More fine control of the backlight, especially at the dimmer end, would
be a welcome feature.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arnaud Patard
(Rtp)
Sent: Thursday, January 19, 2006 1:53 PM
To: Frantisek Dufka
Cc: [email protected]
Subject: Re: [maemo-developers] Re: backlight


Frantisek Dufka <[EMAIL PROTECTED]> writes:

> Looks like it can be controlled via ioctl on the framebuffer device. 
> http://maemo.org/lxr/source/osso-af-utils/src/omapfb.h
>
> struct lcd_panel has pointer
> int (*set_bklight_level)(struct lcd_panel *panel,unsigned int level);
>
> I'll try to figure out how it can be called. If anyone knows, don't 
> hesitate to answer :)

well, you can call it by echoing to
/sys/bus/platform/devices/omapfb/panel/backlight_level

In reality, the function called is lph8923_panel_set_bklight_level() in
lcd_lph8923.c (which in turn calls tahvo_set_backlight_level). The code
is saying that 1 is the lowest value (except 0 :P) and 15 the highest.

So, you can't go lower unless there's an other way to play with the
level.


Arnaud


>
> Frantisek
>
> Brad Midgley wrote:
>> Frantisek
>> I noticed this too, but we know it can go lower... the backlight goes

>> just a bit lower when you're idle and before it turns off altogether.

>> Brad
>>
> _______________________________________________
> maemo-developers mailing list
> [email protected] 
> https://maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to