18.366 bytes

Service Hints & Tips

Document ID: PFAN-3NAAWB

This document is provided to IBM and our Business Partners to help sell and/or service IBM products. It is not to be distributed beyond that audience or used for any other purpose.

TP 360,750,755 - IBM ThinkPads & VoiceType Dictation in Dos, Windows 3.1 and OS/2

Applicable to: World-Wide

Service Information:
Installing VoiceType dictation on IBM ThinkPad's is relatively straight forwards, however, problems can and do occur with IRQ's, DMA, I/O address, and PCMCIA clashes. Below are hints and tips of what to look out for and suggestions as to how to fix.

Hints & Tips:
VoiceType Dictation (VTD) & Personal Dictation (IPDS):
The major difference between IBM's VoiceType Dictation (VTD) and IBM's Personal Dicatitation System (IPDS) is that VoiceType supports both ISA and PCMCIA systems whereas IPDS is for ISA systems only. VoiceType Dictation has replaced IPDS and is currently at version 1.1 for both IBM's OS/2 and Microsoft Windows.

Where Do Problems Lie ?:
Most of the problems that we have seen arise from resource management, or should I say the lack there of. This is caused by the Plug and Play BIOS not always knowing what resources are required by the system itself and the end users lack of computer knowledge to resolve resource conflicts.

The IBM VoiceType Dictation PCMCIA card is an I/O card that requires a port address, IRQ, and a 4Kb block of system memory. Port addresses are not usually a problem because of the range of addresses available on a system. However, IRQ's, DMA and system memory can be a problem. The IBM VoiceType Dictation card requests IRQ's 5, 10, 11, and 15 in that order. If PCMCIA Card Services thinks IRQ 5 is not being used it will grant the request. In cases like the IBM ThinkPad 750P, Pen Laptop, IRQ 5 is used for the Pen but this is unknown to Card Services and we never receive the interrupt. Likewise, on IBM ThinkPad 750/755C/Cs systems, the audio is using Interrupt 10 and so the PCMCIA card will be allocated IRQ 5 or 11. On IBM ThinkPad 755CE/CD/CV/CX systems, the MWave DSP chip uses IRQ 10 and IRQ 5 for SoundBlaster emulation, thus the PCMCIA VoiceType card will have to use IRQ 11 or 15 if the DSP IRQ's are not re-assigned. With memory, the IBM PCMCIA VoiceType cards requires a 4KB block of system memory, usually somewhere in the range of C000-CFFF or D000-DFFF. Within native DOS, when EMM386 is run from CONFIG.SYS it will grab all system memory available at that time so Card Services cannot grant a request for the memory required, hence the need to exclude a block from being used within EMM386.

PCMCIA Super Client Drivers:
PCMCIA Super Client drivers supplied by the Card and Socket Services vendors, can also cause resource problems because they support only card types known about by them. IBM Card and Socket Services V2 (found on the IBM ThinkPad Utility Diskette v2.00) does recognize and support the IBM VoiceType Dictation PCMCIA card. IBM is currently working with SystemSoft and Pheonix Technologies to have our card added to their libraries but this will only solve the resource problems.

IRQ, DMA, and Port address allocations depend on the Card and Socket Services manufacturer and version of Card and Socket Services being used. For SystemSoft's CardSoft version of Card and Socket Services the CSALLOC.INI file needs to be edited to include and/or exclude port address ranges and IRQ's. Pheonix Technology uses command line parameters much like IBM's to modify the resources used for PCMCIA cards. Each vendor of Card and Socket Services should supply documentation on how this is accomplished for their version of Card and Socket Services.

Minimum System Requirements:

Operating System Support:
VoiceType Dictation is currently supported on IBM's OS/2 v2.1 and OS/2 Warp operating systems, along with Microsoft's Windows v3.1 and v3.11. Microsofts Windows 95 and NT do not support VoiceType Dictation.

DOS/Windows VoiceType on IBM ThinkPad Systems:
Installation of the VoiceType Dictation system is staright forward, the problems occur usually once the software is installed and when the user is about to start the enrolement process.

- Ensure that the PCMCIA device drivers are installed.
- Ensure that the EMM386 statement in the CONFIG.SYS file has approprate
eXclude parameters in order that the PCMCIA card drivers can load correctly.
- Ensure that the IRQ's do not clash with any devices in the IBM ThinkPad or any
installed PCMCIA cards. The VoiceType Dictation card will either be on IRQ
5,10, 11, or 15.
- Ensure that there is at least 16Mb of virtual memory setup within Microsoft
Windows otherwise the enrolement may fail.
- Ensure that these is plenty of free hard disk space in order for the enrolement
process to complete.

