xref: /csrg-svn/share/man/man4/man4.vax/dn.4 (revision 61596)
1*61596Sbostic.\" Copyright (c) 1980, 1991, 1993
2*61596Sbostic.\"	The Regents of the University of California.  All rights reserved.
320650Smckusick.\"
447674Scael.\" %sccs.include.redist.man%
520650Smckusick.\"
6*61596Sbostic.\"     @(#)dn.4	8.1 (Berkeley) 06/05/93
747674Scael.\"
847674Scael.Dd
947674Scael.Dt DN 4 vax
1047674Scael.Os BSD 4
1147674Scael.Sh NAME
1247674Scael.Nm dn
1347674Scael.Nd
1447674Scael.Tn DN-11
1547674Scaelautocall unit interface
1647674Scael.Sh SYNOPSIS
1747674Scael.Cd "device dn0 at uba? csr 0160020 vector dnintr"
1847674Scael.Sh DESCRIPTION
1920651SmckusickThe
2047674Scael.Nm dn
2147674Scaeldevice provides an interface through a
2247674Scael.Tn DEC
2347674Scael.Tn DN-11
2447674Scael(or equivalent
2547674Scaelsuch as the Able Quadracall) to an auto-call unit
2647674Scael.Pq Tn ACU .
2720651SmckusickTo place an outgoing call one forks a sub-process which
2820651Smckusickopens the appropriate call unit file,
2947674Scael.Pa /dev/cua?
3020651Smckusickand writes the phone number on it.  The parent process
3120651Smckusickthen opens the corresponding modem line
3247674Scael.Pa /dev/cul? .
3320651SmckusickWhen the connection has been
3447674Scaelestablished, the open on the modem line
3547674Scael.Pa /dev/cul?
3620651Smckusickwill return and the process will be connected.
3720651SmckusickA timer is normally used to timeout the opening of
3820651Smckusickthe modem line.
3947674Scael.Pp
4020651SmckusickThe codes for the phone numbers are:
4147674Scael.Bl -column xxxx -offset indent
4247674Scael0-9	number to be dialed
4320651Smckusick*	dial * (`:' is a synonym)
4420651Smckusick#	dial # (`;' is a synonym)
4520651Smckusick\-	delay 20 milliseconds
4647674Scael<	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
4947674Scael.El
5047674Scael.Pp
5147674ScaelThe phone number to be dialed must be presented as one contiguous string.
5247674Scael.Pp
5320651SmckusickBy convention, even numbered call units are for 300 baud
5420651Smckusickmodem lines, while odd numbered units are for 1200 baud lines.
5520651SmckusickFor example,
5647674Scael.Pa /dev/cua0
5720651Smckusickis associated with a 300 baud modem line,
5847674Scael.Pa /dev/cul0 ,
5920651Smckusickwhile
6047674Scael.Pa /dev/cua1
6120651Smckusickis associated with a 1200 baud modem line,
6247674Scael.Pa /dev/cul1 .
6347674ScaelFor devices such as the Quadracall which simulate multiple
6447674Scael.Tn DN-11
6520651Smckusickunits, the minor device indicates which outgoing modem to use.
6647674Scael.Sh FILES
6747674Scael.Bl -tag -width /dev/cul? -compact
6847674Scael.It Pa /dev/cua?
6947674Scaelcall units
7047674Scael.It Pa /dev/cul?
7147674Scaelassociated modem lines
7247674Scael.El
7347674Scael.Sh DIAGNOSTICS
7420651SmckusickTwo error numbers are of interest at open time.
7547674Scael.Bl -tag -width EBUSYxx
7647674Scael.It Bq Er EBUSY
7720651SmckusickThe dialer is in use.
7847674Scael.It Bq Er ENXIO
7920651SmckusickThe device doesn't exist, or there's no power to it.
8047674Scael.El
8147674Scael.Sh SEE ALSO
8247674Scael.Xr tip 1
8347674Scael.Sh HISTORY
8447674ScaelA
8547674Scael.Nm
8647674Scaeldriver appeared in
8747674Scael.At v6 .
88