March 26, 2011

i-gotU GT200 GPS on Fedora

i-gotU GT200 GPS is the greatest pocket GPS gadget you can find, if you are a geek then this is one gadget you have to get.

Why is it so great? It is a really cheap GPS device (around 55$ or 45€), it has a great SiRF III chipset and it works as a standalone GPS logging device because it has on-board memory! Did I mention it is really cheap? ;)

i-gotU GT200 software that comes with doesn't have support for Linux or Mac.

The good news is that there is a project called igotu2gpx that adds Linux and Mac support for this great device!

To get this utility running on Fedora here are step by step instructions on how to do it:

sudo yum install ctags gcc-c++ libstdc++-devel boost-devel qt-devel libusb-devel chrpath
wget https://launchpad.net/igotu2gpx/0.3/0.3.0/+download/igotu2gpx-0.3.0.tar.gz
tar xvzf igotu2gpx-0.3.0.tar.gz
cd igotu2gpx-0.3.0/
/usr/lib/qt4/bin/qmake
make

su
make install
ln -s /usr/local/lib/libigotu.so.1 /usr/lib/
exit

You can use GUI tool by running igotugui command or cli version by using igotu2gpx command.

To download gps tracks from your i-gotU GT200 GPS use this command:
igotu2gpx --action dump > track.gpx
And to clear GPS memory just use this command:
igotu2gpx --action clear

You can use igotU GT200 as GPS sensor on your PC or laptop via USB cable but first you need to initialize it:

su -
modprobe navman
echo -n "0x0df7 0x0900" > /sys/bus/usb-serial/drivers/navman/new_id

Now you can start gpsd and all aplications should see GPS dongle:
gpsd -b -N -D2 /dev/ttyUSB0

If you want to use igotU GT200 via bluetooth you can use this Bluetooth GPS Fedora howto guide to set it up.