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

  • Using PinePhone

    I was asking at the mailing lists about ofono configuration for PinePhone... and apparently it is not exactly simple to get it to work. (One thing is…

  • Certified danger

    I suspected Linux Foundation went to the dark side when they started strange deals with Microsoft. But I'm pretty sure they went to dark side…

  • Pretty big side-effect

    Timing and side-channels are not normally considered side-effects, meaning compilers and cpus feel free to do whatever they want. And they do.…

  • 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