Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Driver update problem for raw PDO and stacks

Reply
Thread Tools Display Modes

Driver update problem for raw PDO and stacks

 
 
gti4ever
Guest
Posts: n/a

 
      06-30-2010
Hi,

I have a KMDF HID mini driver which creates a raw PDO. I have also install a
UMDF driver on top of that raw PDO. So far everything works ok but I just
found a problem.

If I go to device manager, I can see both my HID device and my raw PDO
device (raw PDO device is list as hidden device). But if I do a "Update
driver software" on one of them, it will only update the driver for the one I
selected but not the other one. BTW, I used one INF file for
intalling/updating both drivers.

Is there a way to force driver update on the one not selected? Or is there a
way to disable driver update on those two deivces and force user to do
uninstall then install?

Thanks.

G.
 
Reply With Quote
 
 
 
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      06-30-2010
no, there is no way to do this. each stack is independent. are you sure you
want your raw PDO + UMDF stack be installed as a HID device? I would think
you would want a different class

d

"gti4ever" wrote in message
news:8BDDA080-2E55-4D93-A19B-...

Hi,

I have a KMDF HID mini driver which creates a raw PDO. I have also install a
UMDF driver on top of that raw PDO. So far everything works ok but I just
found a problem.

If I go to device manager, I can see both my HID device and my raw PDO
device (raw PDO device is list as hidden device). But if I do a "Update
driver software" on one of them, it will only update the driver for the one
I
selected but not the other one. BTW, I used one INF file for
intalling/updating both drivers.

Is there a way to force driver update on the one not selected? Or is there a
way to disable driver update on those two deivces and force user to do
uninstall then install?

Thanks.

G.

 
Reply With Quote
 
gti4ever
Guest
Posts: n/a

 
      06-30-2010
Thanks Doron,

I can move the raw PDO + UMDF stack to another class but I am afraid this
won't solve my problem. Users can still update one driver and forgot to
update the other.

Can I get rid of the UMDF and replace it with an export driver? Will that
help in this case? Also, there is lots of floating point image processing in
my code and I am not sure it is a good idea to put all of them into an export
driver in kernel mode.

Any suggestion?

G.


"Doron Holan [MSFT]" wrote:

> no, there is no way to do this. each stack is independent. are you sure you
> want your raw PDO + UMDF stack be installed as a HID device? I would think
> you would want a different class
>
> d
>


 
Reply With Quote
 
Doron Holan [MSFT]
Guest
Posts: n/a

 
      06-30-2010
an export driver does not fix anything. if you need both drivers to be
updated at once, the best you can do is programitically at runtime detect
each other's version number and fail if there is a mismatch

d

"gti4ever" wrote in message
news:E50F27B6-FEB4-4421-8A85-...

Thanks Doron,

I can move the raw PDO + UMDF stack to another class but I am afraid this
won't solve my problem. Users can still update one driver and forgot to
update the other.

Can I get rid of the UMDF and replace it with an export driver? Will that
help in this case? Also, there is lots of floating point image processing in
my code and I am not sure it is a good idea to put all of them into an
export
driver in kernel mode.

Any suggestion?

G.


"Doron Holan [MSFT]" wrote:

> no, there is no way to do this. each stack is independent. are you sure
> you
> want your raw PDO + UMDF stack be installed as a HID device? I would think
> you would want a different class
>
> d
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59