diff -Pur ntp-4.2.0a+stable/config.h.in ntp-4.2.0a+stable.new/config.h.in --- ntp-4.2.0a+stable/config.h.in 2005-06-10 14:28:00.000000000 -0700 +++ ntp-4.2.0a+stable.new/config.h.in 2005-06-10 14:27:23.000000000 -0700 @@ -48,6 +48,9 @@ /* Forum Graphic GPS datating station driver? */ #undef CLOCK_FG +/* Garmin GPS Handheld Receivers */ +#undef CLOCK_GARMIN + /* TrueTime GPS receiver/VME interface? */ #undef CLOCK_GPSVME diff -Pur ntp-4.2.0a+stable/configure ntp-4.2.0a+stable.new/configure --- ntp-4.2.0a+stable/configure 2005-06-10 14:28:00.000000000 -0700 +++ ntp-4.2.0a+stable.new/configure 2005-06-10 14:27:25.000000000 -0700 @@ -872,6 +872,7 @@ --enable-DATUM s Datum Programmable Time System --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock --enable-FG + Forum Graphic GPS + --enable-GARMIN + Garmin GPS Handheld Receivers --enable-HEATH s Heath GC-1000 WWV/WWVH receiver --enable-HOPFSERIAL + hopf serial clock device --enable-HOPFPCI + hopf 6039 PCI board @@ -22112,6 +22113,25 @@ echo "$as_me:$LINENO: result: $ntp_canshm" >&5 echo "${ECHO_T}$ntp_canshm" >&6 +echo "$as_me:12530: checking Garmin GPS Handheld Receivers" >&5 +echo $ECHO_N "checking Garmin GPS Handheld Receivers... $ECHO_C" >&6 +# Check whether --enable-GARMIN or --disable-GARMIN was given. +if test "${enable_GARMIN+set}" = set; then + enableval="$enable_GARMIN" + ntp_ok=$enableval +else + ntp_ok=$ntp_eac +fi; +if test "$ntp_ok" = "yes"; then + ntp_refclock=yes + cat >>confdefs.h <<\EOF +#define CLOCK_GARMIN 1 +EOF + +fi +echo "$as_me:12546: result: $ntp_ok" >&5 +echo "${ECHO_T}$ntp_ok" >&6 + # Requires modem control echo "$as_me:$LINENO: checking ACTS modem service" >&5 echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6 diff -Pur ntp-4.2.0a+stable/html/drivers/driver45.html ntp-4.2.0a+stable.new/html/drivers/driver45.html --- ntp-4.2.0a+stable/html/drivers/driver45.html 1969-12-31 16:00:00.000000000 -0800 +++ ntp-4.2.0a+stable.new/html/drivers/driver45.html 2005-04-05 10:40:06.000000000 -0700 @@ -0,0 +1,92 @@ + + +
+ +NTP clock driver for Garmin GPS handheld receivers using the Garmin +proprietary protocol. It is based on both documented and undocumented +aspects of the Garmin proprietary protocol. + +
To use this driver, your Garmin GPS handheld receiver must be +configured to use Garmin protocol interface mode, not NMEA. + +
This driver has been written and tested using a Linux based system. +To achieve the best quality results, turn off serial port FIFOs and enable +low latency tty driver processing. In Linux, this is accomplished using +the setserial application (e.g. setserial /dev/gpsu uart 16550 +low_latency). Even better results are obtained with kernel timestamps on +received characters. This is what I have been using for most of my tests. + +
This is a "sloppy" clock but I believe it is possible to recover +sub-millisecond results with a good clock filter. Without an accurate +reference clock, I am unable to provide more quantitative performance +results at this time. + +
I suspect that earlier versions of firmware may not return the +undisciplined oscillator count as part of a date/time response. +This information is needed to recover the higher accuracy results. +Without this undocumented field, the driver will only achieve sub-second +accuracy. I welcome technical support from the manufacturer to achieve +universal support for the entire range of models and firmware versions. + +
This driver has been testing with the following units. +I need feedback from users to populate this list! Check for +updates to this list, driver, and other related software at at NTP Drivers for Garmin +GPS Handheld Receivers + +
* All TrueTime receivers are now supported by one driver, type 5. Types 15 and 25 will be retained only for a limited time and may be reassigned in future.