From owner-freebsd-questions@FreeBSD.ORG Sun Jun 3 22:32:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D91216A41F for ; Sun, 3 Jun 2007 22:32:16 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id A76DB13C448 for ; Sun, 3 Jun 2007 22:32:13 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l53MVBd0006129; Sun, 3 Jun 2007 17:31:11 -0500 (CDT) Message-Id: <6.0.0.22.2.20070603172948.02398cb0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 03 Jun 2007 17:30:42 -0500 To: Tim Judd , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <778301.53413.qm@web62412.mail.re1.yahoo.com> References: <778301.53413.qm@web62412.mail.re1.yahoo.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: COM1 problems 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: Sun, 03 Jun 2007 22:32:16 -0000 At 03:01 AM 6/3/2007, Tim Judd wrote: >I'm subscribed to the digest, everyone -- send CC me on every reply >please... > >Hi there, new installation, 6.2-STABLE. > >I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it. > I know it talks with it, because it has in the past. The problem I'm >getting is that NUT is just filling the screen with errors, tty >overflows, and various problems related to communication on that port >with the UPS. > >Looking at NUT's website, they say the UPS communicates at 2400 baud >8N1 and I'd like to believe that. I tested without specifying a speed: ># tip com1 >and didn't get anything.. waited 30 seconds or so. After reading >NUT's website, I tried: ># tip -2400 com1 >and got binary data (not readable information, but data none-the-less). > >The kernel reports the port as sio0, but sio0 doesn't exist in /dev >the only serial port I see is cuad0{,.init,.lock} and that seems to be >hard-coded by some init script (but I don't know where). cuad* also is >said to be a dialout line, not a generic com device. /etc/remote does >indicate it is a generic device in the sense it will just pass >input/output... > >How can I configure /dev/cuad0 to be 2400 baud fixed? > >thanks for any tips and pointers....it's been a while since I've dealt >with serial ports. I have a similar setup with no issues. You do need to be sure you have the correct nut driver for your UPS, and the cable tight. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.