]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - html/driver40.htm
Fix compilation with gcc 4.1. This is imported on the vendor branch as it
[FreeBSD/FreeBSD.git] / html / driver40.htm
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">\r
2 <html>\r
3 <head>\r
4 <meta name="generator" content="HTML Tidy, see www.w3.org">\r
5 <title>JJY Receivers</title>\r
6 </head>\r
7 <body>\r
8 <h3>JJY Receivers</h3>\r
9 \r
10 <hr>\r
11 <h4>Synopsis</h4>\r
12 \r
13 Address: 127.127.40.<i>u</i> <br>\r
14 Reference ID: <tt>JJY</tt> <br>\r
15 Driver ID: <tt>JJY</tt> <br>\r
16 Serial Port: <tt>/dev/jjy<i>u</i></tt>; 9600 baud, 8-bits, no\r
17 parity, 1 stop bit \r
18 \r
19 <h4>Description</h4>\r
20 \r
21 <p>This driver supports the following JJY receivers sold in\r
22 Japan.</p>\r
23 \r
24 <ul>\r
25 <li>\r
26 <p>Tristate Ltd. JJY01 <a href=\r
27 "http://www.tristate.ne.jp/rf-clock.htm">\r
28 http://www.tristate.ne.jp/rf-clock.htm</a> (Japanese only)<br>\r
29 Time code format<br>\r
30 </p>\r
31 \r
32 <table>\r
33 <tr>\r
34 <td>Command</td>\r
35 <td>Reply</td>\r
36 </tr>\r
37 \r
38 <tr>\r
39 <td><tt>date&lt;CR&gt;&lt;LF&gt;</tt></td>\r
40 <td><tt>YYYY/MM/DD WWW&lt;CR&gt;&lt;LF&gt;</tt></td>\r
41 </tr>\r
42 \r
43 <tr>\r
44 <td><tt>stim&lt;CR&gt;&lt;LF&gt;</tt></td>\r
45 <td><tt>HH:MM:SS&lt;CR&gt;&lt;LF&gt;</tt></td>\r
46 </tr>\r
47 </table>\r
48 </li>\r
49 \r
50 <li>\r
51 <p>C-DEX Co.,Ltd. JST2000 <a href="http://www.c-dex.co.jp/">\r
52 http://www.c-dex.co.jp/</a> (Japanese only)<br>\r
53 Time code format<br>\r
54 </p>\r
55 \r
56 <table>\r
57 <tr>\r
58 <td>Command</td>\r
59 <td>Reply</td>\r
60 </tr>\r
61 \r
62 <tr>\r
63 <td><tt>&lt;ENQ&gt;1J&lt;ETX&gt;</tt></td>\r
64 <td><tt>&lt;STX&gt;JYYMMDD HHMMSSS&lt;ETX&gt;</tt></td>\r
65 </tr>\r
66 </table>\r
67 </li>\r
68 </ul>\r
69 \r
70 <p>JJY is the radio station which transmites the JST (Japan\r
71 Standard Time) in long wave radio. The station JJY is operated by\r
72 the Communication Research Laboratory. An operating announcement\r
73 and some information are avaiable from <a href=\r
74 "http://www.crl.go.jp/">http://www.crl.go.jp/</a> (English and\r
75 Japanese)<a href="http://jjy.crl.go.jp/">http://jjy.crl.go.jp/</a>\r
76 (Written in Japanese only</p>\r
77 \r
78 <p>The user is expected to provide a symbolic link to an available\r
79 serial port device. This is typically performed by a command such\r
80 as:</p>\r
81 \r
82 <p><tt>ln -s /dev/ttyS0 /dev/jjy0</tt></p>\r
83 \r
84 <p>Windows NT does not support symbolic links to device files.\r
85 COM<i>X</i>: is the unit used by the driver, based on the refclock\r
86 unit number, where unit 1 corresponds to COM1: and unit 3\r
87 corresponds to COM3:</p>\r
88 \r
89 <h4>Monitor Data</h4>\r
90 \r
91 <p>The driver writes each timecode as received to the <tt>\r
92 clockstats</tt> file.</p>\r
93 \r
94 <h4>Fudge Factors</h4>\r
95 \r
96 <dl>\r
97 <dt><tt>time1 <i>time</i></tt></dt>\r
98 \r
99 <dd>Specifies the time offset calibration factor, in seconds and\r
100 fraction, with default 0.0.</dd>\r
101 \r
102 <dt><tt>time2 <i>time</i></tt></dt>\r
103 \r
104 <dd>Not used by this driver.</dd>\r
105 \r
106 <dt><tt>stratum <i>number</i></tt></dt>\r
107 \r
108 <dd>Specifies the driver stratum, in decimal from 0 to 15, with\r
109 default 0.</dd>\r
110 \r
111 <dt><tt>refid <i>string</i></tt></dt>\r
112 \r
113 <dd>Specifies the driver reference identifier, an ASCII string from\r
114 one to four characters, with default <tt>WWVB</tt>.</dd>\r
115 \r
116 <dt><tt>flag1 0 | 1</tt></dt>\r
117 \r
118 <dd>Not used by this driver.</dd>\r
119 \r
120 <dt><tt>flag2 0 | 1</tt></dt>\r
121 \r
122 <dd>Not used by this driver.</dd>\r
123 \r
124 <dt><tt>flag3 0 | 1</tt></dt>\r
125 \r
126 <dd>Not used by this driver.</dd>\r
127 \r
128 <dt><tt>flag4 0 | 1</tt></dt>\r
129 \r
130 <dd>Enable verbose <tt>clockstats</tt> recording if set.</dd>\r
131 </dl>\r
132 \r
133 <hr>\r
134 <a href="index.htm"><img align="left" src="pic/home.gif" alt=\r
135 "gif"></a> \r
136 \r
137 <address><a href="mailto:mills@udel.edu">David L. Mills\r
138 &lt;mills@udel.edu&gt;</a></address>\r
139 </body>\r
140 </html>\r
141 \r