[maemo-developers] [maemo-developers] Re: backlight

From: David Briggs dbriggs at Goprolink.com
Date: Thu Jan 19 23:14:54 EET 2006
More fine control of the backlight, especially at the dimmer end, would
be a welcome feature.

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


Frantisek Dufka <dufkaf at seznam.cz> 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
> maemo-developers at maemo.org 
> https://maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers at maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list