Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2007 17:30:42 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Tim Judd <tjudd2k@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: COM1 problems
Message-ID:  <6.0.0.22.2.20070603172948.02398cb0@mail.computinginnovations.com>
In-Reply-To: <778301.53413.qm@web62412.mail.re1.yahoo.com>

index | next in thread | previous in thread | raw e-mail

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.



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20070603172948.02398cb0>