I have GPSd installed, but I can't get it to work after reboot.
After reboot, when I run cgps -s
I just get cgps: GPS timeout
. However, if I run: sudo killall gpsd; sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
then cgps
works just fine.
After running sudo dpkg-reconfigure gpsd
, here's my /etc/default/gpsd
file:
# Default settings for gpsd.
# Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
# change the options.
START_DAEMON="true"
GPSD_OPTIONS="-n"
DEVICES="/dev/ttyUSB0"
USBAUTO="true"
GPSD_SOCKET="/var/run/gpsd.sock"
What can I do to get it working after reboot? Thanks!