May 25th, 2007

OpenMoko's gps

Ok, so I played a bit more with hammerhead, and it seems that its GPS is above average. It was able to get indoor lock near window, where my old Fortuna bluetooth GPS never got anything. (OTOH it was not able to get a fix for hour and half when I tried to use it for real -- and that wood was not that thick).

It took me quite a lot of time to figure out how to make nmea recording to work. Apparently, low level test is required before stuff works. Here's the script:

echo 1 > /sys/class/leds/gta01\:vibrator/brightness
killall gllin cat
sleep 1
echo 0 > /sys/class/leds/gta01\:vibrator/brightness
mknod /tmp/nmeaNP p
cat /tmp/nmeaNP | tee /media/card/gps.nmea >> /tmp/gps.nmea &
/home/root/DM2/gps/gllin -low 5
strace /home/root/DM2/gps/gllin >> /tmp/gps.strace 2>&1