xref: /csrg-svn/share/man/man4/man4.vax/dn.4 (revision 47674)
1*47674Scael.\" Copyright (c) 1980, 1991 Regents of the University of California.
2*47674Scael.\" All rights reserved.
320650Smckusick.\"
4*47674Scael.\" %sccs.include.redist.man%
520650Smckusick.\"
6*47674Scael.\"     @(#)dn.4	6.2 (Berkeley) 03/27/91
7*47674Scael.\"
8*47674Scael.Dd
9*47674Scael.Dt DN 4 vax
10*47674Scael.Os BSD 4
11*47674Scael.Sh NAME
12*47674Scael.Nm dn
13*47674Scael.Nd
14*47674Scael.Tn DN-11
15*47674Scaelautocall unit interface
16*47674Scael.Sh SYNOPSIS
17*47674Scael.Cd "device dn0 at uba? csr 0160020 vector dnintr"
18*47674Scael.Sh DESCRIPTION
1920651SmckusickThe
20*47674Scael.Nm dn
21*47674Scaeldevice provides an interface through a
22*47674Scael.Tn DEC
23*47674Scael.Tn DN-11
24*47674Scael(or equivalent
25*47674Scaelsuch as the Able Quadracall) to an auto-call unit
26*47674Scael.Pq Tn ACU .
2720651SmckusickTo place an outgoing call one forks a sub-process which
2820651Smckusickopens the appropriate call unit file,
29*47674Scael.Pa /dev/cua?
3020651Smckusickand writes the phone number on it.  The parent process
3120651Smckusickthen opens the corresponding modem line
32*47674Scael.Pa /dev/cul? .
3320651SmckusickWhen the connection has been
34*47674Scaelestablished, the open on the modem line
35*47674Scael.Pa /dev/cul?
3620651Smckusickwill return and the process will be connected.
3720651SmckusickA timer is normally used to timeout the opening of
3820651Smckusickthe modem line.
39*47674Scael.Pp
4020651SmckusickThe codes for the phone numbers are:
41*47674Scael.Bl -column xxxx -offset indent
42*47674Scael0-9	number to be dialed
4320651Smckusick*	dial * (`:' is a synonym)
4420651Smckusick#	dial # (`;' is a synonym)
4520651Smckusick\-	delay 20 milliseconds
46*47674Scael<	end of phone number (`e' is a synonym)
4720651Smckusick=	delay for a second dial tone (`w' is a synonym)
4820651Smckusickf	force a hangup of any existing connection
49*47674Scael.El
50*47674Scael.Pp
51*47674ScaelThe phone number to be dialed must be presented as one contiguous string.
52*47674Scael.Pp
5320651SmckusickBy convention, even numbered call units are for 300 baud
5420651Smckusickmodem lines, while odd numbered units are for 1200 baud lines.
5520651SmckusickFor example,
56*47674Scael.Pa /dev/cua0
5720651Smckusickis associated with a 300 baud modem line,
58*47674Scael.Pa /dev/cul0 ,
5920651Smckusickwhile
60*47674Scael.Pa /dev/cua1
6120651Smckusickis associated with a 1200 baud modem line,
62*47674Scael.Pa /dev/cul1 .
63*47674ScaelFor devices such as the Quadracall which simulate multiple
64*47674Scael.Tn DN-11
6520651Smckusickunits, the minor device indicates which outgoing modem to use.
66*47674Scael.Sh FILES
67*47674Scael.Bl -tag -width /dev/cul? -compact
68*47674Scael.It Pa /dev/cua?
69*47674Scaelcall units
70*47674Scael.It Pa /dev/cul?
71*47674Scaelassociated modem lines
72*47674Scael.El
73*47674Scael.Sh DIAGNOSTICS
7420651SmckusickTwo error numbers are of interest at open time.
75*47674Scael.Bl -tag -width EBUSYxx
76*47674Scael.It Bq Er EBUSY
7720651SmckusickThe dialer is in use.
78*47674Scael.It Bq Er ENXIO
7920651SmckusickThe device doesn't exist, or there's no power to it.
80*47674Scael.El
81*47674Scael.Sh SEE ALSO
82*47674Scael.Xr tip 1
83*47674Scael.Sh HISTORY
84*47674ScaelA
85*47674Scael.Nm
86*47674Scaeldriver appeared in
87*47674Scael.At v6 .
88