Hi,
I've used HylaFax happily in production for quite a while. Now
suddenly my modem seems to be broken. I haven't changed anything at
all.
Here's the log:
Oct 2 11:14:53 server FaxGetty[14412]: OPEN /dev/modem HylaFAX (tm)
Version 6.0.5
Oct 2 11:14:54 server FaxGetty[14412]: MODEM set DTR OFF
Oct 2 11:14:54 server FaxGetty[14412]: DELAY 75 ms
Oct 2 11:14:54 server FaxGetty[14412]: MODEM set DTR ON
Oct 2 11:14:54 server FaxGetty[14412]: DELAY 2600 ms
Oct 2 11:14:57 server FaxGetty[14412]: MODEM set baud rate: 19200
baud, input flow XON/XOFF, output flow XON/XOFF
Oct 2 11:14:57 server FaxGetty[14412]: DELAY 10 ms
Oct 2 11:14:57 server FaxGetty[14412]: MODEM flush i/o
Oct 2 11:14:57 server FaxGetty[14412]: <-- [4:ATZ\r]
Oct 2 11:14:57 server FaxGetty[14412]: <-- <3:41 54 5A>
Oct 2 11:14:57 server FaxGetty[14412]: <-- <1:0D>
Oct 2 11:15:27 server FaxGetty[14412]: MODEM TIMEOUT: reading line from modem
Oct 2 11:15:27 server FaxGetty[14412]: MODEM <Timeout>
Oct 2 11:15:27 server FaxGetty[14412]: MODEM set DTR OFF
Oct 2 11:15:27 server FaxGetty[14412]: DELAY 75 ms
Oct 2 11:15:28 server FaxGetty[14412]: MODEM set DTR ON
Oct 2 11:15:28 server FaxGetty[14412]: DELAY 2600 ms
Oct 2 11:15:31 server FaxGetty[14412]: MODEM set baud rate: 19200
baud, input flow XON/XOFF, output flow XON/XOFF
Oct 2 11:15:31 server FaxGetty[14412]: DELAY 10 ms
Oct 2 11:15:31 server FaxGetty[14412]: MODEM flush i/o
Oct 2 11:15:31 server FaxGetty[14412]: <-- [4:ATZ\r]
Oct 2 11:15:31 server FaxGetty[14412]: <-- <3:41 54 5A>
Oct 2 11:15:31 server FaxGetty[14412]: <-- <1:0D>
Oct 2 11:16:01 server FaxGetty[14412]: MODEM TIMEOUT: reading line from modem
Oct 2 11:16:01 server FaxGetty[14412]: MODEM <Timeout>
Oct 2 11:16:01 server FaxGetty[14412]: MODEM set DTR OFF
Oct 2 11:16:01 server FaxGetty[14412]: /dev/modem: Can not initialize modem.
Oct 2 11:16:01 server FaxGetty[14412]: STATE CHANGE: BASE ->
MODEMWAIT (timeout 30)
and so forth until hylafax decides that the modem is wedged.
Here's the modem config:
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
#
ModemDialCmd: ATX3DT%s
#
# 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
#
# When using AT+FRS=n we see USR modems reset themselves in the middle
of sessions
# this is not good. So, we seem to work-around that problem by not using the
# command. Unfortunately, this isn't an ideal thing.
#
Class1SwitchingCmd: "<delay\0727>"
Anyone got any ideas what's going on?
Thanks,
Martin Schuerrer
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe
hylafax-us...@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com.*