>>When you give the interface number specifically, USBD will filter the configuration descriptor so that it looks like your device only has that one interface. So, if you were to use the “MI_01” line, then USBCAMD would be fooled into using the streaming interface, so it should work.
I am glad to hear that. (But that means USBCAMD only support one interface which is an iso Streaming interface. Is that right?)
>However, that leaves the question of what to do with the other interface. You don’t want to have it go to Intel.USBDCam, because that driver doesn’t know how to handle that interface. In fact, you might want to specify a null driver.
According to your description, USBCAMD only handles the streaming interface, and the other interface should not go to USBCAMD by specifying a null driver. But some functions, such as brightness and contrast change , exist in the control interface of my camera. So I think I shoud not specify the null driver for it and should specify a specific driver for the control interface. (Of course, USBCAMD minidriver is specified for the streaming interface.) Is that right?
>For example:
>> [Intel]
>>%USB\VID_04C8&PID_0720.DeviceDesc%=NullDriver,USB\Vid_0c45&Pid_62c0&Rev_0100&MI_00
>>%USB\VID_04C8&PID_0720.DeviceDesc%=Intel.USBDCam,USB\Vid_0c45&Pid_62c0&Rev_0100&MI_01
> [NullDriver]
>>; Nothing here
> [NullDriver.Services]
>>AddService = ,2 ; This installs a null driver
>So MI_00 has no driver, and MI_01 brings up the USBCAMD driver. I think that would actually work for you.
I do what you said. But in fact, windows xp only executed
%USB\VID_04C8&PID_0720.DeviceDesc%=NullDriver,USB\Vid_0c45&Pid_62c0&Rev_0100&MI_00
and only installed a null driver for interface 0, rather than installing a null driver for interface 0 and USBCAMD mini driver for interface 1. Why?
If I only want to install USBCAMD mini driver for interface 1, why can’t I modify the inf file like this?
[Intel]
;only list MI_01 and no MI_00
%USB\VID_04C8&PID_0720.DeviceDesc%=Intel.USBDCam,USB\Vid_0c45&Pid_62c0&Rev_0100&MI_01
Why?
Thank you for reading and answering.