Commands for adjusting screen brightness for N810
Commands for adjusting screen brightness for N810
Re: Commands for adjusting screen brightness for N810
2009-12-16 08:10 UTC
On ons, 2009-12-16 at 07:13 +0100, ext Jey Han Lau wrote:
> Hi all,
>
> I know there's an built-in application for managing the display
> (brightness, etc), although I am curious if there are any commands (I am
> guessing it'll be D-BUS commands if there's any) to manipulate the
> screen brightness directly, or commands to manipulate all the display
> settings for that matter.
>
> If there's none, are there any ways run the built-in display program (at
> Control panel) via commands?
The display brightness control panel uses GConf for its brightness
setting. You can simply change the relevant GConf key and have the
brightness change immediately.
The relevant GConf key in question is:
/system/osso/dsm/display/display_brightness
and valid values are 1-5.
Regards: David
> Hi all,
>
> I know there's an built-in application for managing the display
> (brightness, etc), although I am curious if there are any commands (I am
> guessing it'll be D-BUS commands if there's any) to manipulate the
> screen brightness directly, or commands to manipulate all the display
> settings for that matter.
>
> If there's none, are there any ways run the built-in display program (at
> Control panel) via commands?
The display brightness control panel uses GConf for its brightness
setting. You can simply change the relevant GConf key and have the
brightness change immediately.
The relevant GConf key in question is:
/system/osso/dsm/display/display_brightness
and valid values are 1-5.
Regards: David
Re: Commands for adjusting screen brightness for N810
2009-12-16 12:23 UTC
David Weinehall wrote:
> The relevant GConf key in question is:
>
> /system/osso/dsm/display/display_brightness
>
> and valid values are 1-5.
There is also a kind of hack used by advanced brightness applet. The
system below (=dsme daemon) has finer granularity. Brignthess can be
changed (as root user) via command
chroot /mnt/initfs dsmetest -l n
n = 0-255
The hardware itself has only 127 levels so for dsmetest you need to
multiply by two. Also running dsmetest with no paremeter prints a help,
you might find -d,-b,-x useful too.
All this is valid for OS2008 only (N8x0). Also when playing with
brightness on this level it is useful to disable ambient light sensor or
it will change it. This can be done by removing filter-brightness-als
from Module line in /etc/mce/mce.ini (this works for N900 too).
Frantisek
> The relevant GConf key in question is:
>
> /system/osso/dsm/display/display_brightness
>
> and valid values are 1-5.
There is also a kind of hack used by advanced brightness applet. The
system below (=dsme daemon) has finer granularity. Brignthess can be
changed (as root user) via command
chroot /mnt/initfs dsmetest -l n
n = 0-255
The hardware itself has only 127 levels so for dsmetest you need to
multiply by two. Also running dsmetest with no paremeter prints a help,
you might find -d,-b,-x useful too.
All this is valid for OS2008 only (N8x0). Also when playing with
brightness on this level it is useful to disable ambient light sensor or
it will change it. This can be done by removing filter-brightness-als
from Module line in /etc/mce/mce.ini (this works for N900 too).
Frantisek
Re: Commands for adjusting screen brightness for N810

Jey Han Lau
Thanks guys, both works beautifully.
Cheers,
Jey Han
Frantisek Dufka wrote:
> David Weinehall wrote:
>> The relevant GConf key in question is:
>>
>> /system/osso/dsm/display/display_brightness
>>
>> and valid values are 1-5.
>
> There is also a kind of hack used by advanced brightness applet. The
> system below (=dsme daemon) has finer granularity. Brignthess can be
> changed (as root user) via command
> chroot /mnt/initfs dsmetest -l n
> n = 0-255
> The hardware itself has only 127 levels so for dsmetest you need to
> multiply by two. Also running dsmetest with no paremeter prints a
> help, you might find -d,-b,-x useful too.
>
> All this is valid for OS2008 only (N8x0). Also when playing with
> brightness on this level it is useful to disable ambient light sensor
> or it will change it. This can be done by removing
> filter-brightness-als from Module line in /etc/mce/mce.ini (this works
> for N900 too).
>
> Frantisek
Cheers,
Jey Han
Frantisek Dufka wrote:
> David Weinehall wrote:
>> The relevant GConf key in question is:
>>
>> /system/osso/dsm/display/display_brightness
>>
>> and valid values are 1-5.
>
> There is also a kind of hack used by advanced brightness applet. The
> system below (=dsme daemon) has finer granularity. Brignthess can be
> changed (as root user) via command
> chroot /mnt/initfs dsmetest -l n
> n = 0-255
> The hardware itself has only 127 levels so for dsmetest you need to
> multiply by two. Also running dsmetest with no paremeter prints a
> help, you might find -d,-b,-x useful too.
>
> All this is valid for OS2008 only (N8x0). Also when playing with
> brightness on this level it is useful to disable ambient light sensor
> or it will change it. This can be done by removing
> filter-brightness-als from Module line in /etc/mce/mce.ini (this works
> for N900 too).
>
> Frantisek
Jey Han Lau
I know there's an built-in application for managing the display
(brightness, etc), although I am curious if there are any commands (I am
guessing it'll be D-BUS commands if there's any) to manipulate the
screen brightness directly, or commands to manipulate all the display
settings for that matter.
If there's none, are there any ways run the built-in display program (at
Control panel) via commands?
Thanks,
Jey Han