Tool/software: Linux
Hello all,
We are using Vision sdk 2.12 with TDA2EXEVM board.
linux version - 4.4.23.
We can able to stream uvc on host through vlc. if we stop vlc or close vlc. in target board we are getting below error,
UVC_EVENT_SETUP-->
bRequestType a1 bRequest 87 wValue 0200 wIndex 0200 wLength 0002
USB_TYPE_CLASS -->
UVC_INTF_CONTROL-->
control request (req 87 cs 02)
[ 54.252296] g_webcam gadget: uvc_function_set_alt(1, 0)
[ 54.257549] ------------[ cut here ]------------
[ 54.262203] WARNING: CPU: 0 PID: 1131 at drivers/usb/dwc3/gadget.c:738 dwc3_gadget_ep_disable+0xb4/0xcc [dwc3]()
[ 54.272419] dwc3 488d0000.usb: ep2in-isoc is already disabled
[ 54.278184] Modules linked in: g_webcam usb_f_uvc videobuf2_vmalloc libcomposite configfs memcache(O) bc_example(O) xhci_plat_hcd xhci_hcd l
[ 54.331852] CPU: 0 PID: 1131 Comm: irq/476-dwc3 Tainted: G W O 4.4.23 #6
[ 54.339536] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 54.345650] Backtrace:
[ 54.348116] [<c00131a4>] (dump_backtrace) from [<c00133a0>] (show_stack+0x18/0x1c)
[ 54.355713] r7:bf044a7c r6:60080193 r5:00000000 r4:c096ee4c
[ 54.361423] [<c0013388>] (show_stack) from [<c02b428c>] (dump_stack+0x8c/0xa0)
[ 54.368675] [<c02b4200>] (dump_stack) from [<c0034f48>] (warn_slowpath_common+0x88/0xb8)
[ 54.376794] r7:bf044a7c r6:000002e2 r5:00000009 r4:ec0c5cd0
[ 54.382501] [<c0034ec0>] (warn_slowpath_common) from [<c0034fb0>] (warn_slowpath_fmt+0x38/0x40)
[ 54.391230] r8:ed3bc170 r7:ee3bb900 r6:ed3bc010 r5:bf04a7e2 r4:bf048edc
[ 54.397998] [<c0034f7c>] (warn_slowpath_fmt) from [<bf044a7c>] (dwc3_gadget_ep_disable+0xb4/0xcc [dwc3])
[ 54.407514] r3:bf0488cc r2:bf048edc
[ 54.411111] r4:ed0a83e4
[ 54.413677] [<bf0449c8>] (dwc3_gadget_ep_disable [dwc3]) from [<bf291498>] (uvc_function_set_alt+0x2b4/0x2c0 [usb_f_uvc])
[ 54.424674] r6:00000000 r5:ed0a8380 r4:ed3bd2dc
[ 54.429345] [<bf2911e4>] (uvc_function_set_alt [usb_f_uvc]) from [<bf280cec>] (composite_setup+0x544/0x1a50 [libcomposite])
[ 54.440516] r7:00000000 r6:00000001 r5:ee3bb180 r4:ee3bb900
[ 54.446237] [<bf2807a8>] (composite_setup [libcomposite]) from [<bf045484>] (dwc3_ep0_delegate_req+0x34/0x48 [dwc3])
[ 54.456799] r10:ed3bc010 r9:0000030c r8:edd4d380 r7:bf041f6c r6:f1f01000 r5:ed3bc08c
[ 54.464689] r4:ed3bc010
[ 54.467249] [<bf045450>] (dwc3_ep0_delegate_req [dwc3]) from [<bf046704>] (dwc3_ep0_interrupt+0x884/0xaf8 [dwc3])
[ 54.477548] r7:bf041f6c r6:ec0c5ecc r5:f1f01000 r4:ed3bc010
[ 54.483267] [<bf045e80>] (dwc3_ep0_interrupt [dwc3]) from [<bf04428c>] (dwc3_thread_interrupt+0x84c/0xa4c [dwc3])
[ 54.493568] r10:ed3bc010 r9:0000030c r8:edd4d380 r7:bf041f6c r6:bf04898c r5:00000004
[ 54.501458] r4:edf42c10
[ 54.504017] [<bf043a40>] (dwc3_thread_interrupt [dwc3]) from [<c00815f0>] (irq_thread_fn+0x24/0x5c)
[ 54.513096] r10:c00815cc r9:ec141580 r8:ede19cc0 r7:00000001 r6:00000000 r5:ede19cc0
[ 54.520987] r4:ec141580
[ 54.523535] [<c00815cc>] (irq_thread_fn) from [<c00818f8>] (irq_thread+0x140/0x1f8)
[ 54.531219] r7:00000001 r6:00000000 r5:ec1415a4 r4:ec0c4000
[ 54.536926] [<c00817b8>] (irq_thread) from [<c004ff48>] (kthread+0xe4/0xfc)
[ 54.543913] r10:00000000 r9:00000000 r8:00000000 r7:c00817b8 r6:ec141580 r5:ec141280
[ 54.551802] r4:00000000
[ 54.554351] [<c004fe64>] (kthread) from [<c000fb88>] (ret_from_fork+0x14/0x2c)
[ 54.561597] r7:00000000 r6:00000000 r5:c004fe64 r4:ec141280
[ 54.567301] ---[ end trace b6bfbf09b7a02306 ]---
[ 54.573539] g_webcam gadget: uvc_function_set_alt(1, 0)
[ 54.582143] VS request completed with status -104.
Stopping video stream.
[ 54.602616] VS request completed with status -104.
[ 54.617886] VS request completed with status -104.
[ 54.632566] VS request completed with status -104.
0buffers allocated.
Any suggestion?
Regards,
RAJ M