is it possible to install different drivers for two instances of same device

Hi,

I have two multi-functional devices.
Each multi-functional device has a BD that enumerates it child-devices.

So I will have two instances of BD, each BD enumerating its child device and
which is claimed by Function Driver.

Now I have two sets of drivers(for both BD and FD).
The reasons behind two drivers is to have different functionality and for
other reasons which are not completely
known to me. There will be no change in that.

Driver Package #1 is vista-inbox driver.

Driver package #1
driverbd1.sys
bd1.inf
driverfd1.sys
fd1.inf

Driver package #2
driverbd2.sys
bd2.inf
driverfd2.sys
fd2.inf

When I have same drivers installed for both device instances, things look
good.
Assume that I have bd1 and fd1 installed for both device instances.
When I update device instance B with driver package #2, device instance B
update goes through
fine. But after the completion of update, device instance A shows a “yellow
mark” in the DM.

The complete driver package changes: driver binaries and inf files.

Question #1: Is such a thing allowed?
Question #2: When I try to update one of the devices with a different set,
the device which I am not updating
display a problem in device-manager. When I look at

“Properties” -> “Driver File Details” it shows old and new driver for
this device instance which I did not touch/update.

So I uninstall the device instance #A and do “scan hardware changes”. The OS
selects the driver package #1 (original ones).
Looking at “Driver File details” shows only old driver now. but still
installation fails…
Looking at setupapi.dev.log seems to say that OS found correct old driver
package #1 and the driver #1.
But somehow installation is not going through. I see only one error mesg:

“Queueing up error report since device has PnP problem”…

Does this ring any bells?

Would try to set up bps in driver#1 and check for any clues.

Thanks in advance,
-Praveen

Yes, it is possible to have a different driver for each instance of the
device. If the first stack is coming up !'ed, there is probably some
other dependency that is built in between the 2.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Wednesday, August 23, 2006 6:43 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] is it possible to install different drivers for two
instances of same device

Hi,

I have two multi-functional devices.
Each multi-functional device has a BD that enumerates it child-devices.

So I will have two instances of BD, each BD enumerating its child device
and which is claimed by Function Driver.

Now I have two sets of drivers(for both BD and FD).
The reasons behind two drivers is to have different functionality and
for other reasons which are not completely known to me. There will be
no change in that.

Driver Package #1 is vista-inbox driver.

Driver package #1
driverbd1.sys
bd1.inf
driverfd1.sys
fd1.inf

Driver package #2
driverbd2.sys
bd2.inf
driverfd2.sys
fd2.inf

When I have same drivers installed for both device instances, things
look good.
Assume that I have bd1 and fd1 installed for both device instances.
When I update device instance B with driver package #2, device
instance B update goes through fine. But after the completion of
update, device instance A shows a “yellow mark” in the DM.

The complete driver package changes: driver binaries and inf files.

Question #1: Is such a thing allowed?
Question #2: When I try to update one of the devices with a different
set, the device which I am not updating
display a problem in device-manager. When I look at

“Properties” -> “Driver File Details” it shows old and new driver
for this device instance which I did not touch/update.

So I uninstall the device instance #A and do “scan hardware changes”.
The OS selects the driver package #1 (original ones).
Looking at “Driver File details” shows only old driver now. but still
installation fails…
Looking at setupapi.dev.log seems to say that OS found correct old
driver package #1 and the driver #1.
But somehow installation is not going through. I see only one error
mesg:

“Queueing up error report since device has PnP problem”…

Does this ring any bells?

Would try to set up bps in driver#1 and check for any clues.

Thanks in advance,
-Praveen


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer