[prev in list] [next in list] [prev in thread] [next in thread]
List: openmoko-devel
Subject: Re: openmoko-panel-gps applet
From: "Michael 'Mickey' Lauer" <mickey () openmoko ! org>
Date: 2008-03-29 14:03:45
Message-ID: 200803291503.45720.mickey () openmoko ! org
[Download RAW message or body]
On Friday 28 March 2008 12:07:46 Tim Niemeyer wrote:
> > I modified the openmoko-panel-gps applet and let user can power
> > on/off the gps module for with GUI on GTA02v5.
>
> What is with GTA01?
> Souldn't it be possible to power gps on/off there also?
In theory yes, in practice gllin already handles at least powering on and
there's little reason to turn gps on without running gllin -- which is the
only thing that can turn the raw data into NMEA.
> Is there a way to figure out on wich machine we are in userspace, so
> that the panel applet could decide what to do?
Absolutely, you can cat /proc/cpuinfo to see which hardware you're on.
However:
> Or should the applet only
> start/stop the gps-hardware/gps init script, wich is different on
> GTA01/02?
Yes, at least for the time being (where all PM interfaces are pretty much
ad-hoc and not yet compliant to our dbus API spec) this would be the best
approach.
:M:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic