HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hylafax receive errors



I'm having lots of trouble setting up an old Etech P1414MX for fax
receive using Hylafax 4.0pl2 under linux 2.2.7.

I get garbage faxes all of the times. I have tried xon/xoff-rts/cts and
no flow control,
19200 and 9600 bps, DC1 and DC2 but...

Please help!!

I enclose config.modem, session log and server log.

My config.modem file:
#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:  39
AreaCode:  039
FAXNumber:  +39.039.6880122
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing:  0x85fd
SessionTracing:  0x85fd
RecvFileMode:  0644
LogFileMode:  0600
DeviceMode:  0600
RingsBeforeAnswer: 1
SpeakerVolume:  quiet
GettyArgs:  "-h %l %s"
LocalIdentifier: "Thule sas-Vimercate"
TagLineFont:  etc/lutRS18.pcf
TagLineFormat:  "From %%l|%c|Page %%p of %%t"
MaxRecvPages:  25
PercentGoodLines: 0
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:  Class2  # use this to supply a hint
ModemRate:  19200  # max rate for DCE-DTE communication
ModemFlowControl: rtscts  # hardware flow control assumed
ModemHardFlowCmd: AT$F4  # Hardware flow control
ModemSoftFlowCmd: AT$F0  # Software flow control
ModemNoFlowCmd:  AT$F5
ModemSetupDTRCmd: AT&D2  # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1  # setup so DCD reflects carrier (or not)
#
ModemDialCmd:  ATDT%s@  # T for tone dialing, @ for silence
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Configuration parameters for Class 2 modems.
#
Class2DDISCmd:  AT+FDIS  # disable pre-dial DIS command hack

Class2TBCCmd:            ""

My session log:
May 02 20:27:05.75: [ 2345]: SESSION BEGIN 00000030 390396880122
May 02 20:27:05.76: [ 2345]: <-- [4:ATA\r]
May 02 20:27:09.01: [ 2345]: --> [3:FAX]
May 02 20:27:09.01: [ 2345]: ANSWER: FAX CONNECTION
May 02 20:27:09.01: [ 2345]: STATE CHANGE: ANSWERING -> RECEIVING
May 02 20:27:09.01: [ 2345]: MODEM input buffering enabled
May 02 20:27:13.45: [ 2345]: --> [5:+FCON]
May 02 20:27:16.80: [ 2345]: --> [29:+FTSI: "     Thule sas-Monza"]
May 02 20:27:16.80: [ 2345]: --> [22:+FDCS: 1,5,0,2,0,0,0,0]
May 02 20:27:16.80: [ 2345]: --> [2:OK]
May 02 20:27:16.80: [ 2345]: <-- [7:AT+FDR\r]
May 02 20:27:17.04: [ 2345]: --> [5:+FCFR]
May 02 20:27:18.94: [ 2345]: --> [7:CONNECT]
May 02 20:27:18.94: [ 2345]: <-- data [1]
May 02 20:27:19.15: [ 2345]: RECV/CQ: Bad 1D pixel count, row 0, got
1784, expected 1728
May 02 20:27:19.64: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
1, x 142
May 02 20:27:19.64: [ 2345]: RECV/CQ: Bad 1D pixel count, row 1, got
142, expected 1728
May 02 20:27:19.64: [ 2345]: RECV/CQ: Bad 1D pixel count, row 2, got
1746, expected 1728
May 02 20:27:20.13: [ 2345]: RECV/CQ: Bad 1D pixel count, row 3, got
1928, expected 1728
May 02 20:27:20.20: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
4, x 0
May 02 20:27:20.20: [ 2345]: RECV/CQ: Bad 1D pixel count, row 4, got 0,
expected 1728
May 02 20:27:20.20: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
5, x 0
May 02 20:27:20.20: [ 2345]: RECV/CQ: Bad 1D pixel count, row 5, got 0,
expected 1728
May 02 20:27:20.27: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
6, x 411
May 02 20:27:20.27: [ 2345]: RECV/CQ: Bad 1D pixel count, row 6, got
411, expected 1728
May 02 20:27:20.27: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
7, x 0
May 02 20:27:20.27: [ 2345]: RECV/CQ: Bad 1D pixel count, row 7, got 0,
expected 1728
May 02 20:27:20.27: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
8, x 79
May 02 20:27:20.27: [ 2345]: RECV/CQ: Bad 1D pixel count, row 8, got 79,
expected 1728
May 02 20:27:20.34: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
9, x 1923
May 02 20:27:20.34: [ 2345]: RECV/CQ: Bad 1D pixel count, row 9, got
1923, expected 1728
May 02 20:27:20.41: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
10, x 1007
May 02 20:27:20.41: [ 2345]: RECV/CQ: Bad 1D pixel count, row 10, got
1007, expected 1728
May 02 20:27:20.48: [ 2345]: RECV/CQ: Bad 1D pixel count, row 11, got
1964, expected 1728
May 02 20:27:20.48: [ 2345]: RECV/CQ: Bad 1D pixel count, row 12, got
3536, expected 1728
May 02 20:27:20.76: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
13, x 320
May 02 20:27:20.76: [ 2345]: RECV/CQ: Bad 1D pixel count, row 13, got
320, expected 1728
May 02 20:27:20.83: [ 2345]: RECV/CQ: Bad 1D pixel count, row 14, got
2079, expected 1728
May 02 20:27:21.19: [ 2345]: RECV/CQ: Bad 1D pixel count, row 15, got
2677, expected 1728
May 02 20:27:21.26: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
16, x 31
May 02 20:27:21.26: [ 2345]: RECV/CQ: Bad 1D pixel count, row 16, got
31, expected 1728
May 02 20:27:21.26: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
17, x 244
May 02 20:27:21.26: [ 2345]: RECV/CQ: Bad 1D pixel count, row 17, got
244, expected 1728
May 02 20:27:21.33: [ 2345]: RECV/CQ: Bad 1D pixel count, row 18, got
2117, expected 1728
May 02 20:27:21.33: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
19, x 643
May 02 20:27:21.33: [ 2345]: RECV/CQ: Bad 1D pixel count, row 19, got
643, expected 1728
May 02 20:27:21.47: [ 2345]: RECV/CQ: Bad 1D pixel count, row 20, got
1067, expected 1728
May 02 20:27:21.47: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
21, x 607
May 02 20:27:21.47: [ 2345]: RECV/CQ: Bad 1D pixel count, row 21, got
607, expected 1728
May 02 20:27:21.47: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
22, x 795
May 02 20:27:21.47: [ 2345]: RECV/CQ: Bad 1D pixel count, row 22, got
795, expected 1728
May 02 20:27:21.47: [ 2345]: RECV/CQ: Invalid WhiteTable code word, row
23, x 0
May 02 20:27:21.47: [ 2345]: RECV/CQ: Bad 1D pixel count, row 23, got 0,
expected 1728
May 02 20:27:21.47: [ 2345]: RECV/CQ: Invalid BlackTable code word, row
24, x 1246
May 02 20:27:21.47: [ 2345]: RECV/CQ: Bad 1D pixel count, row 24, got
1246, expected 1728
May 02 20:27:26.03: [ 2345]: RECV/CQ: Bad 1D pixel count, row 25, got
20, expected 1728
May 02 20:27:27.41: [ 2345]: --> [17:+FPTS: 1,2219,0,0]
May 02 20:27:27.41: [ 2345]: --> [7:+FET: 2]
May 02 20:27:27.41: [ 2345]: --> [2:OK]
May 02 20:27:27.41: [ 2345]: RECV FAX (00000030): from Thule sas-Monza,
page 1 in 0:11, INF, 7.7 line/mm, 1-D MR
May 02 20:27:27.42: [ 2345]: RECV FAX (00000030): recvq/fax00020.tif
from Thule sas-Monza, route to <unspecified>, 1 pages in 0:18
May 02 20:27:27.42: [ 2345]: <-- [7:AT+FDR\r]
May 02 20:27:30.44: [ 2345]: --> [8:+FHNG: 0]
May 02 20:27:30.44: [ 2345]: RECV FAX: bin/faxrcvd "recvq/fax00020.tif"
"modem" "00000030" ""
May 02 20:27:30.83: [ 2345]: SESSION END

