[LinuxPPS] PPS with Oncore problem

Robert Diak rdiak at robertdiak.net
Tue Sep 2 18:19:42 CEST 2014


Hello.
What mean this line ?
pps pps0: timeout 0.000000000

This is wrong ?

Sep  2 18:14:21 vega ntpd[24753]: ONCORE[1]: 3618663260.999975086 2014 
245 16 14 21 20 rstat   08 dop  0.0 nsat  7,6 traim 1,0,0 sigma  1 
neg-sawtooth  48 sat 88888800
Sep  2 18:14:21 vega kernel: [7093120.720049] pps pps0: PPS_FETCH
Sep  2 18:14:21 vega kernel: [7093120.720056] pps pps0: timeout 0.000000000
Sep  2 18:14:21 vega kernel: [7093120.720060] pps pps0: PPS_GETCAP
Sep  2 18:14:21 vega kernel: [7093120.720063] pps pps0: PPS_GETPARAMS
Sep  2 18:14:21 vega kernel: [7093120.720067] pps pps0: PPS_SETPARAMS
Sep  2 18:14:22 vega kernel: [7093121.148016] pps pps0: PPS event at 
1773205287
Sep  2 18:14:22 vega kernel: [7093121.148023] pps pps0: PPS event at 
1409674461.999977219
Sep  2 18:14:22 vega kernel: [7093121.148027] pps pps0: capture assert
seq #7093120


Why ntptime show zero values for pps ?

ntp_gettime() returns code 0 (OK)
   time d7b06bcd.67e72970  Tue, Sep  2 2014 18:16:13.405, (.405871902),
   maximum error 76516 us, estimated error 16 us
ntp_adjtime() returns code 0 (OK)
   modes 0x0 (),
   offset 0.000 us, frequency 0.000 ppm, interval 4 s,
   maximum error 76516 us, estimated error 16 us,
   status 0x2001 (PLL,NANO),
   time constant 3, precision 0.001 us, tolerance 500 ppm,
   pps frequency 0.000 ppm, stability 0.000 ppm, jitter 0.000 us,
   intervals 0, jitter exceeded 0, stability exceeded 0, errors 0.


My configuration:

My file ntp.conf

server 127.127.30.1 minpoll 4 prefer

My file ntp.oncore.0

MODE 1
LON 17 04.394391667  #insert your own longitude here
LAT 52 16.612883333  #insert your own lattitude here
HT 124.58 M #insert your own GPS height here
DELAY 80 NS

Directory /dev/
oncore.pps.0 -> pps0 ( from PPSAPI )
oncore.serial.0 -> ttyS0


-- 
Pozdrawiam
     SoftSolid
     kom.698780870 gg:3543563
     http://www.cscart.soft-solid.net





More information about the discussions mailing list