[Bug 79] suspend/resume to RAM support

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Sun Apr 13 08:17:41 CEST 2008


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=79





------- Additional Comments From mwester at dls.net  2008-04-13 08:17 -------
Created an attachment (id=588)
 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=588&action=view)
Preserve the GPS power state over suspend/resume - temporary patch

This is a hack in the form of a patch - it will be obsoleted and replaced after
discussion.

On suspend, the GPS is powered off -- this is reasonable.  On resume, the GPS
is always powered on, even if it was off at time of suspend.  This patch saves
the state so that the GPS is only powered up if it was powered up at time of
suspend.

Comments are required on the patch technique (yes, the variable names need
changing too).	Some feedback on whether we really even need to save state
would be helpful -- does it make sense to simply leave the GPS off after a
resume, and let something like apmd in user-space power it back up if
necessary?  Or is the current behavior of powering it up unconditionally the
right solution?



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list