maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Force display backlight on (N900) (https://talk.maemo.org/showthread.php?t=54554)

Jussi Litja 2010-05-30 15:34

Force display backlight on (N900)
 
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 2010-05-30 15:36

Re: Force display backlight on (N900)
 
You could take a look at how "Simple Brightness Applet" does it. It contains an option to keep the screen on.

gurpal2000 2010-05-30 16:05

Re: Force display backlight on (N900)
 
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?

Jussi Litja 2010-05-31 17:52

Re: Force display backlight on (N900)
 
Thanks for the tip xomm! I will look into that when I have time :/

Jussi Litja 2010-06-01 18:52

Re: Force display backlight on (N900)
 
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


All times are GMT. The time now is 07:51.

vBulletin® Version 3.8.8