Hylafax Mailing List Archives

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

Re: [hylafax-users] SupraFax Modem ...



I have installed it.

This is the configuration file /var/spool/fax/etc/config.ttyS0

# $Id: rc288dpi-1,v 1.6 2004/05/03 14:18:01 lhoward Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the
names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Configuration for a Rockwell RC288DPi-based Class 1 modem.
#    Hayes Optima 28800		firmware rev ???
#    Microcom DeskPorte 28.8S	firmware rev V1.100K-V34_DS
#    PPI PM288FXMT		firmware rev 1.57
#
# Note that the modem does not lock the line rate for fax
# receive (at least not the PM288FXMT); but not sure whether
# current flow control settings are maintained or if it
# switches to XON/XOFF (testing host was too fast to see).
#
#
CountryCode:		32
AreaCode:		65
FAXNumber:		+3265601232
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules.europe
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0666
LogFileMode:		0666
DeviceMode:		0666
RingsBeforeAnswer:	1
SpeakerVolume:		high
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"Fax sur le pc de Pol"
LogFacility:		mail
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		25
#
#
# 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		# rate for DCE-DTE communication
ModemFlowControl:	rtscts		# default
#
ModemNoFlowCmd:		AT&K0		# setup no flow control
ModemHardFlowCmd:	AT&K3		# setup hardware flow control
ModemSoftFlowCmd:	AT&K4		# setup software flow control
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
ModemMfrQueryCmd:	!Rockwell
ModemModelQueryCmd:	!RC288DPi
ModemRevQueryCmd:	ATI3		# product information
#
ModemDialCmd:		ATDT%s		# T for tone dialing

I have followed the tutorial here:
http://forums.gentoo.org/viewtopic-t-376591-start-0-postdays-0-postorder-asc-highlight-hylafax.html

When I receive fax, the modem works but I receive no one fax...

Here are the log when the modem try to send a text file:

nov 28 11:40:12.70: [ 762]: SESSION BEGIN 000000043 65675605
nov 28 11:40:12.70: [ 762]: HylaFAX (tm) Version 4.2.2
nov 28 11:40:12.71: [ 762]: SEND FAX: JOB 17 DEST 0065675605 COMMID 000000043 DEVICE '/dev/ttyS0'
nov 28 11:40:12.71: [ 762]: <-- [12:AT+FCLASS=1\r]
nov 28 11:40:12.72: [ 762]: --> [2:OK]
nov 28 11:40:12.72: [ 762]: DIAL 0065675605
nov 28 11:40:12.72: [ 762]: <-- [15:ATDT0065675605\r]
nov 28 11:40:27.14: [ 762]: --> [7:CONNECT]
nov 28 11:40:32.14: [ 762]: <-- data [1]
nov 28 11:40:32.24: [ 762]: --> [2:]
nov 28 11:40:32.24: [ 762]: --> [2:OK]
nov 28 11:40:32.24: [ 762]: DELAY 200 ms
nov 28 11:40:32.44: [ 762]: <-- [9:AT+FRH=3\r]
nov 28 11:40:33.81: [ 762]: --> [7:CONNECT]
nov 28 11:40:38.81: [ 762]: <-- data [1]
nov 28 11:40:38.89: [ 762]: --> [2:]
nov 28 11:40:38.89: [ 762]: --> [2:OK]
nov 28 11:40:38.89: [ 762]: DELAY 200 ms
nov 28 11:40:39.09: [ 762]: <-- [9:AT+FRH=3\r]
nov 28 11:40:40.50: [ 762]: --> [7:CONNECT]
nov 28 11:40:45.51: [ 762]: <-- data [1]
nov 28 11:40:45.61: [ 762]: --> [2:]
nov 28 11:40:45.61: [ 762]: --> [2:OK]
nov 28 11:40:45.61: [ 762]: DELAY 200 ms
nov 28 11:40:45.81: [ 762]: <-- [9:AT+FRH=3\r]
nov 28 11:40:47.20: [ 762]: --> [7:CONNECT]
nov 28 11:40:52.20: [ 762]: <-- data [1]
nov 28 11:40:52.25: [ 762]: --> [2:]
nov 28 11:40:52.25: [ 762]: --> [2:OK]
nov 28 11:40:52.25: [ 762]: DELAY 200 ms
nov 28 11:40:52.45: [ 762]: <-- [9:AT+FRH=3\r]
nov 28 11:40:53.90: [ 762]: --> [7:CONNECT]
nov 28 11:40:58.90: [ 762]: <-- data [1]
nov 28 11:40:58.98: [ 762]: --> [2:]
nov 28 11:40:58.98: [ 762]: --> [2:OK]
nov 28 11:40:58.98: [ 762]: DELAY 200 ms
nov 28 11:40:59.18: [ 762]: <-- [9:AT+FRH=3\r]
nov 28 11:41:00.59: [ 762]: --> [7:CONNECT]
nov 28 11:41:05.59: [ 762]: <-- data [1]
nov 28 11:41:05.70: [ 762]: --> [2:]
nov 28 11:41:05.70: [ 762]: --> [2:OK]
nov 28 11:41:05.70: [ 762]: DELAY 200 ms
nov 28 11:41:05.90: [ 762]: <-- [9:AT+FRH=3\r]
nov 28 11:41:07.26: [ 762]: --> [7:CONNECT]
nov 28 11:41:12.26: [ 762]: <-- data [1]
nov 28 11:41:12.34: [ 762]: --> [2:]
nov 28 11:41:12.34: [ 762]: --> [2:OK]
nov 28 11:41:12.34: [ 762]: DELAY 200 ms
nov 28 11:41:12.54: [ 762]: No answer (T.30 T1 timeout)
nov 28 11:41:12.54: [ 762]: SEND FAILED: JOB 17 DEST 0065675605 ERR No answer (T.30 T1 timeout)
nov 28 11:41:12.54: [ 762]: <-- [9:AT+FTH=3\r]
nov 28 11:41:12.59: [ 762]: --> [7:CONNECT]
nov 28 11:41:12.59: [ 762]: <-- data [3]
nov 28 11:41:12.59: [ 762]: <-- data [2]
nov 28 11:41:13.71: [ 762]: --> [2:OK]
nov 28 11:41:13.71: [ 762]: <-- [5:ATH0\r]
nov 28 11:41:14.42: [ 762]: --> [2:OK]
nov 28 11:41:14.42: [ 762]: SESSION END


And when I receive one:

