On Mon, Sep 12, 2011 at 7:08 PM, Sébastien Huss sebastien.huss@gmail.com wrote:
Hi there,
I'ld like to request the inclusion of picorestore (http://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=gpsp.git;a=blob;f=pandora/picorest...) within the Pandora OS. This way pnd_run.sh could restore the framebuffer state after an SDL app using the hacked SDL crashed.
I'd suggest not to use this as you wouldn't want to do what it does on exit of every pnd. For example, if user is playing a video and fires calculator pnd (just an example) and exits it, this would wipe out the video layer.
Like skeezix said you can use ofbset (already in firmware), plus you also have to be smart and do something like:
if ! lsof /dev/fb1 > /dev/null; then ofbset -fb /dev/fb1 -mem 0 -size 0 0 -en 0 fi