ubuntu gpsd connection #3936
Replies: 1 comment 8 replies
-
Do you see a message like the following in the log?
If not, this may mean that you built Stellarium without libgps enabled. See the output of CMake for details. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear All,
First a big shout out to the developers for all the hard work!
Just finished installing version 24.3 on a Raspberry Pi 4B 8GB running Ubuntu 24.04.1 LTS.
I used the instructions at the bottom of the Stellarium Raspberry Pi Wiki page.
I can start Stellarium with the command QT_QPA_PLATFORM=xcb ./stellarium --opengl-compat in the folder /usr/bin.
Still need to somehow add this variable to the /usr/share/org.stellarium.Stellarium.desktop, but that is for later concern.
I have a U-blox NEO-7 GPS connected via USB: https://www.jaycar.co.nz/arduino-compatible-gps-receiver-module/p/XC3710
I installed the packages gpsd, gpsd-clients, ntp and configured the /etc/default/gpsd file with:
START_DAEMON="true"
DEVICES="ttyACM0"
GPSD_OPTIONS="-G"
USBAUTO="true"
The GPS works, showing a 3D fix in the "cgps -s" application (part of the gpsd-clients package).
Also "xgps" shows the connection with localhost:2947 and a fix.
However Stellarium is not able to connect to the GPS and shows "GPS Failed".
The Log in the Help (F1) menu shows:
Cannot open serial port to NMEA device at port "ttyACM0"
Question: Why does Stellarium trying to open the physical port? Shouldn't it connect to the gpsd daemon?
Beta Was this translation helpful? Give feedback.
All reactions