xref: /original-bsd/share/man/man4/man4.vax/dn.4 (revision 2852c678)
1.\" Copyright (c) 1980, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)dn.4	6.2 (Berkeley) 03/27/91
7.\"
8.Dd
9.Dt DN 4 vax
10.Os BSD 4
11.Sh NAME
12.Nm dn
13.Nd
14.Tn DN-11
15autocall unit interface
16.Sh SYNOPSIS
17.Cd "device dn0 at uba? csr 0160020 vector dnintr"
18.Sh DESCRIPTION
19The
20.Nm dn
21device provides an interface through a
22.Tn DEC
23.Tn DN-11
24(or equivalent
25such as the Able Quadracall) to an auto-call unit
26.Pq Tn ACU .
27To place an outgoing call one forks a sub-process which
28opens the appropriate call unit file,
29.Pa /dev/cua?
30and writes the phone number on it.  The parent process
31then opens the corresponding modem line
32.Pa /dev/cul? .
33When the connection has been
34established, the open on the modem line
35.Pa /dev/cul?
36will return and the process will be connected.
37A timer is normally used to timeout the opening of
38the modem line.
39.Pp
40The codes for the phone numbers are:
41.Bl -column xxxx -offset indent
420-9	number to be dialed
43*	dial * (`:' is a synonym)
44#	dial # (`;' is a synonym)
45\-	delay 20 milliseconds
46<	end of phone number (`e' is a synonym)
47=	delay for a second dial tone (`w' is a synonym)
48f	force a hangup of any existing connection
49.El
50.Pp
51The phone number to be dialed must be presented as one contiguous string.
52.Pp
53By convention, even numbered call units are for 300 baud
54modem lines, while odd numbered units are for 1200 baud lines.
55For example,
56.Pa /dev/cua0
57is associated with a 300 baud modem line,
58.Pa /dev/cul0 ,
59while
60.Pa /dev/cua1
61is associated with a 1200 baud modem line,
62.Pa /dev/cul1 .
63For devices such as the Quadracall which simulate multiple
64.Tn DN-11
65units, the minor device indicates which outgoing modem to use.
66.Sh FILES
67.Bl -tag -width /dev/cul? -compact
68.It Pa /dev/cua?
69call units
70.It Pa /dev/cul?
71associated modem lines
72.El
73.Sh DIAGNOSTICS
74Two error numbers are of interest at open time.
75.Bl -tag -width EBUSYxx
76.It Bq Er EBUSY
77The dialer is in use.
78.It Bq Er ENXIO
79The device doesn't exist, or there's no power to it.
80.El
81.Sh SEE ALSO
82.Xr tip 1
83.Sh HISTORY
84A
85.Nm
86driver appeared in
87.At v6 .
88