gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Unexpected behavior


From: Nick Burkitt
Subject: Re: [gpsd-users] Unexpected behavior
Date: Sat, 23 Sep 2017 16:46:47 -0700

Hi Gary.

 

Thanks for sticking with me on this.

 

> Uh, we don't support Ubuntu.  You have to ask them what damage they did

> to the upstream gpsd code.  All we can manage is the gpsd main git

> repository.

 

I should have led with that information. A fresh clone from the git repo and suddenly everybody sees PPS. :-#

 

# ./ppscheck /dev/ttyS0

1506209935  999395539 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209936   98923476 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209936  998858373 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209937   98840638 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209937  998857595 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209938   98918159 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209938  999061591 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209939   98923320 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209939  998877208 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209940   99044555 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209940  998876530 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209941   98848513 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209941  998860429 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209942   98852238 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209942  998881197 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209943   98863083 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209943  998884413 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209944   98869216 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209944  998886413 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209945   98868423 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209945  999095940 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209946   98947447 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209946  998876348 TIOCM_RI TIOCM_DSR TIOCM_CTS

1506209947   98867940 TIOCM_CD TIOCM_RI TIOCM_DSR TIOCM_CTS

 

     remote           refid      st t when poll reach   delay   offset   jitter

-SHM(0)          .GPS.            0 l    2   64  377      0ns -148.7ms 2.7195ms

*SHM(1)          .PPS.            0 l    1   64  377      0ns 1.6067ms 26.676µs

+198.60.22.240   132.163.4.101    2 u   47   64  377 28.217ms 6.3590ms 2.3261ms

+204.2.134.163   44.24.199.34     3 u   54   64  377 12.501ms 5.5548ms 4.6863ms

-52.37.145.131   69.64.225.2      3 u   66   64  377 31.091ms 4.6701ms 2.0848ms

-97.107.129.217  129.6.15.28      2 u   47   64  377 81.046ms 6.2279ms 1.9143ms

ntpd ntpsec-0.9.7+1381 2017-09-19T09:55:20-0400Updated: 2017-09-23T23:30:58 (32)

lstint avgint rstr r m v  count rport remote address

      0   3.65    0 . 6 2    754 41162 ::1

     47     60   d0 . 4 4     46   123 97.107.129.217

     47     60   d0 . 4 4     46   123 198.60.22.240

     54     60   d0 . 4 4     46   123 204.2.134.163

     66     60   d0 . 4 4     46   123 52.37.145.131

 

> > /etc/ntp.conf:

>

> > /etc/ntp-conf.d/use-gpsd-shm:

> > refclock shm unit 0 refid GPS

> > refclock shm unit 1 prefer refid PPS

>

> The line with 'refid GPS' either needs the proper fudge, or

> 'noselect'.  That will cause problems.

>

Uh...que?

> Otherwise, looks good.  I assume you (or Ubuntu) fixed your use-country-pool?

>

I didn't know my use-country-pool was broken. I'm using out-of-the-box ntpsec configuration. Or at least what I could find lying around the ntpsec directory. I am otherwise completely NTP illiterate.

 

But I won't ask you to handle ntpsec support, too. :-)

 

Thanks a million for your help. It's unlikely that I'd have figured it out otherwise.

 

-Nick

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]