maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2007 / Maemo 3 / Bora (https://talk.maemo.org/forumdisplay.php?f=23)
-   -   How to turn off screen blanking, HACKING MAEMO (https://talk.maemo.org/showthread.php?t=9553)

penguinbait 2007-09-06 21:26

How to turn off screen blanking, HACKING MAEMO
 
I happened to notice a file that I thought might do the trick, and sure enough it works

What this does to battery life and temperature, I don't really know. Follow me at own risk.


If you rename this file
/mnt/initfs/usr/lib/dsme/libinactivity-blank.so.0.0.0

for example to this
/mnt/initfs/usr/lib/dsme/libinactivity-blank.so.0.0.0-orig
I think you also need to reboot for it to take effect....

No more screen blanking, at any time interval, always on, I like it.


In order to do this you will need to install bootmenu, because there is no room on the block device, therefore you can not delete/rename the file. After installing bootmenu, you can then make the change.



cd /mnt/initfs/usr/lib/dsme/
mv libinactivity-blank.so.0.0.0 libinactivity-blank.so.0.0.0-orig



Now everyone can tell me how I am going to ruin my device and the other half can ask me how to install bootmenu :D

EDIT
Did a little more playing around, still works good, but 1 problem. It no longer allows me to set the backlight, its on full all the time, no controls.

fanoush 2007-09-07 07:35

Re: How to turn off screen blanking, HACKING MAEMO
 
Quote:

Originally Posted by penguinbait (Post 73821)
Did a little more playing around, still works good, but 1 problem. It no longer allows me to set the backlight, its on full all the time, no controls.

You can write directly to /sys/devices/platform/omapfb/panel/backlight_level to set it. And since you disabled dsme backlight control you now have more fine-grained control, see also http://fanoush.wz.cz/maemo/#backlight

gnuite 2007-09-07 12:24

Re: How to turn off screen blanking, HACKING MAEMO
 
If you're willing to go so far as to remove a file, you can accomplish the same thing (safer and with more flexibility) by tweaking gconf.

See this thread:

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

penguinbait 2007-09-07 15:34

Re: How to turn off screen blanking, HACKING MAEMO
 
Quote:

Originally Posted by fanoush (Post 73936)
You can write directly to /sys/devices/platform/omapfb/panel/backlight_level to set it. And since you disabled dsme backlight control you now have more fine-grained control, see also http://fanoush.wz.cz/maemo/#backlight

Thanks Fanoush, I already was playing with that, and since it does not change back it works great.

penguinbait 2007-09-07 15:35

Re: How to turn off screen blanking, HACKING MAEMO
 
Quote:

Originally Posted by gnuite (Post 73960)
If you're willing to go so far as to remove a file, you can accomplish the same thing (safer and with more flexibility) by tweaking gconf.

See this thread:

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

I think I like this a little better, time to go play, thanks Gnuite!!

armin 2009-03-27 16:53

Re: How to turn off screen blanking, HACKING MAEMO
 
another method is described here


All times are GMT. The time now is 22:24.

vBulletin® Version 3.8.8