From owner-freebsd-hackers Thu Dec 22 09:08:13 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA05872 for hackers-outgoing; Thu, 22 Dec 1994 09:08:13 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id RAA05866 for ; Thu, 22 Dec 1994 17:08:12 GMT Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA05512; Thu, 22 Dec 94 10:02:43 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9412221702.AA05512@cs.weber.edu> Subject: Re: bidirectional ports ? To: burg@burg.is.ge.com (Dick van den Burg) Date: Thu, 22 Dec 94 10:02:42 MST Cc: bde@zeta.org.au, hackers@freebsd.org In-Reply-To: <9412221327.AA25744@ns.GE.com>; from "Dick van den Burg" at Dec 22, 94 2:23 pm X-Mailer: ELM [version 2.3 PL11] Sender: hackers-owner@freebsd.org Precedence: bulk > > > Date: Thu, 22 Dec 1994 23:37:45 +1100 > > From: Bruce Evans > > Cc: hackers@freebsd.org > > > > >Yes, of course getty has /dev/ttyd0 open. That is exactly the problem. > > >How can I start a getty without without it opening the device? > > > > Don't have carrier present when there is no connection. Then getty will > > block while opening the device and "ps lax" will show /usr/libexec/[getty] > > sleeping on "siodcd". > > > Thanks, I am slowly getting there. My one problem is that the getty does not > die, once the modem has picked up the phone (no carrier, just call in, and > hang up the phone). The wait state changes to ttyin. When I kill the getty > it changes to sciodtr and when I power the modem on/off it goes back to > sciodcd. The wait state should not change unless you have an off-to-on DCD signal change from the modem. Probably the modem is still set up incorrectly (ie: to raise DCD when offhook instead of when carrier is present). > How can I get the getty to die after I hang up the phone? Don't wake it up in the first place, by way of setting up the modem to only raise DCD when carrier is present. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.