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.

AM5728: USB camera issue

Part Number: AM5728

Hello TI,

I am using a general purpose EVM of AM5728. I am using ti-processor-sdk-linux-am57xx-evm-06.00.00.07 SDK.

I have a usb uvc webcam connected to it. I am trying to use the webcam through VIP VPE IVAHD MPEG4 ENCODE/DECODE app,

But I got the following error message and doesn't work.

root@am57xx-evm:~#
root@am57xx-evm:~# [ 1833.798260] usb 1-1.1: reset high-speed USB device number 3 using xhci-hcd
[ 1836.160289] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

Thanks

  • Hi,

    When does the reset message happen? during the webcam enumeration or starting your application?

    What doesn't work?

  • Hi Bin

    Thanks for your reply.

    When I click VIP VPE IVAHD MPEG4 Encode and Decode icon and RUN, the above log messages come up

    VIP VPE IVAHD MPEG4 Encode and Decode icon is located in Multimedia icon of Matrix App Launcher v2p2 screen.

    regards

  • Hi Bin

    Is there any usb camera that is verified and works fine on AM5728 SDK Linux ?

    Currently I'm using Logitech C310 usb web camera.

  • Hello,

    On PSDK6.0, I have verified USB camera and I am using PSDK6.0 and a Logitech C270 Webcam. After connecting the camera, I noticed /dev/video1 and /dev/video 2 got enumerated. I used the following gstream pipeline for test:

    gst-launch-1.0 v4l2src device=/dev/video1 io-mode=5 num-buffers=500 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)360' ! v4l2video0convert capture-io-mode=5 output-io-mode=4 ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720' ! kmssink
    
    [Note: Before running the above command, please disable weston (/etc/init.d/weston stop)]

    Regards,
    Krunal