]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
driver8.html, refclock_parse.c:
authorFrank Kardel <kardel@ntp.org>
Fri, 22 Dec 2006 20:35:42 +0000 (20:35 +0000)
committerFrank Kardel <kardel@ntp.org>
Fri, 22 Dec 2006 20:35:42 +0000 (20:35 +0000)
  Bug 746 (RFE): add configuration for Expert mouseCLOCK USB v2.0 as mode 19

bk: 458c419esR_DovIJS_WT8SHfq31Qww

html/drivers/driver8.html
ntpd/refclock_parse.c

index 93cbef9946b6e9af930c659b77ef70944bd30b65..2ffed2a2e323af8184df70ebcb0be8e862e3476c 100644 (file)
@@ -18,7 +18,7 @@
                Serial Port: <tt>/dev/refclock-<i>u</i></tt>; TTY mode according to clock type<br>
                 PPS device: <tt>/dev/refclockpps-<i>u</i></tt>; alternate PPS device (if not available via the serial port)
                <h4>Description</h4>
-               The PARSE driver supports 19 different clock types/configurations. PARSE is actually a multi-clock driver.<br>
+               The PARSE driver supports 20 different clock types/configurations. PARSE is actually a multi-clock driver.<br>
                <br>
                <p>The actual receiver status is mapped into various synchronization states generally used by receivers. The driver is configured to interpret the time codes of Meinberg DCF77 AM receivers, DCF77 FM receivers, Meinberg GPS16x/17x receivers, Trimble SV6 GPS, ELV DCF7000, Schmid, Wharton 400A and low cost receivers (see <a href="#clocklist">list below</a>).</p>
                <p>The reference clock support in NTP contains the necessary configuration tables for those receivers. In addition to supporting several different clock types and up to 4 devices, the processing of a PPS signal is also provided as a configuration option. The PPS configuration option uses the receiver-generated time stamps for feeding the PPS loopfilter control for much finer clock synchronization.</p>
                                <p>This mode works without additional data communication (version, GPS status etc.) and thus should be used with multidrop, heterogeneous multiclient operation.</p>
                                <p><b>Note:</b> mode 18 must not be used with Meinberg PCI cards, use mode 2 instead.<br>
                                <br></p>
+                       <li><b><tt>server 127.127.8.0-3 mode 19</tt></b>
+                               <p><b><tt>Gude Analog- und Digitalsystem GmbH 'Expert mouseCLOCK USB v2.0'</tt></b><br>
+                               <br></p>
+
                </ul>
                <p>Actual data formats and setup requirements of the various clocks can be found in <a href="../parsedata.html">NTP PARSE clock data formats</a>.</p>
                <h4>Operation</h4>
index db66529763e8600049a7a199144cf6177c12fb1b..f24c75c5f344115babdf017093f251d2bd721887 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * /src/NTP/REPOSITORY/ntp4-dev/ntpd/refclock_parse.c,v 4.77 2006/08/05 07:44:49 kardel RELEASE_20060805_A
+ * /src/NTP/REPOSITORY/ntp4-dev/ntpd/refclock_parse.c,v 4.78 2006/12/22 20:08:27 kardel RELEASE_20061222_A
  *
- * refclock_parse.c,v 4.77 2006/08/05 07:44:49 kardel RELEASE_20060805_A
+ * refclock_parse.c,v 4.78 2006/12/22 20:08:27 kardel RELEASE_20061222_A
  *
  * generic reference clock driver for several DCF/GPS/MSF/... receivers
  *
 #include "ieee754io.h"
 #include "recvbuff.h"
 
-static char rcsid[] = "refclock_parse.c,v 4.77 2006/08/05 07:44:49 kardel RELEASE_20060805_A";
+static char rcsid[] = "refclock_parse.c,v 4.78 2006/12/22 20:08:27 kardel RELEASE_20061222_A";
 
 /**===========================================================================
  ** external interface to ntp mechanism
@@ -648,6 +648,11 @@ static poll_info_t wsdcf_pollinfo = { WS_POLLRATE, WS_POLLCMD, WS_CMDSIZE };
 #define CONRAD_BASEDELAY       0.292 /* Conrad receiver @ 50 Baud on a Sun */
 #define CONRAD_DESCRIPTION     "RAW DCF77 CODE (Conrad DCF77 receiver module)"
 
+/* Gude Analog- und Digitalsystem GmbH 'Expert mouseCLOCK USB v2.0' */
+#define GUDE_EMC_USB_V20_SPEED            (B4800)
+#define GUDE_EMC_USB_V20_BASEDELAY        0.425 /* USB serial<->USB converter FTDI232R */
+#define GUDE_EMC_USB_V20_DESCRIPTION      "RAW DCF77 CODE (Expert mouseCLOCK USB v2.0)"
+
 /*
  * TimeBrick receiver
  */
@@ -1317,6 +1322,29 @@ static struct parse_clockinfo
                GPS16X_SAMPLES,
                GPS16X_KEEP
        },
+       {                               /* mode 19 */
+               RAWDCF_FLAGS,
+               NO_POLL,
+               RAWDCF_INIT,
+               NO_EVENT,
+               NO_END,
+               NO_MESSAGE,
+               NO_LCLDATA,
+               RAWDCF_ROOTDELAY,
+               GUDE_EMC_USB_V20_BASEDELAY,
+               DCF_A_ID,
+               GUDE_EMC_USB_V20_DESCRIPTION,
+               RAWDCF_FORMAT,
+               DCF_TYPE,
+               RAWDCF_MAXUNSYNC,
+               GUDE_EMC_USB_V20_SPEED,
+               RAWDCF_CFLAG,
+               RAWDCF_IFLAG,
+               RAWDCF_OFLAG,
+               RAWDCF_LFLAG,
+               RAWDCF_SAMPLES,
+               RAWDCF_KEEP
+       },
 };
 
 static int ncltypes = sizeof(parse_clockinfo) / sizeof(struct parse_clockinfo);
@@ -5707,6 +5735,9 @@ int refclock_parse_bs;
  * History:
  *
  * refclock_parse.c,v
+ * Revision 4.78  2006/12/22 20:08:27  kardel
+ * Bug 746 (RFE): add configuration for Expert mouseCLOCK USB v2.0 as mode 19
+ *
  * Revision 4.77  2006/08/05 07:44:49  kardel
  * support optionally separate PPS devices via /dev/refclockpps-{0..3}
  *