My server log:
May  2 20:27:05 turbujuk FaxGetty[2345]: STATE CHANGE: RUNNING ->
LISTENING
May  2 20:27:05 turbujuk FaxGetty[2345]: MODEM input buffering enabled
May  2 20:27:05 turbujuk FaxGetty[2345]: --> [4:RING]
May  2 20:27:05 turbujuk FaxGetty[2345]: STATE CHANGE: LISTENING ->
ANSWERING
May  2 20:27:05 turbujuk FaxGetty[2345]: MODEM input buffering enabled
May  2 20:27:09 turbujuk FaxGetty[2345]: ANSWER: FAX CONNECTION
May  2 20:27:27 turbujuk FaxGetty[2345]: RECV FAX (00000030): from Thule
sas-Monza, page 1 in 0:11, INF, 7.7 line/mm, 1-D MR
May  2 20:27:27 turbujuk FaxGetty[2345]: RECV FAX (00000030):
recvq/fax00020.tif from Thule sas-Monza, route to <unspecified>, 1 pages
in 0:18
May  2 20:27:30 turbujuk FaxGetty[2345]: RECV FAX: bin/faxrcvd
"recvq/fax00020.tif" "modem" "00000030" ""
May  2 20:27:30 turbujuk FaxGetty[2345]: <-- [5:ATH0\r]
May  2 20:27:30 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:30 turbujuk FaxGetty[2345]: MODEM set DTR OFF
May  2 20:27:30 turbujuk FaxGetty[2345]: MODEM set DTR OFF
May  2 20:27:33 turbujuk FaxGetty[2345]: MODEM set DTR ON
May  2 20:27:33 turbujuk FaxGetty[2345]: MODEM set baud rate: 19200
baud, input flow RTS/CTS, output flow RTS/CTS
May  2 20:27:33 turbujuk FaxGetty[2345]: MODEM flush i/o
May  2 20:27:33 turbujuk FaxGetty[2345]: <-- [15:ATE0V1Q0S0=0H0\r]
May  2 20:27:33 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:33 turbujuk FaxGetty[2345]: <-- [21:ATS8=2S7=60$F4&D2&C1\r]

