I’m developing usb video class (UVC) driver.
UVC device consists of two interfaces - control and stream interface.
It’s described as one interface collection by IAD.
USB Common Class Generic Parent Driver (usbccgp.sys) of XP SP2
will be load first for UVC device and create a PDO for the video
interface collection.
I would develop my UVC driver for the video interface collection.
My problem is that I cannot get the handle of interface 1 after the
driver send set configuration Urb. Only interface 0’s information
is filled in returned Urb though I can parse interface 1’s descriptor
from the configuration descriptor.
I ever tried to modify my INF to fit the device ID directly.
That is, usbccgp.sys is not load for my device.
The handles of interface 0 and 1 are filled in returned Urb after the driver
send set configuration request.
I have checked the created Urb for these two cases.
The contents of Urb are the same.
Is any suggestion about this problem?
What should be cared when usbccgp.sys is load?
Best Regards
Jack Huang