This is a behavior that I am seeing on WinXP when drivers are being
installed for devices enumerated by my bus driver, hopefully I can
explain it adequately.
This only seems to happen when I first install by bus driver using a
modified version of the install sample code. (ie. after rebooting, it
works fine).
My driver is installed, and the “Add Hardware Wizard” appears for the
bus enumerated devices. I seem to get pairs of “Add Hardware” windows.
I can click next, the driver is installed - then I click Finish, the
windows goes away - and shortly after that another window will pop up
if there are more devices to install. So far this seems normal.
Occasionally, when I click “Finish” in one of the windows, the other
window will disappear - and the driver will not get installed properly
for that device. At the end of the installation I get a little balloon
in the corner indicating that the installation may have failed for some
of the devices.
Can anyone offer any hint as to what might be going on? What could be
causing unfinished “Add Hardware Wizards” to be closed, and the driver
not being installed, and what could I do to fix this?
The only thing that I can think that might be somewhat unique in my
driver, is often I am enumerating quite a few devices at once (not
hundreds, but 4 or more is common)
Cliff
In many instances you can determine the source of driver install
errors by examining the event log and these files in the Windows
directory:
setupapi.log
setupact.log
setuperr.log
…John
On Mon, 9 Jun 2003 00:18:20 -0700, Cliff Russell
wrote:
>
>This is a behavior that I am seeing on WinXP when drivers are being
>installed for devices enumerated by my bus driver, hopefully I can
>explain it adequately.
>
>This only seems to happen when I first install by bus driver using a
>modified version of the install sample code. (ie. after rebooting, it
>works fine).
>
>My driver is installed, and the “Add Hardware Wizard” appears for the
>bus enumerated devices. I seem to get pairs of “Add Hardware” windows.
>I can click next, the driver is installed - then I click Finish, the
>windows goes away - and shortly after that another window will pop up
>if there are more devices to install. So far this seems normal.
>
>Occasionally, when I click “Finish” in one of the windows, the other
>window will disappear - and the driver will not get installed properly
>for that device. At the end of the installation I get a little balloon
>in the corner indicating that the installation may have failed for some
>of the devices.
>
>Can anyone offer any hint as to what might be going on? What could be
>causing unfinished “Add Hardware Wizards” to be closed, and the driver
>not being installed, and what could I do to fix this?
>
>The only thing that I can think that might be somewhat unique in my
>driver, is often I am enumerating quite a few devices at once (not
>hundreds, but 4 or more is common)
>
>
>Cliff
>
>
>
How does one detect the install errors on Windows 98
since we don’t have the log files like setupapi.log
on 98 ?
-----Original Message-----
From: John Hensley [mailto:xxxxx@msn.com]
Sent: Monday, June 09, 2003 7:58 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Strange device installation behavior
In many instances you can determine the source of driver install errors
by examining the event log and these files in the Windows
directory:
setupapi.log
setupact.log
setuperr.log
…John
On Mon, 9 Jun 2003 00:18:20 -0700, Cliff Russell
wrote:
>
>This is a behavior that I am seeing on WinXP when drivers are being
>installed for devices enumerated by my bus driver, hopefully I can
>explain it adequately.
>
>This only seems to happen when I first install by bus driver using a
>modified version of the install sample code. (ie. after rebooting, it
>works fine).
>
>My driver is installed, and the “Add Hardware Wizard” appears for the
>bus enumerated devices. I seem to get pairs of “Add Hardware” windows.
>I can click next, the driver is installed - then I click Finish, the
>windows goes away - and shortly after that another window will pop up
>if there are more devices to install. So far this seems normal.
>
>Occasionally, when I click “Finish” in one of the windows, the other
>window will disappear - and the driver will not get installed properly
>for that device. At the end of the installation I get a little balloon
>in the corner indicating that the installation may have failed for some
>of the devices.
>
>Can anyone offer any hint as to what might be going on? What could be
>causing unfinished “Add Hardware Wizards” to be closed, and the driver
>not being installed, and what could I do to fix this?
>
>The only thing that I can think that might be somewhat unique in my
>driver, is often I am enumerating quite a few devices at once (not
>hundreds, but 4 or more is common)
>
>
>Cliff
>
>
>
—
You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Sometimes you can locate information about failed Win9x driver
installs by looking for the problem code in the DeviceManager or in
the in the registry under:
HKEY_DYN_DATA\Config Manager\Enum\xxxxxx\Problem=xxxx
Where xxxxxx is the devnode that was created by the config manager
when it enumerated the device. You can determine which devnode
corresponds to your device by searching the “HardwareKey” fields.
…John
On Mon, 9 Jun 2003 20:02:32 +0530, “shailesh b”
wrote:
>
>
>How does one detect the install errors on Windows 98
>since we don’t have the log files like setupapi.log
>on 98 ?
>
>-----Original Message-----
>From: John Hensley [mailto:xxxxx@msn.com]
>Sent: Monday, June 09, 2003 7:58 PM
>To: NT Developers Interest List
>Subject: [ntdev] Re: Strange device installation behavior
>
>
>In many instances you can determine the source of driver install errors
>by examining the event log and these files in the Windows
>directory:
>
>setupapi.log
> setupact.log
> setuperr.log
>
>…John
>
>On Mon, 9 Jun 2003 00:18:20 -0700, Cliff Russell
> wrote:
>
>>
>>This is a behavior that I am seeing on WinXP when drivers are being
>>installed for devices enumerated by my bus driver, hopefully I can
>>explain it adequately.
>>
>>This only seems to happen when I first install by bus driver using a
>>modified version of the install sample code. (ie. after rebooting, it
>>works fine).
>>
>>My driver is installed, and the “Add Hardware Wizard” appears for the
>>bus enumerated devices. I seem to get pairs of “Add Hardware” windows.
>>I can click next, the driver is installed - then I click Finish, the
>>windows goes away - and shortly after that another window will pop up
>>if there are more devices to install. So far this seems normal.
>>
>>Occasionally, when I click “Finish” in one of the windows, the other
>>window will disappear - and the driver will not get installed properly
>>for that device. At the end of the installation I get a little balloon
>>in the corner indicating that the installation may have failed for some
>
>>of the devices.
>>
>>Can anyone offer any hint as to what might be going on? What could be
>>causing unfinished “Add Hardware Wizards” to be closed, and the driver
>>not being installed, and what could I do to fix this?
>>
>>The only thing that I can think that might be somewhat unique in my
>>driver, is often I am enumerating quite a few devices at once (not
>>hundreds, but 4 or more is common)
>>
>>
>>Cliff
>>
>>
>>
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@wipro.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
It sounds like you did not provide PnP with an expected result to one of
it’s queries. Look for the “Setting SetupAPI Logging Levels” discussion in
the Device Installation section of the DDK for information on how to enable
verbose logging. The additional logging will appear in the debugger.
You may also want to use a checked version of the ntosk and hal then set the
NT!Kd_NTOSPNP_MASK and NT_Kd_PNPMGR_Mask variables to 0xFFFFFFFF. The two
will provide a lot of information on PnP transitions and queries being made
to the driver as well as insights to how the responses affected PnP
transitions.
“Cliff Russell” wrote in message
news:xxxxx@ntdev…
>
> This is a behavior that I am seeing on WinXP when drivers are being
> installed for devices enumerated by my bus driver, hopefully I can
> explain it adequately.
>
> This only seems to happen when I first install by bus driver using a
> modified version of the install sample code. (ie. after rebooting, it
> works fine).
>
> My driver is installed, and the “Add Hardware Wizard” appears for the
> bus enumerated devices. I seem to get pairs of “Add Hardware” windows.
> I can click next, the driver is installed - then I click Finish, the
> windows goes away - and shortly after that another window will pop up
> if there are more devices to install. So far this seems normal.
>
> Occasionally, when I click “Finish” in one of the windows, the other
> window will disappear - and the driver will not get installed properly
> for that device. At the end of the installation I get a little balloon
> in the corner indicating that the installation may have failed for some
> of the devices.
>
> Can anyone offer any hint as to what might be going on? What could be
> causing unfinished “Add Hardware Wizards” to be closed, and the driver
> not being installed, and what could I do to fix this?
>
> The only thing that I can think that might be somewhat unique in my
> driver, is often I am enumerating quite a few devices at once (not
> hundreds, but 4 or more is common)
>
>
> Cliff
>
>
>
>