Setting Up TE/2 For Use With USR Dual Standard V.32bis Modems

From OS2World.Com Wiki
Jump to navigation Jump to search

Setting Up TE/2 For Use With USR Dual Standard V.32bis Modems

Brady Flowers
Oberon Software
13 May, 1992

Intro and Disclaimer

The following document describes how I use TE/2 with a US Robotics Courier HST Dual Standard v.32bis modem. I expect that it will work for you also. However, as always, the following document is not guaranteed to be free from typographical or factual errors and may be subject to change without notice. This document will in no way imply a commitment on the part of Oberon Software nor will the author or Oberon Software be held liable for any problems or damages that might occur if you follow or ignore the advice contained herein.

Much of the following information will also be applicable to other v.32 modems from other manufacturers. The DIP switch settings and register settings may be different but the setups for OS/2 and TE/2 will be very similar. Refer to your modem manual and the section below titled "Other V.32 Modems" for more information.

OS/2 Setup

The OS/2 communications port driver for OS/2 version 2.0 is named COM.SYS and should be located in the \OS2 subdirectory of your boot drive. Under OS/2 version 1.3 and before, this file is named COM02.SYS if your computer is a PS/2 (MCA bus) machine, otherwise it is named COM01.SYS. For the remainder of this document if we need to refer to this file we will use the name COM.SYS; if you are using OS/2 1.3 or earlier please mentally substitute the correct file name.

it is imperative that this file exists in your \OS2 subdirectory on your boot drive and that the line:

DEVICE=d:\OS2\COM.SYS

(where "d:" is replaced with the boot drive letter) appears in your CONFIG.SYS file.

Another difference between OS/2 2.0 and 1.3 is the maximum baud rate at which you may instruct the driver to set the port. Under OS/2 2.0 this value is 38400, under 1.3 and earlier it is 19200. Again, we will refer to the maximum baud rate in this document as 38400 and, if you are using OS/2 1.3 or earlier, you must change all references to this number to 19200.

DIP Switch Settings

The following diagram lists a recommended setting for the 10 DIP switches located on the underside of the modem. Some of these are more important than others and some may be overridden via your modem register setup. Please refer to your modem manual for more information.

Switch:   1   2   3   4   5   6   7   8   9   10
Setting:  UP  UP  DN  UP  DN  UP  UP  DN  UP  UP

Modem Register Settings

You can cause your modem to display a table of information similar to the one below by typing ATI4 and pressing ENTER when in terminal mode. You should issue the appropriate AT commands so that your display matches the one below and then type AT&W and press ENTER to save this setup in the modem's nonvolatile random access memory (NVRAM).

USRobotics Courier 16800 HST Dual Standard Settings...

  B0  C1  E1  F1  M1  Q0  V1  X6
  BAUD=38400  PARITY=N  WORDLEN=8
  DIAL=HUNT   ON HOOK   TIMER

  &A3  &B1  &C1  &D2  &G0  &H1  &I0  &K1  &L0
  &M4  &N0  &P0  &R2  &S0  &T5  &X0  &Y1  %R0

  S00=000  S01=000  S02=043  S03=013  S04=010
  S05=008  S06=002  S07=255  S08=002  S09=006
  S10=007  S11=055  S12=050  S13=000  S14=001
  S15=000  S16=000  S17=000  S18=000  S19=000
  S20=000  S21=010  S22=017  S23=019  S24=150
  S25=005  S26=001  S27=000  S28=008  S29=020
  S30=000  S31=000  S32=001  S33=000  S34=000
  S35=000  S36=000  S37=000  S38=000

TE2.INI Settings

In the TE2.INI file you should make sure that you have the following items:

 Baud            38400
 MatchBaud       false
 CtsRts          both

Since you've saved the appropriate modem register setup in the modem's NVRAM in the step above, we can simplify the modem initialization string to:

 ModemInitStrg   ATZ^M

In addition, you should remove or "comment out" (by placing a semicolon in front of) all "Connect" string settings except for the single:

 Connect         CONNECT,38400

Please note that the connect string is NOT "CONNECT_38400,38400" as would seem a likely setting if you looked at the items you just removed. What this single "Connect" string will do is it will cause TE/2 to recognize ALL incoming strings from the modem during dialing that begin with the substring "CONNECT" and to treat it as if it were a 38400 bps connect (or it would treat it as such if "MatchBaud" were not already set to "false").

TE/2 Dialing Directory Settings

Set ALL dialing directory entries to 38400 regardless of what connect rate you expect from the callee. (Note, in future versions of TE/2, new dialing directory entries will have their baud defaulted to your current maximum baud as given in the "Baud" statement in TE2.INI.)

Other V.32 Modems

As mentioned above, although the modem DIP switch settings and register settings given here are for a US Robotics modem, everything else in this document as regards setting up of OS/2 and TE/2 will apply to any high speed or v.32 type modem. You will need to consult your modem manual to determine the DIP switch and/or register settings you need for your particular modem. The things to keep in mind are:

  • Hardware handshaking (CTS/RTS) should be ENABLED
  • Carrier Detect (CD) should FOLLOW the actual connect state
  • The modem should expect a LOCKED computer-to-modem (DTE) rate
  • The modem should be set to NEGOTIATE the modem-to-modem (link) rate

You may need a different, possibly more complex, "ModemInitStrg". Refer to your modem manual for this also.