Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[hylafax-users] U.S. Robotics 56K FAX USB -> MODEM TIMEOUT: reading line from modem

478 views
Skip to first unread message

Nico Prenzel

unread,
Feb 17, 2012, 12:08:58 PM2/17/12
to hylafa...@hylafax.org
Hallo Hylafax-Forum,

i've got a U.S. Robotics 56K FAX USB V1.2.19 which does use the cdc_acm
driver out of Debian's Linux Kernel 3.2.0-1-686-pae.
If I try to dial to someone with minicom it does work! So my hardware
configuration does seem to be correct.
But if I try to use this modem with Debian's Hylafax server
(2:6.1~20111227) I do get lot's of "MODEM TIMEOUT: reading line from
modem" errors that makes the Hylafax server unusable. The most of the time
I do get "Modem wedged" errors, but sporadically I do get it working
semi-properly (second attempt) as seen in my Faxgetty-syslog.
So I tried to figure out the correct modem configuration.

The rudimentary modem communtication is working as tested with minicom:
OK
ATH
OK
ATI
5601

OK
Is there anything I can do to get my modem working with Hylafax?


Best regards.

Nico Prenzel


Curently my config.ttyACM0 does look like the following:
#####################################################################
CountryCode: 49
AreaCode: 1234
FAXNumber: +49123456
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
SessionTracing: 0xFFF
ServerTracing: 0x0FFFF
RecvFileMode: 0646
LogFileMode: 0646
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Prenzel"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "Von %%l|%c|Seite %%P von %%T"
MaxRecvPages: 25
FaxRcvdCmd: /var/spool/hylafax/bin/faxrcvd
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts
#ModemFlowControl: xonxoff
#
ModemSetupDTRCmd: ATS13=1&D3 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemNoFlowCmd: AT&H0
ModemHardFlowCmd: AT&H1
ModemSoftFlowCmd: AT&H2
ModemResultCodesCmd: ATQ0X4 # enable result codes
#
ModemMfrQueryCmd: !USR5637
#ModemModelQueryCmd: ATI0
ModemModelQueryCmd: ATI3
ModemRevQueryCmd: ATI7 # XXX returns a multi-line result
ModemCommaPauseTimeCmd: AT
#ModemATCmdDelay: 1000
#
# 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+FLO=0
#Class1HFLOCmd: AT+FLO=2
#Class1SFLOCmd: "" # modem does this automatically
Class1NFLOCmd: AT+FLO=0 # setup modem for no flow control
Class1HFLOCmd: AT+FLO=2 # setup modem for hardware flow control
Class1SFLOCmd: AT+FLO=1 # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd: AT+FRS=0 # 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
#
#ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in class 0
#ModemAnswerCmd: ATA # answer in Class 1
#ModemAnwserFaxCmd: ATA
ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in class 0
ModemAnswerCmd: AT+FCLASS=1
#;A # 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>"
Class2NRCmd: AT+FNR=1,1,1,0
#
#
#
# Telefon-Vorwahl NicoP
# Hier der U.S. Robotics Befehlssatz-Link:
http://www.usr.com/support/5637/5637-de-ug/ref_data.html
# http://www.usr.com/support/5637/5637-de-ug/ref_cmd_use.html
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer. This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
# put it in the ModemDialCmd; e.g. "DT9%s@".
#
ModemDialCmd: ATDT0%s
#
######################################################################

