| To: | [email protected] |
|---|---|
| Subject: | Re: LF: vlfrx tools question |
| From: | Paul Nicholson <[email protected]> |
| Date: | Fri, 11 Aug 2017 19:20:50 +0000 |
| Dkim-signature: | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=abelian.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wIRBdzvJHcSZ4zH6ErnB5gpx5XTyf4Ke/foELLK4+Mc=; b=vzVYbaLW+Y1OmVN+dRahpVAkZB lU2+ge7nCCP0vkxpPoAgkdy5YIryMvGqvPKORz5NcrdM9YRwaZ47N8zFGCtmi3HlD496nzbvSzBqW eo+roEmZYakRTGWTvv8iGM67e9bwb/8jurXVgvEkwsu3zfwImd+1djtApCYwLWZeTeVw=; |
| In-reply-to: | <[email protected]> |
| References: | <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> |
| Reply-to: | [email protected] |
| Sender: | [email protected] |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Terry wrote:
> still no sign of gps synchronisation
As root or with sudo,
killall gpsd
to stop the daemon, then have a look to see if the GPS is
sending data:
stty -F /dev/ttyACM0 -echo
cat /dev/ttyACM0
Should give you regular bursts of NMEA messages. Look out
for the $GPGLL and $GPRMC which contain date and time
respectively.
Now try gpsd in foreground
gpsd -bnN -D3 /dev/ttyACM0
which should print bunches of stuff as each burst of NMEA
packets is processed by gpsd.
Leave it running in foreground and open up another shell.
ntpd is probably already running, so in the other shell
run
ntpq -p
After a short period of time you should have
remote refid st t when poll reach ...
====================================================== ...
*SHM(0) .GPS. 0 l 1 16 377 ...
where the * in front of SHM shows that ntpd is getting the
time from gpsd via some shared memory variables. The 'when'
value will be counting up.
In ntp.conf I'm using
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.051 refid GPS
The 0.051 is probably not correct, it was just a cut-and-paste
from somewhere else. When you get it working you might want
to tweak the 0.051 for your actual comms latency.
--
Paul Nicholson
--
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: VLF: Carrier on 3675.005 Hz, Paul Nicholson |
|---|---|
| Next by Date: | Re: LF: vlfrx tools question, Terry G0EZY |
| Previous by Thread: | Re: LF: vlfrx tools question, Paul Nicholson |
| Next by Thread: | Re: LF: vlfrx tools question, Terry G0EZY |
| Indexes: | [Date] [Thread] [Top] [All Lists] |