AnsweredAssumed Answered

how to connect usb camera to MCIMX6QP-SDB

Question asked by M C on Jun 4, 2019

I bought  MCIMX6QP-SDB recently.

I am trying to connect USB CMOS Camera(logitech C920) to USB OTG port on MCIMX6QP-SDB.

 

I used the following BSP(u-boot-2018-03, linux-imx-4.9.88).

  repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml

 

I configured linux kernel config file to include USB VIDEO CLASS driver into kernel.

I selected the following items using "make menuconfig"

 

Device Drivers -> Multimedia support -> Media USB Adapters
<*> USB Video Class (UVC)
[*] UVC input events device support
<*> GSPCA based webcams

 

It didn't even detect usb device when I connected usb camera to USB OTG.

I think detection usb camera is the first step to use it.

uvcvideo and ehci drivers are included in linux kernel.

I am not sure USB OTG port on MCIMX6QP-SDB supports the usb host.

 

Can I get any advice to use usb camera with MCIMX6QP-SDB?

Outcomes