maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Turn off backlight completely in sunlight (https://talk.maemo.org/showthread.php?t=59429)

wotevah 2010-07-30 03:49

Turn off backlight completely in sunlight
 
I have noticed that in strong sunlight the N900 screen is fairly easy to read still. It's not the backlight that's stronger, I covered the light sensor to dim it and I can still read the screen just fine.

So, I am wondering if it's possible to turn off the backlight completely - preferrably on demand but perhaps also automatically when the light level is enough. This can also help save some battery because the N900 appears to be automatically boosting the backlight level to compensate for ambient light - which is nice but in strong sun it's counterproductive.

pycage 2010-07-30 09:32

Re: Turn off backlight completely in sunlight
 
This was possible on the N810 which also had a transflexive (read: sunlight-readable) screen with an app called advanced backlight.
I think the same should be possible with the N900, too.
Maybe by echo'ing a '0' directly into the appropriate sysfs interface of the driver? Did anybody try already?

ossipena 2010-07-30 09:35

Re: Turn off backlight completely in sunlight
 
what about making a request to there:

http://maemo.org/packages/view/simpl...htness-applet/

nman 2010-07-30 16:42

Re: Turn off backlight completely in sunlight
 
I would love an app for customizing the backlight level. Right now I find it's too bright in total darkness... if I reduce the level then it's too dark everywhere else.

wotevah 2010-07-31 01:43

Re: Turn off backlight completely in sunlight
 
Quote:

Originally Posted by ossipena (Post 770079)
what about making a request to there:

http://maemo.org/packages/view/simpl...htness-applet/

Good idea, I will do that.

lazart 2012-01-12 12:27

Re: Turn off backlight completely in sunlight
 
i'm also interested in turning the backlight completely off in sunlight, any news? :)

Aonsaithya 2012-01-12 13:12

Re: Turn off backlight completely in sunlight
 
Try this in terminal:
Code:

root
echo >/sys/class/backlight/acx565akm/brightness 0

Edit:
You can make a Desktop Command Execution widget with this script (DO NOT SET IT TO RUN ON BOOT OR PERIODICALLY :D):
Code:

echo "echo 0 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot | echo ""

dr_frost_dk 2012-01-12 13:26

Re: Turn off backlight completely in sunlight
 
or you could install my custom brightness, just change 1 value in it and it will go to 0, with that you have total control of brightness.

link in my signature.

PS. it's post #2

lazart 2012-01-12 18:41

Re: Turn off backlight completely in sunlight
 
hi, thanks :) I've never done any programming for maemo, but I'd read the light sensor value (if sun light has a greater value than bright ambient light) and set the brightness to 0 at sun light.
maybe that could help to create such a script:
http://doc.qt.nokia.com/qtmobility/s...using-a-sensor

dr_frost_dk 2012-01-12 19:46

Re: Turn off backlight completely in sunlight
 
Quote:

Originally Posted by lazart (Post 1149615)
hi, thanks :) I've never done any programming for maemo, but I'd read the light sensor value (if sun light has a greater value than bright ambient light) and set the brightness to 0 at sun light.
maybe that could help to create such a script:
http://doc.qt.nokia.com/qtmobility/s...using-a-sensor

well the point of my custom brightness is no light-sensor

GI jack 2012-01-14 02:55

Re: Turn off backlight completely in sunlight
 
there is a app for that which intergrates into the menu, it works really well. Same as settings but much much more convienant

wakko 2012-01-18 14:05

Re: Turn off backlight completely in sunlight
 
How to get the current value of the light sensor in the terminal?

dr_frost_dk 2012-01-18 14:11

Re: Turn off backlight completely in sunlight
 
cat /sys/class/backlight/acx565akm/brightness

wakko 2012-01-18 14:18

Re: Turn off backlight completely in sunlight
 
This shows the current value of the backlight.
I need to value the light sensor.

wakko 2012-01-18 14:21

Re: Turn off backlight completely in sunlight
 
1 Attachment(s)
* - The value of this sensor in real time.how to get?

reinob 2012-01-24 14:08

Re: Turn off backlight completely in sunlight
 
Quote:

Originally Posted by Aonsaithya (Post 1149474)
Try this in terminal:
Code:

root
echo >/sys/class/backlight/acx565akm/brightness 0

Edit:
You can make a Desktop Command Execution widget with this script (DO NOT SET IT TO RUN ON BOOT OR PERIODICALLY :D):
Code:

echo "echo 0 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot | echo ""

I don't know if setting the brightness to zero will actually turn off the backlight.

For the backlight itself (without (directly) affecting the brightness) use:
(turn off)
# echo 1 > /sys/class/backlight/acx565akm/bl_power

(turn on)
# echo 0 > /sys/class/backlight/acx565akm/bl_power

blue_led 2012-01-24 19:09

Re: Turn off backlight completely in sunlight
 
Quote:

Originally Posted by wakko (Post 1152345)
* - The value of this sensor in real time.how to get?

figures are under /sys/class/i2c-adapter/i2c-2/2-0029 folder.
light metter have 2 sensors :
infrared & visible >> channel 0 .......adc0
IR only >> channel 1..............adc1 (also founded in sysfs folder )
in plain sunlight i expect ir sensor ( 1 ) have high values so a simple script can turn off lcd backlight after this value is above a custom set value .

sysfs lux value is a computed value based on arbitrary formula.

wakko 2012-01-28 18:46

Re: Turn off backlight completely in sunlight
 
Many thanks to you! you really helped! what was needed!


All times are GMT. The time now is 06:50.

vBulletin® Version 3.8.8