[debian & gps] How to check gps
openmoko at mazikeen.demon.co.uk
Wed Sep 24 12:00:44 CEST 2008
On Wednesday 24 September 2008, Dima Kogan wrote:
> Can you please elaborate? Do any of the actions you mentioned actually
> BREAK fso-gpsd?
The reason for having a gps daemon in the first place is to provide shared
access to a resource that isn't directly sharable. Having 2 daemons running
at the same time, or manually poking the gps while the daemon is running, is
asking for trouble and will more than likely cause problems, but you might
get lucky. So as a general rule if you want to mess with the gps manually
then stop the daemon first. Only run one daemon at a time. Note that fso-gpsd
is a compatibility layer to add gpsd output to ogpsd, not a separate daemon.
> On Wed, 24 Sep 2008 02:54:32 +0200
> Sascha Wessel <wessel at nefkom.net> wrote:
> > On Tue, Sep 23, 2008 at 05:24:16PM -0700, Dima Kogan wrote:
> > > To check the raw data coming out of the device, do
> > >
> > > cat /dev/ttySAC1 | grep GGA
> > >
> > > This should give you a line of data every second or so. Once a fix
> > > has been established, these lines contain latitude,longitude values
> > > in plain ASCII. The gpsd daemon (whether true gpsd or fso-gpsd)
> > > should make this data available on port 2947. Check this with
> > >
> > > nc 127.0.0.1 2947 | grep GGA
> > >
> > > If the daemon works, you should get the same data here, as above.
> > > Good luck.
> > Exactly this is the most common problem. Please...
> > * do NOT echo 1 > neo1973-pm-gps.0/pwron
> > * do NOT read from /dev/ttySAC1
> > * do NOT write to /dev/ttySAC1
> > * do NOT run the original gpsd
> > Then it should just work.
> > Greetings,
> > Sascha
> > _______________________________________________
> > Openmoko community mailing list
> > community at lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> Openmoko community mailing list
> community at lists.openmoko.org
More information about the community