*BSD News Article 18490


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!acsc.com!acsc.com!fmayhar
From: fmayhar@acsc.com (Frank Mayhar)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Problems with patchkit 0.2.4
Date: 15 Jul 1993 21:37:44 GMT
Organization: Advanced Computing Systems Company
Lines: 41
Distribution: world
Message-ID: <224in8$fl0@acsc.com>
References: <221u4k$lfn@acsc.com> <1993Jul15.070541.27917@cnplss5.cnps.philips.nl>
Reply-To: fmayhar@acsc.com
NNTP-Posting-Host: cpuserver.acsc.com

In article <1993Jul15.070541.27917@cnplss5.cnps.philips.nl>, rooij@bashful.isp.cft.philips.nl (Guido van Rooij) writes:
|> fmayhar@acsc.com (Frank Mayhar) writes:
|> You should of course get rid of the patches cgd's driver introduced.
|> In the stock termios.h it certainly didn't say that!

Yeah, Jordan Hubbard mentioned something which reminded me of this.  It's now
fixed.

|> >So where is sio3?  I know it's there, I was able to use it before.  I
|> >think it's odd that it's the last port on the card.  Perhaps this is a
|> >problem similar to that which others have seen when using multiport cards.
|> >Suggestions would be helpful here, as well.
|> I think so. Probably the com_scratch register in the last comport
|> is used in some way, and thus breaks the porbing code.

This is my thought as well.  I can't say for certain, though, since I don't
have programming information for the card.

|> >That's still not the real problem, though.  I can use the mouse with XFree
|> >1.2 just fine, so there's no problem there, but when I try to use the sio
|> >port 0, I see dropped characters like mad.  I defined the devices as:
|> What do you mean? A mouse dropping characters?

The mouse is on sio4, and is a 16450.  No problems with it.  The modem
is on /dev/sio00, which is an ASIC emulating a 16550A, running at 38400
bps.  This is the device which is dropping characters.

|> Check the cabling between the modem and the port. It should be a complete
|> nullmodem cable, with RTS/CTS,DTR/DSR! (so at least 7 wires!!) also make
|> sure teh carrier detect is wired!

I haven't had a chance yet to check the cabling (it's on my list), but I
suspect it's fine.  I'll check it tonight, though.  Andrew Chernov sent me
a patch to sio.c to fix the getty problem on dialout (thanks, Andrew!),
but that's only the least of the problems.  The _real_ problem, and the
one making it almost unusable for dialout, are the dropped characters on
/dev/sio00.
-- 
Frank Mayhar  fmayhar@acsc.com
	      Advanced Computing Systems Company
	      3000 S. Robertson Blvd. Suite 400, LA, CA 90034   (310) 815-4858