GPS driver for GTA01 available

Michael Shiloh michael at openmoko.org
Thu Nov 29 21:25:01 CET 2007


Hello,

Thanks to a tremendous amount of hard work by many people, we have ready
a release of gllin, the GPS drives. Here is how you can get it:


1. Visit http://3rdparty.downloads.openmoko.org/

Enter the gllin directory and accept the EULA

2. Download and install gllin_1.0+r350-r0_fic-gta01.ipk to Neo,
something like:

	scp  gllin_1.0+r350-r0_fic-gta01.ipk root at 192.168.0.202:/tmp/
	ssh root at 192.168.0.202
	cd /tmp
	ipkg install gllin_1.0\+r350-r0_fic-gta01.ipk

3. On Neo:

	cd /home/root/gllin
	./gllin

4. In another shell,

	cat /tmp/nmeaP

you should see the NMEA data coming in now, something like this:

$GPGGA,235946.99,,,,,00,00,5.0,,M,0.0001999,M,0.0020199,*57
$GPRMC,235946.99,V,,,,,,,120180,,,N*78
$GPGSA,A,1,,,,,,,,,,,,,11.2,5.0,10.0*36
$PGLOR,IGR,81.2,7,71397,0,1*02
$GPGGA,235946.99,,,,,00,00,5.0,,M,0.0001999,M,0.0020199,*57
$GPRMC,235946.99,V,,,,,,,120180,,,N*78
$GPGSA,A,1,,,,,,,,,,,,,11.2,5.0,10.0*36
$GPGGA,235946.99,,,,,00,00,5.0,,M,0.0001999,M,0.0020199,*57

After a while you should get a fix, and then it looks like this:

$GPGGA,194851.00,3746.451804,N,12230.144387,W,1,04,0.5,029.0,M,0.053001,M,0.0090515,*50
$GPRMC,194851.00,A,3746.451804,N,12230.144387,W,000.0,300.0,291107,,,A*46
$GPGSV,2,1,07,04,60,088,32,09,59,256,21,02,54,168,34,12,38,310,33*78
$GPGSV,2,2,07,17,25,056,,05,21,306,,28,08,110,*4D
$GPGSA,A,3,02,04,09,12,,,,,,,,,1.1,0.5,1.0*3A
$PGLOR,FIX,1.0,ST,U,NS,A,DR,N,PS,A*2A

Note that the GPGSA line changed from A,1 to A,3. That shows that you
now have a fix.

Your location will be in the first line (GPGGA). In the sample above,
I'm at

	37 degrees 46.451804 minutes North
	122 degrees 30.144387 minutes west

Which is correct for me.


Have fun!

Regards,
Michael






More information about the community mailing list