Hi,
I am working on streaming video from my custom camera chip interfaced with i.MX8M board (linux kernel 4.14.78) using uvc interface over host pc.
I have configured the i.MX8m as webcam gadget and it is getting detected as a usb webcam at host pc.
But when i am trying to stream the video from host application (with uvc app running over i.MX8M target board), it fails with error:- dwc3 38100000.dwc3: request ffff80007752c600 was not queued to ep2in and stops video streaming.
Please find attached log file for reference.
could you use gstreamer to test?
Using a USB Camera with GStreamer
I also send you two links for reference:
Hi Joan Xie,
Thanks for the reply.
I want the i.MX8M board (along with camera chip interfaced with board using MIPI-CSI) to be used in usb device mode and not as a usb host. In my case i.MX8M board is also getting detected as a usb camera device on my host pc but not able to stream video data over host pc.
Also as per link g_webcam gadget needs patch - ODROID , patch is for kernel 3.6 while i am using kernel 4.14 and also not able to open the link provided for the patch.
you need to enable g_webcam driver in the kernel, and require user space application to finish this, maybe you can refer to the lib for imx6 as reference:
USB Video Class Gadget Library | UVC Driver Linux | UVC Linux