On Friday, August 19, 2011 1:21:51 PM UTC-4, pb wrote:
>
> I noticed that starting the emulator disables DPMS and it is not re- 
> enabled when the emulator closes.  So my monitor was never going to 
> sleep until I re-enabled DPMS manually.  Does anyone know why it does 
> this and/or how to fix it?  As a temporary solution I have wrapped the 
> executable in a shell script to run `xset +dpms` when the emulator 
> finishes, but this is probably not ideal.  Ubuntu 10.04.


It does, at least in the current state of the code, appear to be trying to 
handle this intelligently, ie, determine the setting on startup and restore 
it on exit:

http://android.git.kernel.org/?p=platform%2Fexternal%2Fqemu.git&a=search&h=HEAD&st=grep&s=dpms

You can look through the logs going back further than I did and see if 
that's been worked on since your version.  It's also possible it's still 
subtly broken in some way.

You should be able to compile a version without this, or even patch an 
existing binary (it took me all of 30 seconds with objdump to find a wrapper 
for DPMSDisable() that could be nop'd out).


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to