The resulting Hylafax(FaxGetty) syslog:
######################################################################
Feb 15 23:40:01 szpn0004 HylaFAX[12845]: HylaFAX INET Protocol Server:
restarted.
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: servertracing = 0x0FFFF (line
40)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: recvfilemode = 0646 (line 41)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: logfilemode = 0646 (line 42)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: devicemode = 0600 (line 43)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: ringsbeforeanswer = 1 (line 44)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: speakervolume = off (line 45)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: gettyargs = -h %l dx_%s (line
46)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: localidentifier = Prenzel (line
47)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: taglinefont = etc/lutRS18.pcf
(line 48)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: taglineformat = Von %%l|%c|Seite
%%P von %%T (line 49)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: maxrecvpages = 25 (line 50)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: faxrcvdcmd =
/var/spool/hylafax/bin/faxrcvd (line 51)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemtype = Class1 (line 57)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemrate = 19200 (line 58)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemflowcontrol = rtscts (line
59)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemsetupdtrcmd = ATS13=1&D3
(line 62)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemsetupdcdcmd = AT&C1 (line
63)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemnoflowcmd = AT&H0 (line 64)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemhardflowcmd = AT&H1 (line
65)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemsoftflowcmd = AT&H2 (line
66)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemresultcodescmd = ATQ0X4
(line 67)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemmfrquerycmd = !USR5637
(line 69)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemmodelquerycmd = ATI3 (line
71)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemrevquerycmd = ATI7 (line
72)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemcommapausetimecmd = AT
(line 73)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: class1nflocmd = AT+FLO=0 (line
83)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: class1hflocmd = AT+FLO=2 (line
84)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: class1sflocmd = AT+FLO=1 (line
85)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: class1responsewaitcmd = AT+FRS=0
(line 89)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemsetupaacmd = AT+FCLASS=0
(line 100)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemanswercmd = AT+FCLASS=1
(line 101)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: class1switchingcmd = <delay:7>
(line 108)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: class2nrcmd = AT+FNR=1,1,1,0
(line 109)
Feb 15 23:40:01 szpn0004 FaxGetty[12853]: modemdialcmd = ATDT0%s (line
127)
Feb 15 23:40:01 szpn0004 FaxQueuer[12839]: FIFO RECV
"+ttyACM0:N+496324810264"
Feb 15 23:40:01 szpn0004 FaxQueuer[12839]: MODEM ttyACM0: NUMBER
+496324810264
Feb 15 23:40:01 szpn0004 FaxGetty[12862]: OPEN /dev/ttyACM0 HylaFAX (tm)
Version 6.1.GIT
Feb 15 23:40:02 szpn0004 FaxGetty[12862]: MODEM set DTR OFF
Feb 15 23:40:02 szpn0004 FaxGetty[12862]: DELAY 75 ms
Feb 15 23:40:02 szpn0004 FaxGetty[12862]: MODEM set DTR ON
Feb 15 23:40:02 szpn0004 FaxGetty[12862]: DELAY 2600 ms
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: MODEM set baud rate: 19200 baud,
input flow RTS/CTS, output flow RTS/CTS
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: DELAY 10 ms
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: MODEM flush i/o
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: <-- [4:ATZ\r]
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: <-- <3:41 54 5A>
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: --> <7:0D 0D 0A 4F 4B 0D 0A>
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:06 szpn0004 FaxGetty[12862]: DELAY 3000 ms
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: MODEM flush i/o
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- [7:ATS0=0\r]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- <6:41 54 53 30 3D 30>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: --> <13:41 54 53 30 3D 30 0D 0D
0A 4F 4B 0D 0A>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: --> [6:ATS0=0]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- [5:ATE0\r]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- <4:41 54 45 30>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: --> <11:41 54 45 30 0D 0D 0A 4F
4B 0D 0A>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: --> [4:ATE0]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- [5:ATV1\r]
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- <4:41 54 56 31>
Feb 15 23:40:09 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [7:ATQ0X4\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <6:41 54 51 30 58 34>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [3:AT\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <2:41 54>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [8:ATS7=60\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <7:41 54 53 37 3D 36 30>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [6:AT&H1\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <5:41 54 26 48 31>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [11:ATS13=1&D3\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <10:41 54 53 31 33 3D 31 26
44 33>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [6:AT&C1\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <5:41 54 26 43 31>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> <9:0D 0A 4F 4B 0D 0A 0D 0A
4F>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- [12:AT+FCLASS=?\r]
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <11:41 54 2B 46 43 4C 41 53
53 3D 3F>
Feb 15 23:40:10 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:15 szpn0004 FaxGetty[12862]: MODEM TIMEOUT: reading line from
modem
Feb 15 23:40:15 szpn0004 FaxGetty[12862]: MODEM set DTR OFF
Feb 15 23:40:15 szpn0004 FaxGetty[12862]: /dev/ttyACM0: Can not initialize
modem.
Feb 15 23:40:15 szpn0004 FaxGetty[12862]: STATE CHANGE: BASE -> MODEMWAIT
(timeout 30)
Feb 15 23:40:46 szpn0004 FaxGetty[12862]: MODEM set DTR OFF
Feb 15 23:40:46 szpn0004 FaxGetty[12862]: DELAY 75 ms
Feb 15 23:40:46 szpn0004 FaxGetty[12862]: MODEM set DTR ON
Feb 15 23:40:46 szpn0004 FaxGetty[12862]: DELAY 2600 ms
Feb 15 23:40:50 szpn0004 FaxGetty[12862]: MODEM set baud rate: 19200 baud,
input flow RTS/CTS, output flow RTS/CTS
Feb 15 23:40:50 szpn0004 FaxGetty[12862]: DELAY 10 ms
Feb 15 23:40:50 szpn0004 FaxGetty[12862]: MODEM flush i/o
Feb 15 23:40:50 szpn0004 FaxGetty[12862]: <-- [4:ATZ\r]
Feb 15 23:40:50 szpn0004 FaxGetty[12862]: <-- <3:41 54 5A>
Feb 15 23:40:50 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:51 szpn0004 FaxGetty[12862]: --> <7:0D 0D 0A 4F 4B 0D 0A>
Feb 15 23:40:51 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:51 szpn0004 FaxGetty[12862]: DELAY 3000 ms
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: MODEM flush i/o
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [7:ATS0=0\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <6:41 54 53 30 3D 30>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> <13:41 54 53 30 3D 30 0D 0D
0A 4F 4B 0D 0A>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [6:ATS0=0]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [5:ATE0\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <4:41 54 45 30>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> <11:41 54 45 30 0D 0D 0A 4F
4B 0D 0A>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [4:ATE0]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [5:ATV1\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <4:41 54 56 31>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [7:ATQ0X4\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <6:41 54 51 30 58 34>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [3:AT\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <2:41 54>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [8:ATS7=60\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <7:41 54 53 37 3D 36 30>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> <9:0D 0A 4F 4B 0D 0A 0D 0A
4F>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- [6:AT&H1\r]
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <5:41 54 26 48 31>
Feb 15 23:40:54 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:40:59 szpn0004 FaxGetty[12862]: MODEM TIMEOUT: reading line from
modem
Feb 15 23:40:59 szpn0004 FaxGetty[12862]: MODEM <Timeout>
Feb 15 23:40:59 szpn0004 FaxGetty[12862]: MODEM set DTR OFF
Feb 15 23:40:59 szpn0004 FaxGetty[12862]: DELAY 75 ms
Feb 15 23:40:59 szpn0004 FaxGetty[12862]: MODEM set DTR ON
Feb 15 23:40:59 szpn0004 FaxGetty[12862]: DELAY 2600 ms
Feb 15 23:41:03 szpn0004 FaxGetty[12862]: MODEM set baud rate: 19200 baud,
input flow RTS/CTS, output flow RTS/CTS
Feb 15 23:41:03 szpn0004 FaxGetty[12862]: DELAY 10 ms
Feb 15 23:41:03 szpn0004 FaxGetty[12862]: MODEM flush i/o
Feb 15 23:41:03 szpn0004 FaxGetty[12862]: <-- [4:ATZ\r]
Feb 15 23:41:03 szpn0004 FaxGetty[12862]: <-- <3:41 54 5A>
Feb 15 23:41:03 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:04 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:04 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:04 szpn0004 FaxGetty[12862]: DELAY 3000 ms
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: MODEM flush i/o
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [7:ATS0=0\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <6:41 54 53 30 3D 30>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <13:41 54 53 30 3D 30 0D 0D
0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [6:ATS0=0]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [5:ATE0\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <4:41 54 45 30>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <11:41 54 45 30 0D 0D 0A 4F
4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [4:ATE0]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [5:ATV1\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <4:41 54 56 31>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [7:ATQ0X4\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <6:41 54 51 30 58 34>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [3:AT\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <2:41 54>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [8:ATS7=60\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <7:41 54 53 37 3D 36 30>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [6:AT&H1\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <5:41 54 26 48 31>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [11:ATS13=1&D3\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <10:41 54 53 31 33 3D 31 26
44 33>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [6:AT&C1\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <5:41 54 26 43 31>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- [12:AT+FCLASS=?\r]
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <11:41 54 2B 46 43 4C 41 53
53 3D 3F>
Feb 15 23:41:07 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <13:0D 0A 30 2C 31 0D 0A 0D
0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [3:0,1]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports "Data"
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports "Class 1"
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [12:AT+FCLASS=1\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <11:41 54 2B 46 43 4C 41 53
53 3D 31>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM: Mfr USR5637
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [5:ATI3\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <4:41 54 49 33>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <43:0D 0A 55 2E 53 2E 20 52
6F 62 6F 74 69 63 73 20 35 36 4B 20 46 41 58 20 55 53 42 20 56 31 2E 32 2E
31 39 0D 0A 0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [33:U.S. Robotics 56K FAX
USB V1.2.19]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [5:ATI7\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <4:41 54 49 37>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <128:0D 0A 43 6F 6E 66 69 67
75 72 61 74 69 6F 6E 20 50 72 6F 66 69 6C 65 2E 2E 2E 0D 0A 0D 0A 50 72 6F
64 75 63 74 20 54 79 70 65 20 20 20 20 20 20 20 20 20 20 20 47 65 72 6D 61
6E 79 20 55 53 42 20 0D 0A 50 72 6F 64 75 63 74 20 49 44 3A 20 20 20 20 20
20 20 20 20 20 20 20 55 53 52 38 30 35 36 33 37 0D 0A 4F 70 74 69 6F 6E 73
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 33 32 62>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [24:Configuration
Profile...]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [35:Product Type Germany USB
]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [32:Product ID: USR805637]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <128:69 73 2C 56 2E 38 30 2C
56 2E 33 34 2B 2C 56 2E 39 30 2C 56 2E 39 32 0D 0A 45 72 72 6F 72 20 43 6F
72 72 65 63 74 69 6F 6E 20 20 20 20 20 20 20 4D 4E 50 2C 56 2E 34 32 0D 0A
44 61 74 61 20 43 6F 6D 70 72 65 73 73 69 6F 6E 20 20 20 20 20 20 20 4D 4E
50 35 2C 56 2E 34 32 62 69 73 2C 56 2E 34 34 0D 0A 46 61 78 20 4F 70 74 69
6F 6E 73 20 20 20 20 20 20 20 20 20 20 20 20 43 6C 61 73 73>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [50:Options
V32bis,V.80,V.34+,V.90,V.92]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [31:Error Correction
MNP,V.42]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [40:Data Compression
MNP5,V.42bis,V.44]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <112:20 31 0D 0A 4C 69 6E 65
20 4F 70 74 69 6F 6E 73 20 20 20 20 20 20 20 20 20 20 20 43 61 6C 6C 65 72
20 49 44 0D 0A 0D 0A 46 6C 61 73 68 20 44 61 74 65 20 20 20 20 20 20 20 20
20 20 20 20 20 30 35 2F 30 34 2F 32 30 31 30 0D 0A 46 6C 61 73 68 20 52 65
76 20 20 20 20 20 20 20 20 20 20 20 20 20 20 31 2E 32 2E 31 39 0D 0A 0D 0A
4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [30:Fax Options Class 1]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [32:Line Options Caller ID]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [33:Flash Date 05/04/2010]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [29:Flash Rev 1.2.19]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM: Model U.S. Robotics 56K
FAX USB V1.2.19
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM: Revision Configuration
Profile...#012Product Type Germany USB#012Product ID:
USR805637#012Options V32bis,V.80,V.34+,V.90,V.92#012Error
Correction MNP,V.42#012Data Compression MNP5,V.42bis,V.44#012Fax
Options Class 1#012Line Options Caller ID#012Flash
Date 05/04/2010#012Flash Rev 1.2.19
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [9:AT+FTM=?\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <8:41 54 2B 46 54 4D 3D 3F>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <51:0D 0A 33 2C 32 34 2C 34
38 2C 37 32 2C 37 33 2C 37 34 2C 39 36 2C 39 37 2C 39 38 2C 31 32 31 2C 31
32 32 2C 31 34 35 2C 31 34 36 0D 0A 0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: -->
[41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 3.85 line/mm
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 7.7 line/mm
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 15.4 line/mm
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports R16 x 15.4
line/mm
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 200 x 100 dpi
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 200 x 200 dpi
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 200 x 400 dpi
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 300 x 300 dpi
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 2400 bit/s
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 4800 bit/s
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 7200 bit/s
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 9600 bit/s
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 12000 bit/s
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 14400 bit/s
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports A4 page width
(215 mm)
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports B4 page width
(255 mm)
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports A3 page width
(303 mm)
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports A4 page length
(297 mm)
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports B4 page length
(364 mm)
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports unlimited page
length
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 1-D MH
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 2-D MR
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 2-D MMR
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports no ECM
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports T.30 Annex A,
64-byte ECM
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports T.30 Annex A,
256-byte ECM
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 0 ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 5 ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 10 ms, 5
ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 10 ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 20 ms, 10
ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 20 ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 40 ms, 20
ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM Supports 40 ms/scanline
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [9:AT+FRM=?\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <8:41 54 2B 46 52 4D 3D 3F>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <51:0D 0A 33 2C 32 34 2C 34
38 2C 37 32 2C 37 33 2C 37 34 2C 39 36 2C 39 37 2C 39 38 2C 31 32 31 2C 31
32 32 2C 31 34 35 2C 31 34 36 0D 0A 0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: -->
[41:3,24,48,72,73,74,96,97,98,121,122,145,146]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [9:AT+FLO=2\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <8:41 54 2B 46 4C 4F 3D 32>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [12:AT+FCLASS=0\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <11:41 54 2B 46 43 4C 41 53
53 3D 30>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM USR5637 U.S. Robotics 56K
FAX USB V1.2.19/Configuration Profile...#012Product Type Germany
USB#012Product ID: USR805637#012Options
V32bis,V.80,V.34+,V.90,V.92#012Error Correction MNP,V.42#012Data
Compression MNP5,V.42bis,V.44#012Fax Options Class
1#012Line Options Caller ID#012Flash Date 05/04/2010#012Flash
Rev 1.2.19
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- [5:ATM0\r]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <4:41 54 4D 30>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: <-- <1:0D>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> <6:0D 0A 4F 4B 0D 0A>
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: --> [2:OK]
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: STATE CHANGE: MODEMWAIT ->
RUNNING (timeout 30)
Feb 15 23:41:08 szpn0004 FaxGetty[12862]: MODEM input buffering disabled
Feb 15 23:41:08 szpn0004 FaxQueuer[12839]: FIFO RECV
"+ttyACM0:RPcaf9c77f:ff"
Feb 15 23:41:08 szpn0004 FaxQueuer[12839]: MODEM ttyACM0: READY,
capabilities Pcaf9c77f:ff
######################################################################


____________________ 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.*

Vincent Gatignol

unread,
Feb 20, 2012, 2:44:24 AM2/20/12
to hylafa...@hylafax.org
Le 17/02/2012 18:09, Nico Prenzel a écrit :
> Hallo Hylafax-Forum,
>
> i've got a U.S. Robotics 56K FAX USB V1.2.19 which does use the cdc_acm
> driver out of Debian's Linux Kernel 3.2.0-1-686-pae.
> If I try to dial to someone with minicom it does work! So my hardware
> configuration does seem to be correct.
> But if I try to use this modem with Debian's Hylafax server
> (2:6.1~20111227) I do get lot's of "MODEM TIMEOUT: reading line from
> modem" errors that makes the Hylafax server unusable. The most of the time
> I do get "Modem wedged" errors, but sporadically I do get it working
> semi-properly (second attempt) as seen in my Faxgetty-syslog.
> So I tried to figure out the correct modem configuration.
See an old post for this (20/01/2012@20h26 and following...)

----------

I set up a similar conf on Debian with the same modem (USR5637 USB).

I don't understand all the AT commands but this configuration file is
working for me sending and receiving fax :
http://gnu.funkgui.it/materiale/config.ttyACM0
----------

Regards

--
Vincent


signature.asc

Nico Prenzel

unread,
Feb 21, 2012, 6:37:08 AM2/21/12
to hylafa...@hylafax.org
Hello Vincent,

thanks for your answer.

It tried your configuration file. But the result was the same as before. I do sporadically get the errors:
FaxGetty[1174]: MODEM TIMEOUT: reading line from modem
FaxGetty[1174]: MODEM <Timeout>

Hylafax then refuses to work!

I'd really like to get this modem working together with Hylfax.
But how to achieve this?


Thanks.

Nico Prenzel

-----hylafax-us...@hylafax.org schrieb: -----
An: hylafa...@hylafax.org
Von: Vincent Gatignol
Gesendet von: hylafax-us...@hylafax.org
Datum: 20.02.2012 08:49
Betreff: Re: [hylafax-users] U.S. Robotics 56K FAX USB -> MODEM TIMEOUT: reading line from modem
[Anhang 'signature.asc' entfernt von Nico Prenzel/pn-systeme]

Lee Howard

unread,
Feb 22, 2012, 12:14:16 AM2/22/12
to Nico Prenzel, hylafa...@hylafax.org
Nico Prenzel wrote:
> I do sporadically get the errors:
> FaxGetty[1174]: MODEM TIMEOUT: reading line from modem
> FaxGetty[1174]: MODEM <Timeout>
>
> Hylafax then refuses to work!

What makes you think that HylaFAX is refusing to work? What do you have
to do to recover from this problem? I would guess that the problem is
not with HylaFAX but with the modem or the USB interface, but without
some detailed logs and explanations of what "sporadically" really means
it's hard to help.

Thanks,

Lee.

Nico Prenzel

unread,
Feb 22, 2012, 4:32:09 AM2/22/12
to Lee Howard, hylafa...@hylafax.org
Hello Lee,

>> What makes you think that HylaFAX is refusing to work?

Hylfax thinks my modem is wedged and does refuse to work. This means it's impossible to send or receive a fax.
..
Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM TIMEOUT: reading line from modem
Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM <Timeout>
Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM set DTR OFF
Feb 22 10:17:07 szpn0004 FaxGetty[1181]: Unable to setup modem on /dev/ttyACM0; giving up after 2 attempts
Feb 22 10:17:07 szpn0004 FaxQueuer[1154]: MODEM /dev/ttyACM0 appears to be wedged
Feb 22 10:17:07 szpn0004 FaxQueuer[1154]: MODEM WEDGED: bin/wedged "ttyACM0" "/dev/ttyACM0"
Feb 22 10:17:07 szpn0004 FaxGetty[1181]: CLOSE /dev/ttyACM0
..

>> What do you have to do to recover from this problem?

Restart the whole system(USB-Modem, Server) several times and somtimes it will work. But it's been a long time that it worked last.
Until now I can't exactly specify the cause!

To get closer to the culprit, i've done an strace of fagetty. Perhaps some is able to dig depper into that!?

The strace is located there:
http://prenzel.dyndns.org/strace.out.faxgetty


Thanks

Nico Prenzel





-----hylafax-us...@hylafax.org schrieb: -----
An: Nico Prenzel <nico.p...@pn-systeme.de>
Von: Lee Howard
Gesendet von: hylafax-us...@hylafax.org
Datum: 22.02.2012 06:23
Kopie: hylafa...@hylafax.org
Betreff: Re: [hylafax-users] U.S. Robotics 56K FAX USB -> MODEM TIMEOUT: reading line from modem


Nico Prenzel wrote:
> I do sporadically get the errors:
> FaxGetty[1174]: MODEM TIMEOUT: reading line from modem
> FaxGetty[1174]: MODEM <Timeout>
>
> Hylafax then refuses to work!

What makes you think that HylaFAX is refusing to work? What do you have
to do to recover from this problem? I would guess that the problem is
not with HylaFAX but with the modem or the USB interface, but without
some detailed logs and explanations of what "sporadically" really means
it's hard to help.

Thanks,

Lee.


Lee Howard

unread,
Feb 22, 2012, 8:43:10 AM2/22/12
to Nico Prenzel, hylafa...@hylafax.org
Nico Prenzel wrote:
>>> What makes you think that HylaFAX is refusing to work?
>>>
>
> Hylfax thinks my modem is wedged and does refuse to work. This means it's impossible to send or receive a fax.
> ...
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM TIMEOUT: reading line from modem
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM <Timeout>
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM set DTR OFF
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: Unable to setup modem on /dev/ttyACM0; giving up after 2 attempts
> Feb 22 10:17:07 szpn0004 FaxQueuer[1154]: MODEM /dev/ttyACM0 appears to be wedged
> Feb 22 10:17:07 szpn0004 FaxQueuer[1154]: MODEM WEDGED: bin/wedged "ttyACM0" "/dev/ttyACM0"
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: CLOSE /dev/ttyACM0
> ...
>


It seems more-likely that the modem is refusing to work. So if when
this problem is happening and the modem is wedged can you stop faxgetty
and "talk" to the modem with minicom? Send it commands such as ATZ,
ATI3, etc.

Nico Prenzel

unread,
Feb 22, 2012, 9:19:01 AM2/22/12
to Lee Howard, hylafa...@hylafax.org
These kind of tests I've done a lot until know. It's possible to start minicom and attach to the modem and execute any AT commmand I tried. It's also possible to dial to a number! So in general the modem seems to work correctly.

In line 319 of my strace file (http://prenzel.dyndns.org/strace.out.faxgetty), I do expect to see the timeout occurring. Is that the timeout I do get from FaxGetty?

NicoP.


-----Lee Howard <fax...@howardsilvan.com> schrieb: -----
An: Nico Prenzel <nico.p...@pn-systeme.de>
Von: Lee Howard <fax...@howardsilvan.com>
Datum: 22.02.2012 14:48
Kopie: hylafa...@hylafax.org
Betreff: Re: [hylafax-users] U.S. Robotics 56K FAX USB -> MODEM TIMEOUT: reading line from modem


Nico Prenzel wrote:
>>> What makes you think that HylaFAX is refusing to work?
>>>
>
> Hylfax thinks my modem is wedged and does refuse to work. This means it's impossible to send or receive a fax.
> ...
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM TIMEOUT: reading line from modem
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM <Timeout>
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: MODEM set DTR OFF
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: Unable to setup modem on /dev/ttyACM0; giving up after 2 attempts
> Feb 22 10:17:07 szpn0004 FaxQueuer[1154]: MODEM /dev/ttyACM0 appears to be wedged
> Feb 22 10:17:07 szpn0004 FaxQueuer[1154]: MODEM WEDGED: bin/wedged "ttyACM0" "/dev/ttyACM0"
> Feb 22 10:17:07 szpn0004 FaxGetty[1181]: CLOSE /dev/ttyACM0
> ...
>


It seems more-likely that the modem is refusing to work. So if when
this problem is happening and the modem is wedged can you stop faxgetty
and "talk" to the modem with minicom? Send it commands such as ATZ,
ATI3, etc.

Lee Howard

unread,
Feb 22, 2012, 11:40:40 AM2/22/12
to Nico Prenzel, hylafa...@hylafax.org
Nico Prenzel wrote:
> These kind of tests I've done a lot until know. It's possible to start minicom and attach to the modem and execute any AT commmand I tried. It's also possible to dial to a number! So in general the modem seems to work correctly.
>

I was working with someone recently who also had a modem on ttyACM0 (but
they had a different make and model) and was experiencing similar issues
(where faxaddmodem, probemodem, faxgetty, and faxsend would usually not
be able to talk to the modem but minicom always could). Although I was
able to diagnose the problem his resolution was simply to change to a
different make and model which did work... as it would have taken me
substantially more work to come up with an appropriate resolution in
HylaFAX+ code.

If you would like me to see if the problem you're experiencing is the
same and subsequently do that investigation in order to come to an
appropriate resolution please reply to me privately and we'll arrange an
ssh connection for me to work on.

> In line 319 of my strace file (http://prenzel.dyndns.org/strace.out.faxgetty), I do expect to see the timeout occurring. Is that the timeout I do get from FaxGetty?

No, because it's a select on descriptor 0 and not on descriptor 6, which
is the descriptor for the modem. That select is just a software pause
or "sleep".

Nico Prenzel

unread,
Feb 27, 2012, 9:52:26 AM2/27/12
to Lee Howard, hylafa...@hylafax.org
Hello Lee,

thanks for your proposal to look after this problem.
In the meantime I've found another important fact. I do use qemu-kvm to pass-through my usb modem to the linux guest. Last week I've found some postings to the devel list to qemu-kvm that announce some fixes within the next qemu-kvm version (1.0.1). So, my first attempt would be to wait for these fixes. Parallel, I've started to install Hylafax onto the kvm-host to exclude any circumstances the qemu-kvm hypervisor may introduce.

If all these attempts don't resolve the problem, I'd like to arrange an ssh session that you can have a look at this.
It will take me some time, but I'll send you the results of my attempts.


Thanks.

NicoP.

-----hylafax-us...@hylafax.org schrieb: -----
An: Nico Prenzel <nico.p...@pn-systeme.de>
Von: Lee Howard
Gesendet von: hylafax-us...@hylafax.org
Datum: 22.02.2012 17:50
Kopie: hylafa...@hylafax.org
Betreff: Re: [hylafax-users] U.S. Robotics 56K FAX USB -> MODEM TIMEOUT: reading line from modem


Nico Prenzel wrote:
> These kind of tests I've done a lot until know. It's possible to start minicom and attach to the modem and execute any AT commmand I tried. It's also possible to dial to a number! So in general the modem seems to work correctly.
>

I was working with someone recently who also had a modem on ttyACM0 (but
they had a different make and model) and was experiencing similar issues
(where faxaddmodem, probemodem, faxgetty, and faxsend would usually not
be able to talk to the modem but minicom always could). Although I was
able to diagnose the problem his resolution was simply to change to a
different make and model which did work... as it would have taken me
substantially more work to come up with an appropriate resolution in
HylaFAX+ code.

If you would like me to see if the problem you're experiencing is the
same and subsequently do that investigation in order to come to an
appropriate resolution please reply to me privately and we'll arrange an
ssh connection for me to work on.

> In line 319 of my strace file (http://prenzel.dyndns.org/strace.out.faxgetty), I do expect to see the timeout occurring. Is that the timeout I do get from FaxGetty?

No, because it's a select on descriptor 0 and not on descriptor 6, which
is the descriptor for the modem. That select is just a software pause
or "sleep".

Nico Prenzel

unread,
May 31, 2012, 3:27:11 AM5/31/12
to Vincent Gatignol, hylafa...@hylafax.org
Hello Vincent,

it's no problem for me that you do contact me directly :-)
Pherhaps you've read on my last post to the Hylafax list...

My problem results of the lacking usb passthrough support of my hypervisor
(qemu-kvm) to the virtual guest (Debian). I've installed my hylafax server on
my hypervisor host and all problems gone away. Just for tomorrow there is an
new release announcement for qemu-kvm which seems to fix these sort of
problems. They've poolished the usb code a lot..., hopefully.

If you don't use qemu-kvm your problem seems to be of some other sort.

Pherhaps, first try to flash your U.S. Robotics modem. To get the newest
firmware and guarantee a working connection.

Best regards.

NicoP.

-----Vincent Gatignol <hyl...@vgsi.fr> schrieb: -----
An: Nico Prenzel <nico.p...@pn-systeme.de>
Von: Vincent Gatignol <hyl...@vgsi.fr>
Datum: 30.05.2012 17:11
Betreff: Re: [hylafax-users] U.S. Robotics 56K FAX USB -> MODEM TIMEOUT:
reading line from modem

Hi Nico,

Sorry to contact you directly but you are one with a similar
configuration as mine...
I'll post back on the list if you cannot send me a clue...

Did you ever find a solution for this problem ?

I'm in fact experiencing the same behaviour on my squeeze server after 4
or 5 months of fully functionning setup :(

--
Vincent



[Anhang 'signature.asc' entfernt von Nico Prenzel/pn-syste me]
0 new messages