Setting up imx6qsabresd as a USB gadget.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting up imx6qsabresd as a USB gadget.

1,119 Views
krishnan_ramesh
Contributor III

Hi ,

I am trying to setup imx6qsabresd evaluation board as a USB webcam gadget. i have enabled required USB gadget support device driver

 

I am using "fsl-image-validation-imx" yocto recipe to build sdcard images.

Modules loaded :

modprobe libcomposite

modprobe configfs

modprobe usb_f_uvc

modprobe g_webcam

Below is the output after loading above modules :

   g_webcam gadget: uvc_function_bind                                                   
   g_webcam gadget: Webcam Video Gadget                                                 
   g_webcam gadget: g_webcam ready 

But device does not get detected in Host (P.C)

Please let me know what might be issue and what else is required to turn the EVK board into device mode.

Thanks

Ramesh

0 Kudos
2 Replies

940 Views
krishnan_ramesh
Contributor III

Hi Igor ,

Thanks for the quick response .

I have referred to the example doc (FSL-UT-USB-010.txt )shared by you and it talks about testing external webcam into a USB host on development system i.e imx6qsabresd whereas i am expecting the sabre board (device) to detect as USB webcam gadget on my P.C (host).

Does the imx6qsabre evk board requires a camera module on it to register as webcam gadget on host (P.C) ?

Thanks

Ramesh

0 Kudos

940 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ramesh

one can check usb gadget examples on

doc\mxc_usb_test\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos