This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: USB camera support

Part Number: AM5728

Tool/software: Linux

Hi,

Does Processor SDK support USB camera on AM5728?

I make a daughter card of YUV camera connecting to my own AM5728 board, and everything is ok, the command 'dmabuftest -s 27:640x480 -d /dev/video1 -c 640x480@YUYV' runs well.

Then I bought a USB camera, which uses uvcvideo driver. I plugged the camera in USB1, and I can get image by demo 'qt-opencv-opencl-opengl-multithreaded'. 

When I used command 'dmabuftest -s 27:640x480 -d /dev/video3 -c 640x480@YUYV' , by kernel 4.4.12 (PSDK 03.00.00.04), I get "ERROR: v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)".

When I used command 'dmabuftest -s 32:640x480 -d /dev/video3 -c 640x480@YUYV' , by kernel 4.9.28 (PSDK 04.00.00.04), I get "ERROR: v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)".

Thanks.