USR Courier
Kurt Garloff (garloff@kg1.ping.de)
Wed, 30 Sep 1998 23:26:35 +0200
--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
On Tue, Sep 29, 1998 at 10:43:49PM +0200, Steeve wrote:
>
> In case anyone is interested, I got a USR v.everything v.90 Courier
> modem and can now receive and send faxes.
>
> Completely painless.
>
> Anyone want to buy a USR 56K Sportster ;)
Don't know what your problems with USR Sportster were, but I had some
trouble with a 56K prof Message Modem.
a) Had to send an AT to it, before it accepted incoming voice calls
b) Changed to +FCC=1,5,0,2,0,0,0,0,5
c) changed faxspool to adjust the page size (1728x2196)
Patches against 1.1.18-Sep1 are appended.
a) It is documented that some USR need AT to adjust speed properly and to
prevent noise from the line. I didn't figure out a setting to fix this. So I
patched vgetty instead.
b) If I correctly remember the meaning of +FCC, there is a firmware bug:
AT+FCC=1,5,0,2,0,0,0,0
+FIS:1,3,0,2,1,0,1,2
+FCS:1,3,0,2,0,0,0,0
+FHS:25
And I think the last one should read
+FCS:1,3,0,2,0,0,0,2 (or ,3 ?)
Patching sendfax to use +FCC=1,5,0,2,0,0,0,5 fixes it:
+FIS:1,3,0,2,1,0,1,2
+FCS:1,3,0,2,0,0,0,2
and the fax is successfully sent.
I sent a report to 3Com, but I doubt they will answer ...
Regards,
--
Kurt Garloff, Dortmund
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff
--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Description: mgetty-1.1.18-FCC-diff
Content-Disposition: attachment; filename="mgetty-1.1.18-FCC-diff"
--- mgetty-1.1.18/faxlib.c~ Sat Jun 20 17:58:13 1998
+++ mgetty-1.1.18/faxlib.c Mon Sep 28 09:31:31 1998
@@ -355,7 +355,7 @@
}
else /* standard case, working modem */
{
- sprintf( buf, "AT%s=%d,%d,0,2,0,0,0,0",
+ sprintf( buf, "AT%s=%d,%d,0,2,0,0,0,5",
(modem_type == Mt_class2_0) ? "+FCC" : "+FDCC",
fine, (max/2400) -1 );
}
--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Description: mgetty-1.1.18.AT.diff
Content-Disposition: attachment; filename="mgetty-1.1.18.AT.diff"
--- mgetty-1.1.18/mgetty.c.orig Tue Sep 1 13:22:57 1998
+++ mgetty-1.1.18/mgetty.c Wed Sep 23 21:55:53 1998
@@ -704,6 +704,11 @@
dist_ring=0; /* yet unspecified RING type */
+ if ( mdm_command( "AT", STDIN ) == SUCCESS ||
+ mdm_command( "AT", STDIN ) == SUCCESS )
+ lprintf( L_NOISE, "AT succeeded");
+ else lprintf (L_MESG, "AT failed");
+
if ( c_bool(ringback) ) /* don't pick up on first call */
{
int n = 0;
@@ -727,6 +732,7 @@
}
#endif /* VOICE */
+ lprintf( L_NOISE, "wait for %i rings", rings_wanted );
while ( rings < rings_wanted )
{
if ( wait_for_ring( STDIN, c_chat(msn_list),
--OgqxwSJOaUobr8KG--