uvc device is dwc3-gadget on bus gadget
uvc open succeeded, file descriptor = 3
in main() udev->fcc = 1448695129
in uvc_events_init dev->fcc = 1448695129
[   70.315725] In composite_suspend :2267 
[   77.072883] entered in composite_setup :1580 
[   77.077259] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   77.084510] entered in count_configs :573 
[   77.088620] gadget->speed is  USB_SPEED_HIGH in count_configs :577 
[   77.094910] gadget_is_superspeed(gadget) in composite_setup :1615 
[   77.101112] gadget->speed != USB_SPEED_SUPER in composite_setup :1621 
[   77.111398] In composite_disconnect :1996 
[   77.252866] entered in composite_setup :1580 
[   77.257239] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   77.264487] entered in count_configs :573 
[   77.268596] gadget->speed is  USB_SPEED_HIGH in count_configs :577 
[   77.274885] gadget_is_superspeed(gadget) in composite_setup :1615 
[   77.281088] gadget->speed != USB_SPEED_SUPER in composite_setup :1621 
[   77.287820] entered in composite_setup :1580 
[   77.292192] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   77.299668] entered in composite_setup :1580 
[   77.304041] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   77.311687] entered in composite_setup :1580 
[   77.316059] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   77.323333] In composite_suspend :2267 
[   82.397169] In composite_disconnect :1996 
[   82.524803] entered in composite_setup :1580 
[   82.529176] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.536425] entered in count_configs :573 
[   82.540535] gadget->speed is  USB_SPEED_HIGH in count_configs :577 
[   82.546824] gadget_is_superspeed(gadget) in composite_setup :1615 
[   82.553026] gadget->speed != USB_SPEED_SUPER in composite_setup :1621 
[   82.563360] In composite_disconnect :1996 
[   82.704871] entered in composite_setup :1580 
[   82.709244] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.716493] entered in count_configs :573 
[   82.720602] gadget->speed is  USB_SPEED_HIGH in count_configs :577 
[   82.726891] gadget_is_superspeed(gadget) in composite_setup :1615 
[   82.733092] gadget->speed != USB_SPEED_SUPER in composite_setup :1621 
[   82.739819] entered in composite_setup :1580 
[   82.744191] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.751702] entered in composite_setup :1580 
[   82.756074] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.763642] entered in composite_setup :1580 
[   82.768014] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.775495] entered in composite_setup :1580 
[   82.779867] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.789362] entered in composite_setup :1580 
[   82.793735] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.801105] entered in composite_setup :1580 
[   82.805476] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.812914] entered in composite_setup :1580 
[   82.817286] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.825929] entered in composite_setup :1580 
[   82.830301] ctrl->bRequest is USB_REQ_SET_CONFIGURATION in composite_setup :1696 
[   82.837817] g_webcam gadget: high-speed config #1: Video
[   82.843153] g_webcam gadget: uvc_function_set_alt(0, 0)
[   82.848396] g_webcam gadget: reset UVC Control
[   82.852866] g_webcam gadget: uvc_function_set_alt(1, 0)
[   82.858285] entered in composite_setup :1580 
[   82.862658] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.872863] entered in composite_setup :1580 
[   82.877235] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.884993] entered in composite_setup :1580 
[   82.889366] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   82.896812] entered in composite_setup :1580 
[   82.901185] ctrl->bRequest is USB_REQ_SET_INTERFACE in composite_setup :1724 
[   82.908347] g_webcam gadget: uvc_function_set_alt(1, 0)
[   82.913775] entered in composite_setup :1580 
UVC_EVENT_SETUP
[   82.918333] entered in composite_setup :1580 

bRequestType a1 bRequest 87 wValue 0100 wIndex 0001 wLength 00[   82.924686] entered in composite_setup :1580 
1a
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_pr[   82.935715] entered in composite_setup :1580 
[   82.943958] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
ocess_class
In uvc_events_process_class UVC_INTF_STREAMING
streaming request (req 87 cs 01)
UVC_EVENT_SETUP

