PDA

View Full Version : How to turn off screen blanking, HACKING MAEMO


penguinbait
09-06-2007, 05:26 PM
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
09-07-2007, 03:35 AM
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
09-07-2007, 08:24 AM
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/forums/showthread.php?t=1147

penguinbait
09-07-2007, 11:34 AM
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
09-07-2007, 11:35 AM
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/forums/showthread.php?t=1147

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

armin
03-27-2009, 12:53 PM
another method is described here (http://www.internettablettalk.com/forums/showpost.php?p=275097&postcount=9)