I am using Raspberry Pi 3 with U-blox AG USB GPS. I am not getting a fix in it. To check the data coming out of GPS I used the following command:
sudo cat /dev/ttyACM0
It did not show any data.
My default configuration file is as follows:
sudo nano /etc/default/gpsd
# Default settings for the gpsd init script and the hotplug wrapper.
# Start the gpsd daemon automatically at boot time
START_DAEMON="true"
# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="true"
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="/dev/ttyACM0"
# Other options you want to pass to gpsd
GPSD_OPTIONS=""
So why I am not getting any data when using cat /dev/ttyACM0
?
Why am I getting no fix?
gpsd
with a settings file similar to the above (prior to that gpsd + cgps weren't detecting the device). After adding the settings file and rebooting, gpsd + cgps are FINALLY working fine. But, I'm no longer getting NMEA sentences withcat /dev/ttyACM0
(which is fine with me sincegpsd
is FINALLY working). My guess is thatgpsd
reconfigured the receiver so that it is no longer streaming NMEA sentences.