openPMA:FAQ

From openPMA
Jump to: navigation, search

[edit] build_openpma.sh and bash

Q: Running ./build_openpma.sh produces errors. I did not change the sources after checkout!?

A: Please check your default shell. The build_openpma.sh script requires some features not provided by all shells. You can check the default shell by executing:

 ls -l /bin/sh

If this returns something like

 lrwxrwxrwx 1 root root 4 2006-12-18 13:51 /bin/sh -> dash

you probably are using either debian or ubuntu and your default shell is dash. The workaround is very simple. Explicitly use bash for execution of the build_openpma.sh script:

 /bin/bash build_openpma.sh

This asumes bash being in /bin. Another pro to this way is that you don't have to chmod 755 the script anymore.

A: Are you using an 64bit linux? If so make sure to install the corresponding toolchain.


[edit] bluetooth GPS

Q: I want to use my bluetooth GPS with openPMA

A: Please install gpsconnect by jaap. (There will be an updated package in the future by the openPMA team! So check back here sometimes.) After starting gpsconnect you can use the device /dev/gps - if you want to use qpegps, then follow either jaap's guide or Andrew's guide. Make sure you attach your usb-bt-dongle before starting gpsconnect!


[edit] serial GPS

Q: I want to use my serial/usb GPS with openPMA

A: Everything is already contained in openPMA. Simply point your application to /dev/usb/tts/0 to use it. If you want to use qpegps, then follow either jaap's guide or Andrew's guide. But remember to use /dev/usb/tts/0 and not /dev/gps!

Google ads
Personal tools