Hello,
I just tried to compile my own kernel with backlight changes and found this:
- my kernel works in the device without any ill effects and without
messing with initfs, great :) I used kernel from
http://repository.maemo.org/pool/maemo1.1/free/k/kernel-source-2.6.12.3/
I removed
Frantisek Dufka wrote:
It means that either UI dynamically
adjusts itself to the value of sysfs backlight_max or it uses directly
tahvo.
Yes, it uses sysfs. I implemented translation table and also hardcoded
values for level 1 and 2 to values 1 and 2 (instead of 8 and 16) and it
works like
I hope the darkest level won't be too bright either. I see darker level
when writing 1 via sysfs then it is possible via gui. When writing 2 it
is same level as possible with GUI. But when writing 2 via sysfs it
immediatelly returns 1 on read (and the brightness is same). I'll try
the ioctl
Frantisek
I think the cleanest way to deal with this is to keep 15(?) levels so
the gui doesn't change but change the actual curve to be nonlinear
inside the sysfs interface.
Does Nokia provide everything we need to install a modified kernel?
brad
I hope the darkest level won't be too bright
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
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
Brad Midgley [EMAIL PROTECTED] writes:
Arnaud
The strange thing is that when you're on the lowest level the gui will
allow (1), the display goes a little dimmer than that when idle and the
sys file actually reports the value 0. But if you *write* a 0 to the sys
file, the backlight turns off