questions about the UVC specific requests

Dear sir,
I am working on a driver of a UVC compliant camera. I encountered a problem that the IRP’s returned Iostatus and the URB’s returned status is not successful when I send the UVC requests built by UsbBuildVendorRequest to the UVC device, and the result is not right.
In fact, sometimes UVC requests is successful and return the correct value. But I don’t know when and why they are successful, and don’t know when and why they are unsuccessful.
Why does the situation occur that sometimes the UVC requests work and sometimes can not work?
What should I do in order to make the UVC requests work all the time?
Thank you for reading and answering.

The problem may not come from your driver.
It may also come from wrong USB bus behavior.
You should use USB bus analyzer to make sure that you send the rigth command
and device respond your command well.



> Dear sir,
> I am working on a driver of a UVC compliant camera. I encountered a
> problem that the IRP’s returned Iostatus and the URB’s returned status is
> not successful when I send the UVC requests built by UsbBuildVendorRequest
> to the UVC device, and the result is not right.
> In fact, sometimes UVC requests is successful and return the correct
> value. But I don’t know when and why they are successful, and don’t know
> when and why they are unsuccessful.
> Why does the situation occur that sometimes the UVC requests work and
> sometimes can not work?
> What should I do in order to make the UVC requests work all the time?
> Thank you for reading and answering.
>