bRequestType 21 bRequest 01 wValue 0100 wIndex 0001 wLength 001a
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_process_class UVC_INTF_STREAMING
streaming request (req 01 cs 01)
UVC_EVENT_DATA
In uvc_events_process_data
setting probe control, length = 26
UVC_EVENT_SETUP

bRequestType a1 bRequest 81 wValue 0100 wIndex 0001 wLength 001a
In uvc_event[   82.995900] entered in composite_setup :1580 
s_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In [   83.000434] entered in composite_setup :1580 
uvc_events_process_class UVC_INTF_STREAMING
streaming request ([   83.010656] entered in composite_setup :1580 
req 81 cs 01)
UVC_EVENT_SETUP

bRequestType a1 bRequest 87 wV[   83.020500] entered in composite_setup :1580 
alue 0200 wIndex 0200 wLength 0002
In uvc_events_process_setup [   83.030460] entered in composite_setup :1580 
UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_proce[   83.040517] entered in composite_setup :1580 
ss_class UVC_INTF_STREAMING
control request (req 87 cs 02)
UVC_EVENT_SETUP

bRequestType a1 bRequest 82 wValue 0200 wIndex 0200 wLength 0002
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_process_class UVC_INTF_STREAMING
control request (req 82 cs 02)
UVC_EVENT_SETUP

bRequestType a1 bRequest 83 wValue 0200 wIndex 0200 wLength 0002
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_process_class UVC_INTF_STREAMING
control request (req 83 cs 02)
UVC_EVENT_SETUP

bRequestType a1 bRequest 84 wValue 0200 wIndex 0200 wLength 0002
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_process_class UVC_INTF_STREAMING
control request (req 84 cs 02)
UVC_EVENT_SETUP

bRequestType a1 bRequest 87 wValue 0200 wIndex 0100 wLength 0001
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_process_class UVC_INTF_STREAMING
control request (req 87 cs 02)
UVC_EVENT_SETUP

bRequestType a1 bRequest 84 wValue 0200 wIndex 0100 wLength 0001
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_process_class
In uvc_events_process_class UVC_INTF_STREAMING
control request (req 84 cs 02)
[   83.472720] entered in composite_setup :1580 
[   83.477093] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   83.484713] entered in composite_setup :1580 
[   83.489085] ctrl->bRequest is USB_REQ_GET_DESCRIPTOR in composite_setup :1603 
[   86.082919] In composite_suspend :2267 
[  100.188425] In composite_resume :2292 
[  100.303139] In composite_suspend :2267 
[  101.303201] In composite_resume :2292 
[  101.306970] In composite_resume :2292 
[  101.310732] entered in composite_setup :1580 
[  101.315107] In composite_suspend :2267 
UVC_EVENT_SETUP
[  101.319457] ------------[ cut here ]------------

