From owner-freebsd-questions Sun Apr 23 1: 3: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.kpnqwest.ch (mail.eunet.ch [146.228.10.7]) by hub.freebsd.org (Postfix) with ESMTP id 8525237B6F2 for ; Sun, 23 Apr 2000 01:02:53 -0700 (PDT) (envelope-from wiwi@progon.net) Received: from blackhole.progon.net ([195.49.26.100]) by mail.kpnqwest.ch (8.9.3/1.34) via ESMTP id IAA15797 for ; Sun, 23 Apr 2000 08:02:45 GMT env-from (wiwi@progon.net) Message-Id: <4.3.1.2.20000423094809.024f8770@> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sun, 23 Apr 2000 09:56:07 +0200 To: freebsd-questions@FreeBSD.ORG From: Christian Wittenhorst Subject: PPS support in FreeBSD 4.0 / ntp 4.0.99i Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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