Tool/software: Linux
Hello experts,
With AM5728 EVM over sdk 04.01.00.06, we have one USB 3 camera and the other of USB 2.
The former is running into problem as following (both logs attached).
Please advice.
Thanks.
*************************************************************** USB 3.0 ***************************************************************
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am57xx-evm ttyS2
Arago 2017.06 am57xx-evm ttyS2
am57xx-evm login: root
root@am57xx-evm:~# [ 26.086154] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 26.099213] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 26.112340] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[ 26.125409] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 29.809575] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[ 29.929685] uvcvideo: Found UVC 1.00 device HDMI to U3 capture (1e4e:701f)
[ 30.021985] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 30.030932] uvcvideo 2-1.1:1.0: Entity type for entity Extension 4 was not initialized!
[ 30.038981] uvcvideo 2-1.1:1.0: Entity type for entity Processing 3 was not initialized!
[ 30.047315] uvcvideo 2-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 30.056734] usbcore: registered new interface driver uvcvideo
[ 30.062563] USB Video Class driver (1.1.1)
[ 30.096449] usbcore: registered new interface driver snd-usb-audio
[ 34.439601] usb 2-1.1: USB disconnect, device number 3
[ 34.769574] usb 2-1.1: new SuperSpeed USB device number 4 using xhci-hcd
[ 34.805903] uvcvideo: Found UVC 1.00 device HDMI to U3 capture (1e4e:701f)
[ 34.826758] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 34.835974] uvcvideo 2-1.1:1.0: Entity type for entity Extension 4 was not initialized!
[ 34.846317] uvcvideo 2-1.1:1.0: Entity type for entity Processing 3 was not initialized!
[ 34.855865] uvcvideo 2-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 36.188958] usb 2-1.1: USB disconnect, device number 4
[ 36.769577] usb 2-1.1: new SuperSpeed USB device number 5 using xhci-hcd
[ 36.805988] uvcvideo: Found UVC 1.00 device HDMI to U3 capture (1e4e:701f)
[ 36.828789] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 36.837972] uvcvideo 2-1.1:1.0: Entity type for entity Extension 4 was not initialized!
[ 36.846359] uvcvideo 2-1.1:1.0: Entity type for entity Processing 3 was not initialized!
[ 36.855596] uvcvideo 2-1.1:1.0: Entity type for entity Camera 1 was not initialized!
root
-sh: root: command not found
root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! 'video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080' ! fakesink -v -e
[ 78.789653] usb 2-1.1: reset SuperSpeed USB device number 5 using xhci-hcd
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)60/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\[ 79.205888] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 1
[ 79.216555] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc720 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.232709] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 1
[ 79.243367] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc740 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.259519] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.270263] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc750 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.286413] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.297157] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc770 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.313306] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.324050] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc780 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.340200] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.350943] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc7a0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.367092] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.377835] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc7b0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.393985] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.404728] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc7d0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.420878] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.431621] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc7e0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.447770] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 1
[ 79.458427] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc7f0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.474577] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.485320] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc800 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.501469] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.512211] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc820 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.528360] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.539102] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc830 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.555251] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.565994] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc850 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.582144] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.592886] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc860 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.609036] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.619779] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc880 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.635929] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.646671] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc890 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.662820] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.673562] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc8a0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.689712] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.700454] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc8b0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.716603] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 1
[ 79.727258] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc8c0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.743408] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.754150] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc8d0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.770299] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 13
[ 79.781041] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc8e0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
[ 79.797235] xhci-hcd xhci-hcd.1.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 18 comp_code 1
[ 79.807898] xhci-hcd xhci-hcd.1.auto: Looking for event-dma 00000000fe4fc8f0 trb-start 00000000fe4fd330 trb-end 00000000fe4fd330 seg-start 00000000fe4fd000 seg-end 00000000fe4fdff0
)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)60/1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)60/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)60/1"
[ 80.364945] usb 2-1.1: USB disconnect, device number 5
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not read from resource.
Additional debug info:
../../../gst-plugins-good-1.8.3/sys/v4l2/gstv4l2bufferpool.c(1054): gst_v4l2_buffer_pool_poll (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
poll error 1: Invalid argument (22)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate a buffer
Additional debug info:
../../../gst-plugins-good-1.8.3/sys/v4l2/gstv4l2src.c(884): gst_v4l2src_create (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
[ 80.939576] usb 2-1.1: new SuperSpeed USB device number 6 using xhci-hcd
[ 80.975945] uvcvideo: Found UVC 1.00 device HDMI to U3 capture (1e4e:701f)
[ 80.989761] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 80.998731] uvcvideo 2-1.1:1.0: Entity type for entity Extension 4 was not initialized!
[ 81.006986] uvcvideo 2-1.1:1.0: Entity type for entity Processing 3 was not initialized!
[ 81.015335] uvcvideo 2-1.1:1.0: Entity type for entity Camera 1 was not initialized!
*************************************************************** USB 2.0 ***************************************************************
[ OK ] Started Print notice about GPLv3 packages.
[ OK ] Started gdbserverproxy.service.
Starting matrix-gui-2.0.service...
[ OK ] Started matrix-gui-2.0.service.
Starting thermal-zone-init.service...
[ OK ] Started thermal-zone-init.service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am57xx-evm ttyS2
Arago 2017.06 am57xx-evm ttyS2
am57xx-evm login: root[ 26.106890] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 26.119947] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 26.133365] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[ 26.146451] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
root@am57xx-evm:~# ls
tibt uvc
root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720' ! fakesink -v -e
[ 40.733137] usb 1-1.3: reset high-speed USB device number 3 using xhci-hcd
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)10/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)10/1"
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)10/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)10/1"
