blob: e479ac3bb23e5bd57b0890b55a473d6a9dd1a234 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
<table class="head">
<tr>
<td class="head-ltitle">DN(4)</td>
<td class="head-vol">Device Drivers Manual (vax)</td>
<td class="head-rtitle">DN(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">dn</code> — <span class="Nd">DN-11 serial
autocall unit interface</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">dn0 at uba? csr 0160020 vector dnintr</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">NOTE: This driver has not been ported from
<span class="Ux">4.4BSD</span> yet.</p>
<p class="Pp">The <code class="Nm">dn</code> device provides an interface
through a DEC DN-11 (or equivalent such as the Able Quadracall) to an
auto-call unit (ACU). To place an outgoing call one forks a sub-process
which opens the appropriate call unit file,
<span class="Pa">/dev/cua?</span> and writes the phone number on it. The
parent process then opens the corresponding modem line
<span class="Pa">/dev/cul?</span>. When the connection has been established,
the open on the modem line <span class="Pa">/dev/cul?</span> will return and
the process will be connected. A timer is normally used to timeout the
opening of the modem line.</p>
<p class="Pp">The codes for the phone numbers are:</p>
<table class="Bl-column Bd-indent">
<tr>
<td>0-9</td>
<td>number to be dialed</td>
</tr>
<tr>
<td>*</td>
<td>dial * (`:' is a synonym)</td>
</tr>
<tr>
<td>#</td>
<td>dial # (`;' is a synonym)</td>
</tr>
<tr>
<td>-</td>
<td>delay 20 milliseconds</td>
</tr>
<tr>
<td><</td>
<td>end of phone number (`e' is a synonym)</td>
</tr>
<tr>
<td>=</td>
<td>delay for a second dial tone (`w' is a synonym)</td>
</tr>
<tr>
<td>f</td>
<td>force a hangup of any existing connection</td>
</tr>
</table>
<p class="Pp">The phone number to be dialed must be presented as one contiguous
string.</p>
<p class="Pp">By convention, even numbered call units are for 300 baud modem
lines, while odd numbered units are for 1200 baud lines. For example,
<span class="Pa">/dev/cua0</span> is associated with a 300 baud modem line,
<span class="Pa">/dev/cul0</span>, while <span class="Pa">/dev/cua1</span>
is associated with a 1200 baud modem line,
<span class="Pa">/dev/cul1</span>. For devices such as the Quadracall which
simulate multiple DN-11 units, the minor device indicates which outgoing
modem to use.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<dl class="Bl-tag Bl-compact">
<dt><span class="Pa">/dev/cua?</span></dt>
<dd>call units</dd>
<dt><span class="Pa">/dev/cul?</span></dt>
<dd>associated modem lines</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
<p class="Pp">Two error numbers are of interest at open time.</p>
<dl class="Bl-tag">
<dt>[<code class="Er">EBUSY</code>]</dt>
<dd>The dialer is in use.</dd>
<dt>[<code class="Er">ENXIO</code>]</dt>
<dd>The device doesn't exist, or there's no power to it.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">tip(1)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">A <code class="Nm">dn</code> driver appeared in
<span class="Ux">Version 6 AT&T UNIX</span>.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">June 5, 1993</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|