Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on Feb 2008
#1
Hi all,

I am new into the N810 world. I would like to have full control over the N810 backlight using an script or even a binary. I tried first this script (http://fanoush.wz.cz/maemo/blset), but it does not work at all.

I run it as root (via ssh) but nothing happens. The only way I found to modify the backlight is like this:

echo x > /sys/devices/platform/omapfb/panel/backlight_level

Being x a number between 0 and 127. It works...but just for few seconds. After 2 or 3 seconds the backlight goes back to it original value (the value set through the brightness control in the status bar).

I also disabled the light sensor so it is not playing with the backlight anymore.

Anyone has any idea of how to get full backlight control ??

Any help will be very wellcome!
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2008
#2
Hi, its me again.

I did some more research. Using strace I figured out that the dsme deamon is writing every few seconds the backlight value to

/sys/devices/platform/omapfb/panel/backlight_level

This deamon cannot be stopped (the N810 would reboot).
Does anyone how to tell dsme to write the value I want or how does dsme figure out the value that it has to write ??

Any help will be very welcome again,
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#3
See here for some direction: https://garage.maemo.org/projects/adv-backlight/

Just so you know, the blset script works with fanoush's modified kernel.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
He seems to have a newer deb here:
http://cs.trinity.edu/~acm/debs/adva....7-1_armel.deb

But its true, I use that script fine on a N800 with OS2008 & fanoush's kernel fine.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
yes, blset works (in OS2006-8) but you need modified kernel. For N8x0 running OS2008 check the adv-backlight project. Or (in OS2008) you can also run directly
Code:
chroot /mnt/initfs dsmetest -l <1-255>
such level x writes to
/sys/devices/platform/omapfb/panel/backlight_level something similar to (x-1)/2 so 3 becomes 1 and 255 becomes 127
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#6
Originally Posted by qwerty12 View Post
He seems to have a newer deb here:
http://cs.trinity.edu/~acm/debs/adva....7-1_armel.deb
The 0.7 release is a little raw compared to 0.6. But, yeah, it does add a volume slider.
 

The Following User Says Thank You to GeneralAntilles For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#7
also if you want to disable N810 brightness sensor you can remove filter-brightness-als module in /etc/mce/mce.ini
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Originally Posted by fanoush View Post
yes, blset works (in OS2006-8) but you need modified kernel. For N8x0 running OS2008 check the adv-backlight project. Or (in OS2008) you can also run directly
Code:
chroot /mnt/initfs dsmetest -l <1-255>
such level x writes to
/sys/devices/platform/omapfb/panel/backlight_level something similar to (x-1)/2 so 3 becomes 1 and 255 becomes 127
A point to note: dsmetest -l <1-2> do in fact work (as opposed to erroring) but will turn off the backlight completely! It can be hard to get it back on without rebooting, unless you have a network connection or BT keyboard and steady fingers. (Just realized we're in the N810 forum, so I guess you have a hardware keyboard. Type steady!)
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#9
yes because (x-1)/2 for x=1,2 is 0
with N810 (unlike N800) the display is readable even with brightness 0
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 15 | Thanked: 2 times | Joined on Dec 2007
#10
Originally Posted by qwerty12 View Post
He seems to have a newer deb here:
http://cs.trinity.edu/~acm/debs/adva....7-1_armel.deb

But its true, I use that script fine on a N800 with OS2008 & fanoush's kernel fine.
Cooool !!! It's work for me! advanced-backlight_0.7-1_armel.deb is superb deb for N800 (OS2008). Strongly recommended, friends!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:36.