Re: Commands for adjusting screen brightness for N810

2009-12-30 Thread Marcin Juszkiewicz

You can also check /sys/class/backlight/*/* entries to control screen 
brightness without any software between you and kernel ;D

Regards, 
-- 
JID:  h...@jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Commands for adjusting screen brightness for N810

2009-12-22 Thread 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

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Commands for adjusting screen brightness for N810

2009-12-16 Thread David Weinehall
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

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Commands for adjusting screen brightness for N810

2009-12-16 Thread Frantisek Dufka
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
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers