Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] My solution to the MPS / EOP problem
Lately I stumbled upon a solution to a problem that had plagued me..
The dreaded "No response to MPS or EOP ..." error.. ARGH!!
I had been trying to figure it out for ages! Anyway, no guarantees but
I do hope it works for everyone else concerned.
This solution should shed some light on the whole problem..
I have tried many different modems and had the same problems
with both class1 and class2 modems from netcomm and banksia
(very common in australia.. the firmware seems to be rockwell /
conexant).
As usual these modems worked fine from other fax software.
Well I had noticed 1 or 2 users stating that if they used sendfax
with the -1 argument that it solved this problem. The question
arose ... why? .. and how the hell do I implement this from
a win95 client!?.
After reading the advanced settings page (*** READ IT ! ***):
I realised this... when HylaFAX queried my modem about its
capabilities, it didn't understand what my modem returned.
HylaFAX would query the modem with AT+FDCC=?
and my modem returned : (0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)
HylaFAX seemed to lose it when the modem says 0,0,0,..
If you bother to read the link above you will understand that you can
correct hylafax.. by forcing it to use the correct options.
That explains why they worked fine from other fax software!!!
here is what I changed in /var/spool/fax/ttyS0 :
Class2DCCQueryCmd: "!(0),(0-3),(0-2),(0-2),(0),(0),(0),(0-7)"
which
forced it to use low-res, <= 9600 Baud, 1-D compression,
no error correction, and no Binary File Transfer...
(I recommend trying this configuration, if you have a lot of trouble)
After which I have had no problems!
--------------------------------------------------------------
Here is the file /var/spool/fax/ttyS0
..
...
...
ModemRate: 38400 # max rate for DCE-DTE
communication
ModemType: Class1 # use this to supply a
hint .. class1 seems to work better for
me
#ModemType: Class2 # use this to supply a
hint
ModemFlowControl: xonxoff # XON/XOFF flow control
assumed
#ModemFlowControl: rtscts # XON/XOFF flow control
assumed
#...... .. some users find rtscts fixes their troubles
ModemATCmdDelay:
0
Class2DDISCmd: AT+FDIS
#Class2DDISCmd: "" #
disable pre-dial DIS command hack
#ModemNoFlowCmd: AT&K # disable flow control cmd
(default .. is this a
mistake?)
ModemNoFlowCmd: AT&K0 # disable flow
control cmd (my modem uses this)
###Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities
(default)
Class2DCCQueryCmd:
"!(0),(0-3),(0-2),(0-2),(0),(0),(0),(0-7)"
--------------------------------------------------------------
here is a log file with the MPS and EOP errors
Sep 04 22:48:17.53: [14497]: SESSION BEGIN 00000002 640293988645
Sep 04
22:48:17.54: [14497]: SEND FAX: JOB 16 DEST 9398-8645 COMMID 00000002
Sep 04
22:48:17.54: [14497]: DELAY 2600 ms
Sep 04 22:48:20.14: [14497]: <--
[4:ATZ\r]
Sep 04 22:48:20.27: [14497]: --> [2:OK]
Sep 04 22:48:20.27:
[14497]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 04 22:48:20.33: [14497]: -->
[14:ATE0V1Q0S0=0H0]
Sep 04 22:48:20.33: [14497]: --> [2:OK]
Sep 04
22:48:20.33: [14497]: <-- [12:ATS8=2S7=60\r]
Sep 04 22:48:20.35: [14497]:
--> [2:OK]
Sep 04 22:48:20.35: [14497]: <-- [12:AT+FCLASS=1\r]
Sep
04 22:48:20.37: [14497]: --> [2:OK]
Sep 04 22:48:20.37: [14497]: <--
[5:ATM0\r]
Sep 04 22:48:20.38: [14497]: --> [2:OK]
Sep 04 22:48:20.38:
[14497]: <-- [12:AT+FCLASS=1\r]
Sep 04 22:48:20.50: [14497]: -->
[2:OK]
Sep 04 22:48:20.57: [14497]: DIAL 93988645
Sep 04 22:48:20.57:
[14497]: <-- [13:ATDT93988645\r]
Sep 04 22:48:34.82: [14497]: -->
[7:CONNECT]
Sep 04 22:48:36.15: [14497]: --> [2:OK]
Sep 04 22:48:36.15:
[14497]: REMOTE CSI ""
Sep 04 22:48:36.15: [14497]: <--
[9:AT+FRH=3\r]
Sep 04 22:48:36.17: [14497]: --> [7:CONNECT]
Sep 04
22:48:36.40: [14497]: --> [2:OK]
Sep 04 22:48:36.40: [14497]: REMOTE best
rate 9600 bit/s
Sep 04 22:48:36.40: [14497]: REMOTE max page width 1728
pixels in 215 mm
Sep 04 22:48:36.40: [14497]: REMOTE max unlimited page
length
Sep 04 22:48:36.40: [14497]: REMOTE best vres 7.7 line/mm
Sep 04
22:48:36.40: [14497]: REMOTE best format 1-D MR
Sep 04 22:48:36.40: [14497]: REMOTE best 20 ms, 10 ms/scanline
Sep 04
22:48:36.40: [14497]: USE 9600 bit/s
Sep 04 22:48:36.40: [14497]: USE 20 ms,
10 ms/scanline
Sep 04 22:48:36.40: [14497]: SEND file
"docq/doc16.ps;00"
Sep 04 22:48:36.46: [14497]: USE page width 1728 pixels in
215 mm
Sep 04 22:48:36.46: [14497]: USE unlimited page length
Sep 04
22:48:36.46: [14497]: USE 3.85 line/mm
Sep 04 22:48:36.46: [14497]: USE 1-D
MR
Sep 04 22:48:36.46: [14497]: SEND training at v.29 9600 bit/s
Sep 04
22:48:36.46: [14497]: <-- [9:AT+FTH=3\r]
Sep 04 22:48:36.52: [14497]:
--> [7:CONNECT]
Sep 04 22:48:38.30: [14497]: --> [7:CONNECT]
Sep 04
22:48:38.74: [14497]: --> [2:OK]
Sep 04 22:48:38.74: [14497]: DELAY 75
ms
Sep 04 22:48:38.82: [14497]: <-- [10:AT+FTM=96\r]
Sep 04
22:48:38.88: [14497]: --> [7:CONNECT]
Sep 04 22:48:40.84: [14497]: -->
[2:OK]
Sep 04 22:48:40.84: [14497]: <-- [9:AT+FRH=3\r]
Sep 04
22:48:41.23: [14497]: --> [7:CONNECT]
Sep 04 22:48:42.09: [14497]: -->
[2:OK]
Sep 04 22:48:42.09: [14497]: TRAINING succeeded
Sep 04 22:48:42.09:
[14497]: <-- [10:AT+FTM=96\r]
Sep 04 22:48:42.16: [14497]: -->
[7:CONNECT]
Sep 04 22:48:42.16: [14497]: SEND begin page
Sep 04
22:48:56.40: [14497]: SENT 27414 bytes of data
Sep 04 22:49:10.41: [14497]:
SENT 27487 bytes of data
Sep 04 22:49:24.43: [14497]: SENT 27478 bytes of
data
Sep 04 22:49:26.43: [14497]: SENT 5713 bytes of data
Sep 04
22:49:26.43: [14497]: SEND 1D RTC
Sep 04 22:49:26.44: [14497]: SEND end
page
Sep 04 22:49:38.66: [14497]: --> [2:^S^Q]
Sep 04 22:49:38.68:
[14497]: --> [2:OK]
Sep 04 22:49:38.68: [14497]: DELAY 75 ms
Sep 04 22:49:38.76: [14497]: SEND send MPS (more pages, same
document)
Sep 04 22:49:38.76: [14497]: <-- [9:AT+FTH=3\r]
Sep 04
22:49:38.81: [14497]: --> [7:CONNECT]
Sep 04 22:49:40.13: [14497]: -->
[2:OK]
Sep 04 22:49:40.13: [14497]: <-- [9:AT+FRH=3\r]
Sep 04
22:49:43.23: [14497]: --> [0:]
Sep 04 22:49:43.23: [14497]: MODEM
<Empty line>
Sep 04 22:49:43.28: [14497]: --> [2:OK]
Sep 04
22:49:43.28: [14497]: SEND send MPS (more pages, same document)
Sep 04
22:49:43.28: [14497]: <-- [9:AT+FTH=3\r]
Sep 04 22:49:43.34: [14497]:
--> [7:CONNECT]
Sep 04 22:49:44.65: [14497]: --> [2:OK]
Sep 04
22:49:44.65: [14497]: <-- [9:AT+FRH=3\r]
Sep 04 22:49:47.75: [14497]:
--> [0:]
Sep 04 22:49:47.75: [14497]: MODEM <Empty line>
Sep 04
22:49:47.80: [14497]: --> [2:OK]
Sep 04 22:49:47.80: [14497]: SEND send
MPS (more pages, same document)
Sep 04 22:49:47.80: [14497]: <--
[9:AT+FTH=3\r]
Sep 04 22:49:47.86: [14497]: --> [7:CONNECT]
Sep 04
22:49:49.17: [14497]: --> [2:OK]
Sep 04 22:49:49.17: [14497]: <--
[9:AT+FRH=3\r]
Sep 04 22:49:52.27: [14497]: --> [0:]
Sep 04
22:49:52.27: [14497]: MODEM <Empty line>
Sep 04 22:49:52.32: [14497]:
--> [2:OK]
Sep 04 22:49:52.32: [14497]: <-- [9:AT+FTH=3\r]
Sep 04
22:49:52.38: [14497]: --> [7:CONNECT]
Sep 04 22:49:53.69: [14497]: -->
[2:OK]
Sep 04 22:49:53.69: [14497]: <-- [5:ATH0\r]
Sep 04 22:49:56.25:
[14497]: --> [2:OK]
Sep 04 22:49:56.29: [14497]: SESSION END
Hope this helps!!!
Regards,
Yohans Bastian.