]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2247] (more) Get rid of the TRAK refclock - deprecated since 2006.
authorHarlan Stenn <stenn@ntp.org>
Fri, 3 Aug 2012 06:51:04 +0000 (02:51 -0400)
committerHarlan Stenn <stenn@ntp.org>
Fri, 3 Aug 2012 06:51:04 +0000 (02:51 -0400)
bk: 501b74d8hSkIuhuDg_ycOPLEkJuj5g

ChangeLog
html/drivers/driver2.html [deleted file]
html/refclock.html
ntpd/ntp_control.c
ntpd/refclock_conf.c

index 460b837f5ecf6f31622b7f6447da4ef7393829e9..e946260f1e1468b5b59edc078e2d7f734e4096fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 2247] (more) Get rid of the TRAK refclock - deprecated since 2006.
 (4.2.7p292) 2012/08/02 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 1545] Note why we are logging the Version string.
 * [Bug 1872] Remove legacy ppsclock fdpps, #ifdef PPS.
diff --git a/html/drivers/driver2.html b/html/drivers/driver2.html
deleted file mode 100644 (file)
index 7e09d99..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-
-       <head>
-               <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
-               <meta name="GENERATOR" content="Mozilla/4.01 [en] (Win95; I) [Netscape]">
-               <title>Trak 8820 GPS Receiver</title>
-               <link href="scripts/style.css" type="text/css" rel="stylesheet">
-       </head>
-
-       <body>
-               <h3>Trak 8820 GPS Receiver</h3>
-               <hr>
-               <h4>Synopsis</h4>
-               <p>Address: 127.127.2.<i>u</i><br>
-                       Reference ID: <tt>GPS</tt><br>
-                       Driver ID: <tt>GPS_TRAK</tt><br>
-                       Serial Port: <tt>/dev/trak<i>u</i></tt>; 9600 baud, 8-bits, no parity<br>
-                       Features: <tt>tty_clk</tt></p>
-               <h4>Description</h4>
-               <p>This driver supports the Trak 8820 GPS Station Clock. The claimed accuracy at the 1-PPS output is 200-300 ns relative to the broadcast signal; however, in most cases the actual accuracy is limited by the precision of the timecode and the latencies of the serial interface and operating system.</p>
-               <p>For best accuracy, this radio requires the <tt>tty_clk</tt> line discipline, which captures a timestamp at the <tt>*</tt> on-time character of the timecode. Using this discipline the jitter is in the order of 1 ms and systematic error about 0.5 ms. If unavailable, the buffer timestamp is used, which is captured at the <tt>\r</tt> ending the timecode message. This introduces a systematic error of 23 character times, or about 24 ms at 9600 bps, together with a jitter well over 8 ms on Sun IPC-class machines.</p>
-               <p>Using the menus, the radio should be set for 9600 bps, one stop bit and no parity. It should be set to operate in computer (no echo) mode. The timecode format includes neither the year nor leap-second warning.</p>
-               <p>In operation, this driver sends a <tt>RQTS\r</tt> request to the radio at initialization in order to put it in continuous time output mode. The radio then sends the following message once each second:</p>
-               <pre>*RQTS U,ddd:hh:mm:ss.0,q&lt;cr&gt;&lt;lf&gt;
-on-time = '*'
-ddd = day of year
-hh:mm:ss = hours, minutes, seconds
-q = quality indicator (phase error), 0-6:
-&nbsp;&nbsp;&nbsp;&nbsp; 0 &gt; 20 us
-&nbsp;&nbsp;&nbsp;&nbsp; 6 &gt; 10 us
-&nbsp;&nbsp;&nbsp;&nbsp; 5 &gt; 1 us
-&nbsp;&nbsp;&nbsp;&nbsp; 4 &gt; 100 ns
-&nbsp;&nbsp;&nbsp;&nbsp; 3 &gt; 10 ns
-&nbsp;&nbsp;&nbsp;&nbsp; 2 &lt; 10 ns</pre>
-               The alarm condition is indicated by <tt>0</tt> at <tt>Q</tt>, which means the radio has a phase error greater than 20 us relative to the broadcast time. The absence of year, DST and leap-second warning in this format is also alarmed.
-               <p>The continuous time mode is disabled using the <tt>RQTX\r</tt> request, following which the radio sends a <tt>RQTX DONE&lt;cr&gt;&lt;lf&gt;</tt> response. In the normal mode, other control and status requests are effective, including the leap-second status request <tt>RQLS&lt;cr&gt;</tt>. The radio responds with <tt>RQLS yy,mm,dd&lt;cr&gt;&lt;lf&gt;</tt>, where <tt>yy,mm,dd</tt> are the year, month and day. Presumably, this gives the epoch of the next leap second, <tt>RQLS 00,00,00</tt> if none is specified in the GPS message. Specified in this form, the information is generally useless and is ignored by the driver.</p>
-               <h4>Monitor Data</h4>
-               <p>When enabled by the <tt>flag4</tt> fudge flag, every received timecode is written as-is to the <tt>clockstats</tt> file.</p>
-               <h4>Fudge Factors</h4>
-               <p></p>
-               <dl>
-                       <dt><tt>time1 <i>time</i></tt>
-                       <dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.
-                       <dt><tt>time2 <i>time</i></tt>
-                       <dd>Not used by this driver.
-                       <dt><tt>stratum <i>number</i></tt>
-                       <dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0.
-                       <dt><tt>refid <i>string</i></tt>
-                       <dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <tt>GPS</tt>.
-                       <dt><tt>flag1 0 | 1</tt>
-                       <dd>Not used by this driver.
-                       <dt><tt>flag2 0 | 1</tt>
-                       <dd>Not used by this driver.
-                       <dt><tt>flag3 0 | 1</tt>
-                       <dd>Not used by this driver.
-                       <dt><tt>flag4 0 | 1</tt>
-                       <dd>Not used by this driver.
-                               <p>Additional Information</p>
-                               <p><a href="../refclock.html">Reference Clock Drivers</a></p>
-               </dl>
-               <hr>
-               <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
-       </body>
-
-</html>
index 020718ef79ccef92f518985bb910a070d02b6c0d..365e9a3767ed90a28b9f4142ce222c803874438f 100644 (file)
@@ -41,7 +41,6 @@
 <p>Following is a list showing the type and title of each driver currently implemented. The compile-time identifier for each is shown in parentheses. Click on a selected type for specific description and configuration documentation, including the clock address, reference ID, driver ID, device name and serial line speed. For those drivers without specific documentation, please contact the author listed in the <a href="copyright.html">Copyright Notice</a> page.</p>
 <ul>
   <li class="inline"><a href="drivers/driver1.html">Type 1</a> Undisciplined Local Clock (<tt>LOCAL</tt>)</li>
