[LinuxPPS] Synchronizing a ZDA message with NTP using linuxPPS

Divi.Oillo at ifremer.fr Divi.Oillo at ifremer.fr
Sat Mar 20 17:31:01 CET 2010


Hi,
Thanks for the reply.

I have change ntp.conf:
#use only pps
server 127.127.22.0 minpoll 4 maxpoll 4
fudge 127.127.22.0 flag2 1

techsas:~> ntpd -n -d
addto_syslog: Listening on routing socket on fd #24 for interface updates
peer_clear: at 0 next 1 associd 20986 refid INIT
event at 0 PPS(0) 8011 81 mobilize assoc 20986
newpeer: 127.0.0.1->127.127.22.0 mode 3 vers 4 poll 4 4 flags 0x9 0x1  
ttl 0 key 00000000
event at 0 0.0.0.0 c016 06 restart
event at 0 0.0.0.0 c012 02 freq_set kernel 9.466 PPM
refclock_transmit: at 1 127.127.22.0
refclock_transmit: at 17 127.127.22.0
refclock_transmit: at 33 127.127.22.0


techsas:~> dmesg
[  693.584158] PPS event on source 0 at 1269098227.935781956
[  693.584166] capture clear seq #676 for source 0
[  693.584174] PPS clear at 4295006654 on source #0
[  693.924737] PPS_FETCH: source 0
[  693.924745] timeout 0.000000000
[  694.083963] PPS event on source 0 at 1269098228.435599792
[  694.083970] capture assert seq #677 for source 0
[  694.083978] PPS assert at 4295006704 on source #0
techsas:~> ntpq -p
      remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
  PPS(0)          .PPS.            0 l    -   16    0    0.000    0.000   0.000

Does it mean that ntp is working with PPS?

Regards


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the LinuxPPS mailing list