Hi:
For providing some enhance video image effect, I have to write my own UVC driver to replace inbox usbvideo.sys in Window vista. I just like to know if my own UVC driver get signature from WHQL and has newer version than inbox driver, when I plugin my device into system, which driver will the system choose for my UVC device?
Thanks for your help.
Lear
I believe that the official answer to your question (as reported by
someone unofficial) is that you are not supposed to replace an inbox
driver by any means other than a service pack or Windows update, and I
don’t really know how WHQL impacts this. That is, I don’t really know
the answer to your question in the big picture. However, to get
started, you might wish to check out this document, "Installing Test
Builds of Inbox Drivers on Windows Vista:
http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/PnP_inbox.doc
Also:
http://msdn2.microsoft.com/en-us/library/aa477022.aspx (How Setup Ranks
Drivers (Windows Vista))
Good luck,
mm
xxxxx@gmail.com wrote:
Hi:
For providing some enhance video image effect,
I have to write my own UVC driver to replace inbox usbvideo.sys in
Window vista.
I just like to know if my own UVC driver get signature from WHQL and has
newer version than inbox driver,
when I plugin my device into system, which driver will the system choose
for my UVC device?
Thanks for your help.
Lear
xxxxx@gmail.com wrote:
For providing some enhance video image effect, I have to write my own UVC driver to replace inbox usbvideo.sys in Window vista.
No, you don’t. What you need to do is write a filter driver above or
below usbvideo.sys. You don’t really want to re-engineer usbvideo.sys,
and I’m very surprised by the number of people who see this as their
first solution. usbvideo.sys has had many man-years of applied
development effort by a company that can afford to hire good people.
Note, however, that a driver is the **WRONG** place to do video image
effects. Those should be done in user-mode, using a filter.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Thank you, mm, the weblink information you provided is really helpful for me.
And also thanks Tim’s advise. Currently, my UVC driver is finished and can pass DTM test, for time to market concern, I have to use this solution to meet the requirements from our customers. I agree with you that it is not the best solution. I just consider about what to do next. Should I write a filter driver or user mode capture source filter? Can you give me some advise which solution should I choose? Is there any limitation for each solution? For user mode capture source filter, where can I find the related information or guide line to implement it?
Really thanks!
Lear
xxxxx@gmail.com wrote:
And also thanks Tim’s advise. Currently, my UVC driver is finished and can pass DTM test, for time to market concern, I have to use this solution to meet the requirements from our customers. I agree with you that it is not the best solution.
How does this kind of thing happen? When a project starts, the first
thing one should talk about is “how can we solve this problem by
exploiting existing resources that are known to be good?” I don’t
understand how “rewrite usbvideo.sys” could get on the table without
someone doing some research to figure out lower cost alternatives first.
I just consider about what to do next. Should I write a filter driver or user mode capture source filter? Can you give me some advise which solution should I choose? Is there any limitation for each solution? For user mode capture source filter, where can I find the related information or guide line to implement it?
I’m not suggesting a user-mode capture source filter. I’m suggesting
that video effects should be implemented in a user-mode transform
filter. What kind of effects are you considering? If you’re talking
about simulating brightness and contrast adjustments for a sensor that
doesn’t support them, I suppose you could convince me that a filter
driver is a reasonable way to handle that. If you’re talking about more
complicated effects, then I think a user-mode transform filter is the
right way to go.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.