Hardware Wizard for Serial Ports with msports.inf in %SystemRoot%\

G

Guest

I am getting a Hardware Wizard display for Serial ports (16550). I have
confirmed in the Setupapi.log that the Serial ports (COM 1, 2 ,3 ,4) install
correctly using msports.inf when I follow the Hardware Wizard and point to
the %SystemRoot%\inf folder.

When I turned on verbose logging for Setupapi.log, it was clear that the
normal DevicePath search of %SystemRoot%\inf did not find a match for
*pnp0501. I have DriverSigning set to Ignore and have not had this problem
with any other instance of this XPE OS image on the same piece of hardware.
The image is loaded onto the hard drive using a PC core with all serial ports
disabled specifically so that it will automatically adapt to the target
hardware. So far I have concluded that the only difference, and possible
cause, is a new version of application code because this problem has repeated
on every drive (4 of them) that has been upgraded.

Please suggest any other diagnostic activities that might help me resolve
this problem.


Setupapi.log detail:


[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 1
Platform ID = 2 (NT)
Service Pack = 1.0
Suite = 0x0040
Product Type = 1
Architecture = x86
[2004/11/30 09:31:31 436.3 Driver Install]
#-019 Searching for hardware ID(s): *pnp0501
#-198 Command line processed: C:\WINNT\system32\services.exe
@ 09:31:31.355 #V017 Enumerating files "%SystemRoot%\Inf".
@ 09:31:31.385 #V391 Creating empty INF cache.
@ 09:31:31.425 #T075 Enumerating files: Directory pass completed.
@ 09:31:31.455 #T076 Enumerating files: Cache pass completed.
@ 09:31:31.515 #V017 Enumerating files "%SystemDrive%\Drivers\HID".
@ 09:31:31.556 #V391 Creating empty INF cache.
@ 09:31:31.666 #T075 Enumerating files: Directory pass completed.
@ 09:31:31.786 #T076 Enumerating files: Cache pass completed.
@ 09:31:31.896 #V017 Enumerating files "%SystemDrive%\Drivers\Video".
@ 09:31:32.006 #V391 Creating empty INF cache.
@ 09:31:32.076 #T075 Enumerating files: Directory pass completed.
@ 09:31:32.156 #T076 Enumerating files: Cache pass completed.
@ 09:31:32.216 #V017 Enumerating files "%SystemDrive%\Drivers\Misc".
@ 09:31:32.267 #V391 Creating empty INF cache.
@ 09:31:32.307 #T075 Enumerating files: Directory pass completed.
@ 09:31:32.417 #T076 Enumerating files: Cache pass completed.
@ 09:31:32.487 #V166 Device install function: DIF_SELECTBESTCOMPATDRV.
@ 09:31:32.547 #V155 Executing default installer.
@ 09:31:32.587 #W059 Selecting best compatible driver failed. Error
0xe0000228: There are no compatible drivers for this device.
@ 09:31:32.667 #W157 Default installer failed. Error 0xe0000228: There are
no compatible drivers for this device.

The search activity above is repeated identically three more times followed
by:

[2004/11/30 09:31:39 340.2]
#-199 Executing "C:\WINNT\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{C68F2FE3-AC64-44A4-AD01-DB3D0E664532}
@ 09:31:39.697 #I060 Set selected driver.
#-019 Searching for hardware ID(s): *pnp0501
@ 09:31:39.767 #V017 Enumerating files "%SystemRoot%\Inf".
@ 09:31:39.797 #V391 Creating empty INF cache.
@ 09:31:39.837 #T075 Enumerating files: Directory pass completed.
@ 09:31:39.847 #T076 Enumerating files: Cache pass completed.
@ 09:31:39.877 #V017 Enumerating files "%SystemDrive%\Drivers\HID".
@ 09:31:39.898 #V391 Creating empty INF cache.
@ 09:31:39.918 #T075 Enumerating files: Directory pass completed.
@ 09:31:39.938 #T076 Enumerating files: Cache pass completed.
@ 09:31:39.948 #V017 Enumerating files "%SystemDrive%\Drivers\Video".
@ 09:31:40.018 #V391 Creating empty INF cache.
@ 09:31:40.068 #T075 Enumerating files: Directory pass completed.
@ 09:31:40.108 #T076 Enumerating files: Cache pass completed.
@ 09:31:40.158 #V017 Enumerating files "%SystemDrive%\Drivers\Misc".
@ 09:31:40.198 #V391 Creating empty INF cache.
@ 09:31:40.248 #T075 Enumerating files: Directory pass completed.
@ 09:31:40.278 #T076 Enumerating files: Cache pass completed.
@ 09:31:40.318 #V166 Device install function: DIF_SELECTBESTCOMPATDRV.
@ 09:31:40.408 #V155 Executing default installer.
@ 09:31:40.448 #W059 Selecting best compatible driver failed. Error
0xe0000228: There are no compatible drivers for this device.
@ 09:31:40.518 #W157 Default installer failed. Error 0xe0000228: There are
no compatible drivers for this device.
 
R

Roy Hodgkinson

Problem resolved. Application was re-writing Windows DevicePath but
had registry entry type as REG_SZ instead of REG_EXPAND_SZ.

Roy

Roy said:
I am getting a Hardware Wizard display for Serial ports (16550). I have
confirmed in the Setupapi.log that the Serial ports (COM 1, 2 ,3 ,4) install
correctly using msports.inf when I follow the Hardware Wizard and point to
the %SystemRoot%\inf folder.

When I turned on verbose logging for Setupapi.log, it was clear that the
normal DevicePath search of %SystemRoot%\inf did not find a match for
*pnp0501. I have DriverSigning set to Ignore and have not had this problem
with any other instance of this XPE OS image on the same piece of hardware.
The image is loaded onto the hard drive using a PC core with all serial ports
disabled specifically so that it will automatically adapt to the target
hardware. So far I have concluded that the only difference, and possible
cause, is a new version of application code because this problem has repeated
on every drive (4 of them) that has been upgraded.

Please suggest any other diagnostic activities that might help me resolve
this problem.


Setupapi.log detail:


[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 1
Platform ID = 2 (NT)
Service Pack = 1.0
Suite = 0x0040
Product Type = 1
Architecture = x86
[2004/11/30 09:31:31 436.3 Driver Install]
#-019 Searching for hardware ID(s): *pnp0501
#-198 Command line processed: C:\WINNT\system32\services.exe
@ 09:31:31.355 #V017 Enumerating files "%SystemRoot%\Inf".
@ 09:31:31.385 #V391 Creating empty INF cache.
@ 09:31:31.425 #T075 Enumerating files: Directory pass completed.
@ 09:31:31.455 #T076 Enumerating files: Cache pass completed.
@ 09:31:31.515 #V017 Enumerating files "%SystemDrive%\Drivers\HID".
@ 09:31:31.556 #V391 Creating empty INF cache.
@ 09:31:31.666 #T075 Enumerating files: Directory pass completed.
@ 09:31:31.786 #T076 Enumerating files: Cache pass completed.
@ 09:31:31.896 #V017 Enumerating files "%SystemDrive%\Drivers\Video".
@ 09:31:32.006 #V391 Creating empty INF cache.
@ 09:31:32.076 #T075 Enumerating files: Directory pass completed.
@ 09:31:32.156 #T076 Enumerating files: Cache pass completed.
@ 09:31:32.216 #V017 Enumerating files "%SystemDrive%\Drivers\Misc".
@ 09:31:32.267 #V391 Creating empty INF cache.
@ 09:31:32.307 #T075 Enumerating files: Directory pass completed.
@ 09:31:32.417 #T076 Enumerating files: Cache pass completed.
@ 09:31:32.487 #V166 Device install function: DIF_SELECTBESTCOMPATDRV.
@ 09:31:32.547 #V155 Executing default installer.
@ 09:31:32.587 #W059 Selecting best compatible driver failed. Error
0xe0000228: There are no compatible drivers for this device.
@ 09:31:32.667 #W157 Default installer failed. Error 0xe0000228: There are
no compatible drivers for this device.

The search activity above is repeated identically three more times followed
by:

[2004/11/30 09:31:39 340.2]
#-199 Executing "C:\WINNT\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{C68F2FE3-AC64-44A4-AD01-DB3D0E664532}
@ 09:31:39.697 #I060 Set selected driver.
#-019 Searching for hardware ID(s): *pnp0501
@ 09:31:39.767 #V017 Enumerating files "%SystemRoot%\Inf".
@ 09:31:39.797 #V391 Creating empty INF cache.
@ 09:31:39.837 #T075 Enumerating files: Directory pass completed.
@ 09:31:39.847 #T076 Enumerating files: Cache pass completed.
@ 09:31:39.877 #V017 Enumerating files "%SystemDrive%\Drivers\HID".
@ 09:31:39.898 #V391 Creating empty INF cache.
@ 09:31:39.918 #T075 Enumerating files: Directory pass completed.
@ 09:31:39.938 #T076 Enumerating files: Cache pass completed.
@ 09:31:39.948 #V017 Enumerating files "%SystemDrive%\Drivers\Video".
@ 09:31:40.018 #V391 Creating empty INF cache.
@ 09:31:40.068 #T075 Enumerating files: Directory pass completed.
@ 09:31:40.108 #T076 Enumerating files: Cache pass completed.
@ 09:31:40.158 #V017 Enumerating files "%SystemDrive%\Drivers\Misc".
@ 09:31:40.198 #V391 Creating empty INF cache.
@ 09:31:40.248 #T075 Enumerating files: Directory pass completed.
@ 09:31:40.278 #T076 Enumerating files: Cache pass completed.
@ 09:31:40.318 #V166 Device install function: DIF_SELECTBESTCOMPATDRV.
@ 09:31:40.408 #V155 Executing default installer.
@ 09:31:40.448 #W059 Selecting best compatible driver failed. Error
0xe0000228: There are no compatible drivers for this device.
@ 09:31:40.518 #W157 Default installer failed. Error 0xe0000228: There are
no compatible drivers for this device.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top