[FOSS-GPS] Questions about foxtrotgps

Timo Juhani Lindfors timo.lindfors at iki.fi
Tue Oct 12 12:57:41 EDT 2010


James Hiebert <james at hiebert.name> writes:
> Well, it still shows up in my apt.  Is this an error?
>
> # apt-cache showpkg tangogps
> Package: tangogps
> Versions: 
> 0.99.4+debian3-1
> (/var/lib/apt/lists/ftp2.de.debian.org_debian_dists_sid_main_binary-armel_Packages)
> (/var/lib/dpkg/status)
>  Description Language: 
>                  File:
> /var/lib/apt/lists/ftp2.de.debian.org_debian_dists_sid_main_binary-armel_Packages
>                   MD5: 9171a6378bda90539ab34439b2a117d0

That's just a transitional package that depends on foxtrotgps.

> FWIW, none of the gpsd suite of applications (gpscat, xgps, gpsmon) get any
> info from the gps.

This is probably because you have not turned the GPS chip on. What do
you get with "om gps power"?

> However if I run zhone (the phone application on my Neo Freerunner),
> it is able to see a wide range of satellites and get a 3-d fix.
> Presumably, this is because it correctly uses the dbus interface.
> Does foxtrotgps not support the dbus/gypsy interface to the gps?

foxtrotgps supports libgps that speaks to gpsd over tcp/ip, it does
not use dbus for gps.

Your strace shows

1784  connect(14, {sa_family=AF_INET, sin_port=htons(2947), sin_addr=inet_addr("127.0.0.1")}, 16) = 0

which means that it managed to connect to gpsd properly and

write(14, "?WATCH={\"enable\":true,\"json\":true};\n", 36) = 36

which means it is speaking the new protocol and

recv(14, "{\"class\":\"VERSION\",\"release\":\"2.95\",\"rev\":\"2010-08-29T23:44:13\",\"proto_major\":3,\"proto_minor\":3}\r\n{\"class\":\"DEVICES\",\"devices\":[]}\r\n{\"class\":\"WATCH\",\"enable\":true,\"json\":true,\"nmea\":false,\"raw\":0,\"scaled\":false,\"timing\":false}\r\n", 3072, 0) = 228

which means that the server replied but is not configured with any devices!

How did you start gpsd?



More information about the FOSS-GPS mailing list