*BSD News Article 29230


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!swrinde!ihnp4.ucsd.edu!library.ucla.edu!csulb.edu!csus.edu!netcom.com!mld
From: mld@netcom.com (Matthew Deter)
Subject: Tired of flipping my FORCE CD DIP Switch [FreeBSD]
Message-ID: <mldCo0uur.Iyx@netcom.com>
Keywords: serial modem FreeBSD
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
X-Newsreader: TIN [version 1.2 PL1]
Date: Sun, 10 Apr 1994 02:28:02 GMT
Lines: 31

My FreeBSD 1.0 box has a modem hanging off /dev/tty01.  Fine.  I can
dial out peachy.  I can dial in (getty) peachy.

However.  In order to dial OUT I have to force the Carrier Detect (CD)
high via DIP switch setting on my modem.  cu comes back with an "I/O
write error" if I do not have the CD forced high on the modem.

This wouldn't bug me so much if I could just leave it set that way
(even tho it is a bit silly to have to force things in hardware).
However, in order to get the getty to clue in that I have dialed up, I
have to set the CD force DIP switch LOW.  If I don't, getty gets
confused that CD is high and starts spewing data ("login:" no doubt)
to the modem.  Bad.

This is obviously a Royal Pain. (switching back and forth depending on
dial in or dial out status.)  I am *not* having a getty conflict here.
(solved that problem already)  What am I missing?  I perused the
FAQs and I RTFM'd.  But I can't figure out how to get cu to dial out
without forcing CD high.  (or tip either)

Methinks this is an issue (problem?) with the sio device drivers.  Can
I stty something so that the outgoing cu and tip calls will do the
righ thing with the CD line? (i.e. dial when it isn't forced high)

Any help is greatly appreciated.

-- 
   $$    Matthew Deter
  $$$$   mld@netcom.com
 $$
  $$$$   "The fortune of my spirit is not to be blown into coins of brass
     $$   and flung to the winds as alms for the poor of the spirit."
  $$$$
   $$                              -- from the novel _Anthem_ by Ayn Rand