Ticket #133 (closed defect: fixed)
GPS doesn't resume properly
| Reported by: | Baruch Even <baruch@…> | Owned by: | daniel |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | framework/ogpsd | Version: | |
| Keywords: | gps suspend resume | Cc: |
Description
I had both Zhone GPS app and TangoGPS running when I suspended the phone. Upon resume, the state of the GPS data is as was left last time, no updates flowed even after sufficient time for getting a fix.
GPS returned to work only after I closed both apps and started the Zhone GPS app again.
This is on FSO milestone2 (or so I believe)...
Change History
comment:2 Changed 3 years ago by daniel
- Status changed from new to assigned
This should work with a recent build of frameworkd (commit >= [06bc4adab61e9c0139bde55890734439450aa28c]). Unfortunately my kernel doesn't wake up from suspend at all at the moment. If you can test this I would be very happy.
Note: See
TracTickets for help on using
tickets.

This problem is twofold:
First the kernel doesn't restore the power to the GPS if it was on before suspend. This needs to be taken up with the kernel people.
Then even if power is restored ogpsd needs to be informed before and after suspend so it has time to save any data and restore it on resume, reconfigure the GPS for UBX mode, etc. This depends on adding suspend signaling in ousaged (See http://lists.openmoko.org/pipermail/devel/2008-September/002265.html for details)