IBM ThinkPad 380 or 380D User's Guide

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Index ]


Appendix B. Advanced Information for PC Cards for OS/2 Warp

(Ref #124.)  

This appendix describes advanced information related to using PC Cards.


Auto Configurator for PC Card Director

  (Ref #125.)

* Figure c79caos2 not displayed.

Note:
When installing an operating system, install the PCMCIA device driver that is on the PCMCIA Installation Diskette to use the Auto Configurator.

To install the PCMCIA device driver:
* Figure c79capnt not displayed. "Installing Software".

The ThinkPad 380 or 380D computer provides the Auto Configurator, a program for some PC Cards, so that you do not have to install the device driver supplied with the card to use it.

The resource and configuration information for the PC Cards are written in the script files. Once the information is written, you can use the Auto Configurator Utility to edit these script files.

When Auto Configurator is installed, the following line is added to the CONFIG.SYS file according to your operating system:

   BASEDEV=AUTODRV2.SYS

Starting the Auto Configurator Utility

This section describes the Auto Configurator Utility for OS/2.  

To start Auto Configurator Utility for OS/2, select the Auto Configurator Utility icon from the PC Card Director window.
* Figure c79capi3 not displayed.

Registering a PC Card in Auto Configurator

 

  1. Select a card from the Available Cards list in the Auto Configurator Utility main panel.
    * Figure c79capa6 not displayed.

    Select the card for which you want to assign the resources first. For example, when you want to assign COM3 to a modem card, and not COM2, select the setting for COM3 first.

  2. Click on the Add>> button.

  3. Click on the Save button.

    The names in the left list box (Available Cards) are the cards that can be registered. The names in the right list box (Selected Cards) are the cards that are already registered in Auto Configurator. 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. Select the PC Card you want to delete from Selected Cards in the Auto Configurator Utility main panel.

  2. Click on the Delete button.

  3. 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. Click on the Order... button in the Auto Configurator Utility main panel:
    * Figure c79capa7 not displayed.

  2. Refer to the following to change the order of the PC Cards in the list:

  3. 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. Select the PC Card you want to change from the left list box in the Auto Configurator Utility main panel.

  2. Click on the Edit... button.

    The following screen is displayed:

    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.
    * Figure c79cape4 not displayed.

  3. You can change the following registered information for the PC Card:

    The items that can be changed differ among PC Cards:

  4. Click on the OK button, and save the changes.

    To cancel the changes, click on the Cancel button.


Adding to the CONFIG.SYS File

(Ref #126.)

For PC Card Director to work correctly, the PC Card device drivers (which make up the structured file of PC Card Director) 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 shows each driver registered in the CONFIG.SYS file and the standard rules.

Registered Drivers and Standard Rules

The following is a sample of the CONFIG.SYS file for OS/2:  

         :
BASEDEV=PCMCIA.SYS			(Card Services)
BASEDEV=IBM2SS01.SYS			(Socket 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:

Rule 5
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 don't have the Power Management Support driver, the Storage Card Device Manager must be added at the end of the CONFIG.SYS file.


Strage Card Device Driver

 

ATA cards, SRAM cards, and Flash cards are PCMCIA storage cards. The following section describes the device drivers for these storage cards, available in PC Card Director.

PCMCIA Storage Card Device Driver

Note:
Install PCM2ATA.ADD for all storage cards, even when you are using SRAM or Flash cards.

PCM2ATA.ADD supports ATA cards, PCM2SRAM.SYS supports SRAM cards, and PCM2FLSH.SYS supports Flash cards.

Any PC Card installed in the slot is recognized by its device driver, so regardless of its type, you can access the card by the drive name assigned to the slot. When using the PCMCIA ATA Card Mount Utility, install the PCMCIA Storage API device driver (PCMSSDIF.SYS) for OS/2.

Before Using PCMCIA Storage Cards

Format new PCMCIA storage cards before use. For Flash cards, run the Flash Format Utility (FFORMAT.EXE/FFORMAT2.EXE); then format the Flash card. For ATA cards and SRAM cards, there is no need to run any programs before formatting the card. Format using the FORMAT.COM program, by displaying the File Manager (for Windows), or by choosing the drive icon (for OS/2).

Using PCMCIA ATA Cards with Multiple Partitions

   

The device driver assigns a drive letter only to the active (bootable) partition of the ATA card if it holds multiple partitions. For other primary partitions or logical drives in an extended partition, use the PCMCIA ATA Card Mount Utility to assign the drive letter to it.

Parameters for the PCMCIA ATA Card Device Driver

The following are the parameters in the OS/2 PCMCIA ATA card device driver and their explanations:

BASEDEV=PCM2ATA.ADD [/S:n] [/P:hhhh] [/EXIRQ:n]
    [/NOBEEP] [/B] [/STBTIME:n] [/MDRV:n] [/!DM]

/S:n
Specifies the number of PC Card slots. /S:1 shows that there is only one PC Card slot. When this parameter is not set, the number of PC Card slots is set to 2.

/P:hhhh
Specifies the lower limit for the I/O address of the ATA card. The device driver assigns the next usable I/O address from this lower limit to the card. When this parameter is not set, the device driver looks for a usable address and assigns it to the card.

/EXIRQ:n
Specifies the IRQ level that is not assigned to the card. You can set more than one IRQ level.

/NOBEEP
Specifies not to beep when a storage card is installed. When this parameter is not set, you will hear a beep every time a storage card is installed into the PC Card slot.

/B
Specifies that OS/2 has started from an ATA card. When this parameter is set, there will be no redundancy in assigning the logical drive to the slot where OS/2 was booted. It depends on the ATA card whether you can start OS/2 from it.

/STBTIME:n
Specifies the time (from 1 to 21 minutes) until entering standby mode. When the ATA card is not accessed for the time specified by this parameter, the ATA card enters standby mode (only when your ATA card supports standby mode). When this parameter is not specified, standby mode for the ATA card is disabled.

/MDRV:n
Specifies the number of extra drives that can be used in addition to the number of PC Card slots available for the PCMCIA storage devices. When this parameter is not specified, no extra drive is given to the device driver. The extra drives can be activated by the PCMCIA ATA Card Mount Utility.

/!DM
Specifies not to use OS2DASD.DMD as the device manager. When this parameter is set, OS2PCARD.DMD is used instead.

PCMCIA Storage Card Device Manager

OS2PCARD.DMD is the device manager for the PCMCIA storage card. Specify the /!DM parameter in the PCM2ATA.ADD line, so OS2PCARD.DMD is used instead of OS2DASD.DMD. If you do not specify /!DM, PCM2ATA.ADD uses the OS/2 standard Storage Card Device Manager (OS2DASD.DMD); however, under some conditions the format is not correct when you use OS2DASD.DMD.

The following is a line from the CONFIG.SYS file that describes the Storage Card Device Manager:

   BASEDEV=OS2PCARD.DMD

OS/2 PCMCIA Storage API Device Driver

   

This device driver provides a communication function between PC Card Director or the mount utility and the OS/2 PCMCIA ATA card device driver. As a result, a utility in the upper layer can get the drive letter or partition information for the PCMCIA storage card.

The following is a line from the CONFIG.SYS file that describes the Storage API device driver:

DEVICE =[drive:][directory]PCMSSDIF.SYS

Flash Card Memory Technology Driver

   

This device driver is used to read and write to a Flash card. It is used by OS/2 Flash card driver (PCM2FLSH.SYS).

The following is a line from the CONFIG.SYS file that describes the Flash Card Memory Technology driver, according to the operating system:


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.

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 when you are using the expansion unit, there is a possibility that the I/O port address or IRQ level may 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 are not conflicting 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 Version 3 or later, you can check the assigned system resources using RMVIEW.EXE.

If there is a conflict:


Virtual Card Services

   

Note:
DOS Object includes DOS program, Windows program, DOS full-screen, DOS window, WIN-OS/2 full-screen, and WIN-OS/2 window.

When you use a DOS object in the OS/2 environment, OS/2 Virtual Card Services provides a Card Services interface so that you can use the DOS PC Card device driver for the DOS object.

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

  1. Move the mouse pointer to the DOS object icon; then click on the right mouse button.

  2. Select Settings or Property.

  3. Select Session.

  4. Select DOS (WIN-OS/2) Settings.

  5. Select 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 C8000-CFFFF.

  9. Specify the PC Card device driver name to the DOS_DEVICE.

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


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]