Setting up the GPS

The GPS module on the Goliath is a Ublox NEO-4S and is attached by usb to the usb hub. To set up the GPS module I found that it was necessary to find the right kernel module which is the cdc-acm module. I didn't need to compile this module as it had already been compiled when I set up OE, all I needed to do was find the file which was in

gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21/drivers/usb/class/

Just copy the file cdc-acm.ko to the gumstix and see if works:

insmod cdc-acm.ko

Dmesg gave me:

<6>cdc_acm 1-2.3:1.0: ttyACM0: USB ACM device
<6>usbcore: registered new interface driver cdc_acm
<6>drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters

By running

cat /dev/ttyACM0

you should see the NMEA.

NMEA is a great format to work with, there are a couple of options for decoding it into more usable formats:

 
gumstix_bible/goliath/gps.txt · Last modified: 2008/06/30 22:35 by jamescoxon
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki