=====================================================================
	      INSTALLATION INSTRUCTIONS FOR PCMCIA MODEMS

		  INSTALL V1.2.0 -  23 February 1994 
=====================================================================

This document describes how to install your PCMCIA modem. 

** If you are running the OS/2 V2.1 operating system, refer to 
   section 1.

** If you are running MS-DOS and/or Microsoft Windows V3.1, please 
   refer to section 2.

** If you are running an operating system which is not mentioned above, 
   please contact your operating system vendor for information about 
   support of PCMCIA devices.

** If you would like an overview of why PCMCIA devices need special 
   installation software, refer to section 3.

If you have additional questions after reading the appropriate section, 
please call your modem supplier for information.


=====================================================================
SECTION 1: Modem Installation for OS/2 V2.1 
=====================================================================

At this time, the Socket Service drivers which are required for OS/2 
V2.1 PCMCIA support are available only from IBM and are supplied only 
with IBM ThinkPad computers.  However, IBM is working with leading 
portable computer manufacturers to make OS/2 V2.1 Socket Services 
available on non-ThinkPad computers.  When this happens, the 
instructions above in section 1 should work for non-ThinkPads as well 
as ThinkPads. 

Please contact your computers manufacturer for information about 
availability of PCMCIA Socket Services under OS/2 V2.1 for your 
computer.

------
NOTES:
------

1. This installation procedure is designed for a user who is familiar 
enough with OS/2 V2.1 to copy files and use the system editor.  

2. This version supports hot insertion on ThinkPads with at least 8 MB 
of system RAM.

There is a possible compatibility issue with the COM.SYS drivers which 
may prevent hot insertion on computers with only 4 MB of RAM.  

3. IMPORTANT: There are problems with some versions of the OS/2 COM 
drivers which conflict with this release.  This version requires the 
OS/2 V2.1 COM.SYS and VCOM.SYS drivers with certain dates as follows:

Dated before 9-29-93     - WILL NOT WORK
Dated 9-29-93            - OK
Dated 10-13-93           - WILL NOT WORK
Dated after 10-13-93     - OK

IMPORTANT: The 9-29-93 and later COM.SYS and VCOM.SYS drivers must 
appear ** AFTER ** the PCMCIA.SYS and VPCMCIA.SYS drivers in CONFIG.SYS.  
The previous (4-29-93) COM.SYS drivers had to be loaded BEFORE the 
PCMCIA.SYS drivers.

4. The current IBM card services do not handle the PCMCIA WAIT line 
properly.  This will be addressed in a future release of OS/2 
(see APAR PJ10877).  In the meantime, the card client for OS/2 contains
code to work around this problem.

------------------------
TO INSTALL THIS RELEASE:
------------------------

1. Install OS/2 V2.1 on your computer.  Be sure to include 
"PCMCIA Support" under the selective install options.

2. Install the PCMCIA drivers that from IBM.  See the IBM 
documentation for installation instructions.

3. Boot OS/2 and launch an OS/2 command window.  At the prompt, create 
a subdirectory to hold the card client driver:

     MD  \AUTOINST

4. Make that directory the current directory:

     CD  \AUTOINST

5. Insert the installation diskette in drive A.

6. Now copy the client driver from the diskette onto your hard disk:

     COPY  A:\ESTDFM.OS2
     
7. Edit \CONFIG.SYS using the OS/2 editor or other ASCII text editor:

     E  \CONFIG.SYS

8. Insert the following line AFTER the lines for PCMCIA.SYS and 
VPCMCIA.SYS and AFTER the lines for COM.SYS and VCOM.SYS, but BEFORE 
the lines for $ICPMOS2.SYS, IBM2SS0x.SYS, and ICRMU0x.SYS:

     DEVICE=C:\AUTOINST\ESTDFM.OS2 s1c2

This will enable the PCMCIA modem inserted in slot 1 as COM 2.  
(If you wanted slot 2 as COM 1, you would enter "s2c1" instead of 
"s1c2", and so forth for other combinations.)

While you are looking at CONFIG.SYS, verify that the PCMCIA.SYS 
drivers come first, the COM.SYS drivers next, and the remaining 
PCMCIA-related drivers last.  

Your CONFIG.SYS should now be organized as follows:

     o
     o
     (lines for various drivers)
     o
     o
     DEVICE=C:\OS2\PCMCIA.SYS
     DEVICE=C:\OS2\VPCMCIA.SYS
     o
     (perhaps some other drivers)
     o
     DEVICE=C:\OS2\COM.SYS
     DEVICE=C:\OS2\MDOS\VCOM.SYS
     o
     (perhaps some other drivers)
     o
     DEVICE=C:\AUTOINST\ESTDFM.OS2  s1c2
     o
     (perhaps some other drivers)
     o
     (The following drivers will vary slightly in name and 
     directory location depending on your computer model 
     and installation procedure. DO NOT modify these lines, 
     just make sure they come after the line for ESTDFM.OS2.)
     o
     DEVICE=C:\THINKPAD\$ICPMOS2.SYS
     DEVICE=C:\THINKPAD\IBM2SS01.SYS
     DEVICE=C:\THINKPAD\ICRMU01.SYS
     o
     o

