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

From: Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Date: Thu Jan 19 22:52:33 EET 2006
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


More information about the maemo-developers mailing list