From owner-freebsd-questions@FreeBSD.ORG Fri Dec 12 13:45:16 2003 Return-Path: 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 4DED116A4CE for ; Fri, 12 Dec 2003 13:45:16 -0800 (PST) Received: from worldvenue.org (mail.worldvenue.org [206.53.239.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 580F843D32 for ; Fri, 12 Dec 2003 13:45:14 -0800 (PST) (envelope-from skidmore@worldvenue.org) Received: from [206.53.239.229] (worldvenue.org [206.53.239.229]) by worldvenue.org (Postfix) with ESMTP id 8B7218B for ; Fri, 12 Dec 2003 16:45:13 -0500 (EST) From: Barry Skidmore To: FreeBSD Mailing List Content-Type: text/plain Message-Id: <1071265513.770.9.camel@worldvenue.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 12 Dec 2003 16:45:13 -0500 Content-Transfer-Encoding: 7bit Subject: Serial Port /dev for apcupsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: skidmore@worldvenue.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 21:45:16 -0000 I am purchasing a APC Smart-UPS 420VA (with serial interface) for use with apcupsd PORTVERSION=3.10.6 on a 5.1-RELEASE system, and have a question about the correct /dev to specify in apcupsd.conf. My machine has one, standard serial port. >From the Handbook, there appear to be two options, both of which exist in /dev. >From the Handbook: * Call-in ports are named /dev/ttydN where N is the port number, starting from zero. Generally, you use the call-in port for terminals. Call-in ports require that the serial line assert the data carrier detect (DCD) signal to work correctly. * Call-out ports are named /dev/cuaaN. You usually do not use the call-out port for terminals, just for modems. You may use the call-out port if the serial cable or the terminal does not support the carrier detect signal. Which is the correct /dev to use in apcupsd.conf? Thanks, Barry