Using a PC Card in OS/2 (with PC Card Director)

This section describes how to use the PC Card in OS/2.

The PC Card slots of the computer and the port replicator do not support the following PC Cards:

Note:OS/2 PC Card Director supports Token Ring/Ethernet/3270/5250/Modem (except ISDN) PC Cards.
Ask IBM or an IBM authorized dealer for more information about the different types of PC Cards.

You can use a DOS object3 in the OS/2 environment. OS/2 Virtual Card Services provides a Card Services interface and enables you to use the DOS PC Card device driver for the DOS object.

Note:Even when a PC Card is enabled with a DOS object, the device driver or the application program might not work, or their performance might not be what you expect.

To use Virtual Card Services with a DOS object, do the following:

  1. Move the mouse pointer to the DOS object icon; then click the right mouse button.
  2. Click on Properties.
  3. Click on Session tab.
  4. Click on DOS (WIN-OS/2) Properties.
  5. Click on All DOS (DOS and WIN-OS/2) Settings.
  6. Set "PCMCIA_CARD_SERVICES" as On.
  7. Set "PCMCIA_RELEASE_LEVEL" as 2.1.
  8. Set "MEM_EXCLUDE_REGIONS" as CC000-D3FFF.
  9. Specify the PC Card device driver name at the "DOS_DEVICE" prompt.

PC Card Director is the PC Card support software for OS/2. It makes using PC Cards with your computer easier in the following ways:

Note:If your PC Card is not supported by PC Card Director, you must install the driver that came with your card. To see the supported PC Cards by PC Card Director, click on the Supported PC Cards icon in the "PC Card Director" window. Even if your PC Card is not listed, try using it with PC Card Director.

The card driver must be compatible with the PCMCIA Card Services PC Card Standard (1995) or the PCMCIA Card Services Standard Release 2.1. Follow the instructions in your PC Card manual to install the driver.

To start PC Card Director, double-click on the PC Card Director folder; then double-click on the PC Card Director icon.

Stopping the PC Card

PC Card Director has a stop function for removing the PC Card safely. Stop the PC Card as follows:

  1. Open PC Card Director.
  2. Click on the Control Power icon.
  3. Select from the card list the storage PC Card you want to remove.
  4. Click on Off.
  5. Make sure the card status is off; then remove the storage PC Card.

Using the Auto Configurator Utility

You can delete or change a registered PC Card with the Auto Configurator Utility. You can find the Auto Configurator Utility icon in the "PC Card Director" window.

This section describes this utility.

Note:PC Card Director provides the Auto Configurator, a program for some PC Cards, so that you do not have to install the device driver supplied with it. When you install PC Card Director, a BASEDEV= statement such as the following is added to the CONFIG.SYS file.
BASEDEV=AUTODRV2.SYS

Registering a PC Card in Auto Configurator

  1. Double-click on the Auto Configurator Utility ( Figure acfgico not displayed.) icon from the "PC Card Director" window.
  2. Select a card from the Available Cards list in the "Auto Configurator Utility" window.
  3. Select the card for which you want to assign the resources first. For example, if you want to assign COM3 (rather than COM2) to a modem card, select the setting for COM3 first.
    Auto Configurator Utility -- Main Panel window

    The names in the left list box (Available Cards) can be registered. The names in the right list box (Selected Cards) are already registered in Auto Configurator.

  4. Click on the Add>> button.
  5. Click on the Save button.

    When a PC Card is installed, Auto Configurator starts from the top of the list to assign the resources to the card.

Deleting a Registered Card

  1. Double-click on the Auto Configurator Utility icon in the "PC Card Director" window.
  2. Select the PC Card you want to delete from Selected Cards in the "Auto Configurator Utility" window.
  3. Click on the Delete button.
  4. Click on the Save button.

Changing the Registered Order for PC Cards

To change the order of the registered PC Cards, do the following:

  1. Double-click on the Auto Configurator Utility icon from the "PC Card Director" window.
  2. Click on the Order... button in the "Auto Configurator Utility" window. The following window appears:
    Auto Configurator Utility -- Change Order window
  3. Do as follows to change the order of the PC Cards in the list:
  4. Click on the OK button to save the changes.

    The changes are saved. To cancel the changes, click on the Cancel button.

Changing the Resource Information for the PC Card

  1. Double-click on the Auto Configurator Utility icon from the "PC Card Director" window.
  2. Select the PC Card you want to change from the left list box in the "Auto Configurator Utility" window.
  3. Click on the Edit... button. The following window appears:
    Auto Configurator Utility -- Edit window
    Note:The current resource information is set as the default and appears in the input field of each item. The number that can be set is displayed in the pull-down list box.
  4. You can change the following registered information for the PC Card. The items that can be changed differ depending on the PC Card.
  5. Click on the OK button, and save the changes.

    To cancel the changes, click on the Cancel button.

