You cannot add an OEM-specific serial driver to a Windows CE 5.0 image (891899)



The information in this article applies to:

  • Microsoft Windows CE 5.0

SYMPTOMS

When you try to add an OEM-specific serial driver to a Microsoft Windows CE 5.0 image, the OEM serial driver is not added to the image.

CAUSE

This problem occurs because of new environment variables and the associated logic in the Common.bib file. If you do not set the BSP_NOPCMCIA variable or the BSP_NOPCCARD variable, the build overwrites the OEM-provided driver with the Com_card.dll driver. These variables control whether the Microsoft-provided, bus-agnostic serial driver is excluded. Additionally, if you do not specify the OEM serial driver in the Platform.reg file, the driver is included in the image.

RESOLUTION

To resolve this problem and to include the OEM serial driver in the image, follow these steps:
  1. Change the name of the OEM-provided serial driver so that the name of the file is not Serial.dll. For example, change the file name to SerialOEM.dll.
  2. Open the Platform.reg file in Notepad to update the registry information.

    Note The Platform.reg file is located in the Platform\FILES folder. Platform is the name of your target platform.
  3. Locate the [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial] subkey in the Platform.reg file.
  4. Replace the "Dll"="Serial.dll" line in the file with the following line:

    "Dll"="SerialOEM.dll"

    Note SerialOEM.dll is the file that you renamed in step 1.
  5. Save the Platform.reg file.
  6. Rebuild the platform.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about serial port driver registry settings, visit the following Microsoft Web site:

For more information about bus-agnostic drivers, visit the following Microsoft Web site:

For more information about BSP_NO environment variables, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:3/22/2005
Keywords:kbnofix kbtshoot kbprb KB891899 kbAudDeveloper