-  <li class="inline"><a href="drivers/driver2.html">Type 2</a> Trak 8820 GPS Receiver (<tt>GPS_TRAK</tt>)</li>
   <li class="inline"><a href="drivers/driver3.html">Type 3</a> PSTI/Traconex 1020 WWV/WWVH Receiver (<tt>WWV_PST</tt>)</li>
   <li class="inline"><a href="drivers/driver4.html">Type 4</a> Spectracom WWVB/GPS Receivers (<tt>WWVB_SPEC</tt>)</li>
   <li class="inline"><a href="drivers/driver5.html">Type 5</a> TrueTime GPS/GOES/OMEGA Receivers (<tt>TRUETIME</tt>)</li>
index cef3eae621bf7aea34c08d5929ab7b2f204b8219..3cfb164bb81131ff3e23170eaa5b685b3124ee46 100644 (file)
@@ -688,7 +688,7 @@ static const u_char clocktypes[] = {
        CTL_SST_TS_HF,          /* REFCLK_WWV_PST (3) */
        CTL_SST_TS_LF,          /* REFCLK_WWVB_SPECTRACOM (4) */
        CTL_SST_TS_UHF,         /* REFCLK_TRUETIME (5) */
-       CTL_SST_TS_UHF,         /* REFCLK_GOES_TRAK (6) IRIG_AUDIO? */
+       CTL_SST_TS_UHF,         /* REFCLK_IRIG_AUDIO (6) */
        CTL_SST_TS_HF,          /* REFCLK_CHU (7) */
        CTL_SST_TS_LF,          /* REFCLOCK_PARSE (default) (8) */
        CTL_SST_TS_LF,          /* REFCLK_GPS_MX4200 (9) */
index cbb20b3b973cf56f39bd8fd7699328d386ca3450..d56bf0a010eeed2c7d735c50046c6b3a64499044 100644 (file)
@@ -24,12 +24,6 @@ extern       struct refclock refclock_local;
 #define        refclock_local  refclock_none
 #endif
 
-#if 0 && defined(CLOCK_TRAK) && defined(PPS)
-extern struct refclock refclock_trak;
-#else
-#define        refclock_trak   refclock_none
-#endif
-
 #ifdef CLOCK_PST
 extern struct refclock refclock_pst;
 #else