TangoGPS and GPSD
Marcus Bauer
marcus.bauer at gmail.com
Sun Jul 6 18:16:07 CEST 2008
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