Unfortunately, when we run into these problems the only solution is trial and error. For EMM386 the CONFIG.SYS file should look something like this :
DEVICE=C:\DOS\EMM386.EXE /X=C000-CFFF

This will give our card the required system memory, however, depending on the system this might not be sufficient for it to operate properly.

Within the DOS CONFIG.SYS file you must have IBM Card and Socket Services loaded in order to activate the PCMCIA capabilities of the IBM ThinkPad. The VoiceType Dictation system uses a card enabler that interfaces with the Card and Socket Services in order to achieve functionality. The DOS CONFIG.SYS file must contain the following statements :
DEVICE=C:\THINKPAD\IBMDSS01.SYS
DEVICE=C:\THINKPAD\IBMDOSCS.SYS
DEVICE=C:\THINKPAD\DICRMU01.SYS /MA=C000-CFFF
DEVICE=C:\THINKPAD\$ICPMDOS.SYS

After installing the VoiceType Dictation software for Windows, the following statements are added to the DOS AUTOEXEC.BAT file :
SET SPCH_LANG=EN_UK
SET SPCH_DRIVE=C:
SET SPCH_RO=\SPCH_RO
SET SPCH_RW=\SPCH_RW
SET SPCH_RUN=\SPCH_RUN
SET USERS=\SPCH_RW\USERS
SET PMD=\SPCH_RO\BIN\
SET SPCH_LOC=IBM
VDATSR.EXE

This will then activate the card enabler once the system is rebooted after the PCMCIA support has been loaded. Unlike OS/2, the card enabler does not hold parameters for the VoiceType Dictation PCMCIA card in order to setup the I/O address and IRQ parameters for the card. These parameters are setup in the Microsoft Windows SYSTEM.INI file in the section titled [ibmvda.drv] as given below :
[ibmvda.drv]
port=200
int=5
pccard=1

An entry is also placed in the [drivers] section of the SYSTEM.INI file, as given below :
Speech Recognition=ibmdva.drv

OS/2 VoiceType on IBM ThinkPad 360/750/755C/Cs Systems:
The secret to avoiding problems is to plan the installation in a logical fashion. The only real considerations are :
- To ensure PCMCIA support for OS/2 is installed
- To ensure that the VoiceType Dictation PCMCIA card IRQ will not clash with anything else
which is already being used by the IBM ThinkPad eg. audio.

By default, when installing the VoiceType Dictation software drivers are installed into the OS/2 CONFIG.SYS file. Under OS/2 the drivers hold a number of parameters which configure the PCMCIA card, specifically the DMA, I/O Port Address and IRQ level. These can be modified by the user after a successful installation of the software but before enrolement takes place. The VoiceType Dictation device driver is SPEECHDD.SYS and takes on the format below, whereby each parameter is preceeded by a minus sign.
DEVICE=G:\SPCH_RO\BIN\SPEECHDD.SYS <DMA> <I/O> <IRQ>

The default values that the device driver may hold are shown below :
DEVICE=G:\SPCH_RO\BIN\SPEECHDD.SYS -1 -800 -10

In our example we can see that the DMA level is set to 1, the port address is set to 800H, and the IRQ by default is set to 10. This means that the IRQ level will clash with the audio on the IBM ThinkPad as this normally holds IRQ 10. There are two ways to change this, the later of which is preferable :
1. Modify the settings in the OS/2 CONFIG.SYS file and change the IRQ parameter to take on IRQ 5, 11, or 15.
2. Use the ThinkPad features utilities and change the IRQ level for the audio, this can be done by selecting the System Info icon from within ThinkPad features and then selecting the "Advance" option. This will then show the IRQ level for the audio. This should be changed and then the system rebooted afterwards.

