pavelmachek (pavelmachek) wrote,

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
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment