TangoGPS and GPSD
Bernhard Höll
pearn at web.de
Sun Jul 6 17:52:58 CEST 2008
Hello,
thanks for the info. I checked and /etc/defaults/gpsd was set to the
correct device, but there was a file called /etc/defaults/gpsd.default
with an other entry. I checked with
nc 192.168.0.202 2947
and got the output after having started gpsd again.
I think I'll have to take the freerunner for a walk to check if I get data outside of the
building.
Interestingly the /etc/init.d/gpsd startscript does not get triggered when selecting
"Turn on GPS" in the power menu.
Does anyone know what action gets invoked upon selecting "Turn on GPS" ?
Is this for activating/deactivating the physical device or is the /etc/init.d/gps-hardware
start script (dummy file) being invoked?
Thanks..
Bernhard
> Does the gpsd have the right device in /etc/defaults/gpsd?
>
> It is /dev/tty/SAC0 thus:
> GPS_DEV="/dev/ttySAC1"
>
> To test the gpsd you can do from your desktop:
>
> nc 192.168.0.202 2947
>
> then type 'r' and hit enter.
>
> Looks like this then:
>
> ~$ nc 192.168.0.202 2947
> r
> GPSD,R=1
> $GPTXT,01,01,01,PSRF inv format*2B
> $GPTXT,01,01,01,PGRM inv format*34
> $GPTXT,01,01,01,PFEC inv format*2C
> $GPRMC,,V,,,,,,,,,,N*53
> $GPVTG,,,,,,,,,N*30
> $GPGGA,,,,,,0,00,99.99,,,,,,*48
> $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
> $GPGSV,1,1,00*79
> $GPGLL,,,,,,V,N*64
> $GPZDA,,,,,00,00*48
>
>
> gpsd uses 8-10% CPU here.
>
>
>
> On Sun, 2008-07-06 at 13:19 +0200, Bernhard Hoell wrote:
> > Hello,
> >
> > I failed to get GPS working on my freerunner. I flashed the latest
> > openmoko-devel-image-om-gta02.jffs2 and matching kernel. I installed
> > tangogps as well as gpsd manually with opkg and I configured tangogps
> > to connect to the gpsd, which should have been running (since a
> > portscan of my freerunner showed port 2947 as open).
> > I kept it running for several hours, but tangogps did not report GPS
> > information. GPSD however used about 50 to 70 % of processor power.
> > I read through the mailing lists and checked the tangogps documents.
> >
> > It seems to me that I am missing something here. Can somebody point me
> > to a more detailed documentation or give advice?
> >
> > Thanks
> >
> >
> > Bernhard
> >
>
More information about the openmoko-devel
mailing list