*BSD News Article 18950


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!mv!k8lt.ampr.org!glg
From: glg@k8lt.ampr.org (Gary L. Grebus)
Subject: Working bidir support for sio driver?
Organization: Mostly disorganized
Message-ID: <1993Jul27.045051.215@k8lt.ampr.org>
Date: Tue, 27 Jul 93 04:50:51 GMT
Lines: 35

Does anyone have patches that fix the patchkit 0.2.4 sio driver to actually
work in bidirectional mode?  The cgd bidir com driver worked reliably
at patchkit 0.2.2.  Since that driver didn't seem to work at pk 0.2.4,
I've tried to use the "official" driver, without much success.  The problems
include:
	
    No ports at all seen with an AST/4 board installed (Wilko Bulte's patch
    fixed this, but why is the probe routine less robust than it
    used to be?)
	
    DTR not dropped long enough when a dialout closes the port. I've been
    able to work around this.

    When dialout closes the port, the pending open seems to complete
    (getty goes from sleeping on comdcd to ttyin).

    Driver seems to sometimes miss modem state changes (getty sleeping
    on comdcd even though the modem has raised carrier detect).

    The line (or getty) intermittantly gets into a state such that a dialin
    gets a garbled login message (like wrong baud rate/parity etc).
    Killing /restarting getty doesn't help.  Trying different parity,
    character size, stop bits doesn't help either.

    Serial mouse no longer works (appears totally dead).  

I've been attempting to fix some of this, without much success.  Anybody
have any ideas before I roll back to a previous patchkit level?

	/gary
-- 
Gary L. Grebus, 16 North Mason Rd., Brookline, NH  03033-2452
Home:  glg@k8lt.ampr.org  (decvax!balrog!glg)
Work:  grebus@isis1.enet.dec.com
Ham Packet: K8LT @ WA1PHY.MA