Active Topics

 


Reply
Thread Tools
Posts: 5 | Thanked: 8 times | Joined on May 2010 @ Helsinki, Finland
#1
I'm developing an application with PyMaemo+PyGame for the Nokia N900 device.

Question:

Can I "force" the display backlight on somehow? I would like to do that before the application starts but I haven't found a way to do that (yet).

(obviously the backlight is on if you are using the phone and start the application but if you start the application, for example, via SSH then the display stays in the "off-state".)
 
xomm's Avatar
Posts: 609 | Thanked: 243 times | Joined on Jan 2010 @ Eastern USA
#2
You could take a look at how "Simple Brightness Applet" does it. It contains an option to keep the screen on.
__________________
==In school once again. Free time limited to night, holidays and weekends.==
Hi! I'm Andy, a Maemo Greeter! I'm also a moderator of the Applications, Nokia N900, and Maemo 5/Fremantle forums.
Useful Links: Maemo Wiki Main Page, New users start here, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Also, pin yourself in the map! Maemo Map. Send me a PM (Private Message) if I leave you hanging on a problem (or if you need more help).
Owner of both a N800 and N900; Active community member since Jan 2010. You've been xommified! - My blog.
 

The Following User Says Thank You to xomm For This Useful Post:
Posts: 57 | Thanked: 4 times | Joined on May 2010
#3
What does keep display on do exactly? When i lock the device i see the screen turns off. is there a way to at least be able to see your screen in locked mode? or a Clock screensaver with minimal brightness?
 
Posts: 5 | Thanked: 8 times | Joined on May 2010 @ Helsinki, Finland
#4
Thanks for the tip xomm! I will look into that when I have time :/
 
Posts: 5 | Thanked: 8 times | Joined on May 2010 @ Helsinki, Finland
#5
I will reply to myself, since I got the answer from another source. One way to force the backlight on is via dbus, with the command line command:

Code:
dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:unlocked
 

The Following 6 Users Say Thank You to Jussi Litja For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 12:54.