From owner-freebsd-questions@FreeBSD.ORG Thu Sep 21 16:09:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E76BF16A642 for ; Thu, 21 Sep 2006 16:09:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0FAF43D5F for ; Thu, 21 Sep 2006 16:09:18 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.6) id k8LG94te019520; Thu, 21 Sep 2006 11:09:04 -0500 (CDT) (envelope-from dan) Date: Thu, 21 Sep 2006 11:09:04 -0500 From: Dan Nelson To: Anton Shterenlikht Message-ID: <20060921160904.GB73717@dan.emsphone.com> References: <6.2.5.6.1.20060921193135.0308c080@singnet.com.sg> <20060921150005.GA73717@dan.emsphone.com> <20060921153727.GA20997@mech-aslap33.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060921153727.GA20997@mech-aslap33.men.bris.ac.uk> X-OS: FreeBSD 6.1-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: what happened to /dev/cuaa0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 16:09:30 -0000 In the last episode (Sep 21), Anton Shterenlikht said: > After reading Section 22.2.2.2.2 of the Handbook my understaning is > that the same serial port can be addressed as either /dev/ttydN or > /dev/cuadN. Is that correct? Yes. > I'm confused by the "Call-in" - "Call-out" terminology. I have an > external modem connected to 1st serial port, and I use it as > /dev/ttyd0. Does it mean it becomes a call-in device? The only real difference between the devices is that call-in devices block when you try to open them, and unblock when carrier is detected (i.e. if someone calls into the modem and it's set to auto-answer). When a process is blocked, another process can "steal" the port by opening the callout device, which doesn't block. It's described in the sio manpage, too. -- Dan Nelson dnelson@allantgroup.com