# $Id: zyxel-1496e-2.0,v 1.3 2005/02/14 13:56:28 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 ZyXEL-1496E or 2864 w/ Class 2.0 firmware.
# Firmware revisions from 6.12 on should work for the 1496E; for
# the 2864 you must have firmware rev 0.07 or later.
#
# This configuration file sets up the ZyXEL to run at 38.4 for
# both sending and receiving.  RTS/CTS flow control is used on
# the tty port--you probably shouldn't use XON/XOFF.  Note that
# on an SGI system the getty speed is the following non-standard
# gettydefs entry:
#
# dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #dx_38400
#
# CONFIG: CLASS2.0: ZyXEL*1496*-*
#
# BEGIN-SERVER
# END-SERVER
#
# 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:		19200
ModemFlowControl:	rtscts		# default
#
ModemNoFlowCmd:		AT&H0		# disable flow control
ModemHardFlowCmd:	AT&H3		# hardware flow control
ModemSoftFlowCmd:	AT&H4		# software flow control
ModemSetupDTRCmd:	AT&D2		# DTR off causes modem to hang up
ModemSetupDCDCmd:	AT&C1		# DCD tracks carrier
#
ModemSetupAACmd:	AT+FAA=1	# enable in current class
#
# Additional reset commands:
#
# &B1	  DTE-DCE rate is fixed at DTE setting
# &N0	  Auto-negotiate highest possible DCE-DCE link rate
# &S0	  DSR always on
# *F0	  Deny remote configuration
# S18=2	  Receive at 38400 (removed from default)
# S38.3=1 DCD on/off sequence follows UNIX standard; also
#	  fix receiving baud rate at S18 value
# S39=0	  (avoid Class 2 compatibility hacks)
# 
ModemResetCmds:		AT&B1&N0&S0*F0S38.3=1S39=0
#
ModemDialCmd:		ATDT%s		# no '@' 'cuz then busy not recognized
NoCarrierRetrys:	3		# retry 3 times on no carrier
#
ModemSetVolumeCmd:	"ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
#
# Caller ID configuration setup.
#
#CallIDPattern:		"CALLER NUMBER: " # pattern string for phone number info
#CallIDPattern:		"CALLER NAME: "	# pattern string for identity info
#
PagerSetupCmds:		AT&K0&N15	# use V.22 at 1200 bps (PageNet)
#
# Rev 6.1x firmware have a bug in the ECM support so
# explicitly disable it's use.  To re-enable its use just
# comment out the following line.
#
Class2DCCQueryCmd:	"!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)"
