This appendix describes advanced information related to using PC Cards.
|
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:
"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
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.
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.
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.
To change the order of the registered PC Cards, do the following:
Every time you click on the Down button, the PC Card is moved toward the bottom of the list.
Every time you click on the Up button, the PC Card is moved toward the top of the list.
The changes are saved. To cancel the changes, click on the Cancel 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.
The items that can be changed differ among PC Cards:
To cancel the changes, click on the Cancel button.
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.
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)
: BASEDEV=PCM2ATA.ADD /!DM (ATA card device driver) DEVICE=C:\THINKPAD\PCMSSDIF.SYS : (^Storage API device driver) BASEDEV=OS2PCARD.DMD (Storage Card Device Manager)
: 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)
: 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)
: 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)
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.
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.
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).
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.
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]
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
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
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:
DEVICE =[drive:] [directory] FLSH2MTD.SYS (^Memory Technology driver) DEVICE =[drive:] [directory] PCM2FLSH.SYS (^Storage card device driver)
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:
If this is the case, for OS/2, use the ThinkPad Setup Utility in the ThinkPad Features program to disable the devices using COM1 or COM2; then restart the system.
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:
To set RESERVE.SYS, refer to the manuals or online help for OS/2 Warp, or refer to the READ.ME file of PC Card Director.
To change the configuration file for the network cards, refer to the manuals or READ.ME files of the PC Cards or network drivers.
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:
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.