sendfax, USR Faxmodem 56K, again

Laurent FOUCHER (foucher@gch.iut-tlse3.fr)
Wed, 30 Jun 1999 19:34:41 +0200


This is a multi-part message in MIME format.
--------------5A1F8E451B4B8D266384B27B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

hello,

I've already posted a message about my problem with an USR faxmodem 56K.

I generate the g3 file from a postscript file by using gv and i would
like to send a fax
on a matracom 140 machine.

I cut the g3 file like N. Preining recommand and it work fine when i
send one page.
When i send more than one page, i have the error message 54. The
matracom machine
return a code error 490.

I have tested a lot configuration, but without results.
My init string is AT&F1S0=0.

I give in attachment the sendfax.log.

I need some helps,

Thanks

Laurent Foucher

--------------5A1F8E451B4B8D266384B27B
Content-Type: text/plain; charset=us-ascii;
 name="sendfax.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sendfax.log"

--
06/30 13:54:35  sendfax: experimental test release 1.1.20-Jan17
06/30 13:54:35   sendfax.c compiled at Jun 30 1999, 11:01:54
06/30 13:54:35  sending fax to 0,0561148936
06/30 13:54:35  checking f1.g3
06/30 13:54:35  checking f2.g3
06/30 13:54:35   makelock(ttyS0) called
06/30 13:54:35   do_makelock: lock='/var/lock/LCK..ttyS0'
06/30 13:54:35   lock made
06/30 13:54:35   tss: set speed to 38400 (017)
06/30 13:54:35   tio_set_flow_control( HARD )
06/30 13:54:35 yS0   fax_open_device succeeded, ttyS0 -> 4
06/30 13:54:35 yS0   reading specific data for port 'ttyS0'
06/30 13:54:35 yS0   reading /usr/local/etc/mgetty+sendfax/sendfax.config...
06/30 13:54:35 yS0   conf lib: read: 'ignore-carrier y'
06/30 13:54:35 yS0   conf lib: read: 'verbose n'
06/30 13:54:35 yS0   conf lib: read: 'debug 5'
06/30 13:54:35 yS0   conf lib: read: 'fax-devices ttyS0'
06/30 13:54:35 yS0   conf lib: read: 'fax-id 0561148938'
06/30 13:54:35 yS0   conf lib: read: 'dial-prefix ATD'
06/30 13:54:35 yS0   conf lib: read: 'max-tries 1'
06/30 13:54:35 yS0   conf lib: read: 'port ttyS0'
06/30 13:54:35 yS0   section: port ttyS0, **found**
06/30 13:54:35 yS0   conf lib: read: 'modem-init AT&F1S0=0'
06/30 13:54:35 yS0   key: 'fax-devices', type=1, flags=4, data=(ignored)
06/30 13:54:35 yS0   key: 'modem-init', type=1, flags=3, data=AT&F1S0=0
06/30 13:54:35 yS0   key: 'modem-handshake', type=1, flags=0, data=(empty)
06/30 13:54:35 yS0   key: 'modem-type', type=1, flags=1, data=auto
06/30 13:54:35 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
06/30 13:54:35 yS0   key: 'max-tries', type=0, flags=3, data=1
06/30 13:54:35 yS0   key: 'max-tries-continue', type=3, flags=1, data=TRUE
06/30 13:54:35 yS0   key: 'speed', type=0, flags=1, data=38400
06/30 13:54:35 yS0   key: 'switchbd', type=0, flags=1, data=0
06/30 13:54:35 yS0   key: 'open-delay', type=0, flags=0, data=(empty)
06/30 13:54:35 yS0   key: 'ignore-carrier', type=3, flags=3, data=TRUE
06/30 13:54:35 yS0   key: 'dial-prefix', type=1, flags=3, data=ATD
06/30 13:54:35 yS0   key: 'fax-id', type=1, flags=3, data=0561148938
06/30 13:54:35 yS0   key: 'poll-dir', type=1, flags=1, data=.
06/30 13:54:35 yS0   key: 'normal-res', type=3, flags=1, data=FALSE
06/30 13:54:35 yS0   key: 'fax-min-speed', type=0, flags=1, data=0
06/30 13:54:35 yS0   key: 'fax-max-speed', type=0, flags=1, data=14400
06/30 13:54:35 yS0   key: 'debug', type=0, flags=3, data=5
06/30 13:54:35 yS0   key: 'verbose', type=3, flags=2, data=TRUE
06/30 13:54:35 yS0   key: '', type=3, flags=1, data=FALSE
06/30 13:54:35 yS0   key: 'page-header', type=1, flags=0, data=(empty)
06/30 13:54:35 yS0   key: '', type=3, flags=1, data=FALSE
06/30 13:54:35 yS0   key: '', type=3, flags=1, data=FALSE
06/30 13:54:35 yS0   key: '', type=1, flags=1, data=
06/30 13:54:35 yS0   tss: set speed to 38400 (017)
06/30 13:54:35 yS0  mdm_send: 'ATV1Q0'
06/30 13:54:35 yS0   mdm_command: string 'ATV1Q0'
06/30 13:54:36 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:36 yS0  fax_send: 'AT&F1S0=0'
06/30 13:54:36 yS0  fax_wait_for(OK)
06/30 13:54:36 yS0   fax_wait_for: string 'AT&F1S0=0'
06/30 13:54:36 yS0   fax_wait_for: string 'OK'** found **
06/30 13:54:36 yS0  mdm_send: 'ATI'
06/30 13:54:36 yS0   mdm_gis: string 1: '5601'
06/30 13:54:36 yS0   mdm_identify: string '5601'
06/30 13:54:36 yS0  USR Courier/Sportster 56k detected
06/30 13:54:36 yS0  mdm_send: 'ATI3'
06/30 13:54:36 yS0   mdm_gis: string 1: 'U.S. Robotics 56K FAX EXT Rev. 11.1.11'
06/30 13:54:36 yS0  additional info: 'U.S. Robotics 56K FAX EXT Rev. 11.1.11'
06/30 13:54:36 yS0  mdm_send: 'AT+FCLASS=2.0'
06/30 13:54:36 yS0   mdm_command: string 'AT+FCLASS=2.0'
06/30 13:54:36 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:36 yS0  mdm_send: 'AT+FLI="0561148938"'
06/30 13:54:36 yS0   mdm_command: string 'AT+FLI="0561148938"'
06/30 13:54:37 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:37 yS0  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
06/30 13:54:37 yS0   mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
06/30 13:54:37 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:37 yS0  mdm_send: 'AT+FBO=0'
06/30 13:54:37 yS0   mdm_command: string 'AT+FBO=0'
06/30 13:54:37 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:37 yS0  mdm_send: 'AT+FNR=1,1,1,0'
06/30 13:54:37 yS0   mdm_command: string 'AT+FNR=1,1,1,0'
06/30 13:54:37 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:37 yS0  mdm_send: 'AT+FLO=2'
06/30 13:54:37 yS0   mdm_command: string 'AT+FLO=2'
06/30 13:54:37 yS0   mdm_command: string 'OK' -> OK
06/30 13:54:37 yS0  fax_send: 'ATD0,0561148936'
06/30 13:54:37 yS0  fax_wait_for(OK)
06/30 13:54:37 yS0   fax_wait_for: string 'ATD0,0561148936'
06/30 13:54:55 yS0   fax_wait_for: string '+FCO'
06/30 13:54:58 yS0   fax_wait_for: string '+FCI:"        33  61148936"'
06/30 13:54:58 yS0  fax_id: '+FCI:"        33  61148936"'
06/30 13:54:58 yS0   fax_wait_for: string '+FIS:1,3,0,2,1,0,0,4'
06/30 13:54:58 yS0   fax_wait_for: string 'OK'** found **
06/30 13:54:58 yS0  sendfax: IGNORE DCD (carrier) status
06/30 13:54:58 yS0   fax_send_page("f1.g3") started...
06/30 13:54:58 yS0   tio_set_flow_control( HARD )
06/30 13:54:58 yS0  fax_send: 'AT+FDT'
06/30 13:54:58 yS0  fax_wait_for(CONNECT)
06/30 13:54:58 yS0   fax_wait_for: string 'AT+FDT'
06/30 13:54:59 yS0   fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
06/30 13:54:59 yS0  transmission par.: '+FCS:1,3,0,2,0,0,0,0'
06/30 13:55:05 yS0   fax_wait_for: string 'CONNECT'** found **
06/30 13:55:05 yS0   tio_set_flow_control( HARD XON_OUT )
06/30 13:55:05 yS0  sending f1.g3...
06/30 13:55:48 yS0  page complete, 58522 bytes sent
06/30 13:55:48 yS0  sending DLE ','
06/30 13:55:57 yS0  got response: 'OK'
06/30 13:55:57 yS0   fax_send_page("f2.g3") started...
06/30 13:55:57 yS0   tio_set_flow_control( HARD )
06/30 13:55:57 yS0  fax_send: 'AT+FDT'
06/30 13:55:57 yS0  fax_wait_for(CONNECT)
06/30 13:55:57 yS0   fax_wait_for: string 'AT+FDT'
06/30 13:55:57 yS0   fax_wait_for: string 'CONNECT'** found **
06/30 13:55:57 yS0   tio_set_flow_control( HARD XON_OUT )
06/30 13:55:57 yS0  sending f2.g3...
06/30 13:56:00 yS0  page complete, 10187 bytes sent
06/30 13:56:00 yS0  sending DLE '.'
06/30 13:56:19 yS0  connection hangup: '+FHS:54'
06/30 13:56:19 yS0   (No response to EOP repeated 3 times)
06/30 13:56:19 yS0  got response: 'OK'
06/30 13:56:19 ##### failed transmitting f2.g3: phone="0,0561148936", +FHS:54, dev=ttyS0, time=102s, acct=""

