Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!feeder.chicago.cic.net!chi-news.cic.net!math.ohio-state.edu!jussieu.fr!fdn.fr!r2d2.fdn.org!sphynx.fdn.fr!causse From: causse@sphynx.fdn.fr (Philippe Causse) Subject: Re: Serial port wiring X-Newsreader: TIN [version 1.2 PL2] Organization: individual - paris - france Message-ID: <EAsy1r.np@sphynx.fdn.fr> References: <5mcbhu$m0s@uwm.edu> Date: Mon, 26 May 1997 18:58:38 GMT Lines: 35 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41635 Jason Bacon (bacon@cs.uwm.edu) wrote: : Hi folks, : Does anyone know how to disable hardware flow control on a serial : line used for logins? ( Using the standard sio driver on 2.1.7 ) Assuming tty on sio0 (aka COM1) stty -f /dev/ttyid0 -crtscts clocal and/or stty -f /dev/ttyld0 -crtscts clocal See /etc/rc.serial for more examples. Hint: read the relevant manuals: sio(4), tty(4), comcontrol(8). : I'd like to connect a terminal using some DB25/RJ11 connectors, which : are limited to 4 wires, but getty doesn't respond unless CTS/RTS : are connected. I can't find anything in the getty or sio docs, : so any pointers would be appreciated. Hardflow/softflow control should be described in stty(1), tty(4). Otherwise, you should be able to hardwire RTS to CTS and DTR to DCD on the BSD box side. On a DB-25 plug, connect 20 to 8 (DTR on DCD) and 5 with 6 (RTS with CTS). That should do the job, but you'll loose hard flow control. Don't remember to activate soft flow control with "stty ixon ixoff". : TIA, : -Jason -- ------------------------------------------------------------------- P. Causse http://www.fdn.fr/~pcausse 4.4BSD/X11R6/Motif-2.0/C++ mailto:causse@sphynx.fdn.fr (UUCP)