9. Save the modified CONFIG.SYS file,  exit the editor, and shut down OS/2.

10. Insert the PCMCIA modem into the slot you specified in step 8.

11. Boot OS/2.  The PCMCIA modem should be accessible via the 
communications port you specified in step 8.



=====================================================================
SECTION 2: Modem Installation MS-DOS and/or Microsoft Windows V3.1
=====================================================================

NOTE: If you are not familiar with PCMCIA enabling software such as 
Card and Socket Services, it may be helpful to read section 3 below 
and then return to this section.

For all users:
--------------

If your computer comes with Card and Socket Services, it probably 
already supports your PCMCIA modem.  To check, install Card and 
Socket Services according to your computer's documentation.  Then 
insert the PCMCIA modem into a free PCMCIA slot and try your
favorite communications application.  If it works, then no further 
installation is required.

If your computer does not come with Card and Socket Services, or if 
your version of Card and Socket Services does not support this 
PCMCIA modem, you can install enabling software which is shipped 
with the modem.  For this purpose, there is setup utility called 
INSTALL, a menu-driven installation program for non-technical users 
or for users who are happy with a standard configuration.

NOTE: If you use INSTALL to set up the Card and Socket Services which 
come with the PCMCIA modem, it will disable (comment out) any existing 
Card and Socket Services drivers which it locates.

INSTALL automatically creates directories, copies files, and modifies 
CONFIG.SYS, AUTOEXEC.BAT, and SYSTEM.INI (for Microsoft Windows).

To run INSTALL, simply insert the installation diskette in drive A: 
and then type A:INSTALL.  Then follow the instructions on the screen. 
(Note that if your computer does not have Microsoft Windows at 
installation time but you add Windows later on, you must run INSTALL 
again.)


For technical users:
--------------------

The instructions below are intended for a more technical user who 
prefers to make their own configuration modifications.

You have the option of installing Card and Socket Services (see 2.A, 
below) or a point enabler (see 2.B, below).  Read section 3 below for 
a review of the difference between Card and Socket Services and point 
enablers.




=====================================================================
2.A. INSTALLING CARD AND SOCKET SERVICES
=====================================================================
 
1. If you are using an expanded memory manager (e.g., EMM386.EXE), 
make sure that you exclude the memory range D000-DFFF from control of 
the memory manager.  The Card and Socket Services use this memory 
window.

2. Comment out any existing Card and Socket Services drivers from 
your CONFIG.SYS file.

3. Create a directory (e.g. C:\AUTOINST ) on your hard disk.  Copy 
the following files from the diskette to that directory:

	  SS365SL.EXE
	  CS.EXE
	  CSALLOC.EXE
	  CARDID.EXE
	  CARDID.INI
	  CARDID.CLB

(If your computer has a Databook PCMCIA controller, copy SSDBOOK.EXE 
instead of SS365SL.EXE;  if you have a Cirrus Logic controller, copy 
SSCIRRUS.EXE instead of SS365SL.EXE.)

4. Create a second directory (e.g. C:\AUTOTINST\WIN ) to hold the 
Windows drivers.  Copy the following files from the diskette to that 
directory:

	  SSVCD.386
	  SSVRDD.386
	  SSCOMM.DRV

5. Add the following lines to CONFIG.SYS:

     DEVICE=C:\AUTOINST\SS365SL.EXE /ADA=0
     DEVICE=C:\AUTOINST\CS.EXE
     DEVICE=C:\AUTOINST\CSALLOC.EXE  C:\AUTOINST\CSALLOC.INI
     DEVICE=C:\AUOTINST\CARDID.EXE

(If your computer has a Databook PCMCIA controller, use SSDBOOK.EXE 
instead of SS365SL.EXE;  if you have a Cirrus Logic controller, use 
SSCIRRUS.EXE instead of SS365SL.EXE.)

6. Change to the AUTOINST directory.  Remove all PC cards from all 
PCMCIA slots on your computer.  Then type the following command:

     CSALLOC  /G

This takes a "snapshot" of your system configuration and will create 
the CSALLOC.INI initialization file.

7. Edit your SYSTEM.INI file.


In the [boot] section, replace the line

     comm.drv=comm.drv

with

     comm.drv=C:\AUTOINST\WIN\SSCOM.DRV


In the [386Enh] section,  replace the line

     device=*vcd

with
     
     ;device=*vcd

If you have other custom virtual communications drivers in your 
SYSTEM.INI file, you may need to comment them out as well.  (The 
symptom that indicates this needs to be done is that you get 
"duplicate driver" messages when you try to run Windows after step 8, 
below.)  For example, if you do not have the line 

     device=*vcd