May  2 20:27:33 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:33 turbujuk FaxGetty[2345]: <-- [12:AT+FCLASS=?\r]
May  2 20:27:34 turbujuk FaxGetty[2345]: --> [3:0,2]
May  2 20:27:34 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:34 turbujuk FaxGetty[2345]: MODEM Supports "Data"
May  2 20:27:34 turbujuk FaxGetty[2345]: MODEM Supports "Class 2"
May  2 20:27:34 turbujuk FaxGetty[2345]: <-- [12:AT+FCLASS=2\r]
May  2 20:27:34 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:34 turbujuk FaxGetty[2345]: <-- [9:AT+FMFR?\r]
May  2 20:27:34 turbujuk FaxGetty[2345]: --> [12:E-Tech, Inc.]
May  2 20:27:34 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:34 turbujuk FaxGetty[2345]: MODEM: Mfr E-Tech, Inc.
May  2 20:27:34 turbujuk FaxGetty[2345]: <-- [9:AT+FMDL?\r]
May  2 20:27:34 turbujuk FaxGetty[2345]: --> [5:ERROR]
May  2 20:27:34 turbujuk FaxGetty[2345]: <-- [9:AT+FREV?\r]
May  2 20:27:35 turbujuk FaxGetty[2345]: --> [5:ERROR]
May  2 20:27:35 turbujuk FaxGetty[2345]: <-- [10:AT+FDCC=?\r]
May  2 20:27:35 turbujuk FaxGetty[2345]: -->
[35:(0,1),(0-5),(0-4),(0-2),0,0,0,(0-7)]
May  2 20:27:35 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 3.85 line/mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 7.7 line/mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 2400 bit/s
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 4800 bit/s
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 7200 bit/s
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 9600 bit/s
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 12000 bit/s
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 14400 bit/s
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports page width 1728
pixels in 215 mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports page width 2048
pixels in 255 mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports page width 2432
pixels in 303 mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports page width 1216
pixels in 151 mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports page width 864
pixels in 107 mm
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports A4 page length
(297 mm)
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports B4 page length
(364 mm)
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports unlimited page
length
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 1-D MR
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 0 ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 5 ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 10 ms, 5
ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 10 ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 20 ms, 10
ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 20 ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 40 ms, 20
ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports 40 ms/scanline
May  2 20:27:35 turbujuk FaxGetty[2345]: <-- [9:AT+FCQ=?\r]
May  2 20:27:35 turbujuk FaxGetty[2345]: --> [5:ERROR]
May  2 20:27:35 turbujuk FaxGetty[2345]: MODEM Supports no copy quality
checking
May  2 20:27:35 turbujuk FaxGetty[2345]: <-- [9:AT+FAP=?\r]
May  2 20:27:35 turbujuk FaxGetty[2345]: --> [5:ERROR]
May  2 20:27:35 turbujuk FaxGetty[2345]: <-- [10:AT+FSPL=?\r]
May  2 20:27:36 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:36 turbujuk FaxGetty[2345]: <-- [12:AT+FCLASS=2\r]
May  2 20:27:36 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:36 turbujuk FaxGetty[2345]: <-- [10:AT+FTBC=0\r]
May  2 20:27:36 turbujuk FaxGetty[2345]: --> [5:ERROR]
May  2 20:27:36 turbujuk FaxGetty[2345]: MODEM Command error
May  2 20:27:36 turbujuk FaxGetty[2345]: <-- [10:AT+FBOR=0\r]
May  2 20:27:36 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:36 turbujuk FaxGetty[2345]: <-- [13:AT+FPHCTO=30\r]
May  2 20:27:37 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:37 turbujuk FaxGetty[2345]: <-- [10:AT+FBUG=1\r]
May  2 20:27:37 turbujuk FaxGetty[2345]: --> [5:ERROR]
May  2 20:27:37 turbujuk FaxGetty[2345]: MODEM Command error
May  2 20:27:37 turbujuk FaxGetty[2345]: <--
[24:AT+FDCC=1,5,2,2,0,0,0,0\r]
May  2 20:27:37 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:37 turbujuk FaxGetty[2345]: MODEM E-TECH, INC. /
May  2 20:27:37 turbujuk FaxGetty[2345]: <-- [5:ATM1\r]
May  2 20:27:37 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:37 turbujuk FaxGetty[2345]: <-- [9:AT+FCR=1\r]
May  2 20:27:38 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:38 turbujuk FaxGetty[2345]: <-- [30:AT+FLID="Thule
sas-Vimercate"\r]
May  2 20:27:38 turbujuk FaxGetty[2345]: --> [2:OK]
May  2 20:27:38 turbujuk FaxGetty[2345]: STATE CHANGE: RECEIVING ->
RUNNING
May  2 20:27:38 turbujuk FaxGetty[2345]: MODEM input buffering disabled





Project hosted by iFAX Solutions