Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] PCTel faxaddmodem
Hello,
I have some problems with my pctel modem with the faxaddmodem command,
it hangs whenever it tries to determine the speed.
Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200
Unable to deduce DTE-DCE speed; check that you are using the
correct device and/or that your modem is setup properly. If
all else fails, try the -s option to lock the speed.
[root@mail etc]#
I'm running Redhat8.0 and installed hylafax via the available rpm from
the hylafax site
[root@mail etc]#lspci -v
00:0e.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02) (prog-if 04
[Hayes/16750])
Subsystem: PCTel Inc: Unknown device 0001
Flags: stepping, medium devsel, IRQ 5
I/O ports at d400 [size=64]
Capabilities: [40] Power Management version 2
In minicom the modem works fine, output is:
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
AT+FCLASS=?
0,1
OK
ATI0
56000
OK
ATI3
PCtel HSP56 MicroModem Linux Driver V4.27.215 (09-14-2001)
OK
Since it is a class 1 modem I copied the class1 file and changed it, see
attached file for it, and copied it to
/var/spool/hylafax/etc/config.ttyS15
Restarted hylafax and he hang again with the speed determination
Hope somone can help me further.
Regards,
Jeroen
# $Id: pctel v1.0 2003/26/04 16:04:00 J.Wijdogen 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.
#
# CONFIG:CLASS1:"ATI0":"ATI3":XONXOFF: Manufacturer='PCTEL' Model='Micromodem'
#
# BEGIN-SERVER
# END-SERVER
#
ModemAnswerCmd: ATA # string, command for answering phone
ModemAnswerDataBeginCmd: "" # string, command for start of answered data call
ModemAnswerDataCmd: ATA # string, command for answering data call
ModemAnswerFaxBeginCmd: "" # string, command for start of answered fax call
ModemAnswerFaxCmd: ATA # string, command for answering fax call
ModemAnswerResponseTimeout: 180000 # integer, answer command timeout (ms)
ModemAnswerVoiceBeginCmd: "" # string, command for start of answered voice call
ModemAnswerVoiceCmd: ATA # string, command for answering voice call
ModemATCmdDelay: 0 # integer, delay before sending modem an AT cmd (ms)
ModemBaudRateDelay: 0 # integer, delay (ms) after setting baud rate
ModemClassQueryCmd: AT+FCLASS=? # string, command for querying modem services
ModemCommaPauseTimeCmd: ATS8=2 # string, command for setting time to pause for comma in dialing string
ModemDialCmd: ATDT%s # string, command for dialing (%s for number to dial)
ModemDialResponseTimeout: 180000 # integer, dialing command timeout (ms)
ModemEchoOffCmd: ATE0 # string, command for disabling command echo
ModemFlowControl: None # string, DTE-DCE flow control scheme
ModemFrameFillOrder: LSB2MSB # string, bit order for HDLC frames
ModemHardFlowCmd: "" # string, command for setting hardware flow control between DTE and DCE
ModemMinSpeed: 2400 # string, minimum acceptable transmit speed
ModemMfrQueryCmd: "" # string, command for querying modem manufacturer
ModemModelQueryCmd: "" # string, command for querying modem model
ModemNoAutoAnswerCmd: ATS0=0 # string, command for disabling auto-answer
ModemNoFlowCmd: "" # string, command for disabling hardware flow control between DTE and DCE
ModemOnHookCmd: ATH0 # string, command for placing phone ``on hook''
ModemPageDoneTimeout: 180000 # integer, page send/receive timeout (ms)
ModemPageStartTimeout: 180000 # integer, page send/receive timeout (ms)
ModemRate: 19200 # integer, baud rate to use for DCE-DTE communication
ModemRecvFillOrder: LSB2MSB # string, bit order for received facsimile data
ModemResetCmds: "" # string, additional commands when resetting modem
ModemResetDelay: 2600 # integer, delay (ms) after sending modem reset commands
ModemResultCodesCmd: ATQ0 # string, command for enabling result codes
ModemRevQueryCmd: "" # string, command for querying modem firmware revision
ModemSendBeginCmd: "" # string, command to send on establishing carrier
ModemSendFillOrder: LSB2MSB # string, bit order for sending facsimile data
ModemSetVolumeCmd: "ATM0 ATL0M1 ATL8C1 ATL2M1 ATL3M1" # string, commands for setting modem speaker volume level
ModemSetupAACmd: "" # string, command for setting up adaptive answer
ModemSetupDCDCmd: "" # string, command for setting up DCD handling
ModemSetupDTRCmd: "" # string, command for setting up DTR handling
ModemSoftFlowCmd: "" # string, command for setting software flow control between DTE and DCE
ModemSoftResetCmd: ATZ # string, command for doing a soft reset
ModemType: Class1 # string, modem type
ModemVerboseResultsCmd: ATV1 # string, command for enabling verbose result codes
ModemWaitForConnect: No # boolean, force server to wait for ``CONNECT'' response on answer
ModemWaitTimeCmd: ATS7=60 # string, command for setting time to wait for carrier when dialing
Class1Cmd: AT+FCLASS=1 # string, command to enter class 1
Class1HFLOCmd: "" # string, command to set hardware flow control
Class1FrameOverhead: 4 # integer, extra bytes in a received HDLC frame
Class1NFLOCmd: "" # string, command to set no flow control
Class1RecvAbortOK: 100 # integer, max wait (ms) for ``OK'' after recv abort
Class1RecvIdentTimer: 35000 # integer, max wait (ms) for initial ident frame
Class1SFLOCmd: "" # string, command to set software flow control
Class1TCFMaxNonZero: 10 # integer, max% of non-zero data in good TCF
Class1TCFMinRun: 1000 # integer, minimum zero run in good TCF
Class1TCFRecvTimeout: 4500 # integer, max wait (ms) for TCF
Class1TCFResponseDelay: 75 # integer, delay between TCF and ack/nak
Class1SendPPMDelay: 75 # integer, delay before sending post-page message
Class1SendTCFDelay: 75 # integer, delay between sending DCS and TCF
Class1TrainingRecovery: 1500 # integer, delay after failed training