[LinuxPPS] ntpd

Rodolfo Giometti giometti at linux.it
Thu Aug 3 11:00:32 CEST 2006


On Wed, Aug 02, 2006 at 07:31:08PM +0200, Folkert van Heusden wrote:
> 
> verified the pps ping:
> keetweej:/usr/src/linuxpps-current# test/ppstest 1
> found PPS source #1 "pps_8250_1" on "/dev/ttyS1"
> <nothing>
> so something is still wrong

As already said this may depend to the fact that your GPS antenna
needs some extra commands throught the serial line to enable PPS
signal.

> So after that I switched to PPS only:
> server  127.127.22.0 prefer          # ATOM (PPS)
> fudge   127.127.22.0 flag3 1         # enable PPS API
> 
> keetweej:/usr/src/linuxpps-current# ntpq -c pe
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
> -GENERIC(0)      .DCFa.           0 l    8   64    1    0.000   -9.240  16.320
>  PPS(0)          .PPS.            0 l    -   64    0    0.000    0.000   0.001
>  muur.intranet.v 131.188.3.223    2 u   37   64    6    0.001    0.671   0.640
>  thegateap.intra .INIT.          16 u    -   64    0    0.000    0.000   0.000
> +auth1.xs4all.nl 131.188.3.220    2 u   33   64    7    9.439   -1.346   1.312
> +ntp1.nl.uu.net  .GPS.            1 u   33   64    7   14.166   -1.539   5.798
> +ntp3-rz.rrze.un .DCFp.           1 u   31   64    7   28.684   -0.581   2.922
> *ntps1-1.cs.tu-b .PPS.            1 u   31   64    7   28.729   -0.758   0.601
> +ptbtime1.ptb.de .PTB.            1 u   28   64    7   23.911   -0.817   0.666
> 
> keetweej:/usr/src/linuxpps-current# test/ppstest 1
> found PPS source #1 "pps_8250_1" on "/dev/ttyS1"
> nothing!

When the NTPD starts what does it say about _which_ PPS source it
uses? I refere to this line of code:

   msyslog(LOG_INFO, "refclock: found PPS source #%d \"%s\" on \"%s\"", fd, path, id);

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060803/c3e7f57e/attachment.pgp


More information about the LinuxPPS mailing list