brian@SDCSVAX.ARPA (Brian Kantor) (11/14/85)
In article <4134@fritz.UUCP> zemon@fritz.UUCP (Art Zemon) writes: > >For various reasons I have a RS-232 line which is sometimes >connected to another computer and sometimes left just hanging. >When it is connected all is fine. When it is disconnected, the >line "rings" and my VAX is inundated with ~1000 characters per >second input. Poor Felix (the VAX) tries to echo all those >characters and the poor human users complain about a certain >lack of responsiveness. >Is there some device which can be placed in the line to prevent >the ringing but will not interfere with normal operation? We >tried placing 10K resistors between pins 2 and 7 and between 3 >and 7 but this didn't help. I suspect that you have a problem which shows as the floating input to the CD (carrier detect, pin 8) input bouonces and triggers init to start a getty on the line. Your RD (receive data, pin 3) line is probably bouncing too. Depending upon the type of serial port, you may also have problems with RI (ring indicate, pin 22). Much Un*x software ignores RI. It is not completely in keeping with the specification for the RS232 line, but you can usually solve this by connecting 4.7K or 10K resistors from a source of negative voltage (there is one about -12 or -15v supplied to the serial port driver) and each of the affected pins. Sometimes you can find the voltage you need on pin 10 of the DB25, other times you'll have to grab it from a supply rail or one of the power pins of the RS232 line transmitter chip. Since the resistor needs to connect to one of the pins on the receiver chip which is usually close by anyway, its easiest to add it to the bottom of the circuit board right there, assuming there's enough mechanical clearance. I usually stuff it right on the bottom of the board underneath the chips. Look for 1488 and 1489 chips; they are pretty common. This will keep the receive line marking, which is the proper condition for an idle line, and will keep carrier detect false. The resistance value has to be low enough to be a stiff enough voltage to keep the line in the proper sense despite surrounding noise, yet is has to be a high enough resistance to not affect the desired signals when the line is connected to a device. 10K has worked well for me in the past. Your mileage may vary. SUN-2 workstations often also need this fix for the two ports on the CPU board. Same symptoms. Same cure. Generic Disclaimer: Be Careful. If smoke comes out of it, you screwed up and I'm not responsible. If you don't solder well and/or don't feel at ease with electronics, get someone who does to do it for you. Brian Kantor UCSD Office of Academic Computing Network Services Group (619) 452-6865 UCSD B-028, La Jolla, CA 92093 decvax\ brian@ucsd.arpa akgua >--- sdcsvax --- brian ucbvax/ Kantor@Nosc