serial on lombard

Michael Schmitz schmitz at opal.biophys.uni-duesseldorf.de
Fri Oct 15 02:00:15 EST 1999


> I fixed my minicom by bumping the timeout to 4 seconds:
> 
> --- minicom-1.82.orig/src/main.c	Thu Aug 27 00:54:16 1998
> +++ minicom-1.82/src/main.c	Thu Oct 14 16:20:00 1999
> @@ -158,7 +158,7 @@
>    if (setjmp(albuf) == 0) {
>  	portfd = -1;
>  	signal(SIGALRM, get_alrm);
> -	alarm(2);
> +	alarm(4);
>  #if defined(O_NDELAY) && defined(F_SETFL)
>  	portfd = open(dial_tty, O_RDWR|O_NDELAY);
>  	if (portfd >= 0){

And I fixed it by modifying the serial port startup() code. Seems to work as
well - do we really need to wait that long for the modem to power up, or
will the modem just refuse to handshake while initializing?

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list