bRequestType 21 bRequest 01 wValue 0200 wIndex 0001 wLength 00[  101.325099] WARNING: CPU: 1 PID: 1191 at drivers/usb/dwc3/gadget.c:307 dwc3_send_gadget_ep_cmd+0x22c/0x2b0 [dwc3]
1a
In uvc_events_process_setup UVC_TYPE_CLASS
In uvc_events_pr[  101.340961] dwc3 48890000.usb: wakeup failed --> -22
ocess_class
In uvc_events_process_class UVC_INTF_STREAMING
str[  101.351523] Modules linked in: usb_f_uvc videobuf2_vmalloc g_webcam libcomposite xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core usb_common rpmsg_proto extcon_usb_gpio pvrsrvkm(O) c_can_platform c_canl
eaming request (req 01 cs 02)
[  101.394877] CPU: 1 PID: 1191 Comm: uvc-gadget Tainted: G           O      4.19.73-00040-g3d03684-dirty #2
[  101.407179] Hardware name: Generic DRA74X (Flattened Device Tree)
[  101.413294] Backtrace: 
[  101.415756] [<c020cad4>] (dump_backtrace) from [<c020ce0c>] (show_stack+0x18/0x1c)
[  101.423355]  r7:bf21ad70 r6:600f0093 r5:00000000 r4:c1251ff0
[  101.429040] [<c020cdf4>] (show_stack) from [<c09fa180>] (dump_stack+0x90/0xa4)
[  101.436293] [<c09fa0f0>] (dump_stack) from [<c022e1b8>] (__warn+0xdc/0xf8)
[  101.443195]  r7:bf21ad70 r6:00000009 r5:00000000 r4:ec9cdc2c
[  101.448879] [<c022e0dc>] (__warn) from [<c022ddfc>] (warn_slowpath_fmt+0x50/0x6c)
[  101.456392]  r9:00000006 r8:ffffffea r7:ed61e040 r6:ec9cdca0 r5:bf21ad50 r4:c1204c48
[  101.464176] [<c022ddb0>] (warn_slowpath_fmt) from [<bf212c64>] (dwc3_send_gadget_ep_cmd+0x22c/0x2b0 [dwc3])
[  101.473955]  r3:bf21ab74 r2:bf21ad50
[  101.477541]  r5:00000006 r4:ecc26540
[  101.481143] [<bf212a38>] (dwc3_send_gadget_ep_cmd [dwc3]) from [<bf215994>] (dwc3_ep0_start_trans.part.0+0x48/0x74 [dwc3])
[  101.492232]  r10:ae253fc0 r9:bbc55000 r8:00000040 r7:00000000 r6:00000000 r5:ed61e040
[  101.500089]  r4:c1204c48
[  101.502644] [<bf21594c>] (dwc3_ep0_start_trans.part.0 [dwc3]) from [<bf215acc>] (__dwc3_ep0_do_control_data+0x98/0x2f4 [dwc3])
[  101.514080]  r6:ed61e040 r5:00000000 r4:ecc26540
[  101.518727] [<bf215a34>] (__dwc3_ep0_do_control_data [dwc3]) from [<bf215e08>] (__dwc3_gadget_ep0_queue+0xe0/0x184 [dwc3])
[  101.529815]  r10:ed88d380 r9:ec88cc08 r8:ed88d480 r7:600f0013 r6:00000046 r5:ed61e158
[  101.537676]  r4:ecc26540 r3:00000002
[  101.541277] [<bf215d28>] (__dwc3_gadget_ep0_queue [dwc3]) from [<bf215fb0>] (dwc3_gadget_ep0_queue+0x50/0x8c [dwc3])
[  101.551841]  r6:ed61e040 r5:ed61e0f8 r4:ecc26540
[  101.556495] [<bf215f60>] (dwc3_gadget_ep0_queue [dwc3]) from [<bf1f541c>] (usb_ep_queue+0x4c/0x70 [udc_core])
[  101.566450]  r9:ec88cc08 r8:ed617a80 r7:bf2e768c r6:c1204c48 r5:ed88da00 r4:ed88d480
[  101.574240] [<bf1f53d0>] (usb_ep_queue [udc_core]) from [<bf2e7724>] (uvc_v4l2_ioctl_default+0x98/0xb8 [usb_f_uvc])
[  101.584728] [<bf2e768c>] (uvc_v4l2_ioctl_default [usb_f_uvc]) from [<c07bd208>] (__video_do_ioctl+0x360/0x4e4)
[  101.594767]  r5:40405501 r4:ec88c800
[  101.598356] [<c07bcea8>] (__video_do_ioctl) from [<c07c069c>] (video_usercopy+0x260/0x4d0)
[  101.606653]  r10:00000000 r9:ec9cde04 r8:00000040 r7:00000001 r6:00000000 r5:c1204c48
[  101.614511]  r4:40405501
[  101.617053] [<c07c043c>] (video_usercopy) from [<c07c0924>] (video_ioctl2+0x18/0x1c)
[  101.624827]  r10:ecc8a6f0 r9:ec9cc000 r8:bef12730 r7:00000003 r6:ed617a80 r5:bef12730
[  101.632686]  r4:c07c090c
[  101.635228] [<c07c090c>] (video_ioctl2) from [<c07ba188>] (v4l2_ioctl+0x44/0x58)
[  101.642654] [<c07ba144>] (v4l2_ioctl) from [<c0368760>] (do_vfs_ioctl+0xb8/0x7c0)
[  101.650165]  r5:bef12730 r4:c1204c48
[  101.653751] [<c03686a8>] (do_vfs_ioctl) from [<c0368ea4>] (ksys_ioctl+0x3c/0x68)
[  101.661176]  r10:00000036 r9:ec9cc000 r8:bef12730 r7:40405501 r6:00000003 r5:ed617a80
[  101.669034]  r4:ed617a80
[  101.671576] [<c0368e68>] (ksys_ioctl) from [<c0368ee0>] (sys_ioctl+0x10/0x14)
[  101.678739]  r9:ec9cc000 r8:c0201204 r7:00000036 r6:00010821 r5:00000000 r4:bef12830
[  101.686513] [<c0368ed0>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x4c)
[  101.694112] Exception stack(0xec9cdfa8 to 0xec9cdff0)
[  101.699181] dfa0:                   bef12830 00000000 00000003 40405501 bef12730 00000003
[  101.707390] dfc0: bef12830 00000000 00010821 00000036 00000000 00000000 b6f7a000 00000000
[  101.715599] dfe0: 00026030 bef1271c 00013179 b6ed015c
[  101.720666] ---[ end trace 90056289364103d8 ]---
[  107.461290] In composite_resume :2292 
[  107.465078] In composite_resume :2292 
UVC_EVENT_DATA
In uvc_events_process_data
setting commit control, length = 0
[  116.194646] In composite_suspend :2267 
[  131.301841] In composite_resume :2292 
[  136.672967] In composite_disconnect :1996 
[  136.677084] g_webcam gadget: uvc_function_disable
[  136.682114] ------------[ cut here ]------------
[  136.686767] WARNING: CPU: 0 PID: 1189 at drivers/usb/dwc3/gadget.c:2506 dwc3_stop_active_transfer.constprop.8+0xe4/0xec [dwc3]
[  136.698203] Modules linked in: usb_f_uvc videobuf2_vmalloc g_webcam libcomposite xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core usb_common rpmsg_proto extcon_usb_gpio pvrsrvkm(O) c_can_platform c_can oml
[  136.736084] CPU: 0 PID: 1189 Comm: irq/182-dwc3 Tainted: G        W  O      4.19.73-00040-g3d03684-dirty #2
[  136.745862] Hardware name: Generic DRA74X (Flattened Device Tree)
[  136.751976] Backtrace: 
[  136.754438] [<c020cad4>] (dump_backtrace) from [<c020ce0c>] (show_stack+0x18/0x1c)
[  136.762039]  r7:bf21ad70 r6:600f0093 r5:00000000 r4:c1251ff0
[  136.767724] [<c020cdf4>] (show_stack) from [<c09fa180>] (dump_stack+0x90/0xa4)
[  136.774976] [<c09fa0f0>] (dump_stack) from [<c022e1b8>] (__warn+0xdc/0xf8)
[  136.781880]  r7:bf21ad70 r6:00000009 r5:00000000 r4:00000000
[  136.787562] [<c022e0dc>] (__warn) from [<c022e21c>] (warn_slowpath_null+0x48/0x50)
[  136.795162]  r9:c1204c48 r8:00000000 r7:600f0093 r6:bf213a00 r5:000009ca r4:bf21ad70
[  136.802944] [<c022e1d4>] (warn_slowpath_null) from [<bf213a00>] (dwc3_stop_active_transfer.constprop.8+0xe4/0xec [dwc3])
[  136.813857]  r6:ed61e040 r5:ecc26480 r4:c1204c48
[  136.818505] [<bf21391c>] (dwc3_stop_active_transfer.constprop.8 [dwc3]) from [<bf214778>] (__dwc3_gadget_ep_disable+0x1c/0x100 [dwc3])
[  136.830639]  r6:ed61e040 r5:ecc264bc r4:ecc26480
[  136.835287] [<bf21475c>] (__dwc3_gadget_ep_disable [dwc3]) from [<bf214bfc>] (dwc3_gadget_ep_disable+0x40/0xc8 [dwc3])
[  136.846025]  r7:600f0093 r6:200f0093 r5:ed61e0f8 r4:ecc26480
[  136.851722] [<bf214bbc>] (dwc3_gadget_ep_disable [dwc3]) from [<bf1f5ce8>] (usb_ep_disable+0x28/0x3c [udc_core])
[  136.861937]  r6:ed88da5c r5:c1204c48 r4:ecc26480
[  136.866593] [<bf1f5cc0>] (usb_ep_disable [udc_core]) from [<bf2e61d8>] (uvc_function_disable+0x7c/0x98 [usb_f_uvc])
[  136.877070]  r5:c1204c48 r4:ec88cb84
[  136.880675] [<bf2e615c>] (uvc_function_disable [usb_f_uvc]) from [<bf2c5184>] (composite_disconnect+0x80/0xc8 [libcomposite])
[  136.892023]  r5:ec88cb84 r4:ed88da00
[  136.895624] [<bf2c5104>] (composite_disconnect [libcomposite]) from [<bf1f5734>] (usb_gadget_udc_reset+0x18/0x3c [udc_core])
[  136.906887]  r9:c1204c48 r8:ecd83d40 r7:00000000 r6:ffffe000 r5:ed61e0f8 r4:ed61e1e0
[  136.914674] [<bf1f571c>] (usb_gadget_udc_reset [udc_core]) from [<bf212eac>] (dwc3_gadget_reset_interrupt+0x134/0x148 [dwc3])
[  136.926022]  r5:ed61e0f8 r4:ed61e040
[  136.929624] [<bf212d78>] (dwc3_gadget_reset_interrupt [dwc3]) from [<bf214014>] (dwc3_thread_interrupt+0x60c/0xaa8 [dwc3])
[  136.940711]  r9:c1204c48 r8:ecd83d40 r7:00000000 r6:ffffe000 r5:ed720800 r4:ee253cc0
[  136.948496] [<bf213a08>] (dwc3_thread_interrupt [dwc3]) from [<c0289ff0>] (irq_thread_fn+0x24/0x80)
[  136.957578]  r10:00000001 r9:c0289fcc r8:ee253cc0 r7:00000000 r6:ffffe000 r5:ed720800
[  136.965437]  r4:ee253cc0
[  136.967981] [<c0289fcc>] (irq_thread_fn) from [<c028a348>] (irq_thread+0x15c/0x22c)
[  136.975667]  r7:00000000 r6:ffffe000 r5:ee253ce4 r4:ed720800
[  136.981351] [<c028a1ec>] (irq_thread) from [<c024c470>] (kthread+0x160/0x168)
[  136.988515]  r10:ec9ffbdc r9:c028a1ec r8:ee253cc0 r7:ec9ca000 r6:00000000 r5:ee253c80
[  136.996373]  r4:ee253c40
[  136.998916] [<c024c310>] (kthread) from [<c02010d8>] (ret_from_fork+0x14/0x3c)
[  137.006165] Exception stack(0xec9cbfb0 to 0xec9cbff8)
[  137.011235] bfa0:                                     00000000 00000000 00000000 00000000
[  137.019444] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  137.027655] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  137.034295]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c024c310
[  137.042152]  r4:ee253c80
[  137.044692] ---[ end trace 90056289364103d9 ]---
[  142.048550] In composite_disconnect :1996 
[  142.284552] In composite_disconnect :1996 
[  142.524306] In composite_disconnect :1996 
[  142.652810] In composite_disconnect :1996 
[  142.888686] In composite_disconnect :1996 
[  143.124440] In composite_disconnect :1996 
[  143.668449] In composite_disconnect :1996 
[  144.214964] In composite_suspend :2267 
[  144.258569] In composite_disconnect :1996 
[  144.388728] In composite_disconnect :1996 
[  144.624714] In composite_disconnect :1996 
[  144.860467] In composite_disconnect :1996 
[  144.988845] In composite_disconnect :1996 
[  145.224666] In composite_disconnect :1996 
[  145.462731] In composite_suspend :2267 
[  145.773092] In composite_disconnect :1996 
[  145.844233] In composite_disconnect :1996 
[  146.528244] In composite_disconnect :1996 
[  147.075008] In composite_suspend :2267 

