[comp.periphs] "intelli"port problems

dbin@norsat.UUCP (Dave Binette) (12/17/89)

In a previous posting i grumbled about the COMPUTONE INTELLIPORT
not disconnecting after my BBS user logged off.

Found the problem!  (soooo simple).
I added the lines marked    /* fix dtr drop */


    fclose(stdout);                         /* fix dtr drop */
    fclose(stdin);                          /* fix dtr drop */
    fclose(stderr);                         /* fix dtr drop */
    sleep(2);                               /* fix dtr drop */
    exit(n);
}

The solution then is be sure that the TTY lines are closed and
				 *most important*
Keep them closed long enough for the DTR drop to be sensed by the modem.
Without the sleep(2) "getty" kicks in too fast and the modem ignores
the very brief drop of DTR.

Thanks to all who responded and Merry *CHRIST*mas to you too!
---
uucp:  {uunet,ubc-cs}!van-bc!norsat!dbin | 302-12886 78th Ave
bbs:   (604)597-4361     24/12/PEP/3     | Surrey BC CANADA
voice: (604)597-6298     (Dave Binette)  | V3W 8E7              */

kaufman@Neon.Stanford.EDU (Marc T. Kaufman) (01/10/90)

In article <170@norsat.UUCP> dbin@norsat.UUCP (Dave Binette) writes:
-In a previous posting i grumbled about the COMPUTONE INTELLIPORT
-not disconnecting after my BBS user logged off.

-Found the problem!  (soooo simple).
-The solution then is be sure that the TTY lines are closed and
-				 *most important*
-Keep them closed long enough for the DTR drop to be sensed by the modem.
-Without the sleep(2) "getty" kicks in too fast and the modem ignores
-the very brief drop of DTR.

The standard for hangup is to drop DTR for 250ms OR until DSR (from the Modem)
drops -- whichever occurs first.  2 seconds is OK, but overkill.  Longer
sleep is to be discouraged since the phone line won't be answered while DTR
is down.

Marc Kaufman (kaufman@Neon.stanford.edu)

sewilco@datapg.MN.ORG (Scot E Wilcoxon) (01/10/90)

In article <170@norsat.UUCP> dbin@norsat.UUCP (Dave Binette) writes:
-Keep them closed long enough for the DTR drop to be sensed by the modem.
-Without the sleep(2) "getty" kicks in too fast and the modem ignores
-the very brief drop of DTR.

I encountered this problem recently with an AT&T modem which by default
ignored DTR off unless it was off for several (2 or 5) seconds.  If you
are having this problem, check the options for your modem and consider
turning off this "feature".
-- 
Scot E. Wilcoxon  sewilco@DataPg.MN.ORG    {amdahl|hpda}!bungia!datapg!sewilco
Data Progress 	 UNIX masts & rigging  +1 612-825-2607    uunet!datapg!sewilco
	I'm just reversing entropy while waiting for the Big Crunch.