From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 07:33:04 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 40B4137B401 for ; Fri, 18 Apr 2003 07:33:04 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id D641D43F93 for ; Fri, 18 Apr 2003 07:33:02 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h3IEWn0k006394 for ; Fri, 18 Apr 2003 09:32:50 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Fri, 18 Apr 2003 09:33:01 -0500 (CDT) Message-ID: <54733.63.104.35.130.1050676381.squirrel@email.polands.org> Date: Fri, 18 Apr 2003 09:33:01 -0500 (CDT) From: "Doug Poland" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: help testing serial port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 14:33:04 -0000 Hi, I'm trying to hook up an APC SmartUPS to a 16450 serial port on an old 80486. The box is running 4.8-STABLE and is otherwise up-to-date. apcupsd is telling me that it cannot communicate with the UPS via the serial port. Both the cable and UPS are fine, I can commuicate with the UPS with the same cable on another 80486 with a 16550A serial port. Also, the apcupsd.conf has been successfully tested on another machine. How can I test the serial port itself to see if it's working? I tried cu -s 2400 -e -o -h -l /dev/cuaa0 and said it was connected. I exited cu but now cannot attach ( cu: /dev/cuaa0: Line in use ). Obviously I don't understand the fundamentals and tools necessary to communicate with a serial port. The handbook and list archives haven't been much help. Could someone point me to a FAQ/archive/tutorial on how to debug a serial port? -- Regards, Doug