[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use gpsd and chrony time sync with fake gps
From: |
Gary E. Miller |
Subject: |
Re: use gpsd and chrony time sync with fake gps |
Date: |
Tue, 30 Nov 2021 12:22:32 -0800 |
Yo Lin!
On Tue, 30 Nov 2021 10:02:51 -0500
Lin Zhao <crazymumu0804@gmail.com> wrote:
> I tested my pps in oscilloscope, it looks good and stable. Also, I
> can try following: $ sudo ppstest /dev/pps1
Looks good. But your json.log shows you are not telling gpsd to use
your pps:
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyTHS0","driver":"
NMEA0183","activated":"2018-01-28T16:18:20.767Z","flags":1,"native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}
Note there is no PPS there.
There have been recent fixes for standalone PPS, please update to git
head, and try again. Be sure /dev/pps1 is on your command line when you
start gpsd.
> I don't have -x option, wired.
Then you are using an old version of gpsd. Please update to git head
and repeat.
> I record the gps messags on my campus, then increase the time stamp based
> on that day,
Your NMEA data seems O to me. The problem is your command line.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgp5HaIqzr4n2.pgp
Description: OpenPGP digital signature