patch to detect my USR Courier V.90

Andreas Muck (andi@koala.rhein-neckar.de)
Fri, 18 Sep 1998 03:26:53 +0200


Hello,

my USR Courier V.everything with V.90 firmware responds with "5607A"
to the "ATI" command. Here's the patch to detect it automatically:

--- faxlib.c.orig	Fri Sep 18 03:13:14 1998
+++ faxlib.c	Fri Sep 18 03:17:48 1998
@@ -754,6 +754,13 @@
 	    modem_type=Mt_unknown;
 	    mis = mdm_get_idstring( "ATI3", 1, fd );
 	}
+	/* USR Courier V.90 */
+	else if ( strncmp( l, "5607A", 5 ) == 0 )
+	{
+	    lprintf( L_MESG, "USR Courier V.90 detected" );
+	    modem_type=Mt_class2_0;
+	    mis = mdm_get_idstring( "ATI3", 1, fd );
+	}
     }
 
     if ( mis != NULL ) 


Don't know if it's the same for Sporsters or not.

Andi
-- 
Breslauer Str. 51     69124 Heidelberg       Germany
Voice: +49 6221 780235     Data/Fax: +49 6221 783543
Rhein-Neckar Internet    http://www.rhein-neckar.de/