Nov 28 10:59:52.89: [28671]: SESSION BEGIN 000000030 3265601237
Nov 28 10:59:52.89: [28671]: HylaFAX (tm) Version 4.2.2
Nov 28 10:59:52.89: [28671]: <-- [4:ATA\r]
Nov 28 10:59:58.25: [28671]: --> [7:CONNECT]
Nov 28 10:59:58.25: [28671]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Nov 28 10:59:58.25: [28671]: RECV FAX: begin
Nov 28 10:59:58.25: [28671]: <-- data [32]
Nov 28 10:59:58.25: [28671]: <-- data [2]
Nov 28 11:00:00.33: [28671]: --> [7:CONNECT]
Nov 28 11:00:00.33: [28671]: <-- data [23]
Nov 28 11:00:00.33: [28671]: <-- data [2]
Nov 28 11:00:01.13: [28671]: --> [7:CONNECT]
Nov 28 11:00:01.13: [28671]: <-- data [10]
Nov 28 11:00:01.13: [28671]: <-- data [2]
Nov 28 11:00:01.67: [28671]: --> [2:OK]
Nov 28 11:00:01.67: [28671]: <-- [9:AT+FRH=3\r]
Nov 28 11:00:02.25: [28671]: --> [7:CONNECT]
Nov 28 11:00:07.25: [28671]: <-- data [1]
Nov 28 11:00:07.35: [28671]: --> [2:]
Nov 28 11:00:07.35: [28671]: --> [2:OK]
Nov 28 11:00:07.35: [28671]: DELAY 1500 ms
Nov 28 11:00:08.85: [28671]: <-- [9:AT+FTH=3\r]
Nov 28 11:00:08.89: [28671]: --> [7:CONNECT]
Nov 28 11:00:08.89: [28671]: <-- data [32]
Nov 28 11:00:08.89: [28671]: <-- data [2]
Nov 28 11:00:10.77: [28671]: --> [7:CONNECT]
Nov 28 11:00:10.77: [28671]: <-- data [23]
Nov 28 11:00:10.77: [28671]: <-- data [2]
Nov 28 11:00:11.57: [28671]: --> [7:CONNECT]
Nov 28 11:00:11.57: [28671]: <-- data [10]
Nov 28 11:00:11.57: [28671]: <-- data [2]
Nov 28 11:00:12.09: [28671]: --> [2:OK]
Nov 28 11:00:12.09: [28671]: <-- [9:AT+FRH=3\r]
Nov 28 11:00:12.66: [28671]: --> [7:CONNECT]
Nov 28 11:00:17.66: [28671]: <-- data [1]
Nov 28 11:00:17.73: [28671]: --> [2:]
Nov 28 11:00:17.73: [28671]: --> [2:OK]
Nov 28 11:00:17.73: [28671]: DELAY 1500 ms
Nov 28 11:00:19.23: [28671]: <-- [9:AT+FTH=3\r]
Nov 28 11:00:19.27: [28671]: --> [7:CONNECT]
Nov 28 11:00:19.27: [28671]: <-- data [32]
Nov 28 11:00:19.27: [28671]: <-- data [2]
Nov 28 11:00:21.14: [28671]: --> [7:CONNECT]
Nov 28 11:00:21.14: [28671]: <-- data [23]
Nov 28 11:00:21.14: [28671]: <-- data [2]
Nov 28 11:00:21.94: [28671]: --> [7:CONNECT]
Nov 28 11:00:21.94: [28671]: <-- data [10]
Nov 28 11:00:21.94: [28671]: <-- data [2]
Nov 28 11:00:22.47: [28671]: --> [2:OK]
Nov 28 11:00:22.47: [28671]: <-- [9:AT+FRH=3\r]
Nov 28 11:00:23.04: [28671]: --> [7:CONNECT]
Nov 28 11:00:28.04: [28671]: <-- data [1]
Nov 28 11:00:28.10: [28671]: --> [2:]
Nov 28 11:00:28.10: [28671]: --> [2:OK]
Nov 28 11:00:28.10: [28671]: DELAY 1500 ms
Nov 28 11:00:29.60: [28671]: <-- [9:AT+FTH=3\r]
Nov 28 11:00:29.64: [28671]: --> [7:CONNECT]
Nov 28 11:00:29.64: [28671]: <-- data [32]
Nov 28 11:00:29.64: [28671]: <-- data [2]
Nov 28 11:00:31.51: [28671]: --> [7:CONNECT]
Nov 28 11:00:31.51: [28671]: <-- data [23]
Nov 28 11:00:31.51: [28671]: <-- data [2]
Nov 28 11:00:32.31: [28671]: --> [7:CONNECT]
Nov 28 11:00:32.31: [28671]: <-- data [10]
Nov 28 11:00:32.31: [28671]: <-- data [2]
Nov 28 11:00:32.84: [28671]: --> [2:OK]
Nov 28 11:00:32.84: [28671]: <-- [9:AT+FRH=3\r]
Nov 28 11:00:33.41: [28671]: --> [7:CONNECT]
Nov 28 11:00:38.41: [28671]: <-- data [1]
Nov 28 11:00:38.47: [28671]: --> [2:]
Nov 28 11:00:38.47: [28671]: --> [2:OK]
Nov 28 11:00:38.47: [28671]: RECV FAX: No answer (T.30 T1 timeout)
Nov 28 11:00:38.47: [28671]: RECV FAX: end
Nov 28 11:00:38.47: [28671]: SESSION END


