HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] MODEM TIMEOUT: reading line from modem
External Modem 56K (Arowana 56000 bps)
I use modem correctly via minicom.
I had launched by root faxsetup and then faxaddmodem.
Faxaddmodem told me that there is no prototype configuration file for
your modem
# probemodem
Serial port that modem is connected to []? ttyS0
Now we are going to probe the tty port. This takes a few seconds,
so be patient. Note that if you do not have the modem cabled to
the port, or the modem is turned off, this may hang (just go and
cable up the modem or turn it on, or whatever).
Probing for best speed to talk to modem: 38400
OK.
This looks like a Class 1 and 1.0 modem.
ATI0 RESULT = "OK" RESPONSE = "56000"
ATI1 RESULT = "OK" RESPONSE = "255"
ATI2 RESULT = "OK" RESPONSE = "OK"
ATI3 RESULT = "OK" RESPONSE = "V1.100-K56_DLS"
ATI4 RESULT = "OK" RESPONSE = "FM-56SA FOR ITALY 09/09/97"
ATI5 RESULT = "OK" RESPONSE = "008"
ATI6 RESULT = "OK" RESPONSE = "RCV56DPF L8570A Rev 35.0/34.0"
ATI7 RESULT = "OK" RESPONSE = "000"
ATI8 RESULT = "ERROR" RESPONSE = "ERROR"
ATI9 RESULT = "ERROR" RESPONSE = "ERROR"
Class 1 stuff...
AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,1.0"
AT+FCLASS? RESULT = "OK" RESPONSE = "0"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "OK" RESPONSE = "0,1"
AT+FAA? RESULT = "OK" RESPONSE = "0"
AT+FAE=? RESULT = "OK"
Class 1.0 stuff...
AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,1.0"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1.0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "1.0"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "OK" RESPONSE = "0,1"
AT+FAA? RESULT = "OK" RESPONSE = "0"
AT+FAE=? RESULT = "OK" RESPONSE = "0,1"
AT+FAE? RESULT = "OK" RESPONSE = "0"
AT+FTH=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=? RESULT = "OK" RESPONSE = "0-255"
AT+FRS=? RESULT = "OK" RESPONSE = "0-255"
RESPONSE = "0,1"
AT+FAE? RESULT = "OK" RESPONSE = "0"
AT+FTH=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=? RESULT = "OK" RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=? RESULT = "OK" RESPONSE = "0-255"
AT+FRS=? RESULT = "OK" RESPONSE = "0-255"
cp /var/spool/hylafax/config/skel /etc/hylafax/config.ttyS0
[...]
ModemATCmdDelay: 100 <-- tried also 50,200,300,400,500,900
ModemType: Class1 # use this to supply a hint
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # RTS/CTS flow control assumed
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier
ModemDialCmd: ATDT%s # T for tone dialing
ModemResetCmds: "" # stuff to do when modem is reset
ModemAnswerCmd: ATA # use this to answer phone
ModemNoFlowCmd: AT&K # disable flow control cmd
ModemHardFlowCmd: AT&K3 # hardware flow control cmd
ModemSoftFlowCmd: AT&K4 # software flow control cmd
ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer
ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
ModemEchoOffCmd: ATE0 # disable command echo
ModemVerboseResultsCmd: ATV1 # enable verbose command results
ModemResultCodModemWaitTimeCmd: ATS7=60 # wait 60 seconds
for carrier
ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds
ModemRecvFillOrder: LSB2MSB # bit order of received facsimile
ModemSendFillOrder: LSB2MSB # bit order modem expects for
transmitesCmd: ATQ0 # enable result codes
ModemOnHookCmd: ATH0 # place phone on hook (hangup)
ModemSoftResetCmd: ATZ # do soft reset of modem
Here extended log:
Aug 3 15:38:25 ns1 HylaFAX[25407]: HylaFAX INET Protocol Server: restarted.
Aug 3 15:38:25 ns1 FaxGetty[25410]: OPEN /dev/ttyS0 HylaFAX (tm)
Version 4.1.8
Aug 3 15:38:25 ns1 FaxGetty[25239]: CLOSE /dev/ttyS0
Aug 3 15:38:25 ns1 FaxQueuer[25403]: MODEM ttyS0: NUMBER +1.999.555.1212
Aug 3 15:38:25 ns1 FaxQueuer[25403]: MODEM ttyS0: DOWN
Aug 3 15:38:26 ns1 FaxGetty[25410]: MODEM set DTR OFF
Aug 3 15:38:26 ns1 FaxGetty[25410]: DELAY 75 ms
Aug 3 15:38:26 ns1 FaxGetty[25410]: MODEM set DTR ON
Aug 3 15:38:26 ns1 FaxGetty[25410]: DELAY 2600 ms
Aug 3 15:38:30 ns1 FaxGetty[25410]: MODEM set baud rate: 19200 baud,
input flow RTS/CTS, output flow RTS/CTS
Aug 3 15:38:30 ns1 FaxGetty[25410]: DELAY 10 ms
Aug 3 15:38:30 ns1 FaxGetty[25410]: MODEM flush i/o
Aug 3 15:38:30 ns1 FaxGetty[25410]: DELAY 50 ms
Aug 3 15:38:30 ns1 FaxGetty[25410]: <-- [4:ATZ\r]
Aug 3 15:39:00 ns1 FaxGetty[25410]: MODEM TIMEOUT: reading line from modem
Aug 3 15:39:00 ns1 FaxGetty[25410]: MODEM <Timeout>
Aug 3 15:39:00 ns1 FaxGetty[25410]: MODEM set DTR OFF
Should I purchase a new modem?
Any help will be appreciated,
--
Dario Ventura
____________________ 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@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*