Just on the 'related' question:
On Thu, 2009-06-18 at 16:04 +0200, David Fokkema wrote:
> Related: how can I check if the GPS device is switched off (or on)? I
> need to request it using ousaged, but that will probably enable the GPS,
> right? When I stop and start my script, the fix is lost for a short
> time, so I think that after releasing, the GPS is switched off, but I
> have no way to check it, do I?
print usage.GetResourceState('GPS')
does the trick. It still happens that the solution presents itself a few
minutes _after_ you send that e-mail...
David
_______________________________________________
support mailing list
[email protected]
https://lists.openmoko.org/mailman/listinfo/support