Once the software has installed, the OS/2 CONFIG.SYS file should resemble the example OS/2 CONFIG.SYS file for IBM ThinkPad 360/750/755C/Cs Systems below.
Example:
DEVICE=G:\THINKPAD\VPCMCIA.SYS
DEVICE=G:\THINKPAD\COM.SYS (2,2f8,3)
DEVICE=G:\THINKPAD\AUTODRV2.SYS G:\THINKPAD\AUTODRV2.INI
:
<Other OS/2 or LAN device drivers >
:
REM --- PCMCIA Support installed from ThinkPad drivers - NOT OS/2 ---
DEVICE=G:\THINKPAD\$ICPMOS2.SYS
DEVICE=G:\THINKPAD\IBM2SS01.SYS /C1=9
DEVICE=G:\THINKPAD\ICRMU01.SYS /MA=C100-CFFF,D100-DFFF
REM --- End of PCMCIA Support ---
:
REM --- IBM VoiceType Dictation for OS/2 ---
SET SPCH_DRIVE=g:
SET SPCH_MAINLANG=EN_UK
SET SPAPIPATH=g:\SPCH_RO\BIN
DEVICE=g:\SPCH_RO\BIN\SPEECHDD.SYS -1 -0800H -10
REM --- End of VTD Device Drivers ---

It is important to remember that if PCMCIA support has not been installed then the PCMCIA light on the IBM ThinkPad will not be lit, and the VoiceType Dictation card will not be recognized and thus an error will be generated saying that the VoiceType adapter cannot be found.

IBM ThinkPad 755CE/CD/CV/CX Systems:
HELL=G:\OS2\MDOS\COMMAND.COM G:\OS2\MDOS
FCBS=16,8
RMSIZE=640
:
REM --- MWave DSP Device Driver ----
DEVICE=G:\MWAVEOS2\BIN\mwaveVDD.sys
DEVICE=G:\OS2\MDOS\VEMM.SYS
DOS=LOW,NOUMB
:
CODEPAGE=850,437
DEVINFO=KBD,UK166,G:\OS2\KEYBOARD.DCP

REM --- PCMCIA Support installed from ThinkPad drivers - NOT OS/2 ---
DEVICE=G:\THINKPAD\PCMCIA.SYS
DEVICE=G:\THINKPAD\VPCMCIA.SYS
DEVICE=G:\THINKPAD\COM.SYS (2,2f8,3)
DEVICE=G:\THINKPAD\AUTODRV2.SYS G:\THINKPAD\AUTODRV2.INI

REM --- PCMCIA Support for OS/2 ---
DEVICE=G:\OS2\MDOS\VCOM.SYS

DEVINFO=SCR,VGA,G:\OS2\BOOT\VIOTBL.DCP
SET VIDEO_DEVICES=VIO_SVGA
DEVICE=G:\OS2\MDOS\VSVGA.SYS
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
:
REM --- PCMCIA Support installed from ThinkPad drivers - NOT OS/2 ---
DEVICE=G:\THINKPAD\$ICPMOS2.SYS
DEVICE=G:\THINKPAD\IBM2SS01.SYS /C1=9
DEVICE=G:\THINKPAD\ICRMU01.SYS /MA=C100-CFFF,D100-DFFF
REM --- End of PCMCIA Support ---
:
REM --- Start of MultiMedia Support ---
REM ------ ThinkPad 755C/Cs Sound Support -------
DEVICE=G:\MMOS2\CS4231.SYS N:BSAUD1$
DEVICE=G:\MMOS2\VCS4231.SYS BSAUD1$
REM ------ End of ThinkPad 755C/Cs Sound -------

SET MMBASE=G:\MMOS2;
SET DSPPATH=G:\MMOS2\DSP;
SET NCDEBUG=4000
DEVICE=G:\MMOS2\SSMDD.SYS
DEVICE=G:\MMOS2\R0STUB.SYS

REM --- System Management Device Driver for IBM ThinkPad 755CD ---
BASEDEV=AODBSMD.SYS

REM --- IBM ThinkPad 755CD Device Drivers (MWAVE DSP) ---
SET MWPATH=G:\MWAVEOS2\MWAVEOS;G:\MWAVEOS2\DSP;G:\MMOS2\AUDIODD
SET MWCARD=IBM
SET MWROOT=G:\MWAVEOS2
SET MWOSNAME=mwos0400.dsp
SET MWBIOS=mwbi0401.dsp
REM DEVICE=G:\MWAVEOS2\BIN\mwagwVDD.sys
REM DEVICE=G:\MWAVEOS2\BIN\MWsbVDD.SYS
REM DEVICE=G:\MWAVEOS2\BIN\mwaveDD.sys
REM DEVICE=G:\MWAVEOS2\BIN\meio0402.sys
REM DEVICE=G:\MWAVEOS2\BIN\mwbd0400.sys BUS=1150000
REM RUN=G:\MWAVEOS2\BIN\MWSTART.EXE

REM DEVICE=G:\MMOS2\AUDIODD\AUDG2.SYS P N:AUDIOV1$
REM DEVICE=G:\MMOS2\VAUDIO.SYS
REM ------------ End of MWAVE Sound -----------------
REM --- End of MultiMedia Support ---

