Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Feb 2007
#1
Hi,
has anyone found a setting to keep the screen on while the unit is charging? I'm going to write a slide show/digital photo frame application but there is not much point if the screen is going to black out. Such a pretty screen, it seems sad not to make the most of it!

Thanks,
James.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#2
There really should be two sets of display/power management timeouts - one when on battery power and a second when on mains power.
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#3
There is an osso API call that will keep the screen from blanking. Actually, there are two separate functions:

osso_display_state_on(...)
osso_display_blanking_pause(...)

Both take the osso context as arguments. See these docs:

http://maemo.org/platform/docs/api-b..._Devstate.html
 
Posts: 4 | Thanked: 0 times | Joined on Feb 2007
#4
Originally Posted by gnuite View Post
osso_display_state_on(...)
osso_display_blanking_pause(...)
Ok, so using that plus looking at the state of power I could force it to stay on. I guess that works. I just checked and there doesn't seem to be /proc/acpi type setup. After a very quick look at the docs, I'm still at work, I didn't see anything on getting the power state, any ideas?

j.
 
Posts: 4 | Thanked: 0 times | Joined on Feb 2007
#5
Feh, either way - I want a photo frame app. Even if it's going to drain power like there's no tomorrow. My N800 seems to spend most of it's time sitting on my desk, plugged in, playing music. It'll be much nicer with some pretty pictures too!

I don't know what kinda time I'll get this weekend, we'll see.

j.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#6
There should definitely be a built-in setting in the control panel that would let you enable screen always on when on external power.
(But I found a "workaround" a couple of days ago.. for some reason the LCD screen would immediately come on again after the timeout period after just a second off-time, if charging with the internet radio on.. I don't know if this was just a fluke or not, but it effectively stayed on all night)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#7
All - see bug (enhancement) #1046 which requests the ability to keep the screen illuminated while on AC power. Vote for it if you think this a good idea.

As for the workaround, it's probably a bug!
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#8
Originally Posted by Milhouse View Post
As for the workaround, it's probably a bug!
Agreed.. But you know, a bug that doesn't do any harm is called a feature!
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#9
Hi folks,

thanks to derf in #maemo irc for help on this! That guy really knows his stuff!

He wrote a daemon to change screen brightness depending on charger plugin state, but it only worked on Nokia 800. I hacked it to work on nokia 770 / IT2006 and keep the screen on for an hour when charger inserted.

If anybody wants to help test this, contact me for .deb, but i won't release it generally without his permission.

See the display-dim and blank timeout thread for instructions to increase your dimming and blanking timeouts manually on the Nokia 770 or 800.

http://www.internettablettalk.com/fo...ead.php?t=5704

Cheers
Arnim

Last edited by ArnimS; 2007-04-07 at 23:16.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#10
That deamon sounds very useful. I would rather just have the device automatically keep the screen on if the charger is plugged in, and behave as normal when not (that is, the one-minute setting I normally use). If this is how it works then that's definitely for me. You say you have a version modified for the 770, but did he (derf) release that N800 version somewhere?
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:16.