Questions tagged [gpsd]

Questions pertaining gpsd, a daemon that receives data from a GPS receiver, and provides the data back to multiple applications such as Kismet or GPS navigation software.

30 questions
7
votes
2 answers

How to get ntp to use gpsd to update system date/time with a large offset

I have a GPS connected to my system, and if I change system time to be ahead/behind GPS time by less than 4 hours, ntpd ensures that the system time is updated to match that of the GPS. If, however, that offset is beyond 4 hours, no update takes…
tshepang
  • 64,472
  • 86
  • 223
  • 290
6
votes
1 answer

How to add a custom GPS location to a picture?

Given a .jpg picture without associated GPS coordinates, how would you suggest to add custom coordinates to it?
user123456
  • 4,758
  • 11
  • 52
  • 78
3
votes
1 answer

Creating an isolated NTP server with only 1PPS and no external "time" input (No GPS)

Am looking to have a small NTP server (Chrony) provide time to different computers located on the same student under water vehicle connected via ethernet cables. We are primarily concerned with having different parts of the vehicle synchronized to…
Alexis
  • 31
  • 2
3
votes
1 answer

using GPS with Linux & output only certain data

Hello I am currently using BU-353 S4 USB GPS in my Linux, the command, cgps -s Output various parameters including, Time, Latitutde, Longitute, Speed, Heading etc... is there any way to output only Longitude and Latitude instead of the complete…
Sufiyan Ghori
  • 262
  • 1
  • 6
  • 18
2
votes
0 answers

How to resume the ?WATCH command when a USB GPS is reconnected

I have some hacks to ensure that my USB GPS devices continues spitting data if disconnected, then reconnected. The devices are so flaky that they need restarting so as to continue transmitting data. My hack is to have a cron job that runs every…
tshepang
  • 64,472
  • 86
  • 223
  • 290
2
votes
0 answers

GPS device not detected by gpsctl

My GPS device (/dev/ttyUSB2) outputs NMEA sentences when connected to with minicom or cat, but when using gpsctl with gpsd (running gpsd /dev/ttyUSB2) the following output is generated: gpsctl: no devices connected. I'm using gpsd -ND5 /dev/ttyUSB2…
user60684
  • 1,753
  • 2
  • 12
  • 18
2
votes
0 answers

preventing udev symlink overwrite

I built a PPS-capable GPS clock on my Raspberry Pi, and to get it to work, I needed to use udev to create symlinks to the hardware serial port and the kernel GPIO PPS on /dev/gps0 and /dev/gpspps0. It doesn't have to be 0, I just need the two…
computergeek125
  • 216
  • 1
  • 8
2
votes
1 answer

How to read NMEA data from the Holux M-1200 GPS receiver

I have a Holux M-1200 GPS receiver and a pl2303 data cable. The cable appears as /dev/ttyUSB0, but when I turn on the receiver and cat /dev/ttyUSB0 the device, only random symbold appear, like this: ➤ cat /dev/ttyUSB0 E<�\E…
nh2
  • 1,611
  • 2
  • 14
  • 22
1
vote
0 answers

Trying to make a fake GPS device with socat

Background: I am trying to make a fake GPS device so that I can put the wrong time in the output, and then make sure that when I set up chrony and gpsd, I am getting the time from serial feed that I set up. If I use the real gps output, I won't…
Alex028502
  • 469
  • 7
  • 12
1
vote
0 answers

Why still chrony is not taking time from PPS after 197 hours?

I'm using chrony where GPSD and the PPS will be used for accurate timings. my chrony.conf file as follows, refclock SHM 0 delay 0.8 refid NMEA trust prefer …
1
vote
1 answer

Issues Using GPSD as Source for Chronyd

I am attempting to use a USB GPS without PPS dongle as the sole time source on Ubuntu 18.04. GPSD appears to be working correctly since cgps reports a 3D fix. However, I can't get chrony to see the GPS information. # gpsd -ND 8…
glasstea
  • 41
  • 5
1
vote
2 answers

Using gpsd and chrony without pulse per second

Inspired by this answer: https://askubuntu.com/a/1374637 I'm attempting to get chrony to get its time from gpsd without a pulse per second. I am aware that https://gpsd.gitlab.io/gpsd/gpsd-time-service-howto.html implies that you need a pulse per…
fadedbee
  • 797
  • 1
  • 5
  • 23
1
vote
1 answer

What will be the reason for GPSD not working in chrony?

I'm trying to sync PPS with GPSD using chrony but I'm getting '#?' before gps what will be the reason? my chrony.conf file is, # Welcome to the chrony configuration file. See chrony.conf(5) for more # information about usable directives. # Include…
1
vote
1 answer

PPS on focal/20.04 timed out and never recovers

we recently have upgraded to a new industry PC from Vecow/Plugin and to Ubuntu 20.04 from 18.04. From the BIOS (build date BIOS ~17.02.2022) and the IO chip according to it is a SuperIO…
1
vote
0 answers

GPSD, How to get the last known location?

if GPS-module disconnected, or if GPS antenna gets moved into building, I wan't to know the last available location. I tried to log location every 10 or so seconds with systemd-timers; However, exactly when log-file is updating every 10 sec, there…
Garid Z.
  • 500
  • 2
  • 12
1
2