DART-SD410 Debian GPS: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
From now on, you can use any gpsd client, such as gpsmon or xgps. | From now on, you can use any gpsd client, such as gpsmon or xgps. | ||
{{note| NOTE:<br> | |||
Known bug: The qdsp service will disable on-board Ethernet controller.|info}} |
Latest revision as of 10:50, 23 August 2016
The GPS software stack mostly runs on the DSP subsystem.
The communication between the main CPU and the DSP is done with a specific IPC driver called QRTR (see ./net/qrtr/ in the kernel source tree).
Because of bug 416, the DSP is not started automatically at boot. To start the GPS, the DSP needs to be started first.
Once the DSP is started any gpsd client can be started and will be able to retrieve GPS data.
Please note that the GPS antenna is not supplied in the EVK and should be bought separately from Digikey.
The suggested GPS antennas are:
http://www.digikey.com/product-detail/en/APAM1568YE15V2.0/535-12617-ND/4976494
http://www.digikey.com/product-detail/en/APAM2764YK0175/535-12615-ND/4976492
To get started with GPS, first install the following packages:
$ sudo apt-get update $ sudo apt-get install gpsd-clients gnss-gpsd
The package gnss-gpsd will bring all the needed dependencies to use the onboard GPS. Then you need to start the DSP:
$ sudo systemctl start qdsp-start.service
From now on, you can use any gpsd client, such as gpsmon or xgps.
Known bug: The qdsp service will disable on-board Ethernet controller.