If you can help me with that modem and tell me if it is me or a hylafax config problem, that would be really helpfull for me...


Thanks.



Pol a écrit :
A friend of mine just brought me a modem because I need one that work with hylafax.

That's the result of the probemodem command...
I see alot of errors and I don't think that will do it with hylafax, what do you think ?


fujitsu1 ~ # probemodem
Serial port that modem is connected to []? ttyS0

Now we are going to probe the tty port.  This takes a few seconds,
so be patient.  Note that if you do not have the modem cabled to
the port, or the modem is turned off, this may hang (just go and
cable up the modem or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.

This looks like a Class 1 and 2 modem.

ATI0    RESULT = "OK"   RESPONSE = "28800"
ATI1    RESULT = "OK"   RESPONSE = "255"
ATI2    RESULT = "OK"   RESPONSE = "OK"
ATI3    RESULT = "OK"   RESPONSE = "V1.300-13-V34_DS"
ATI4    RESULT = "OK"   RESPONSE = "a007040CA879CE02F"
ATI5    RESULT = "OK"   RESPONSE = "(c) 1993,94,95 Supra Corporation"
ATI6    RESULT = "OK"   RESPONSE = "022 US  011"
ATI7    RESULT = "OK"   RESPONSE = "RC288DPi Rev 05BA"
ATI8    RESULT = "ERROR"        RESPONSE = "ERROR"
ATI9    RESULT = "OK"   RESPONSE = "($SUP1200\MODEM\SupraFAXModem 288B1)"

Class 1 stuff...

AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1,2"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "OK" RESPONSE = "0-4"
AT+FAA? RESULT = "OK" RESPONSE = "0"
AT+FAE=? RESULT = "OK" RESPONSE = "0-4"
AT+FAE? RESULT = "OK" RESPONSE = "0"
AT+FTH=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=? RESULT = "OK" RESPONSE = "0-255"
AT+FRS=? RESULT = "OK" RESPONSE = "0-255"


Class 2 stuff...

AT+FCLASS=?     RESULT = "OK"   RESPONSE = "0,1,2"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FCLASS=0     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=1     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=2     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FJUNK=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FJUNK?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAA=?        RESULT = "OK"   RESPONSE = "0-4"
AT+FAA? RESULT = "OK"   RESPONSE = "0"
AT+FAXERR=?     RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAXERR?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBADLIN=?    RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBADLIN?     RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBADMUL=?    RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBADMUL?     RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBOR=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBOR?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBUF=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBUF?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBUG=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBUG?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FCIG=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FCIG?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FCQ=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FCQ? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FCR=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FCR? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FTBC=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FTBC?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDCC=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDCC?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDCS=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDCS?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDIS=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDIS?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDT=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDT? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FECM=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FECM?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FET=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FET? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLID=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLID?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLNFC=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLNFC?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLPL=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLPL?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FMDL?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FMFR?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FMINSP=?     RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FMINSP?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FPHCTO=?     RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FPHCTO?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FPTS=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FPTS?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FRBC=?       RESULT = "ERROR"        RESPONSE = "ERROR"

AT+FRBC?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FREL=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FREL?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FREV?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FSPL=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FSPL?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FTBC=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FTBC?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FVRFC=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FVRFC?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FWDFC=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FWDFC?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FK=? RESULT = "ERROR"        RESPONSE = "ERROR"
fujitsu1 ~ #

Can you tell me if that will work with hylafax, if not, wich modem do you advice?
Thanks ;)


begin:vcard
fn:Pol D.
n:D.;Pol
org:Techniques et informatiques;Technique
adr:;;Rue Defuisseaux, 45;Tertre;Hainaut;7333;Belgique
email;internet:pol@xxxxxxxxxxx
title:Developpeur
tel;work:0498 16 68 46
tel;home:0498 16 68 46
tel;cell:0498 16 68 46
x-mozilla-html:FALSE
url:http://www.techinfo.be
version:2.1
end:vcard



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services