REM --- IBM VoiceType Dictation for OS/2 ---
REM SET SPCH_DRIVE=g:
REM SET SPCH_MAINLANG=EN_UK
REM SET SPAPIPATH=g:\SPCH_RO\BIN
REM DEVICE=g:\SPCH_RO\BIN\SPEECHDD.SYS -1 -0800H -10
REM --- End of VTD Device Drivers ---

Audio Feedback through internal IBM ThinkPad speaker:
When using the IBM ThinkPad 360/750/755C/Cs systems, it is possible to feed the output of the VoiceType adapter back into the IBM ThinkPad via the Microphone "in" socket. However, on these systems this function is really non-existant as the sound is extremely quiet and even when the OS/2 audio is set to the maximum volume levels the sound can be in-audible. However, inorder to ensure that the user has set this function up properly, the following statements need to be included in the OS/2 CONFIG.SYS.
REM --- Start of MultiMedia Support ---
DEVICE=G:\MMOS2\CS4231.SYS N:BSAUD1$
DEVICE=G:\MMOS2\VCS4231.SYS BSAUD1$
SET MMBASE=G:\MMOS2;
SET DSPPATH=G:\MMOS2\DSP;
SET NCDEBUG=4000
DEVICE=G:\MMOS2\SSMDD.SYS
DEVICE=G:\MMOS2\R0STUB.SYS

The story is completely different however on the IBM ThinkPad 755CE/CD/CV/CX systems as these use an MWave Digital Signal Processor, different drivers, and it has a manual audio facility. Again, by using a standard piece of audio cabling with 2.5mm jacks at both ends it is possible to feed the output from the VoiceType Dictation adapter back into the IBM ThinkPad computer, and be able to hear the sound clearly. To do this you need to ensure that the MWave DSP device drivers have been setup and also ensure that the Auxilary Control within the MWave for OS/2 folder is set to "Mic" and not "Line/CD" otherwise you will get no sound coming from the IBM ThinkPad speakers.

Below is an example to the MWave DSP drivers which you need to have setup under OS/2 Warp in order to achieve this function :
<PCMCIA Support Goes Here>
:
REM --- Start of (MMPM) MultiMedia Support ---
SET MMBASE=G:\MMOS2;
SET DSPPATH=G:\MMOS2\DSP;
SET NCDEBUG=4000
DEVICE=G:\MMOS2\SSMDD.SYS
DEVICE=G:\MMOS2\R0STUB.SYS

REM --- System Management Device Driver for MWave from ThinkPad Utilities ---
BASEDEV=AODBSMD.SYS

REM --- IBM ThinkPad 755CD Device Drivers (MWAVE DSP) ---
SET MWPATH=G:\MWAVEOS2\MWAVEOS;G:\MWAVEOS2\DSP;G:\MMOS2\AUDIODD
SET MWCARD=IBM
SET MWROOT=G:\MWAVEOS2
SET MWOSNAME=mwos0400.dsp
SET MWBIOS=mwbi0401.dsp
DEVICE=G:\MWAVEOS2\BIN\mwagwVDD.sys
DEVICE=G:\MWAVEOS2\BIN\MWsbVDD.SYS
DEVICE=G:\MWAVEOS2\BIN\mwaveDD.sys
DEVICE=G:\MWAVEOS2\BIN\meio0402.sys
DEVICE=G:\MWAVEOS2\BIN\mwbd0400.sys BUS=1150000
RUN=G:\MWAVEOS2\BIN\MWSTART.EXE
DEVICE=G:\MMOS2\AUDIODD\AUDG2.SYS P N:AUDIOV1$
DEVICE=G:\MMOS2\VAUDIO.SYS
REM --- End of MultiMedia Support ---
:
<Voice Type Dictation Statements Go Here>

Search Keywords

Hint Category

DOS/Windows 3.x, OS/2, PCMCIA (PC Card)

Date Created

11-10-95

Last Updated

22-01-99

Revision Date

13-03-2001

Brand

IBM ThinkPad

Product Family

ThinkPad 360, ThinkPad 750, ThinkPad 755C/CS, ThinkPad 755CE/CSE, ThinkPad 755CX, ThinkPad 755CV, ThinkPad 755CD, ThinkPad 755CDV

Machine Type

2620, 9545

Model

Various

TypeModel

Retain Tip (if applicable)

N/A

Reverse Doclinks
and Admin Purposes