Date: Sun, 23 Apr 2000 09:56:07 +0200 From: Christian Wittenhorst <wiwi@progon.net> To: freebsd-questions@FreeBSD.ORG Subject: PPS support in FreeBSD 4.0 / ntp 4.0.99i Message-ID: <4.3.1.2.20000423094809.024f8770@>
next in thread | raw e-mail | index | archive | help
Hi... I tried to get PPS and ntp 4.0.99i working on Linux some days ago, but failed miserably. I am now trying to get my Garmin GPS 25/35 with PPS output working under FreeBSD. The PPS signal is connected to pin 10 on the parallel port, the serial NMEA data to serial 0. NMEA works fine, but the PPS signal seems not be recongnised. minbar# /usr/local/bin/ntptime ntp_gettime() returns code 0 (OK) time bcad2a33.c7a4a444 Sun, Apr 23 2000 9:52:19.779, (.779856293), maximum error 63470 us, estimated error 0 us. ntp_adjtime() returns code 0 (OK) modes 0x0 (), offset -18844.142 us, frequency -278.881 ppm, interval 1 s, maximum error 63470 us, estimated error 0 us, status 0x2001 (PLL,NANO), time constant 6, precision 0.001 us, tolerance 496 ppm, minbar# It seems as if the FreeBSD kernel does not perform any PPS processing. The PPS driver has been enabled and the kernel recompiled. - How do I enable PPS processing? - What should the /etc/ntp.conf look like? - What do I have to do to get ntp 4.0 working with PPS? /etc/ntp.conf: logconfig =syncevents +peerevents +sysevents +allclock driftfile /etc/ntp.drift server 127.127.20.0 prefer fudge 127.127.20.0 flag3 1 pps /dev/garmin25.pps.0 assert hardpps server 127.127.22.0 fudge 127.127.22.0 flag3 1 enable auth monitor stats -- progon network engineering - christian wittenhorst gartenstrasse 4, CH-6331 huenenberg/ZG, switzerland mobile: +41 79 4603040, fax: +41 41 7807318 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000423094809.024f8770>