Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 1996 08:41:27 -0800 (PST)
From:      Douglas Ambrisko <ambrisko@tcs.com>
To:        freebsd-current@freebsd.org
Subject:   tip fix
Message-ID:  <199603051641.IAA01947@cozumel.tcs.com>

next in thread | raw e-mail | index | archive | help
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)
  	{



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603051641.IAA01947>