Dear Sir,
I had added HID interface(standard key board type) to my UVC code,and it works fine!
And then I add vendor request interface,according to Vendor Interface in UVC - KBA218335 ,
both HID and vender request interafce are composite device, I can see CX3-UVC[23] , usb input device[24] and unknown[27] from BUS hound tools,
but after several seconds, all of these devices are dispeared.
I add vendor request desciptor (9 bytes) ONLY in SSconfigdesr(USB3.0 mode), update the total length and total interface counts. so 4 interfaces (UVC: 2, hid : 1, and vendor request:1) are configured. the MARCO HID is defined
The following attached file are USB descriptors and bus hound trace.
It may be something wrong with vendor request code in usb descriptors, can Cypress expert give me some advice?
Thanks.
Solved! Go to Solution.
Hi David,
It is expected to add a vendor interface to send vendor commands to a UVC Device. Please let me know the details of driver you are using and changes you made in firmware. Are you facing any problem while doing this?
Regards,
Rashi
Dear Sir,
I add vendor request descriptor in USBVideoClassBulk project(SDK 1.3.4 included), uvc and this vendor request interface can be found in device manager, and UVC can show video. because of no any vendor request CB , vendor request interface just show in device manager, no real action.
Dear Dir,
The picture is without vendor request, it works fine!!! I found if I add 9 bytes vendor request descriptor in end of SSconfig,update the total length and interface count, my UVC device can not be enumerated at all.
I study usbflashprog project, which is based on vendor request, and also follow Vendor Interface in UVC - KBA218335 , it seem no more code is needed.
I am looking for to Cypress support.
Thanks.
Dear Sir,
In fact, I can send Vendor request by control end point 0 by BUS Hound without declaring vendor request in SSconfigdescritor.
I uncoment UVC_APPLICATION Macro. and
CX3 code recieves this 8 bytes setup command. when I sent c0 76 00 00 00 00 07 00
BUS Hound receive : 31 32 33 34 35 36 37 , they are exactly numbers CX3 return.
it seem the HOST(WIN10) doesn't block this operation without declaring vendor request interface in CyCx3USBSSConfigDscr[],
Can I use this method to send my vendor comand? are there any potiential risk by this method?\
Thanks.
Hi,
I am a bit confused with the statement "In fact, I can send Vendor request by control end point 0 by BUS Hound without declaring vendor request in SSconfigdescritor."
Can you please elaborate on this. Do you want to send vendor request without setting up the vendor request interface in the descriptor file?
Can you share the code and the descriptor file for the ease of understanding?
Regards,
Rashi
Dear Sir,
It is real, no any vendor request interafce declared in SSconfigdescritor, I use USB bus hound to send any vender request to CX3, it can be received and responded successfully.
Best
Hi David,
It is expected to add a vendor interface to send vendor commands to a UVC Device. Please let me know the details of driver you are using and changes you made in firmware. Are you facing any problem while doing this?
Regards,
Rashi