sendfax problem

Gert Doering (gert@greenie.muc.de)
Fri, 20 Feb 1998 03:22:45 +0100


Hi,

Antonio Prioglio wrote:
> Dear Gert,
> first of all thank you for the software, I used it some time ago on a
> linux 2.0.29 with a bausch modem occasionally to send faxes without
> problems.
> 
> Recently I updated my linux box (686/166-32MB) to 2.0.33 and purchased a
> US Robotics Sportster Flash modem. All works fine besides fax sending as
> you can see from the attached log. I tried all I could think of but the
> result with several different receiving fax machines was the same.

This is normal. I don't have to look at the log file -- the USR Sportster
series has a very poor fax firmware implementation.

> The modem works fine as I tested it with the stupid fax software that MS
> has made for NT.

Most likely that program uses Class 1 (which all the Rockwell modems have
nowadays, no class 2 anymore), and most fax firmware bugs do not show up
that clearly in class 1. Unfortunately, for timing reasons, class 1 is
very hard under Linux. There is support for it in the making, but far
from being finished.

> Any help will be much appreciated as I bought the modem before 3com
> slashed the prices (in half).

Just return it. Tell them class 2.0 support is broken, and ask for full
money refund. If they want proof, show them this part of the log file:

> 02/19 23:15:57 yS1 mdm_send: 'ATV1Q0'
> 02/19 23:15:57 yS1 got:ATV1Q0[0d]
> 02/19 23:15:57 yS1 mdm_command: string 'ATV1Q0'
> 02/19 23:15:57 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:57 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:57 yS1 mdm_send: 'ATI'
> 02/19 23:15:57 yS1 got:[0a]ATI[0d]
> 02/19 23:15:57 yS1 got:[0d][0a]3361[0d]
> 02/19 23:15:57 yS1 mdm_gis: string 1: '3361'
> 02/19 23:15:57 yS1 got:[0a][0d][0a]OK[0d]
> 02/19 23:15:57 yS1 mdm_identify: string '3361'
> 02/19 23:15:57 yS1 USR Courier/Sportster V.34(+) detected
> 02/19 23:15:57 yS1 mdm_send: 'ATI3'
> 02/19 23:15:57 yS1 got:[0a]ATI3[0d]
> 02/19 23:15:57 yS1 got:[0d][0a]USRobotics Sportster Flash Rev. 3.0[0d]
> 02/19 23:15:57 yS1 mdm_gis: string 1: 'USRobotics Sportster Flash Rev. 3.0'
> 02/19 23:15:57 yS1 got:[0a][0d][0a]OK[0d]
> 02/19 23:15:57 yS1 additional info: 'USRobotics Sportster Flash Rev. 3.0'
> 02/19 23:15:57 yS1 mdm_send: 'AT+FCLASS=2.0'
> 02/19 23:15:57 yS1 got:[0a]AT+FCLASS=2.0[0d]
> 02/19 23:15:57 yS1 mdm_command: string 'AT+FCLASS=2.0'
> 02/19 23:15:57 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:57 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:58 yS1 mdm_send: 'AT+FLI="39 432 505431"'
> 02/19 23:15:58 yS1 got:[0a]AT+FLI="39 432 505431"[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'AT+FLI="39 432 505431"'
> 02/19 23:15:58 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:58 yS1 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
> 02/19 23:15:58 yS1 got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
> 02/19 23:15:58 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:58 yS1 mdm_send: 'AT+FBO=0'
> 02/19 23:15:58 yS1 got:[0a]AT+FBO=0[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'AT+FBO=0'
> 02/19 23:15:58 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:58 yS1 mdm_send: 'AT+FNR=1,1,1,0'
> 02/19 23:15:58 yS1 got:[0a]AT+FNR=1,1,1,0[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'AT+FNR=1,1,1,0'
> 02/19 23:15:58 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:58 yS1 mdm_send: 'AT+FLO=2'
> 02/19 23:15:58 yS1 got:[0a]AT+FLO=2[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'AT+FLO=2'
> 02/19 23:15:58 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:58 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:59 yS1 mdm_send: 'AT&H3&I2&R2S7=90'
> 02/19 23:15:59 yS1 got:[0a]AT&H3&I2&R2S7=90[0d]
> 02/19 23:15:59 yS1 mdm_command: string 'AT&H3&I2&R2S7=90'
> 02/19 23:15:59 yS1 got:[0d][0a]OK[0d]
> 02/19 23:15:59 yS1 mdm_command: string 'OK' -> OK
> 02/19 23:15:59 yS1 fax_send: 'ATX3DT740082'
> 02/19 23:15:59 yS1 fax_wait_for(OK)
> 02/19 23:15:59 yS1 got:[0a]ATX3DT740082[0d]
> 02/19 23:15:59 yS1 fax_wait_for: string 'ATX3DT740082'
> 02/19 23:15:59 yS1 got:[0d][0a]+FCO[0d]
> 02/19 23:16:16 yS1 fax_wait_for: string '+FCO'
> 02/19 23:16:16 yS1 got:[0a][0d][0a]+FCI:" 0039 0432 740082"[0d]
> 02/19 23:16:18 yS1 fax_wait_for: string '+FCI:" 0039 0432 740082"'
> 02/19 23:16:18 yS1 fax_id: '+FCI:" 0039 0432 740082"'
> 02/19 23:16:18 yS1 got:[0a][0d][0a]+FIS:1,3,0,2,1,0,0,4[0d]
> 02/19 23:16:18 yS1 fax_wait_for: string '+FIS:1,3,0,2,1,0,0,4'
> 02/19 23:16:18 yS1 got:[0a][0d][0a]OK[0d]
> 02/19 23:16:18 yS1 fax_wait_for: string 'OK'** found **

Up to here, everything looks absolutely perfect.

> 02/19 23:16:18 yS1 sendfax: honouring DCD (carrier) drops now
> 02/19 23:16:18 yS1 fax_send_page("f1.g3") started...
> 02/19 23:16:18 yS1 tio_set_flow_control( HARD )
> 02/19 23:16:18 yS1 fax_send: 'AT+FDT'
> 02/19 23:16:18 yS1 fax_wait_for(CONNECT)
> 02/19 23:16:18 yS1 got:[0a]AT+FDT[0d]
> 02/19 23:16:18 yS1 fax_wait_for: string 'AT+FDT'
> 02/19 23:16:18 yS1 got:[0d][0a]+FCS:1,3,0,2,0,0,0,0[0d]
> 02/19 23:16:19 yS1 fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
> 02/19 23:16:19 yS1 transmission par.: '+FCS:1,3,0,2,0,0,0,0'
> 02/19 23:16:19 yS1 got:[0a][0d][0a]+FCS:1,3,0,2,0,0,0,0[0d]
> 02/19 23:16:25 yS1 fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
> 02/19 23:16:25 yS1 transmission par.: '+FCS:1,3,0,2,0,0,0,0'
> 02/19 23:16:25 yS1 got:[0a][0d][0a]+FCS:1,3,0,2,0,0,0,0[0d]
> 02/19 23:16:32 yS1 fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
> 02/19 23:16:32 yS1 transmission par.: '+FCS:1,3,0,2,0,0,0,0'
> 02/19 23:16:32 yS1 got:[0a][0d][0a]+FHS:25[0d]
> 02/19 23:16:40 yS1 fax_wait_for: string '+FHS:25'
> 02/19 23:16:40 yS1 connection hangup: '+FHS:25'
> 02/19 23:16:40 yS1 (DCS sent three times without response)** found **

And here, the modem tries three times to build a connection to the remote
machine, and fails miserably. This is *ABSOLUTELY NORMAL* for a USR
Sportster "fax"modem, I have seen the very same problem about 6-8 times in
the last three months.

This is very clear evidence that the modem is broken -- there's nothing
you can do in class 2.0 if the modem is unable to establish a connection
to a remote machine, failing like this.

gert

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-35655025    gert.doering@physik.tu-muenchen.de
.