MODEM TIMEOUT: reading line from modem

Richard Morris <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.user
Organization HDD Broker, Inc.
Message-ID <[email protected]>
Hi,

I was wondering if someone might be able to help me out.  We are setting 
up a new server (to replace an existing one) configured as:

hylafax+-5.5.7-1.el7.x86_64 running on CentOS 7.2.1511

The modem we are using is a:

Agere OCM V.92 MT9234ZPX-PCIE Internal Data/Fax Modem Version 1.02e 
(MultiModem)

We ran through the faxsetup and the faxaddmodem commands without any 
issue.  When we tried to send a test fax we ran into some problems. We 
renamed the newly generated config.ttyS2 for backup and I replaced it 
with the working copy from the previous server.  Below is the current 
config.ttyS2 file and excerpts from the /var/log/messages that show 
MODEM TIMEOUT.

We've used minicom to be able to talk to the modem and that seems to 
work fine.  I'm just not sure what the problem is.

Any suggestions would be grateful.  Thanks.

 From /var/spool/hylafax/etc/config.ttyS2:

CountryCode:            1
AreaCode:               xxx
FAXNumber:              +1.xxx.xxx.xxxx
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          0xFFF
SessionTracing:         0xFFF
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "xxx"
TagLineFont:            etc/LiberationSans-25.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           50
FaxRcvdCmd:             bin/faxrcvd
JobRetryBusy:           5
JobRetryNoAnswer:       1
JobRetryNoCarrier:      1
JobRetryOther:          1
ModemType:              Class1          # use this to supply a hint
ModemFlowControl:       rtscts          # many firmwares have broken 
software flow control
ModemSetupDTRCmd:       AT&D3           # hang up and reset on DTR drop
Class1TMConnectDelay:   400             # counteract quick CONNECT response
Class1HasRHConnectBug:  yes             # cope with +FRH=3 CONNECT errors


 From /var/log/messages:

Jan 27 15:26:20 faxserver systemd: Starting faxgetty on /dev/ttyS2...
Jan 27 15:26:20 faxserver FaxGetty[3409]: OPEN /dev/ttyS2  HylaFAX (tm) 
Version 5.5.7
Jan 27 15:26:21 faxserver FaxGetty[3409]: MODEM set DTR OFF
Jan 27 15:26:21 faxserver FaxGetty[3409]: DELAY 75 ms
Jan 27 15:26:21 faxserver FaxGetty[3409]: MODEM set DTR ON
Jan 27 15:26:21 faxserver FaxGetty[3409]: DELAY 2600 ms
Jan 27 15:26:25 faxserver FaxGetty[3409]: MODEM set baud rate: 19200 
baud, input flow RTS/CTS, output flow RTS/CTS
Jan 27 15:26:25 faxserver FaxGetty[3409]: DELAY 10 ms
Jan 27 15:26:25 faxserver FaxGetty[3409]: MODEM flush i/o
Jan 27 15:26:25 faxserver FaxGetty[3409]: <-- [4:ATZ\r]
Jan 27 15:26:55 faxserver FaxGetty[3409]: MODEM TIMEOUT: reading line 
from modem
Jan 27 15:26:55 faxserver FaxGetty[3409]: MODEM <Timeout>
Jan 27 15:26:55 faxserver FaxGetty[3409]: MODEM set DTR OFF
Jan 27 15:26:55 faxserver FaxGetty[3409]: DELAY 75 ms
Jan 27 15:26:55 faxserver FaxGetty[3409]: MODEM set DTR ON
Jan 27 15:26:55 faxserver FaxGetty[3409]: DELAY 2600 ms
Jan 27 15:26:58 faxserver FaxGetty[3409]: MODEM set baud rate: 19200 
baud, input flow RTS/CTS, output flow RTS/CTS
Jan 27 15:26:58 faxserver FaxGetty[3409]: DELAY 10 ms
Jan 27 15:26:58 faxserver FaxGetty[3409]: MODEM flush i/o
Jan 27 15:26:58 faxserver FaxGetty[3409]: <-- [4:ATZ\r]
Jan 27 15:27:28 faxserver FaxGetty[3409]: MODEM TIMEOUT: reading line 
from modem
Jan 27 15:27:28 faxserver FaxGetty[3409]: MODEM <Timeout>
Jan 27 15:27:28 faxserver FaxGetty[3409]: MODEM set DTR OFF
Jan 27 15:27:28 faxserver FaxGetty[3409]: /dev/ttyS2: Can not initialize 
modem.
Jan 27 15:27:28 faxserver FaxGetty[3409]: STATE CHANGE: BASE -> 
MODEMWAIT (timeout 30)
Jan 27 15:27:59 faxserver FaxGetty[3409]: MODEM set DTR OFF
Jan 27 15:27:59 faxserver FaxGetty[3409]: DELAY 75 ms
Jan 27 15:28:00 faxserver FaxGetty[3409]: MODEM set DTR ON
Jan 27 15:28:00 faxserver FaxGetty[3409]: DELAY 2600 ms
Jan 27 15:28:03 faxserver FaxGetty[3409]: MODEM set baud rate: 19200 
baud, input flow RTS/CTS, output flow RTS/CTS
Jan 27 15:28:03 faxserver FaxGetty[3409]: DELAY 10 ms
Jan 27 15:28:03 faxserver FaxGetty[3409]: MODEM flush i/o
Jan 27 15:28:03 faxserver FaxGetty[3409]: <-- [4:ATZ\r]
Jan 27 15:28:33 faxserver FaxGetty[3409]: MODEM TIMEOUT: reading line 
from modem
Jan 27 15:28:33 faxserver FaxGetty[3409]: MODEM <Timeout>
Jan 27 15:28:33 faxserver FaxGetty[3409]: MODEM set DTR OFF
Jan 27 15:28:33 faxserver FaxGetty[3409]: DELAY 75 ms
Jan 27 15:28:33 faxserver FaxGetty[3409]: MODEM set DTR ON
Jan 27 15:28:33 faxserver FaxGetty[3409]: DELAY 2600 ms
Jan 27 15:28:37 faxserver FaxGetty[3409]: MODEM set baud rate: 19200 
baud, input flow RTS/CTS, output flow RTS/CTS
Jan 27 15:28:37 faxserver FaxGetty[3409]: DELAY 10 ms
Jan 27 15:28:37 faxserver FaxGetty[3409]: MODEM flush i/o
Jan 27 15:28:37 faxserver FaxGetty[3409]: <-- [4:ATZ\r]
Jan 27 15:29:07 faxserver FaxGetty[3409]: MODEM TIMEOUT: reading line 
from modem
Jan 27 15:29:07 faxserver FaxGetty[3409]: MODEM <Timeout>
Jan 27 15:29:07 faxserver FaxGetty[3409]: MODEM set DTR OFF






Richard Morris
[email protected]


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.