HylaFAX The world's most advanced open source fax server

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

[hylafax-users] problems receiving faxes with sedlbauer speedfax+ pci



Hello hykafax-users,

I have some problems with receiving faxes on an Sedlbauer Speedfax + PCI
ISDN Card (this is an "semi active" card with an own DSP for faxusage
and can be used as an class1 Modem).

Most time when i receive a Fax using this card (sending Modems are two
ELSA MicroLink 28.8 TQV with differnt firmware versions and an Zoom Modem)
a piece of the top of the tagline is missing in the received tiff file.
Some times the whole tagline or even the top of the faxed document is cut
off...

Im using HylaFAX 4.1 (compiled from the debian unstable source package) on
Debian 2.2, Kernel 2.4.9. The libtiff version is 3.5.5. The host is an old 
Pentium 75 with nearly no load. I also tried to replace the faxgetty
with an version from the orignal source packet but had the same Problems :(

I have searched the hylafax mailinglist archive, the faq and google groups
but don't found any soloution, so please don't bash me if I missed
something.

I have attached the config file and one logfile of one transmission.

Thanks for any help,
	Sascha

config.ttyI0:
-----------------------------------------
# $Id: class1,v 1.23 1996/06/24 02:58:32 sam Rel $
# 
# copyright etc. removed...

#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		49
AreaCode:		69
FAXNumber:		+49-69-xxxxxx
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules
ServerTracing:		0x8FFF
SessionTracing:		0xFFF
RecvFileMode:		0640
LogFileMode:		0640
DeviceMode:		0660
RingsBeforeAnswer:	1
SpeakerVolume:		off
#GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"+49-69-xxxxx"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
MaxRecvPages:		50
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class1		# use this to supply a hint
ModemRate:		19200
ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
## test
#ModemWaitForConnect:	Yes
## test
#
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
#GettyArgs:		"-h %l dx_%s"	# modem must auto-detect fax/data
#
# 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:		ATDT%s@		# T for tone dialing, @ for silence
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
# this sets the phone number to which the card answers
ModemResetCmds:		AT&E28		# 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

#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
ModemEchoOffCmd:	ATE0		# disable command echo
ModemVerboseResultsCmd:	ATV1		# enable verbose command results
ModemResultCodesCmd:	ATQ0		# enable result codes
ModemOnHookCmd:		ATH0		# place phone on hook (hangup)
ModemSoftResetCmd:	ATZ		# do soft reset of modem
ModemWaitTimeCmd:	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 transmit
#
Class1Cmd:		AT+FCLASS=1	# command to enter class 1
Class1TCFResponseDelay:	75		# 75ms delay between recv TCF & response
Class1SendPPMDelay:	75		# 75ms delay before sending PPM
Class1SendTCFDelay:	75		# 75ms delay between sending DCS & TCF
Class1TrainingRecovery:	1500		# 1.5sec delay after training failure
Class1RecvAbortOK:	200		# wait 200ms for abort response
Class1FrameOverhead:	4		# 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer:	40000		# 35+5secs waiting for ident frames
Class1TCFMaxNonZero:	10		# max 10% of data may be non-zero
Class1TCFMinRun:	1000		# min run is 2/3rds of TCF duration
#Class1SwitchingDelay:	75
--------------------------------------------------

the logfile:
--------------------------------------------------
Sep 13 14:57:26.13: [26307]: SESSION BEGIN 00001025 496991330928
Sep 13 14:57:26.13: [26307]: MODEM set XON/XOFF/FLUSH: input ignored, output 
disabled
Sep 13 14:57:26.13: [26307]: <-- [4:ATA\r]
Sep 13 14:57:31.34: [26307]: --> [7:CONNECT]
Sep 13 14:57:31.34: [26307]: ANSWER: FAX CONNECTION
Sep 13 14:57:31.34: [26307]: STATE CHANGE: ANSWERING -> RECEIVING
Sep 13 14:57:31.34: [26307]: MODEM input buffering enabled
Sep 13 14:57:31.34: [26307]: RECV FAX: begin
Sep 13 14:57:31.34: [26307]: MODEM input buffering disabled
Sep 13 14:57:31.34: [26307]: <-- HDLC<23:FF C0 02 0C CC 9C 0C CC CC 8C 9C B4 
9C 6C B4 9C 2C D4 04 04 04 04 04>
Sep 13 14:57:31.34: [26307]: <-- data [23]
Sep 13 14:57:31.34: [26307]: <-- data [2]
Sep 13 14:57:31.36: [26307]: --> [7:CONNECT]
Sep 13 14:57:31.36: [26307]: <-- HDLC<10:FF C8 01 00 77 5F 01 79 03 C0>
Sep 13 14:57:31.36: [26307]: <-- data [10]
Sep 13 14:57:31.36: [26307]: <-- data [2]
Sep 13 14:57:32.47: [26307]: --> [2:OK]
Sep 13 14:57:32.47: [26307]: <-- [9:AT+FRH=3\r]
Sep 13 14:57:35.57: [26307]: --> [0:]
Sep 13 14:57:35.57: [26307]: MODEM <Empty line>
Sep 13 14:57:35.57: [26307]: MODEM TIMEOUT: waiting for v.21 carrier
Sep 13 14:57:35.57: [26307]: <-- data [1]
Sep 13 14:57:35.77: [26307]: MODEM TIMEOUT: reading line from modem
Sep 13 14:57:35.77: [26307]: MODEM <Timeout>
Sep 13 14:57:35.77: [26307]: DELAY 1500 ms
Sep 13 14:57:37.27: [26307]: <-- [9:AT+FTH=3\r]
Sep 13 14:57:39.00: [26307]: --> [7:CONNECT]
Sep 13 14:57:39.00: [26307]: <-- HDLC<23:FF C0 02 0C CC 9C 0C CC CC 8C 9C B4 
9C 6C B4 9C 2C D4 04 04 04 04 04>
Sep 13 14:57:39.00: [26307]: <-- data [23]
Sep 13 14:57:39.00: [26307]: <-- data [2]
Sep 13 14:57:39.04: [26307]: --> [7:CONNECT]
Sep 13 14:57:39.04: [26307]: <-- HDLC<10:FF C8 01 00 77 5F 01 79 03 C0>
Sep 13 14:57:39.04: [26307]: <-- data [10]
Sep 13 14:57:39.04: [26307]: <-- data [2]
Sep 13 14:57:40.15: [26307]: --> [2:OK]
Sep 13 14:57:40.15: [26307]: <-- [9:AT+FRH=3\r]
Sep 13 14:57:40.77: [26307]: --> [7:CONNECT]
Sep 13 14:57:42.40: [26307]: --> HDLC<25:FF C0 C2 04 04 04 04 04 04 04 AC 1C 
EC EC B4 AC EC 8C 6C B4 9C 2C D4 E8 C5>
Sep 13 14:57:42.40: [26307]: --> [2:OK]
Sep 13 14:57:42.40: [26307]: REMOTE TSI "+49-6175-7785"
Sep 13 14:57:42.40: [26307]: <-- [9:AT+FRH=3\r]
Sep 13 14:57:42.40: [26307]: --> [7:CONNECT]
Sep 13 14:57:42.68: [26307]: --> HDLC<9:FF C8 C1 00 44 1F 00 53 FB>
Sep 13 14:57:42.68: [26307]: --> [2:OK]
Sep 13 14:57:42.68: [26307]: REMOTE wants 14400 bit/s
Sep 13 14:57:42.68: [26307]: REMOTE wants page width 1728 pixels in 215 mm
Sep 13 14:57:42.68: [26307]: REMOTE wants unlimited page length 
Sep 13 14:57:42.68: [26307]: REMOTE wants 3.85 line/mm
Sep 13 14:57:42.68: [26307]: REMOTE wants 1-D MR
Sep 13 14:57:42.68: [26307]: RECV training at v.17 14400 bit/s
Sep 13 14:57:42.68: [26307]: MODEM set XON/XOFF/DRAIN: input ignored, output 
generated
Sep 13 14:57:42.68: [26307]: <-- [11:AT+FRM=145\r]
Sep 13 14:57:44.24: [26307]: --> [7:CONNECT]
Sep 13 14:57:45.83: [26307]: MODEM set XON/XOFF/DRAIN: input ignored, output 
disabled
Sep 13 14:57:45.83: [26307]: RECV: TCF 2863 bytes, 4% non-zero, 2706 zero-run
Sep 13 14:57:45.83: [26307]: --> [10:NO CARRIER]
Sep 13 14:57:45.83: [26307]: DELAY 75 ms
Sep 13 14:57:45.90: [26307]: <-- [9:AT+FTH=3\r]
Sep 13 14:57:47.54: [26307]: --> [7:CONNECT]
Sep 13 14:57:47.54: [26307]: <-- HDLC<3:FF C8 21>
Sep 13 14:57:47.54: [26307]: <-- data [3]
Sep 13 14:57:47.54: [26307]: <-- data [2]
Sep 13 14:57:47.77: [26307]: --> [2:OK]
Sep 13 14:57:47.78: [26307]: TRAINING succeeded
Sep 13 14:57:47.78: [26307]: MODEM input buffering enabled
Sep 13 14:57:47.78: [26307]: MODEM set XON/XOFF/FLUSH: input ignored, output 
generated
Sep 13 14:57:47.78: [26307]: <-- [11:AT+FRM=146\r]
Sep 13 14:57:48.69: [26307]: --> [7:CONNECT]
Sep 13 14:57:48.69: [26307]: RECV: begin page
Sep 13 14:57:48.69: [26307]: RECV/CQ: Bad 1D pixel count, row 0, got 1746, 
expected 1728
Sep 13 14:58:03.43: [26307]: RECV/CQ: Bad 1D pixel count, row 1136, got 0, 
expected 1728
Sep 13 14:58:03.43: [26307]: RECV/CQ: Bad 1D pixel count, row 1137, got 0, 
expected 1728
Sep 13 14:58:03.43: [26307]: RECV/CQ: Bad 1D pixel count, row 1138, got 0, 
expected 1728
Sep 13 14:58:03.43: [26307]: RECV/CQ: Bad 1D pixel count, row 1139, got 0, 
expected 1728
Sep 13 14:58:03.43: [26307]: RECV/CQ: Bad 1D pixel count, row 1140, got 0, 
expected 1728
Sep 13 14:58:03.43: [26307]: RECV/CQ: Bad 1D pixel count, row 1141, got 2192, 
expected 1728
Sep 13 14:58:03.57: [26307]: RECV/CQ: Adjusting for trailing noise (6 run)
Sep 13 14:58:03.57: [26307]: RECV: 1136 total lines, 1 bad lines, 1 
consecutive bad lines
Sep 13 14:58:03.57: [26307]: RECV: end page
Sep 13 14:58:03.57: [26307]: --> [10:NO CARRIER]
Sep 13 14:58:03.57: [26307]: MODEM set XON/XOFF/DRAIN: input ignored, output 
disabled
Sep 13 14:58:03.57: [26307]: MODEM input buffering disabled
Sep 13 14:58:03.57: [26307]: <-- [9:AT+FRH=3\r]
Sep 13 14:58:03.93: [26307]: --> [7:CONNECT]
Sep 13 14:58:04.99: [26307]: --> HDLC<5:FF C8 F4 CC 66>
Sep 13 14:58:04.99: [26307]: --> [2:OK]
Sep 13 14:58:04.99: [26307]: RECV recv EOP (no more pages or documents)
Sep 13 14:58:04.99: [26307]: DELAY 150 ms
Sep 13 14:58:05.13: [26307]: <-- [9:AT+FTH=3\r]
Sep 13 14:58:06.85: [26307]: --> [7:CONNECT]
Sep 13 14:58:06.85: [26307]: <-- HDLC<3:FF C8 31>
Sep 13 14:58:06.85: [26307]: <-- data [3]
Sep 13 14:58:06.85: [26307]: <-- data [2]
Sep 13 14:58:07.08: [26307]: --> [2:OK]
Sep 13 14:58:07.09: [26307]: RECV send MCF (message confirmation)
Sep 13 14:58:07.09: [26307]: RECV FAX (00001025): from +49-6175-7785, page 1 
in 0:20, INF, 3.85 line/mm, 1-D MR, 14400 bit/s
Sep 13 14:58:07.09: [26307]: RECV FAX (00001025): recvq/fax00468.tif from 
+49-6175-7785, route to <unspecified>, 1 pages in 0:36
Sep 13 14:58:07.09: [26307]: <-- [9:AT+FRH=3\r]
Sep 13 14:58:07.46: [26307]: --> [7:CONNECT]
Sep 13 14:58:08.56: [26307]: --> HDLC<5:FF C8 5F C8 E7>
Sep 13 14:58:08.56: [26307]: --> [2:OK]
Sep 13 14:58:08.56: [26307]: MODEM input buffering enabled
Sep 13 14:58:08.56: [26307]: RECV FAX: bin/faxrcvd "recvq/fax00468.tif" 
"ttyI0" "00001025" ""
Sep 13 14:58:09.49: [26307]: RECV FAX: end
Sep 13 14:58:09.49: [26307]: SESSION END
-----------------------------------------------------------







____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions