TangoGPS and GPSD

Bernhard Höll pearn at web.de
Sun Jul 6 19:17:33 CEST 2008


Hi,

unfortunately I still get no GPS data. I went for a 25 minute trip on a
plain field, so GPS reception should be no prob. . 
When connecting via 'nc' to the gpsd I get output
"
GPSD,R=1
$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
$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
$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
$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
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
...
"  
but when I use TangoGPS I don't see any positioning-data.
Track-logging in tangoGPS only produced empty logfiles.

I have no external GPS antenna available at the moment. I read some
posts after problems with the internal antenna, but I don't think that's
the problem here.

Cheers

Bernhard

Am Sonntag, den 06.07.2008, 18:16 +0200 schrieb Marcus Bauer:
> On Sun, 2008-07-06 at 17:52 +0200, Bernhard Höll wrote:
> 
> > 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?
> 
> "Turn on GPS" is necessary in order to power up the chip.
> 
>   cat /sys/bus/platform/devices/neo1973-pm-gps.0/pwron
> 
> should afterwards be "1".
> 
> Marcus
> 
> 
> > 
> > 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