From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 33040201251 for ; Sun, 3 Jun 2012 07:16:14 -0700 (PDT) Received: by obfk16 with SMTP id k16so14455577obf.16 for ; Sun, 03 Jun 2012 07:16:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer:x-gm-message-state; bh=VymJbbhPlvc/+Y33UriV9AAp5bCJUakeiiVsWBTZstw=; b=l9HowKXQ9OsIPKasMIQ7w7eUFcz5b7DMM/r3C7g2qiADTLU8v6dkGafYlsHOW/9zDS tK/zQHzET4y1qhrhX+fK6isxLJK1Q1lsD4E7oMtacxM7X5b5sWyV2AB1SB5iS6f/kqbD sCMXJ7tC7AAdi4ft+InszapZXRNC3dMCnXRGUfK+GAo4OZgRT7vdYTP1sVljrvN0AWwS zk11ibSpOjCbCmZU0rozEs+tpOsKuAI/lxt3+cnD+ZXw3Gcdx2IwzXDCKYO6l8ZLOGqy idcqKSsQU2UgEVuIRZ/U0e7E7Czfb/XkbGb/m6TievaiUo0gHaq+c8a4YcVqITCgw1q3 tWZw== Received: by 10.182.164.69 with SMTP id yo5mr9025369obb.17.1338732972523; Sun, 03 Jun 2012 07:16:12 -0700 (PDT) Received: from kens-macbook.netgate.com (rrcs-24-153-177-138.sw.biz.rr.com. [24.153.177.138]) by mx.google.com with ESMTPS id c6sm6086228obl.22.2012.06.03.07.16.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jun 2012 07:16:11 -0700 (PDT) From: Jim Thompson Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <682FD158-B62B-4D41-A5BF-23F0C6029BA1@netgate.com> Date: Sun, 3 Jun 2012 09:16:10 -0500 To: "thumbgps-devel@lists.bufferbloat.net" Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1463\)) X-Mailer: Apple Mail (2.1463) X-Gm-Message-State: ALoCoQnOCcERZXiqWZIcgs4KDgMJsvqQsqVDnA8qoTN9NTgP04AlJTPQLWUluFZ89ZR0cF0dV63a Subject: [Thumbgps-devel] navisys GR-601W gps on FreeBSD/NTP X-BeenThere: thumbgps-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2012 14:16:15 -0000 after a long night of hacking, here is the result of about a 5 minute = run on FreeBSD 8.3 (a pfSense 2.1 beta that was handy) running on a PC = Engines Alix 3d2 board with the Navisys GR-601W plugged in via USB [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(655): ntpdc -c kern pll offset: 0.0131656 s pll frequency: 25.385 ppm maximum error: 0.025897 s estimated error: 0.006287 s status: 2001 pll nano pll time constant: 4 precision: 1e-09 s frequency tolerance: 496 ppm pps frequency: 24.724 ppm pps stability: 0.000 ppm pps jitter: 0 s calibration interval: 4 s calibration cycles: 0 jitter exceeded: 0 stability exceeded: 0 calibration errors: 0 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(656): ntpdc -c "clockstat = 127.127.20.0" clock address: 127.127.20.0 clock type: Generic NMEA GPS Receiver (20) last event: 0 current status: 0 number of polls: 21 no response to poll: 0 bad format responses: 0 bad data responses: 0 running time: 338 fudge time 1: 0.155000 fudge time 2: 0.000000 stratum: 0 reference ID: GPS fudge flags: 0x5 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(657): ntpdc -c dm remote local st poll reach delay offset disp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D *GPS_NMEA(0) 127.0.0.1 0 16 377 0.00000 0.018658 0.02373 LOCAL(0) 127.0.0.1 10 64 77 0.00000 0.000000 0.43401 .clock.isc.org 192.168.3.166 1 64 77 0.05998 0.045383 0.43512 .199.4.29.166 192.168.3.166 2 64 77 0.04831 0.026922 0.06511 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(658): ntpq -p remote refid st t when poll reach delay offset = jitter = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D *GPS_NMEA(0) .GPS. 0 l 3 16 377 0.000 17.541 = 4.836 LOCAL(0) .LOCL. 10 l 43 64 77 0.000 0.000 = 0.004 +199.4.29.166 64.90.182.55 2 u 39 64 77 48.317 26.922 = 19.527 +clock.isc.org .GPS. 1 u 37 64 77 59.994 45.383 = 10.124 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(659):=20 and after 10 minutes: [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(668): ntpdc -c "clockstat = 127.127.20.0" clock address: 127.127.20.0 clock type: Generic NMEA GPS Receiver (20) last event: 0 current status: 0 number of polls: 42 no response to poll: 0 bad format responses: 0 bad data responses: 0 running time: 681 fudge time 1: 0.155000 fudge time 2: 0.000000 stratum: 0 reference ID: GPS fudge flags: 0x5 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(669): ntpdc -c dm remote local st poll reach delay offset disp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D *GPS_NMEA(0) 127.0.0.1 0 16 377 0.00000 0.026902 0.02632 LOCAL(0) 127.0.0.1 10 64 377 0.00000 0.000000 0.03052 .clock.isc.org 192.168.3.166 1 64 377 0.05960 0.065447 0.03905 .199.4.29.166 192.168.3.166 2 64 377 0.04929 0.070362 0.05154 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(670): ntpq -p remote refid st t when poll reach delay offset = jitter = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D *GPS_NMEA(0) .GPS. 0 l 2 16 377 0.000 14.092 = 10.630 LOCAL(0) .LOCL. 10 l 46 64 377 0.000 0.000 = 0.004 +199.4.29.166 64.90.182.55 2 u 40 64 377 49.289 70.362 = 10.886 +clock.isc.org .GPS. 1 u 39 64 377 59.612 65.447 = 10.469 Note that PPS is not working=20 [2.1-BETA0][root@pfsense-beta.netgate.com]/dev(659): tail = /var/log/ntpd.log=20 3 Jun 09:03:07 ntpd[61833]: synchronized to 199.4.29.166, stratum 2 3 Jun 09:03:07 ntpd[61833]: kernel time sync status change 2001 3 Jun 09:03:20 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device 3 Jun 09:03:23 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device 3 Jun 09:03:23 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device 3 Jun 09:03:25 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device 3 Jun 09:03:46 ntpd[61833]: synchronized to GPS_NMEA(0), stratum 0 3 Jun 09:03:50 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device 3 Jun 09:04:14 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device 3 Jun 09:08:34 ntpd[61833]: refclock_nmea: time_pps_getcap failed: = Inappropriate ioctl for device Will investigate. Jim