Updating the CONFIG.SYS File

For PC Card Director to work correctly, the PC Card device drivers must be registered in the CONFIG.SYS file. These drivers are automatically registered in the CONFIG.SYS file when you install PC Card Director following the instructions in Installing Software.

The following section describes the standard rules for each driver registered in the CONFIG.SYS file for your reference.

Registered Drivers and Standard Rules

The following is a sample of a CONFIG.SYS file:

 :
BASEDEV=PCMCIA.SYS        --> Card Services
BASEDEV=IBM2SS14.SYS       --> Socket Services 
BASEDEV=AUTODRV2.SYS       --> Auto Configurator 
DEVICE=C:\THINKPAD\VPCMCIA.SYS  --> Virtual Card Services 
 :
DEVICE=C:\THINKPAD\xxxxxxx.SYS  --> Storage card device driver 
 :
REM PC_Card_Client_Device_Driver 
 :
DEVICE=C:\THINKPAD\$ICPMOS2.SYS --> Power Management Support driver

Rule 1 Card Services and Socket Services must be listed before any other PCMCIA drivers.
Rule 2 The PCMCIA Power Management Support driver must be listed after all drivers, at the end of the CONFIG.SYS file.
Rule 3 When using storage cards, the device drivers must be installed according to the card type.

Example of using only an ATA card:

 :
BASEDEV=PCM2ATA.ADD /!DM     --> ATA card device driver 
DEVICE=C:\THINKPAD\PCMSSDIF.SYS --> Storage API device driver 
 :
BASEDEV=OS2PCARD.DMD       --> Storage Card Device Manager

Example of using an ATA card and an SRAM card:

 :
BASEDEV=PCM2ATA.ADD /!DM     --> ATA card device driver 
DEVICE=C:\THINKPAD\PCMSSDIF.SYS --> Storage API device driver 
DEVICE=C:\THINKPAD\PCM2SRAM.SYS --> SRAM card device driver 
BASEDEV=OS2PCARD.DMD       --> Storage Card Device Manager

Example of using an ATA card and a Flash card:

 :
BASEDEV=PCM2ATA.ADD /!DM     --> ATA card device driver 
DEVICE=C:\THINKPAD\FLSH2MTD.SYS --> Flash Card Memory Technology driver 
DEVICE=C:\THINKPAD\PCMSSDIF.SYS --> Storage API device driver 
DEVICE=C:\THINKPAD\PCM2FLSH.SYS --> Flash card device driver 
 :
BASEDEV=OS2PCARD.DMD       --> Storage Card Device Manager

Example of using an ATA card, an SRAM card, and a Flash card:

 :
BASEDEV=PCM2ATA.ADD /!DM     --> ATA card device driver 
DEVICE=C:\THINKPAD\FLSH2MTD.SYS --> Flash Card Memory Technology driver 
DEVICE=C:\THINKPAD\PCMSSDIF.SYS --> Storage API device driver 
DEVICE=C:\THINKPAD\PCM2SRAM.SYS --> SRAM card device driver 
DEVICE=C:\THINKPAD\PCM2FLSH.SYS --> Flash card device driver 
 :
BASEDEV=OS2PCARD.DMD       --> Storage Card Device Manager

Rule 4 The Storage Card Device Manager (OS2PCARD.DMD) must be added after the Power Management Support driver ($ICPMOS2.SYS) in the CONFIG.SYS file. If you do not have the Power Management Support driver, the Storage Card Device Manager must be added at the end of the CONFIG.SYS file.

Checking the Allocated Resources for the PC Card

If the resources for the PC Cards are not correctly allocated, you will see error messages. You can check which resources for the PC Card were not correctly allocated by using PC Card Director. To check the resources that could not be allocated, click on the Status button in the PC Card Director program. The following are some reasons why the resources could not be correctly allocated, and corresponding actions you should take to solve the problem.

Problems

The resource was already reserved by another device. Configuration files were not set up correctly.

Actions

To change the resource settings for the PC Card or other devices, you can do one of the following:

Avoiding PC Card Resource Conflicts

PC Card Director checks the resources for most devices used by the system to avoid resource conflicts, but it does not recognize all option devices used. Especially if you are using the port replicator option, there is a possibility that the I/O port address or IRQ level might conflict with the PC Card.

Check the status of the PC Card by using PC Card Director. When the PC Card is set to "Ready," the resources used for that PC Card are displayed. Refer to the manuals supplied with the system or option adapters to check that the resources for the devices in the system or for the option adapters do not conflict with the resources for the IRQ level, I/O port address, or memory window of the PC Card. If you are using OS/2 Warp, you can check the assigned system resources using RMVIEW.EXE.

If there is a conflict:


Footnotes:

3
A DOS object might be a DOS program, Windows 3.11 program, DOS full-screen, DOS window, WIN-OS/2 full-screen, or a WIN-OS/2 window.