HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Advice about dual serial ttyS2 and ttyS3
I'm a novice when it comes it many things including serial ports. I
have an inexpensive 2-port PCI card mapped to ttyS2 and ttyS3. For some
time after I installed the card these ports worked as long as I
decreased the speed a bit. Since my organization does not send faxes
each day, some time passed before I discovered that these ports were
not working. The modems appear fine and work on ttyS0 or ttyS1.
Perhaps one of you has experience with dual serial PCI cards and modems
and would point me in the right direction. More information follows:
lspci reports the dual serial as
00:0b.0 Serial controller: NetMos Technology 222N-2 I/O Card (2S+1P)
(rev 01)
The Courier V.Everything is configured like this:
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2.0 # use class 2.0 interface
ModemRate: 14400 # DCE-DTE communication rate
ModemFlowControl: rtscts # hardware flow control
#ModemFlowControl: xonxoff # software flow control (I've
tried both hardware and software)
#
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow
control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow
control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow
control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier
(or not)
# ModemResultCodesCmd: ATQ0X4 # enable extended result codes
ModemResultCodesCmd: ATQ0X3 # enable extended result codes
#
# NB: adaptive answer only seems to work properly when
# the modem is left idling in Class 2.0
#
ModemSetupAACmd: AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd: AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd: !(0),(0) # override modem response
#
# Disables the reporting of bad frames by the modem. This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
#Class2NRCmd: AT+FNR=1,1,1,0
#
# USR modems violate Class 2.0 specs and do not send RTC itself
#
Class2SendRTC: yes
#
# +FAP=? not supported on this modem, gives ERROR in ServerTracing
#
Class2APQueryCmd: none
Mark Gillingham, Director of Technology
The Great Books Foundation, www.greatbooks.org
mark@xxxxxxxxxxxxxx
-
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*