*BSD News Article 19358


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: Using the sio ports for terminals w/o modem ctl signals
Message-ID: <1993Aug10.193616.16846@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University, Ogden, UT
References: <1872@dcsc.dla.mil> <CBJnzu.6nG@obiwan.uucp>
Date: Tue, 10 Aug 93 19:36:16 GMT
Lines: 31

In article <CBJnzu.6nG@obiwan.uucp> bob@obiwan.uucp (Bob Willcox) writes:
>What about using sio on locally attached terminals connected through
>a multi-port card (BocaBoard BB1008) that only has TX, RX, RTS &
>CTS signal connections (via RJ-11 connectors)?
[ ... ]
>
>Problem seems that since this board does not provide the DTR & DCD
>lines I can't use the trick of wiring DTR to DCD at the computer
>cable end as I have successfully done with my other serial cards
>(that have full modem control lines).  I have looked through the
>getty and sio code (and read much of this thread) but still do not
>know if setting CLOCAL will solve the problem (or, for that matter,
>exactly how I can effectively set CLOCAL so that it is always on
>for these ports).

Setting CLOCAL is *supposed* to work in this case.  Depending on which of
the revisions of the serial drivers you are using, it will or it won't,
with the highest probability on "won't".

The correct way to handle this is to have a different driver for the board
so that it ignores it before making requirements on the board at all; if the
board provides these signals as "floating", it's a broken board.  From
what I remember of the thing, it doesn't, and you *do* need a different
(or at least indifferent 8-)) driver.


					Terry Lambert
					terry@icarus.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.