From owner-freebsd-current Tue Mar 5 08:43:23 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA07013 for current-outgoing; Tue, 5 Mar 1996 08:43:23 -0800 (PST) Received: from tcsi.tcs.com (tcsi.tcs.com [137.134.41.11]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA07007 for ; Tue, 5 Mar 1996 08:43:20 -0800 (PST) Received: from phact.tcs.com (phact.tcs.com [137.134.41.99]) by tcsi.tcs.com (8.7.4/8.6.10) with ESMTP id IAA11773 for ; Tue, 5 Mar 1996 08:42:49 -0800 (PST) Received: from cozumel.tcs.com (cozumel.tcs.com [137.134.104.12]) by phact.tcs.com (8.6.10/8.6.10) with ESMTP id IAA03070 for ; Tue, 5 Mar 1996 08:42:48 -0800 From: Douglas Ambrisko Received: (ambrisko@localhost) by cozumel.tcs.com (8.6.10/8.6.10) id IAA01947 for freebsd-current@freebsd.org; Tue, 5 Mar 1996 08:41:27 -0800 Message-Id: <199603051641.IAA01947@cozumel.tcs.com> Subject: tip fix To: freebsd-current@freebsd.org Date: Tue, 5 Mar 1996 08:41:27 -0800 (PST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-current@freebsd.org Precedence: bulk Here's a patch that fixes the problem with modem syncronization problems with tip. There are some hardwired timeouts that ignores the delay that you can set in the modem configuration file. The hard-wire delay is to short if the modem has to switch major modes and reset (ie going from fax to data mode with a reset). Now my modem transistions from HylaFax control to tip control and ppp mode without any problems. I would appreciate it if someone could apply it to current. Thanks, Doug A. *** unidialer.c.orig Tue May 30 04:13:22 1995 --- unidialer.c Sun Feb 4 12:05:19 1996 *************** *** 451,457 **** unidialer_modem_cmd (FD, init_string); ! if (!unidialer_get_okay (250)) goto badsynch; fflush (stdout); --- 451,457 ---- unidialer_modem_cmd (FD, init_string); ! if (!unidialer_get_okay (reset_delay)) goto badsynch; fflush (stdout); *************** *** 532,538 **** unidialer_modem_cmd (FD, escape_sequence); acu_nap (timeout_value); unidialer_modem_cmd (FD, hangup_command); ! okay = unidialer_get_okay (250); } if (!okay) { --- 532,538 ---- unidialer_modem_cmd (FD, escape_sequence); acu_nap (timeout_value); unidialer_modem_cmd (FD, hangup_command); ! okay = unidialer_get_okay (reset_delay); } if (!okay) {