GPS
From Gumstix User Wiki
Revision as of 18:21, 29 November 2010 by Neil (Talk | contribs) (Initial version describes how to make a console image with gps daemon and test utility built-in.)
The following steps will allow you to quickly test the GPS module on the Gallop43 board.
$ cd ~/overo-oe/org.openembedded.dev/recipes/images/
$ cp omap3-console-image.bb omap3-gps-image.bb
$ nano omap3-gps-image.bb
Add the packages gpsd and gps-utils to the TOOLS_INSTALL section.
$ bitbake omap3-gps-image
Create a bootable microSD using the resulting image. gpsd will start automatically when you boot, however you will need to tell it what serial port the device is connected to.
$ killall gpsd
$ gpsd /dev/ttyS0
You can change the ${GPS_DEV} variable in the /etc/default/gpsd to /dev/ttyS0 so it will work at startup. Finally:
$ cgps