Subject: hardware flow control on serial ports
To: None <port-i386@NetBSD.ORG>
From: Achyutram Bhamidipaty <ram@cs.arizona.edu>
List: port-i386
Date: 02/26/1995 20:07:18
(BTW, thanks to all the folk who answered my recent questions)

I'm having some trouble with a modem and I'm not really certain what
might be causing it. Basically the problem has to do with sending
files to a remote computer.  I have a 9600 baud modem.  If I set the
modem-computer serial connection at 9600 everything is fine.  However
if I set the connection to 19200 then I have problems (ie lots of
retransmitted packets and timeouts) I like to set the speed to 19200
to take advantage of compression on the modem.  This leads me to
think that there is some flow control problem between the modem and
computer.  Now this is where things get more confusing. The modem
supposedly does hardware flow control (ie rts/cts) by default. I use
c-kermit and have told it to use hardware flow control "set flow-
control rts/cts". In spite of this I still have trouble when the
modem-computer link is at 19200.

This makes me think that flow control is not working correctly. But
I'm really not sure where to look. I really dont want to hook an
oscilliscope up to the serial port to see whats going on.

I figure atleast one of the following must be true:

	- modem does not do hardware flow control properly (the
	  manufacturer claims it does)

	- netbsd/kernel is not doing flow control

	- kermit is not turning it on

I really am not sure how to go about check each one of these...any
ideas would be appreciated.

------

Possibly useful info:
	ATI 9600baud modem
	boca 16550 serial board
	c-kermit 5A
	unpatched netbsd-1.0

Thanks!!
-Ram