Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] RECV FAX: Failure to train modems
I am running redhat 7.1 with hylafax 4.1.5 using U.S. Robotics modem.
Minicom verified that the modem is working correctly. I can send, but I
receive a no carrier/failure to train modem error message. It doesn't
matter if I use class 1 or class 2. Listed below is excerpt from my
modem class 1 config and the log. I don't need to use any of the fancy
class 2 stuff, so I would like to stay with class 1. Any ideas? TIA,
jan
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: xonxoff # software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier
(or not)
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow
control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow
control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow
control
ModemResultCodesCmd: ATQ0X4 # enable result codes
#
ModemMfrQueryCmd: !USR
ModemModelQueryCmd: ATI3
ModemRevQueryCmd: ATI7 # XXX returns a multi-line
result
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow
control
Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow
control
Class1SFLOCmd: "" # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd: AT+FRS=1 # wait after sending TCF for
response
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in class 0
ModemAnswerCmd: AT+FCLASS=1A # answer in Class 1
#
# Disables the reporting of bad frames by the modem. This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd: AT+FNR=1,1,1,0
May 29 13:03:50.10: [ 714]: HylaFAX (tm) Version 4.1.5
May 29 13:03:50.10: [ 714]: <-- [13:AT+FCLASS=1A\r]
May 29 13:03:55.38: [ 714]: --> [7:CONNECT]
May 29 13:03:55.38: [ 714]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS1'
May 29 13:03:55.38: [ 714]: RECV FAX: begin
May 29 13:03:55.43: [ 714]: <-- data [23]
May 29 13:03:55.43: [ 714]: <-- data [2]
May 29 13:03:55.46: [ 714]: --> [7:CONNECT]
May 29 13:03:55.46: [ 714]: <-- data [10]
May 29 13:03:55.46: [ 714]: <-- data [2]
May 29 13:03:57.36: [ 714]: --> [2:OK]
May 29 13:03:57.36: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:03:58.22: [ 714]: --> [7:CONNECT]
May 29 13:03:59.67: [ 714]: --> [2:OK]
May 29 13:03:59.67: [ 714]: REMOTE TSI "2175455561"
May 29 13:03:59.67: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:03:59.68: [ 714]: --> [7:CONNECT]
May 29 13:04:00.04: [ 714]: --> [2:OK]
May 29 13:04:00.04: [ 714]: REMOTE wants 14400 bit/s
May 29 13:04:00.04: [ 714]: REMOTE wants page width 1728 pixels in 215
mm
May 29 13:04:00.04: [ 714]: REMOTE wants unlimited page length
May 29 13:04:00.04: [ 714]: REMOTE wants 7.7 line/mm
May 29 13:04:00.04: [ 714]: REMOTE wants 2-D MR
May 29 13:04:00.04: [ 714]: RECV training at v.17 14400 bit/s
May 29 13:04:00.04: [ 714]: <-- [11:AT+FRM=145\r]
May 29 13:04:01.74: [ 714]: --> [7:CONNECT]
May 29 13:04:03.45: [ 714]: RECV: TCF 2722 bytes, 13% non-zero, 45
zero-run
May 29 13:04:03.45: [ 714]: RECV: reject TCF (too many non-zero, max
10%)
May 29 13:04:03.45: [ 714]: RECV: reject TCF (zero run too short, min
1800)
May 29 13:04:03.45: [ 714]: --> [10:NO CARRIER]
May 29 13:04:03.45: [ 714]: DELAY 75 ms
May 29 13:04:03.53: [ 714]: <-- [9:AT+FTH=3\r]
May 29 13:04:03.72: [ 714]: --> [7:CONNECT]
May 29 13:04:03.72: [ 714]: <-- data [3]
May 29 13:04:03.72: [ 714]: <-- data [2]
May 29 13:04:04.90: [ 714]: --> [2:OK]
May 29 13:04:04.90: [ 714]: TRAINING failed
May 29 13:04:04.90: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:05.48: [ 714]: --> [7:CONNECT]
May 29 13:04:05.49: [ 714]: --> [5:ERROR]
May 29 13:04:05.49: [ 714]: MODEM Command error
May 29 13:04:05.49: [ 714]: FCS error
May 29 13:04:05.49: [ 714]: DELAY 1500 ms
May 29 13:04:06.99: [ 714]: <-- [9:AT+FTH=3\r]
May 29 13:04:07.18: [ 714]: --> [7:CONNECT]
May 29 13:04:07.18: [ 714]: <-- data [23]
May 29 13:04:07.18: [ 714]: <-- data [2]
May 29 13:04:07.20: [ 714]: --> [7:CONNECT]
May 29 13:04:07.20: [ 714]: <-- data [10]
May 29 13:04:07.20: [ 714]: <-- data [2]
May 29 13:04:09.26: [ 714]: --> [2:OK]
May 29 13:04:09.26: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:12.20: [ 714]: --> [7:CONNECT]
May 29 13:04:12.25: [ 714]: --> [5:ERROR]
May 29 13:04:12.25: [ 714]: MODEM Command error
May 29 13:04:12.25: [ 714]: FCS error
May 29 13:04:12.25: [ 714]: DELAY 1500 ms
May 29 13:04:13.75: [ 714]: <-- [9:AT+FTH=3\r]
May 29 13:04:13.94: [ 714]: --> [7:CONNECT]
May 29 13:04:13.94: [ 714]: <-- data [23]
May 29 13:04:13.94: [ 714]: <-- data [2]
May 29 13:04:13.97: [ 714]: --> [7:CONNECT]
May 29 13:04:13.97: [ 714]: <-- data [10]
May 29 13:04:13.97: [ 714]: <-- data [2]
May 29 13:04:16.03: [ 714]: --> [2:OK]
May 29 13:04:16.03: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:19.13: [ 714]: --> [0:]
May 29 13:04:19.13: [ 714]: MODEM <Empty line>
May 29 13:04:19.13: [ 714]: <-- data [1]
May 29 13:04:19.13: [ 714]: --> [2:OK]
May 29 13:04:19.13: [ 714]: DELAY 1500 ms
May 29 13:04:20.63: [ 714]: <-- [9:AT+FTH=3\r]
May 29 13:04:20.66: [ 714]: --> [7:CONNECT]
May 29 13:04:20.66: [ 714]: <-- data [23]
May 29 13:04:20.66: [ 714]: <-- data [2]
May 29 13:04:20.68: [ 714]: --> [7:CONNECT]
May 29 13:04:20.68: [ 714]: <-- data [10]
May 29 13:04:20.68: [ 714]: <-- data [2]
May 29 13:04:22.75: [ 714]: --> [2:OK]
May 29 13:04:22.75: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:23.46: [ 714]: --> [7:CONNECT]
May 29 13:04:25.07: [ 714]: --> [2:OK]
May 29 13:04:25.07: [ 714]: REMOTE TSI "2175455561"
May 29 13:04:25.07: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:25.08: [ 714]: --> [7:CONNECT]
May 29 13:04:25.42: [ 714]: --> [2:OK]
May 29 13:04:25.42: [ 714]: REMOTE wants 12000 bit/s
May 29 13:04:25.42: [ 714]: REMOTE wants page width 1728 pixels in 215
mm
May 29 13:04:25.42: [ 714]: REMOTE wants unlimited page length
May 29 13:04:25.42: [ 714]: REMOTE wants 7.7 line/mm
May 29 13:04:25.42: [ 714]: REMOTE wants 2-D MR
May 29 13:04:25.42: [ 714]: RECV training at v.17 12000 bit/s
May 29 13:04:25.42: [ 714]: <-- [11:AT+FRM=121\r]
May 29 13:04:27.13: [ 714]: --> [7:CONNECT]
May 29 13:04:28.64: [ 714]: RECV: TCF 2268 bytes, 14% non-zero, 66
zero-run
May 29 13:04:28.64: [ 714]: RECV: reject TCF (too many non-zero, max
10%)
May 29 13:04:28.64: [ 714]: RECV: reject TCF (zero run too short, min
1500)
May 29 13:04:28.65: [ 714]: --> [10:NO CARRIER]
May 29 13:04:28.65: [ 714]: DELAY 75 ms
May 29 13:04:28.72: [ 714]: <-- [9:AT+FTH=3\r]
May 29 13:04:28.91: [ 714]: --> [7:CONNECT]
May 29 13:04:28.91: [ 714]: <-- data [3]
May 29 13:04:28.91: [ 714]: <-- data [2]
May 29 13:04:30.09: [ 714]: --> [2:OK]
May 29 13:04:30.09: [ 714]: TRAINING failed
May 29 13:04:30.09: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:30.66: [ 714]: --> [10:NO CARRIER]
May 29 13:04:30.66: [ 714]: MODEM No carrier
May 29 13:04:30.66: [ 714]: DELAY 1500 ms
May 29 13:04:32.17: [ 714]: <-- [9:AT+FTH=3\r]
May 29 13:04:32.36: [ 714]: --> [7:CONNECT]
May 29 13:04:32.36: [ 714]: <-- data [23]
May 29 13:04:32.36: [ 714]: <-- data [2]
May 29 13:04:32.38: [ 714]: --> [7:CONNECT]
May 29 13:04:32.38: [ 714]: <-- data [10]
May 29 13:04:32.38: [ 714]: <-- data [2]
May 29 13:04:34.44: [ 714]: --> [2:OK]
May 29 13:04:34.44: [ 714]: <-- [9:AT+FRH=3\r]
May 29 13:04:37.06: [ 714]: --> [10:NO CARRIER]
May 29 13:04:37.06: [ 714]: MODEM No carrier
May 29 13:04:37.06: [ 714]: RECV FAX: Failure to train modems
May 29 13:04:37.06: [ 714]: RECV FAX: end
May 29 13:04:37.06: [ 714]: SESSION END
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*