06/30 13:56:19 yS0  fax_send: 'AT+FCLASS=0'
06/30 13:56:19 yS0   removing lock file
--
06/30 14:04:56  sendfax: experimental test release 1.1.20-Jan17
06/30 14:04:56   sendfax.c compiled at Jun 30 1999, 11:01:54
06/30 14:04:56  sending fax to 0,0561148936
06/30 14:04:56  checking f1.g3
06/30 14:04:56   makelock(ttyS0) called
06/30 14:04:56   do_makelock: lock='/var/lock/LCK..ttyS0'
06/30 14:04:56   lock made
06/30 14:04:56   tss: set speed to 38400 (017)
06/30 14:04:56   tio_set_flow_control( HARD )
06/30 14:04:56 yS0   fax_open_device succeeded, ttyS0 -> 4
06/30 14:04:56 yS0   reading specific data for port 'ttyS0'
06/30 14:04:56 yS0   reading /usr/local/etc/mgetty+sendfax/sendfax.config...
06/30 14:04:56 yS0   conf lib: read: 'ignore-carrier y'
06/30 14:04:56 yS0   conf lib: read: 'verbose n'
06/30 14:04:56 yS0   conf lib: read: 'debug 5'
06/30 14:04:56 yS0   conf lib: read: 'fax-devices ttyS0'
06/30 14:04:56 yS0   conf lib: read: 'fax-id 0561148938'
06/30 14:04:56 yS0   conf lib: read: 'dial-prefix ATD'
06/30 14:04:56 yS0   conf lib: read: 'max-tries 1'
06/30 14:04:56 yS0   conf lib: read: 'port ttyS0'
06/30 14:04:56 yS0   section: port ttyS0, **found**
06/30 14:04:56 yS0   conf lib: read: 'modem-init AT&F1S0=0'
06/30 14:04:56 yS0   key: 'fax-devices', type=1, flags=4, data=(ignored)
06/30 14:04:56 yS0   key: 'modem-init', type=1, flags=3, data=AT&F1S0=0
06/30 14:04:56 yS0   key: 'modem-handshake', type=1, flags=0, data=(empty)
06/30 14:04:56 yS0   key: 'modem-type', type=1, flags=1, data=auto
06/30 14:04:56 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
06/30 14:04:56 yS0   key: 'max-tries', type=0, flags=3, data=1
06/30 14:04:56 yS0   key: 'max-tries-continue', type=3, flags=1, data=TRUE
06/30 14:04:56 yS0   key: 'speed', type=0, flags=1, data=38400
06/30 14:04:56 yS0   key: 'switchbd', type=0, flags=1, data=0
06/30 14:04:56 yS0   key: 'open-delay', type=0, flags=0, data=(empty)
06/30 14:04:56 yS0   key: 'ignore-carrier', type=3, flags=3, data=TRUE
06/30 14:04:56 yS0   key: 'dial-prefix', type=1, flags=3, data=ATD
06/30 14:04:56 yS0   key: 'fax-id', type=1, flags=3, data=0561148938
06/30 14:04:56 yS0   key: 'poll-dir', type=1, flags=1, data=.
06/30 14:04:56 yS0   key: 'normal-res', type=3, flags=1, data=FALSE
06/30 14:04:56 yS0   key: 'fax-min-speed', type=0, flags=1, data=0
06/30 14:04:56 yS0   key: 'fax-max-speed', type=0, flags=1, data=14400
06/30 14:04:56 yS0   key: 'debug', type=0, flags=3, data=5
06/30 14:04:56 yS0   key: 'verbose', type=3, flags=2, data=TRUE
06/30 14:04:56 yS0   key: '', type=3, flags=1, data=FALSE
06/30 14:04:56 yS0   key: 'page-header', type=1, flags=0, data=(empty)
06/30 14:04:56 yS0   key: '', type=3, flags=1, data=FALSE
06/30 14:04:56 yS0   key: '', type=3, flags=1, data=FALSE
06/30 14:04:56 yS0   key: '', type=1, flags=1, data=
06/30 14:04:56 yS0   tss: set speed to 38400 (017)
06/30 14:04:57 yS0  mdm_send: 'ATV1Q0'
06/30 14:04:57 yS0   mdm_command: string 'ATV1Q0'
06/30 14:04:57 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:57 yS0  fax_send: 'AT&F1S0=0'
06/30 14:04:57 yS0  fax_wait_for(OK)
06/30 14:04:57 yS0   fax_wait_for: string 'AT&F1S0=0'
06/30 14:04:57 yS0   fax_wait_for: string 'OK'** found **
06/30 14:04:57 yS0  mdm_send: 'ATI'
06/30 14:04:57 yS0   mdm_gis: string 1: '5601'
06/30 14:04:57 yS0   mdm_identify: string '5601'
06/30 14:04:57 yS0  USR Courier/Sportster 56k detected
06/30 14:04:57 yS0  mdm_send: 'ATI3'
06/30 14:04:57 yS0   mdm_gis: string 1: 'U.S. Robotics 56K FAX EXT Rev. 11.1.11'
06/30 14:04:57 yS0  additional info: 'U.S. Robotics 56K FAX EXT Rev. 11.1.11'
06/30 14:04:57 yS0  mdm_send: 'AT+FCLASS=2.0'
06/30 14:04:57 yS0   mdm_command: string 'AT+FCLASS=2.0'
06/30 14:04:57 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:58 yS0  mdm_send: 'AT+FLI="0561148938"'
06/30 14:04:58 yS0   mdm_command: string 'AT+FLI="0561148938"'
06/30 14:04:58 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:58 yS0  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
06/30 14:04:58 yS0   mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
06/30 14:04:58 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:58 yS0  mdm_send: 'AT+FBO=0'
06/30 14:04:58 yS0   mdm_command: string 'AT+FBO=0'
06/30 14:04:58 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:58 yS0  mdm_send: 'AT+FNR=1,1,1,0'
06/30 14:04:58 yS0   mdm_command: string 'AT+FNR=1,1,1,0'
06/30 14:04:58 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:58 yS0  mdm_send: 'AT+FLO=2'
06/30 14:04:58 yS0   mdm_command: string 'AT+FLO=2'
06/30 14:04:58 yS0   mdm_command: string 'OK' -> OK
06/30 14:04:59 yS0  fax_send: 'ATD0,0561148936'
06/30 14:04:59 yS0  fax_wait_for(OK)
06/30 14:04:59 yS0   fax_wait_for: string 'ATD0,0561148936'
06/30 14:05:17 yS0   fax_wait_for: string '+FCO'
06/30 14:05:19 yS0   fax_wait_for: string '+FCI:"        33  61148936"'
06/30 14:05:19 yS0  fax_id: '+FCI:"        33  61148936"'
06/30 14:05:19 yS0   fax_wait_for: string '+FIS:1,3,0,2,1,0,0,4'
06/30 14:05:19 yS0   fax_wait_for: string 'OK'** found **
06/30 14:05:19 yS0  sendfax: IGNORE DCD (carrier) status
06/30 14:05:19 yS0   fax_send_page("f1.g3") started...
06/30 14:05:19 yS0   tio_set_flow_control( HARD )
06/30 14:05:19 yS0  fax_send: 'AT+FDT'
06/30 14:05:19 yS0  fax_wait_for(CONNECT)
06/30 14:05:19 yS0   fax_wait_for: string 'AT+FDT'
06/30 14:05:20 yS0   fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
06/30 14:05:20 yS0  transmission par.: '+FCS:1,3,0,2,0,0,0,0'
06/30 14:05:26 yS0   fax_wait_for: string 'CONNECT'** found **
06/30 14:05:26 yS0   tio_set_flow_control( HARD XON_OUT )
06/30 14:05:26 yS0  sending f1.g3...
06/30 14:05:44 yS0  page complete, 28348 bytes sent
06/30 14:05:44 yS0  sending DLE '.'
06/30 14:05:54 yS0  connection hangup: '+FHS:00'
06/30 14:05:54 yS0   (Normal and proper end of connection)
06/30 14:05:54 yS0  got response: 'OK'
06/30 14:05:54 yS0  fax_send: 'AT+FCLASS=0'
06/30 14:05:55 yS0   removing lock file
06/30 14:05:55 ##### success, phone="0,0561148936", dev=ttyS0, time=57s, pages=1(+0), bytes=28348, acct=""

--------------5A1F8E451B4B8D266384B27B--