How to use Webcam(uvc) function of the USB gadget validates on Colibri i.MX6?

Hello,

How to use Webcam(uvc) function of the USB gadget validates on Colibri i.MX6 ?

We confirmed the following site and succeeded in a validation of Mass_Storage.

Regards,

Hello

We don’t have experience with the USB UVC gadget driver.

Our kernel sources do contain the driver, however our standard kernel configuration does not enable the driver, neither built in nor as a module.

So you will have to reconfigure the kernel with the relevant options and deploy kernel and modules to the module.

Hello Max,

Thank you for your answer.
We tried to enable the G_WEBCAM of the kernel configuration , but did not work. ( Colibri iMX6 has not been recognized as a webcam to HOST PC)

We found an example in which the work in Freescal imx6dl-sabre board, Try to continue the research.

https://community.freescale.com/thread/315542

Regard,

Hello,

We succeeded in a validation of Webcam.

Step1.Enable the G_WEBCAM of the kernel configuration.

Step2.Disable g1.

$ echo “” > /sys/kernel/config/usb_gadget/g1/UDC

Step3. Install module g_webcam.ko.

$ modprobe g_webcam

Regard,

Hi,

Maybe this can help you:

The library is agnostic to the SoC.

Regards,
-Marco

Hello Marco,

Thank you for your advice.
Try to liguvc demo .

Regards,

Hi @alcotross: Thanks for the Information.