1.\" Copyright (c) 1980, 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by the University of 15.\" California, Berkeley and its contributors. 16.\" 4. Neither the name of the University nor the names of its contributors 17.\" may be used to endorse or promote products derived from this software 18.\" without specific prior written permission. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" from: @(#)dn.4 6.2 (Berkeley) 3/27/91 33.\" $Id: dn.4,v 1.2 1993/08/01 07:36:25 mycroft Exp $ 34.\" 35.Dd March 27, 1991 36.Dt DN 4 vax 37.Os BSD 4 38.Sh NAME 39.Nm dn 40.Nd 41.Tn DN-11 42autocall unit interface 43.Sh SYNOPSIS 44.Cd "device dn0 at uba? csr 0160020 vector dnintr" 45.Sh DESCRIPTION 46The 47.Nm dn 48device provides an interface through a 49.Tn DEC 50.Tn DN-11 51(or equivalent 52such as the Able Quadracall) to an auto-call unit 53.Pq Tn ACU . 54To place an outgoing call one forks a sub-process which 55opens the appropriate call unit file, 56.Pa /dev/cua? 57and writes the phone number on it. The parent process 58then opens the corresponding modem line 59.Pa /dev/cul? . 60When the connection has been 61established, the open on the modem line 62.Pa /dev/cul? 63will return and the process will be connected. 64A timer is normally used to timeout the opening of 65the modem line. 66.Pp 67The codes for the phone numbers are: 68.Bl -column xxxx -offset indent 690-9 number to be dialed 70* dial * (`:' is a synonym) 71# dial # (`;' is a synonym) 72\- delay 20 milliseconds 73< end of phone number (`e' is a synonym) 74= delay for a second dial tone (`w' is a synonym) 75f force a hangup of any existing connection 76.El 77.Pp 78The phone number to be dialed must be presented as one contiguous string. 79.Pp 80By convention, even numbered call units are for 300 baud 81modem lines, while odd numbered units are for 1200 baud lines. 82For example, 83.Pa /dev/cua0 84is associated with a 300 baud modem line, 85.Pa /dev/cul0 , 86while 87.Pa /dev/cua1 88is associated with a 1200 baud modem line, 89.Pa /dev/cul1 . 90For devices such as the Quadracall which simulate multiple 91.Tn DN-11 92units, the minor device indicates which outgoing modem to use. 93.Sh FILES 94.Bl -tag -width /dev/cul? -compact 95.It Pa /dev/cua? 96call units 97.It Pa /dev/cul? 98associated modem lines 99.El 100.Sh DIAGNOSTICS 101Two error numbers are of interest at open time. 102.Bl -tag -width EBUSYxx 103.It Bq Er EBUSY 104The dialer is in use. 105.It Bq Er ENXIO 106The device doesn't exist, or there's no power to it. 107.El 108.Sh SEE ALSO 109.Xr tip 1 110.Sh HISTORY 111A 112.Nm 113driver appeared in 114.At v6 . 115