gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] problem with Stratum-1-Microserver HOWTO


From: Gary E. Miller
Subject: Re: [gpsd-users] problem with Stratum-1-Microserver HOWTO
Date: Thu, 8 Feb 2018 17:10:12 -0800

Yo Charles!

On Fri, 9 Feb 2018 01:30:01 +0100
"Charles Muggen" <address@hidden> wrote:

> then I ran:
> ntpq -p
> 
>      remote           refid      st t when poll reach   delay
> offset  jitter
> ==============================================================================
> SHM(1)          .PPS.            0 l    -   64    0    0.000
> 0.000   0.002 *SHM(0)          .GPS.            0 l   40   64   37
> 0.000   43.706  52.221 us.pool.ntp.org .POOL.          16 p    -
> 512    0    0.000    0.000   0.002

That looks good, except no PPS.

Look at the gpsd debug output:

# gpsd -nND 6 /dev/ttyAMA0 |& fgrep PPS

Should get lines like this:

gpsd:PROG: KPPS:/dev/pps0 assert  1518138392.000000408, sequence: 6041142, 
clear   0.000000000, sequence: 0 - using: assert
gpsd:PROG: KPPS:/dev/pps0 Assert cycle: 1518138392000000, duration:       0 @  
1518138392.000000408
gpsd:PROG: PPS:/dev/pps0 Assert cycle: 1518138392000000, duration:       0 @  
1518138392.000000408


> I tried every combination of redirection.
> ntpshmmon > file.txt
> ntpshmmon 2> file.txt
> ntpshmmon &> file.txt
> ntpshmmon | tee file.txt
> ntpshmmon |& file.txt
> nothing works.

All should work fine.  Works for me.  Check your version:

# ntpshmmon -V
ntpshmmon: version 3.18~dev (revision release-3.17-36-g9f6d73c7)

> I ran ppstest;
> ppstest /dev/pps0
> that's showing positive results.

Good.

> what else can I check?
> is there a utility that shows the system time being micro-adjusted?

Yes, ntpq -p


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpjTKzoRNKcL.pgp
Description: OpenPGP digital signature


reply via email to

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