xref: /freebsd/contrib/ntp/html/drivers/driver38.html (revision cc16dea626cf2fc80cde667ac4798065108e596c)
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4
5	<head>
6		<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
7		<title>hopf clock drivers by ATLSoft</title>
8		<link href="scripts/style.css" type="text/css" rel="stylesheet">
9	</head>
10
11	<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
12		<h1><font face="Arial"><i><blink><font size="5">hopf</font></blink></i><font size="+2"> </font><font size="3">Serial Line Receivers (6021 and&nbsp; kompatible)</font></font></h1>
13		<hr>
14		<h2><font size="+1">Synopsis</font></h2>
15		<table width="100%">
16			<tr>
17				<td>
18					<table bgcolor="#C0C0C0">
19						<tr>
20							<td height="21">
21								<div align="right">
22									<tt>Address:&nbsp;&nbsp;</tt></div>
23							</td>
24							<td><b>127.127.38.<i>X</i></b></td>
25						</tr>
26						<tr>
27							<td height="1">
28								<div align="right">
29									<tt>Reference ID:&nbsp;&nbsp;</tt></div>
30							</td>
31							<td height="1"><a name="REFID"></a><b>.hopf. </b>(default)<b>, GPS, DCF</b></td>
32						</tr>
33						<tr>
34							<td height="21">
35								<div align="right">
36									<tt>Driver ID:&nbsp;&nbsp;</tt></div>
37							</td>
38							<td height="21"><b>HOPF_S</b></td>
39						</tr>
40						<tr>
41							<td height="16">
42								<div align="right">
43									<tt>Serial Port:&nbsp;&nbsp;</tt></div>
44							</td>
45							<td height="16"><b>/dev/hopfclock<i>X</i></b></td>
46						</tr>
47						<tr>
48							<td height="23">
49								<div align="right">
50									<tt><font size="+1">Serial I/O</font>:&nbsp;&nbsp;</tt></div>
51							</td>
52							<td height="23"><b>9600 baud, 8-bits, 1-stop, no parity</b></td>
53						</tr>
54					</table>
55				</td>
56				<td align="center"><img src="../pic/fg6021.gif" alt="gif" height="207" width="238" border="0"></td>
57			</tr>
58		</table>
59		<hr>
60		<h2><font size="+1">Description</font></h2>
61		<p>The <b>refclock_hopf_serial</b> driver supports <a href="http://www.hopf.com">hopf electronic receivers</a> with serial Interface kompatibel 6021.<br>
62		</p>
63		<p>Additional software and information about the software drivers is available from: <a href="http://www.ATLSoft.de/ntp">http://www.ATLSoft.de/ntp</a>.<br>
64		</p>
65		<p>Latest NTP driver source, executables and documentation is maintained at: <a href="http://www.ATLSoft.de/ntp">http://www.ATLSoft.de/ntp</a></p>
66		<hr>
67		<h2><font size="+1">Operating System Compatibility</font></h2>
68		<p align="left">The hopf clock driver has been tested on the following software and hardware platforms:<br>&nbsp;</p>
69		<table bgcolor="#C0C0C0">
70			<tr>
71				<td valign="CENTER" nowrap width="23%">
72					<p align="left"><b>Platform</b></p>
73				</td>
74				<td valign="CENTER" nowrap>
75					<p align="left"><b>Operating System</b></p>
76				</td>
77			</tr>
78			<tr>
79				<td valign="CENTER" nowrap width="23%">
80					<p align="left">i386 (PC)&nbsp;</p>
81				</td>
82				<td valign="CENTER" nowrap>
83					<p align="left">Linux</p>
84				</td>
85			</tr>
86			<tr>
87				<td nowrap>
88					<p align="left">i386 (PC)&nbsp;</p>
89				</td>
90				<td nowrap>
91					<p align="left">Windows NT</p>
92				</td>
93			</tr>
94			<tr>
95				<td nowrap>
96					<p align="left">i386 (PC)&nbsp;</p>
97				</td>
98				<center>
99					<td nowrap>Windows 2000</td>
100				</center>
101			</tr>
102		</table>
103		<hr>
104		<h2><font size="+1">O/S Serial Port Configuration</font></h2>
105		The driver attempts to open the device <b><tt><a href="#REFID">/dev/hopfclock<i>X</i></a></tt></b> where <i><b>X</b></i> is the NTP refclock unit number as defined by the LSB of the refclock address.&nbsp; Valid refclock unit numbers are 0 - 3.
106		<p>The user is expected to provide a symbolic link to an available serial port device.&nbsp; This is typically performed by a command such as:</p>
107		<blockquote>
108			<tt>ln -s /dev/ttyS0 /dev/hopfclock0</tt></blockquote>Windows NT does not support symbolic links to device files.&nbsp;<br>
109		<b>COMx</b>: is used by the driver, based on the refclock unit number, where <b>unit 1</b> corresponds to <b>COM1</b>: and <b>unit 3</b> corresponds to <b>COM3</b>:<br>&nbsp;
110		<hr>
111		<h2><font size="+1">Fudge Factors</font></h2>
112		<dl>
113			<dt><b><a name="time1"></a><tt><font size="+1"><a href="#Configuration">time1 <i>time</i></a></font></tt></b>
114			<dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0. Should be set to 20 milliseconds to correct serial line and operating system delays incurred in capturing time stamps from the synchronous packets.
115			<dt><tt><font size="+1"><a href="#REFID"><b>refid <i>string</i></b></a></font></tt>
116			<dd>Specifies the driver reference identifier, <b>GPS </b><i>or</i> <b>DCF</b>.
117			<dt><tt><font size="+1"><b>flag1 0 | 1</b></font></tt>
118			<dd>When set to 1, driver sync's even if only crystal driven.
119		</dl>
120		<hr>
121		<h2><a name="DataFormat"></a><font size="+1">Data Format</font></h2>
122		<p>as specified in clock manual under pt. <u>[ <span style="font-size:10.0pt;font-family: Arial;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;; mso-ansi-language:EN-GB;mso-fareast-language:DE;mso-bidi-language:AR-SA" lang="EN-GB"><b>Data String for NTP</b> ( <b><i>Network Time Protocol </i></b>) </span>]</u></p>
123		<hr>
124		<h3>Questions or Comments:</h3>
125		<p><a href="mailto:altmeier@atlsoft.de">Bernd Altmeier</a><a href="http://www.ATLSoft.de"><br>Ing.-B&uuml;ro f&uuml;r Software www.ATLSoft.de</a></p>
126		<p>(last updated 02/28/2001)<br>&nbsp;</p>
127		<hr>
128		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
129	</body>
130
131</html>