[PATCH] fix GPS resume if powered on previously
Jan Lübbe
jluebbe at lasnet.de
Thu Jan 22 18:01:39 CET 2009
On Mon, 2009-01-19 at 10:55 +0000, Andy Green wrote:
> |> Ah there's some stuff by Daniel that uses the UBX stuff for the assisted
> |> mode, I think it is out there and in use. Whether it just sets UBX mode
> |> I don't really know, but I guess if it does it could react to seeing
> |> NMEA by sending the UBX mode packet again.
> |
> | I suppose it anyway has to handle resume somehow - now it should even turn
> | the GPS back on..
>
> I guess so :-)
It currently switches off GPS when suspending and reenables it on resume
(and restores aiding data).
Keeping it on in suspend would make it possible to used it's own power
saving modes (where it can keep exact clock sync without powering the
correlators). As we had some problems with restoring ephemeris, this
would be a nice option to have.
Also we could use "FixNOW", which is a mode in which the GPS wakes up
now and then and tries to get a fix. If successful, it could then wake
the host (if it is possible to configure the GPS-UART as a wakeup
source)
--
Jan Lübbe <jluebbe at lasnet.de> http://sicherheitsschwankung.de
gpg-key 1024D/D8480F2E 2002-03-20
fingerprint 1B25 F91F 9E7B 5D4F 1282 02D6 8A83 8BE4 D848 0F2E
More information about the openmoko-kernel
mailing list