IBM ThinkPad 760E, 760ED, 760EL, 760XD, or 760XL User's Guide

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

Appendix B. Advanced Information for PC Cards

(Ref #150.)  

This appendix describes advanced information related to using PC Cards.


Restrictions on the PC Cards Supported by the Computer


* Figure c79chos2 not displayed.* Figure c79chw31 not displayed.

The PC Card slots of the computer and the SelectaDock Docking System do not support the following PC Cards:

(Ref #151.) Ask IBM or an IBM authorized dealer for more information about the different types of PC Cards.

Using the Option Diskette for the PC Card

Option diskettes, which came with some PC Cards, might include PCMCIA software (Socket Service driver: IBMDSS01.SYS) that does not support your computer. So, when using the diagnostic program or the installation program in that kind of option diskette, do the following:

  1. Check whether your option diskette has the file named IBMDSS01.SYS. Did you find the IBMDSS01.SYS file?

    Yes
    Go to the next step.

    No
    Go to step 5.

  2. Make a backup copy diskette of the option diskette.

  3. Copy the following two files to the backup copy diskette from the PC Card Director Diskette for DOS and Windows:

  4. Update a line in the CONFIG.SYS file in the backup copy diskette as follows:
      (old) DEVICE=A:\IBMDSS01.SYS
     
        **> DEVICE=A:\IBMDSS14.SYS
    

  5.  Run the diagnostic or installation program in the backup copy diskette, referring to the manual of the PC Card.

Auto Configurator for PC Card Director

  (Ref #152.)

The computers provide 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.

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


To install the PCMCIA device driver:
> "Installing Software".

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:


Starting the Auto Configurator Utility for OS/2 or Windows 3.11



* Figure c79chos2 not displayed.* Figure c79chw31 not displayed.

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

To start Auto Configurator Utility for OS/2 or Windows, select the Auto Configurator Utility (* Figure c79chpi3 not displayed.) icon from the PC Card Director window.

The operation for OS/2 and for Windows is the same.


Registering a PC Card in Auto Configurator

 

  1. Select a card from the Available Cards list in the Auto Configurator Utility main panel.
    * Figure c79chpa6 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 c79chpa7 not displayed.

    The operation for OS/2 and for Windows is the same.

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

    • Moving a card toward the bottom
      1. Select the PC Card you want to move.
      2. Click on the Down button.

        Every time you click on the Down button, the PC Card is moved toward the bottom of the list.

    • Moving a card toward the top
      1. Select the PC Card you want to move.
      2. Click on the Up button.

        Every time you click on the Up button, the PC Card is moved toward the top of 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 panel is displayed:
    * Figure c79chpe4 not 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.

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

    The items that can be changed differ among PC Cards.

    • Card ID
    • I/O port address
    • IRQ level
    • COM number of the serial port
    • Memory window address
    • Memory window size
    • Card offset address

  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 #153.)

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 for OS/2

* Figure c79chos2 not displayed.

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

         :
BASEDEV=PCMCIA.SYS             < Card Services
BASEDEV=ICRMU01.SYS            < Resource Map Utility
BASEDEV=IBM2SS14.SYS           < Socket Services
                                      (CardBus controller)
BASEDEV=IBM2SS04.SYS           < Socket Services
                                      (R2 PCIC controller)
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, Resource Map Utility, and Socket Services must be listed before any other PCMCIA drivers.

Rule 2
The Resource Map Utility is necessary only for OS/2 Version 2.1x.

Rule 3
The PCMCIA Power Management Support driver must be listed after all drivers, at the end of the CONFIG.SYS file.

Rule 4
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.

Registered Drivers and Standard Rules for DOS and Windows 3.11



* Figure c79chdos not displayed.* Figure c79chw31 not displayed.

The following is a sample of the CONFIG.SYS file for DOS and Windows:

         :
DEVICE=C:\DOS\EMM386.EXE FRAME=D000 X=C800-CFFF
         :
DEVICEHIGH=C:\THINKPAD\IBMDSS14.SYS   <  Socket Services
                                         (CardBus controller)
DEVICEHIGH=C:\THINKPAD\IBMDSS04.SYS   <  Socket Services
                                         (R2 PCIC controller)
DEVICEHIGH=C:\THINKPAD\IBMDOSCS.SYS   <  Card Services
DEVICEHIGH=C:\THINKPAD\IBMDSCSE.SYS
                                     ^  Enhanced Card Services
DEVICEHIGH=C:\THINKPAD\DICRMU01.SYS /MA=C800-CFFF
                     ^ Resource Map Utility
DEVICEHIGH=C:\THINKPAD\$ICPMDOS.SYS
                     ^ Power Management Support driver
         :
REM PC_Card_Client_Device_Driver
         :
DEVICEHIGH=C:\THINKPAD\xxxxxxx.SYS
                     ^  Storage card device driver
DEVICEHIGH=C:\THINKPAD\AUTODRV.SYS    < Auto Configurator
         :

Rule 1
When using the PCMCIA drivers with the Software EMS driver (EMM386.EXE), you must specify the X= parameter for EMM386.EXE. This is to avoid conflict in the memory area used by the PCMCIA drivers and the Software EMS driver.

Rule 2
Socket Services, Card Services, and Resource Map Utility must be listed in this order.

Rule 3
The Power Management Support driver must be listed after the Resource Map Utility.

Rule 4
The PC Card Client device driver must be listed before the Auto Configurator.

Rule 5
When using storage cards, you must install the device driver according to the card type, as listed below.

  • Using only an ATA card:
    DEVICEHIGH=C:\THINKPAD\PAWATA.SYS
    

  • Using an ATA card and an SRAM card:
    DEVICEHIGH=C:\THINKPAD\PAWATAS.SYS
    

  • Using an ATA card, an SRAM card, and a Flash card:
    DEVICEHIGH=C:\THINKPAD\FLSHDMTD.SYS
      ^  Flash card Memory Technology driver
    DEVICEHIGH=C:\THINKPAD\PAWATASF.SYS
      ^  ATA SRAM Flash card driver
    

Rule 6
The Enhanced Card Services (IBMDSCSE.SYS) is necessary only when you are using a Flash card.

When the total storage of the Flash cards used at the same time exceeds 10MB, you must do one of the following:

  • Assign the /TSIZE:n parameter in the PAWATASF.SYS file.

    For example:

    1. If the maximum total storage is 20MB, specify:
              DEVICE=PAWATASF.SYS /TSIZE:6
      
    2. If the maximum total storage is 40MB, specify:
            DEVICE=PAWATASF.SYS /TSIZE:10
      
      See the /TSIZE parameter on "Parameters for DOS PCMCIA Storage Card Device Drivers".
    This increases the memory resident area for PAWATASF.SYS.

  • Assign the /EMS parameter in the PAWATASF.SYS file, and the /NE parameter in the IBMDOSCS.SYS file. This sets IBMDOSCS.SYS not to use the EMS page frame and allows PAWATASF.SYS to use it instead. (The EMS memory must be enabled.)

    For example:

         DEVICE=IBMDOSCS.SYS /NE
         DEVICE=IBMDSCSE.SYS
                  :
         DEVICE=PAWATASF.SYS /EMS
    


Storage 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 for OS/2


* Figure c79chos2 not displayed.

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

Note:
Install PCM2ATA.ADD for all storage cards, even when you are using SRAM or 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.


PCMCIA Storage Card Device Driver for DOS and Windows 3.11



* Figure c79chdos not displayed.* Figure c79chw31 not displayed.

PAWATA.SYS supports ATA cards, PAWATAS.SYS supports ATA cards and SRAM cards, and PAWATASF.SYS supports ATA cards, SRAM cards, and Flash cards.

These device drivers assign a drive letter for each usable PC Card slot. These drive letters are displayed when the device drivers are initialized, and then you can use the drive letter to access the installed PCMCIA storage card. When you run FORMAT.COM against the drive letter, the SRAM card is formatted as a diskette and the ATA or Flash card is formatted as a nonremovable disk. In the File Manager under Windows, the drive letters are represented and treated as a diskette drive, regardless of the storage card type.


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 OS/2 PCMCIA ATA Card Device Driver


* Figure c79chos2 not displayed.

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.

Parameters for DOS PCMCIA Storage Card Device Drivers


* Figure c79chdos not displayed.

The following are the parameters in the DOS PCMCIA storage card device driver and their explanations:

DEVICE=[drive:] [directory] PAWATA.SYS [/P:hhhh] [/NOBEEP]
      [/STBTIME:n] [/MDRV:n]
DEVICE=[drive:] [directory] PAWATAS.SYS [/P:hhhh] [/NOBEEP]
      [/STBTIME:n] [/MDRV:n]
DEVICE=[drive:] [directory] PAWATASF.SYS [/P:hhhh]
      [/NOBEEP] [/STBTIME:n] [/MDRV:n] [/EMS] [/TSIZE:n]

/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 that address to the card.

/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.

/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.

/EMS
When this parameter is specified, the device driver uses the EMS resources if they are usable. When this parameter is not specified, the device driver does not use the EMS resources. (Ref #154.)

/TSIZE:n
You can specify the size of the table for the device driver data in the resident memory area. When the EMS resources are not usable, the data tables are created in the resident memory area. When the EMS resources are usable, this parameter is ignored. The table size depends on the variable n and is calculated as follows:

  • table size = n x 1024 bytes

Specify n in a decimal number. When this parameter is not specified, the device driver creates the table with n=4. Select the variable n depending on the total capacity of the Flash card. The following is an example of the relationship between the variable n and the total capacity of the Flash card:

  • Up to 10MB: n=4
  • Up to 20MB: n=6
  • Up to 40MB: n=10

PCMCIA Storage Card Device Manager for OS/2


* Figure c79chos2 not displayed.

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 will not be 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


* Figure c79chos2 not displayed.
   

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 driver is used to read and write to a Flash card. It is used by the DOS storage card device driver (PAWATASF.SYS) and OS2 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 docking station, 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, you can check the assigned system resources using RMVIEW.EXE.

If there is a conflict:


Virtual Card Services for OS/2


* Figure c79chos2 not displayed.
   

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.

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

Note that 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.

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

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

  2. Select Settings.

  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.


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