COM1 problems

Roland Smith rsmith at xs4all.nl
Sun Jun 3 08:12:02 UTC 2007


On Sun, Jun 03, 2007 at 01:01:38AM -0700, 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...

Look at sio(8), under FILES; the callin ports at /dev/ttyd?.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070603/58029e47/attachment.pgp


More information about the freebsd-questions mailing list