but you do have a line which reads

     device=xyzvcd

you may need to comment it out:

     ;device=xyzvcd

Most virtual communications drivers will have "vcd" somewhere in the 
name but unfortunately this is not guaranteed.


In the [386Enh] section,  add the following lines:

     device=C:\AUTOINST\WIN\SSVRDD.386 
     device=C:\AUTOINST\WIN\SSVCD.386 
     COM1Base=3F8
     COM1Irq=4
     COM2Base=2F8
     COM2Irq=3
     COM3Base=3E8
     COM3Irq=4
     COM4Base=2E8
     COM4Irq=3

8. Reboot your computer.  Insert your PCMCIA modem in an available 
slot.  You should hear a two-tone signal, low then high.  This 
indicates that your modem is functioning correctly.  




=====================================================================
2.B. INSTALLING THE POINT ENABLER 
=====================================================================

1. The point enabler is called MODACTIV.EXE.  Copy the file:

     MODACTIV.EXE

from the installation diskette onto your root directory.

2. Use a text editor to add the following line to your AUTOEXEC.BAT 
file:

     MODACTIV  /c2  /sA  /PD000

The "/c" switch indicates what COM port you want your modem to be set 
up on.  If you wanted COM4 instead of COM2, you would use the 
following:

     MODACTIV  /c4  /sA  /PD000

The "/s" switch indicates what PCMCIA slot contains your modem. If you 
wanted slot B instead of slot A, you would use the following:

     MODACTIV  /c2  /sB  /PD000

(On computers with more than one slot, there is no standard about 
which one will be A and which will be B.  Usually they are not 
labeled.  You may need to find out through trial and error.)

The "/P" switch indicates what memory window the MODACTIV program will 
use for communication with your modem. The four-character number 
following the /P is a hexadecimal address.  If you have a memory 
conflict at the default D000 range, you could change it to something 
else.  For example, if you wanted D800, you would enter: 

     MODACTIV  /c2  /sA  /PD800


3.  If you are not using an expanded memory manager such as 
EMM386.SYS, skip to step 4.

If you are using an expanded memory manager such as EMM386.SYS, you 
must exclude the memory range you specified in step 2. (Each expanded 
memory manager has a command line switch which allows you to exclude 
a range of memory addresses from the memory manager's control.  See 
your memory manager documentation for the exact form of the command 
line switch.)   If you used the default D000 in step 2, you must 
exclude the range D000-D1FF;  if you used D800, you must exclude 
D800-D9FF, etc.

If you are using an expanded memory manager before you run Microsoft 
Windows, you must also add an "EMMExclude" line to the [386Enh] 
section of your SYSTEM.INI file to inform Windows of the excluded 
range:

o
o
o
[386Enh]
o
o
EMMExclude=D000-D1FF
o
o
o


4. Insert your modem in the slot you specified and reboot.  Your 
modem should be recognized.  Note that since MODACTIV.EXE is a point 
enabler, you will need to re-run the MODACTIV command line with the 
appropriate switches each time your computer goes to sleep or each 
time you remove and re-insert the modem.



=====================================================================
SECTION 3: Overview Of PCMCIA Enabling Software 
=====================================================================

All PCMCIA input/output devices must be enabled by software before 
they can be used.  This enabling process must be repeated (that is, 
the enabling program must be run again) whenever the modem is powered 
off.  A PCMCIA modem will be powered off when the user removes it from
the computer and then reinserts it.  It may also be powered off when 
the computer goes into a "sleep" mode to conserve power.

There are two kinds of PCMCIA enabling software:

     * point enablers

     * Card and Socket Services

Point enablers are programs that run, enable a specific device (such 
as a PCMCIA modem), and exit.  Point enabler commands are typically 
installed so that they will be executed once each time the computer is 
turned on.  

The advantage of a point enabler is that it uses system memory only 
while it runs.  The disadvantage is that if the PCMCIA device is 
powered off, then the user must remember to execute the point enabler 
command to re-enable the modem.  Another disadvantage of point 
enablers is that you need a different one for each manufacturer's 
PCMCIA device.  One manufacturer's point enabler may conflict with 
another's point enabler.

Card and Socket Services is a set of programs which are installed so 
that they are executed when the computer is turned on.  The Card and 
Socket Services programs then stay resident - they remain in memory 
all of the time.  Card and Socket Services are designed to detect when 
a PCMCIA device has been powered off and then automatically re-enable 
it. This allows "hot swapping" - you can pull a PCMCIA card out and 
put in a different one and the new card is automatically enabled.  
Card and Socket Services also "know" how to enable a variety of 
devices from different manufacturers and attempt to prevent all 
conflicts between different PCMCIA cards.

The main disadvantage of Card and Socket Services is that they 
permanently occupy a certain amount of computer memory which could be 
used by other programs.

				###
