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/AM5718: Got usb hub port error, EMI, re-enabling

Part Number: AM5718
Other Parts Discussed in Thread: DM3730

Tool/software: Linux

We got an error on USB hub as below while an UVC camera brings up on AM5718.

[170522.353802] usb 1-1-port2: disabled by hub (EMI?), re-enabling...

[170522.361218] usb 1-1.2: USB disconnect, device number 37

[170522.366603] uvcvideo: Failed to resubmit video URB (-19).

[170522.367171] uvcvideo: Failed to resubmit video URB (-19).

[170522.373292] uvcvideo: Failed to resubmit video URB (-19)

I noted an errata sheet of DM3730 at http://www.ti.com/lit/er/sprz319f/sprz319f.pdf,  figures out a DPPL5 error that may stop usb hub working. Please help to confirm whether the same issue exist on AM5718.

  • Hi Feng Liu,

    The DM3730 advisory 2.1 is not applicable for AM5718 but there are several USB related advisories.
    I checked USB camera connection but there is no issue in general. Therefore I suspect there is something specific with environment. Could you attach the whole 'dmesg' command output after observing the issue. Does the issue appears every time or sometimes?
    Are check with other USB camera?

    BR
    Tsvetolin Shulev
  • Hello Tsvetolin,

    Thank you somuch for your verification.

    An UVC camera may be working well for a long time,and the error occurs while lightly hammering USB connector on AM5718 board. Google results show somebody met the same issue on Raspberry board too. Can you share the links on USB advisories of AM5718.

    The debugging message as below,

    root@am57xx-evm:~# ./samca_optoWaves -d /dev/video1 -d /dev/video2
    Carl Zeiss Meditec Controller Application: Optowaves Customized Version
    Height?
    480
    Width?
    640
    Frame Rate?
    15
    
    01:19:32.117652: UVC camera failed to take the frame from the queue
     01:19:32.317978: UVC camera failed to take the frame from the queue
    Image 0 Received was BAD | badCount = 1
    Image 1 Received was Good!
    Image 2 Received was Good!
    Image 3 Received was Good!
    Image 4 Received was Good!
    Image 5 Received was Good!
    Image 6 Received was Good!
    Image 7 Received was Good!
    Image 8 Received was Good!
    Image 9 Received was Good!
    Image 10 Received was Good!
    Image 11 Received was Good!
    Image 12 Received was Good!
    Image 13 Received was Good!
    Image 14 Received was Good!
    Image 15 Received was Good!
    Image 16 Received was Good!
    Image 17 Received was Good!
    Image 18 Received was Good!
    Image 19 Received was Good!
    Image 20 Received was Good!
    Image 21 Received was Good!
    Image 22 Received was Good!
    Image 23 Received was Good!
    Image 24 Received was Good!
    Image 25 Received was Good!
    Image 26 Received was Good!
    Image 27 Received was Good!
    Image 28 Received was Good!
    Image 29 Received was Good!
    Image 30 Received was Good!
    Image 31 Received was Good!
    [170522.353802] usb 1-1-port2: disabled by hub (EMI?), re-enabling...
    [170522.361218] usb 1-1.2: USB disconnect, device number 37
    [170522.366603] uvcvideo: Failed to resubmit video URB (-19).
    [170522.367171] uvcvideo: Failed to resubmit video URB (-19).
    [170522.373292] uvcvideo: Failed to resubmit video URB (-19).
    [170522.379416] uvcvideo: Failed to resubmit video URB (-19).
    [170522.379966] uvcvideo: Failed to resubmit video URB (-19).
     01:19:34.594033: UVC camera failed to take the frame from the queue
    Image 32 Received was BAD | badCount = 1
     01:19:34.601074: UVC camera failed to take the frame from the queue
    Image 33 Received was BAD | badCount = 2
     01:19:34.608928: UVC camera failed to take the frame from the queue
    Image 34 Received was BAD | badCount = 3
     01:19:34.660700: UVC camera failed to take the frame from the queue
    Image 35 Received was BAD | badCount = 4
     01:19:34.724646: UVC camera failed to take the frame from the queue
    Image 36 Received was BAD | badCount = 5
    [170522.669123] usb 1-1.2: new high-speed USB device number 38 using xhci-hcd
     01:19:34.792648: UVC camera failed to take the frame from the queue
    Image 37 Received was BAD | badCount = 6
     01:19:34.856660: UVC camera failed to take the frame from the queue
    Image 38 Received was BAD | badCount = 7
    [170522.851799] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=f11d
     01:19:34.925342: UVC camera failed to take the frame from the queue[170522.866579] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
    
    Image 39 Received was BAD | badCount = 8
    [170522.882069] usb 1-1.2: Product: CK1002-PB-U-LT00
    [170522.891994] usb 1-1.2: Manufacturer: CZM100200146
     01:19:34.988632: UVC camera failed to take the frame from the queue
    Image 40 Received was BAD | badCount = 9
    [170522.958407] uvcvideo: Found UVC 1.00 device CK1002-PB-U-LT00 (05e3:f11d)
     01:19:35.056449: UVC camera failed to take the frame from the queue
    Image 41 Received was BAD | badCount = 10
     01:19:35.120682: UVC camera failed to take the frame from the queue
    Image 42 Received was BAD | badCount = 11
     01:19:35.188664: UVC camera failed to take the frame from the queue
    Image 43 Received was BAD | badCount = 12
     01:19:35.256633: UVC camera failed to take the frame from the queue
    Image 44 Received was BAD | badCount = 13
     01:19:35.320646: UVC camera failed to take the frame from the queue
    Image 45 Received was BAD | badCount = 14
     01:19:35.388705: UVC camera failed to take the frame from the queue
    Image 46 Received was BAD | badCount = 15
     01:19:35.452675: UVC camera failed to take the frame from the queue
    Image 47 Received was BAD | badCount = 16
     01:19:35.520654: UVC camera failed to take the frame from the queue
    Image 48 Received was BAD | badCount = 17
     01:19:35.584706: UVC camera failed to take the frame from the queue
    Image 49 Received was BAD | badCount = 18
     01:19:35.652661: UVC camera failed to take the frame from the queue
    Image 50 Received was BAD | badCount = 19
    [170523.660836] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
     01:19:35.730858: UVC camera failed to take the frame from the queue[170523.672183] uvcvideo: Failed to query (129) UVC probe control : -71 (exp. 26).
    
    Image 51 Received was BAD | badCount = 20
    [170523.687424] uvcvideo: Failed to initialize the device (-5).
    [170523.701637] backlight supply power not found, using dummy regulator
     01:19:35.784410: UVC camera failed to take the frame from the queue
    Image 52 Received was BAD | badCount = 21
     01:19:35.852641: UVC camera failed to take the frame from the queue
    Image 53 Received was BAD | badCount = 22
     01:19:35.916621: UVC camera failed to take the frame from the queue
    Image 54 Received was BAD | badCount = 23
    [170523.889809] usb 1-1-port2: disabled by hub (EMI?), re-enabling...
    [170523.897014] usb 1-1.2: USB disconnect, device number 38
     01:19:35.984690: UVC camera failed to take the frame from the queue
    Image 55 Received was BAD | badCount = 24
     01:19:36.048700: UVC camera failed to take the frame from the queue
    Image 56 Received was BAD | badCount = 25
     01:19:36.116625: UVC camera failed to take the frame from the queue
    Image 57 Received was BAD | badCount = 26
     01:19:36.184660: UVC camera failed to take the frame from the queue
    Image 58 Received was BAD | badCount = 27
    [170524.159122] usb 1-1.2: new high-speed USB device number 39 using xhci-hcd
     01:19:36.248775: UVC camera failed to take the frame from the queue
    Image 59 Received was BAD | badCount = 28
     01:19:36.316651: UVC camera failed to take the frame from the queue
    Image 60 Received was BAD | badCount = 29
    [170524.269184] usb 1-1.2: device descriptor read/64, error 18
     01:19:36.380661: UVC camera failed to take the frame from the queue
    Image 61 Received was BAD | badCount = 30
     01:19:36.448716: UVC camera failed to take the frame from the queue
    Image 62 Received was BAD | badCount = 31
     01:19:36.512747: UVC camera failed to take the frame from the queue
    Image 63 Received was BAD | badCount = 32
    [170524.459148] usb 1-1.2: device descriptor read/64, error 18
     01:19:36.580713: UVC camera failed to take the frame from the queue
    Image 64 Received was BAD | badCount = 33
     01:19:36.648634: UVC camera failed to take the frame from the queue
    Image 65 Received was BAD | badCount = 34
     01:19:36.712693: UVC camera failed to take the frame from the queue
    Image 66 Received was BAD | badCount = 35
    [170524.659170] usb 1-1.2: new high-speed USB device number 40 using xhci-hcd
     01:19:36.780672: UVC camera failed to take the frame from the queue
    Image 67 Received was BAD | badCount = 36
    [170524.749187] usb 1-1.2: device descriptor read/64, error 18
     01:19:36.844684: UVC camera failed to take the frame from the queue
    Image 68 Received was BAD | badCount = 37
     01:19:36.912713: UVC camera failed to take the frame from the queue
    Image 69 Received was BAD | badCount = 38
     01:19:36.976683: UVC camera failed to take the frame from the queue
    Image 70 Received was BAD | badCount = 39
    [170524.939164] usb 1-1.2: device descriptor read/64, error 18
     01:19:37.044655: UVC camera failed to take the frame from the queue
    Image 71 Received was BAD | badCount = 40
     01:19:37.112909: UVC camera failed to take the frame from the queue
    Image 72 Received was BAD | badCount = 41
     01:19:37.176659: UVC camera failed to take the frame from the queue
    Image 73 Received was BAD | badCount = 42
    [170525.129147] usb 1-1.2: new high-speed USB device number 41 using xhci-hcd
    [170525.153027] usb 1-1.2: device descriptor read/8, error -61
     01:19:37.244639: UVC camera failed to take the frame from the queue
    Image 74 Received was BAD | badCount = 43
     01:19:37.308724: UVC camera failed to take the frame from the queue
    Image 75 Received was BAD | badCount = 44
    [170525.293039] usb 1-1.2: device descriptor read/8, error -61
     01:19:37.376646: UVC camera failed to take the frame from the queue
    Image 76 Received was BAD | badCount = 45
     01:19:37.440690: UVC camera failed to take the frame from the queue
    Image 77 Received was BAD | badCount = 46
     01:19:37.508723: UVC camera failed to take the frame from the queue
    Image 78 Received was BAD | badCount = 47
    [170525.489123] usb 1-1.2: new high-speed USB device number 42 using xhci-hcd
     01:19:37.576618: UVC camera failed to take the frame from the queue
    Image 79 Received was BAD | badCount = 48
    [170525.519128] usb 1-1.2: device descriptor read/8, error -61
     01:19:37.640642: UVC camera failed to take the frame from the queue
    Image 80 Received was BAD | badCount = 49
     01:19:37.708653: UVC camera failed to take the frame from the queue
    Image 81 Received was BAD | badCount = 50
    [170525.663103] usb 1-1.2: device descriptor read/8, error -61
     01:19:37.772759: UVC camera failed to take the frame from the queue
    Image 82 Received was BAD | badCount = 51
    [170525.779206] usb 1-1-port2: unable to enumerate USB device
     01:19:37.847273: UVC camera failed to take the frame from the queue
    Image 83 Received was BAD | badCount = 52
     01:19:37.904701: UVC camera failed to take the frame from the queue
    Image 84 Received was BAD | badCount = 53
     01:19:37.972647: UVC camera failed to take the frame from the queue
    Image 85 Received was BAD | badCount = 54
     01:19:38.040662: UVC camera failed to take the frame from the queue
    Image 86 Received was BAD | badCount = 55
     01:19:38.104737: UVC camera failed to take the frame from the queue
    Image 87 Received was BAD | badCount = 56
     01:19:38.172688: UVC camera failed to take the frame from the queue
    Image 88 Received was BAD | badCount = 57
     01:19:38.236624: UVC camera failed to take the frame from the queue
    Image 89 Received was BAD | badCount = 58
     01:19:38.304666: UVC camera failed to take the frame from the queue
    Image 90 Received was BAD | badCount = 59
     01:19:38.368718: UVC camera failed to take the frame from the queue
    Image 91 Received was BAD | badCount = 60
     01:19:38.436630: UVC camera failed to take the frame from the queue
    Image 92 Received was BAD | badCount = 61
     01:19:38.504670: UVC camera failed to take the frame from the queue
    Image 93 Received was BAD | badCount = 62
     01:19:38.568653: UVC camera failed to take the frame from the queue
    Image 94 Received was BAD | badCount = 63
     01:19:38.636639: UVC camera failed to take the frame from the queue
    Image 95 Received was BAD | badCount = 64
     01:19:38.700675: UVC camera failed to take the frame from the queue
    Image 96 Received was BAD | badCount = 65
     01:19:38.768743: UVC camera failed to take the frame from the queue
    Image 97 Received was BAD | badCount = 66
     01:19:38.832715: UVC camera failed to take the frame from the queue
    Image 98 Received was BAD | badCount = 67
     01:19:38.900654: UVC camera failed to take the frame from the queue
    Image 99 Received was BAD | badCount = 68
     01:19:38.924900: UVC camera failed to turn the stream off
    [170526.909137] ------------[ cut here ]------------
    [170526.913883] WARNING: CPU: 0 PID: 2471 at fs/sysfs/group.c:224 sysfs_remove_group+0x98/0x9c()
    [170526.922691] sysfs group c0889018 not found for kobject 'event4'
    [170526.928765] Modules linked in: sha512_generic sha256_generic sha1_generic md5 cbc bluetooth ipv6 bc_example(O) uvcvideo videobuf2_vmalloc gdbserverproxy(O) cryptodev(O) cmemk(O) rpmsg_proto xhci_plat_hcd xhci_hcd usbcore rpmsg_pru rpmsg_rpc dwc3 joydev evdev pru_rproc virtio_rpmsg_bus pixcir_i2c_ts mt9t11x palmas_pwrbutton udc_core rtc_palmas rtc_ds1307 phy_omap_usb2 extcon_palmas pvrsrvkm(O) omap_aes_driver pruss omap_sham rtc_omap omap_wdt dwc3_omap omap_des omap_rng rng_core debugss_kmodule(O) omap_remoteproc st_drv remoteproc virtio virtio_ring leds_gpio gpio_keys extcon_usb_gpio extcon[170526.979891] CPU: 0 PID: 2471 Comm: samca_optoWaves Tainted: G        W  O    4.1.18-gbbe8cfc #1
    [170526.979894] Hardware name: Generic DRA74X (Flattened Device Tree)
    [170526.979897] Backtrace: 
    [170526.979914] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [170526.979917]  r7:c0186fbc r6:60070013 r5:c087b0e4 r4:00000000
    [170526.979935] [<c0013184>] (show_stack) from [<c05e8748>] (dump_stack+0x9c/0xb0)
    [170526.979942] [<c05e86ac>] (dump_stack) from [<c0037780>] (warn_slowpath_common+0x88/0xb8)
    [170526.979944]  r7:c0186fbc r6:000000e0 r5:00000009 r4:d4061d30
    [170526.979959] [<c00376f8>] (warn_slowpath_common) from [<c00377e8>] (warn_slowpath_fmt+0x38/0x40)
    [170526.979961]  r8:ed79b198root@am57xx-evm:~#  r7:ed79b178 r6:ed79ac68 r5:c0889018 r4:c076d438
    [170526.979976] [<c00377b4>] (warn_slowpath_fmt) from [<c0186fbc>] (sysfs_remove_group+0x98/0x9c)
    [170526.979979]  r3:c0889018 r2:c076d438
    [170526.979984]  r4:00000000
    [170526.979995] [<c0186f24>] (sysfs_remove_group) from [<c03fc2ac>] (dpm_sysfs_remove+0x54/0x58)
    [170526.979997]  r6:ed79ac60 r5:ed79ac68 r4:c0889018
    [170526.980011] [<c03fc258>] (dpm_sysfs_remove) from [<c03f1a8c>] (device_del+0x40/0x218)
    [170526.980013]  r7:ed79b178 r6:ed79ac04 r5:ed79ac60 r4:ed79ac00
    [170526.980031] [<c03f1a4c>] (device_del) from [<bf2061a0>] (evdev_disconnect+0x20/0x48 [evdev])
    [170526.980033]  r8:00000000 r7:ed79b178 r6:ed79ac04 r5:ed79ac60 r4:ed79ac00
    [170526.980050] [<bf206180>] (evdev_disconnect [evdev]) from [<c047aadc>] (__input_unregister_device+0xa4/0x144)
    [170526.980052]  r7:ed79b178 r6:ed79b318 r5:ed79b000 r4:ed79b304
    [170526.980064] [<c047aa38>] (__input_unregister_device) from [<c047b378>] (input_unregister_device+0x50/0x78)
    [170526.980067]  r7:d5379010 r6:ed798400 r5:c08d6234 r4:ed79b000
    [170526.980090] [<c047b328>] (input_unregister_device) from [<bf34ff98>] (uvc_status_cleanup+0x38/0x3c [uvcvideo])
    [170526.980092]  r5:c08d6234 r4:ed798400
    [170526.980112] [<bf34ff60>] (uvc_status_cleanup [uvcvideo]) from [<bf3462e8>] (uvc_delete+0x14/0x120 [uvcvideo])
    [170526.980115]  r5:c08d6234 r4:d5379060
    [170526.980131] [<bf3462d4>] (uvc_delete [uvcvideo]) from [<bf346520>] (uvc_release+0x44/0x48 [uvcvideo])
    [170526.980132]  r7:d5379010 r6:ed7986d8 r5:c08d6234 r4:d5379060
    [170526.980149] [<bf3464dc>] (uvc_release [uvcvideo]) from [<c04897f0>] (v4l2_device_release+0xc4/0xe8)
    [170526.980155] [<c048972c>] (v4l2_device_release) from [<c03f12d0>] (device_release+0x34/0x98)
    [170526.980157]  r9:00000008 r8:d29e6ee0 r7:d5379068 r6:dfd4ef00 r5:d5379060 r4:d5379068
    [170526.980175] [<c03f129c>] (device_release) from [<c02d9430>] (kobject_release+0x50/0x84)
    [170526.980177]  r7:d5379068 r6:dfde0e00 r5:c0888930 r4:d5379084
    [170526.980191] [<c02d93e0>] (kobject_release) from [<c02d94b8>] (kobject_put+0x54/0x80)
    [170526.980193]  r7:ed400c10 r6:00000000 r5:d5379010 r4:d5379068
    [170526.980206] [<c02d9464>] (kobject_put) from [<c03f1620>] (put_device+0x1c/0x20)
    [170526.980208]  r4:00000000
    [170526.980216] [<c03f1604>] (put_device) from [<c0489520>] (v4l2_release+0x58/0x7c)
    [170526.980225] [<c04894c8>] (v4l2_release) from [<c011d35c>] (__fput+0x88/0x1d8)
    [170526.980227]  r5:ecb19228 r4:ec3e6540
    [170526.980237] [<c011d2d4>] (__fput) from [<c011d50c>] (____fput+0x10/0x14)
    [170526.980239]  r10:00000000 r9:d4060000 r8:c000fb04 r7:d50da300 r6:c08a075c r5:00000000
    [170526.980251]  r4:d50da708
    [170526.980260] [<c011d4fc>] (____fput) from [<c004fb48>] (task_work_run+0xb8/0xf0)
    [170526.980268] [<c004fa90>] (task_work_run) from [<c0012bc4>] (do_work_pending+0x88/0xb0)
    [170526.980270]  r7:d4060000 r6:c000fb04 r5:d4061fb0 r4:d4060010
    [170526.980284] [<c0012b3c>] (do_work_pending) from [<c000f9ac>] (work_pending+0xc/0x20)
    [170526.980286]  r7:00000006 r6:bec1a830 r5:00000064 r4:00000044
    [170526.980297] ---[ end trace dc99779b7a1ef9d0 ]---
    [170527.019124] ------------[ cut here ]------------
    [170527.019134] WARNING: CPU: 0 PID: 2471 at fs/sysfs/group.c:224 sysfs_remove_group+0x98/0x9c()
    [170527.019138] sysfs group c0889018 not found for kobject 'input34'
    [170527.019140] Modules linked in: sha512_generic sha256_generic sha1_generic md5 cbc bluetooth ipv6 bc_example(O) uvcvideo videobuf2_vmalloc gdbserverproxy(O) cryptodev(O) cmemk(O) rpmsg_proto xhci_plat_hcd xhci_hcd usbcore rpmsg_pru rpmsg_rpc dwc3 joydev evdev pru_rproc virtio_rpmsg_bus pixcir_i2c_ts mt9t11x palmas_pwrbutton udc_core rtc_palmas rtc_ds1307 phy_omap_usb2 extcon_palmas pvrsrvkm(O) omap_aes_driver pruss omap_sham rtc_omap omap_wdt dwc3_omap omap_des omap_rng rng_core debugss_kmodule(O) omap_remoteproc st_drv remoteproc virtio virtio_ring leds_gpio gpio_keys extcon_usb_gpio extcon
    [170527.019244] CPU: 0 PID: 2471 Comm: samca_optoWaves Tainted: G        W  O    4.1.18-gbbe8cfc #1
    [170527.019246] Hardware name: Generic DRA74X (Flattened Device Tree)
    [170527.019248] Backtrace: 
    [170527.019260] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [170527.019263]  r7:c0186fbc r6:600f0013 r5:c087b0e4 r4:00000000
    [170527.019277] [<c0013184>] (show_stack) from [<c05e8748>] (dump_stack+0x9c/0xb0)
    [170527.019284] [<c05e86ac>] (dump_stack) from [<c0037780>] (warn_slowpath_common+0x88/0xb8)
    [170527.019286]  r7:c0186fbc r6:000000e0 r5:00000009 r4:d4061d50
    [170527.019299] [<c00376f8>] (warn_slowpath_common) from [<c00377e8>] (warn_slowpath_fmt+0x38/0x40)
    [170527.019302]  r8:d5384020 r7:ed79b178 r6:ed79b1a0 r5:c0889018 r4:c076d438
    [170527.019317] [<c00377b4>] (warn_slowpath_fmt) from [<c0186fbc>] (sysfs_remove_group+0x98/0x9c)
    [170527.019319]  r3:c0889018 r2:c076d438
    [170527.019324]  r4:00000000
    [170527.019334] [<c0186f24>] (sysfs_remove_group) from [<c03fc2ac>] (dpm_sysfs_remove+0x54/0x58)
    [170527.019336]  r6:ed79b198 r5:ed79b1a0 r4:c0889018
    [170527.019348] [<c03fc258>] (dpm_sysfs_remove) from [<c03f1a8c>] (device_del+0x40/0x218)
    [170527.019350]  r7:ed79b178 r6:ed79b318 r5:ed79b198 r4:c088d2bc
    [170527.019363] [<c03f1a4c>] (device_del) from [<c047ab60>] (__input_unregister_device+0x128/0x144)
    [170527.019365]  r8:00000000 r7:ed79b178 r6:ed79b318 r5:ed79b000 r4:c088d2bc
    [170527.019379] [<c047aa38>] (__input_unregister_device) from [<c047b378>] (input_unregister_device+0x50/0x78)
    [170527.019382]  r7:d5379010 r6:ed798400 r5:c08d6234 r4:ed79b000
    [170527.019406] [<c047b328>] (input_unregister_device) from [<bf34ff98>] (uvc_status_cleanup+0x38/0x3c [uvcvideo])
    [170527.019409]  r5:c08d6234 r4:ed798400
    [170527.019429] [<bf34ff60>] (uvc_status_cleanup [uvcvideo]) from [<bf3462e8>] (uvc_delete+0x14/0x120 [uvcvideo])
    [170527.019431]  r5:c08d6234 r4:d5379060
    [170527.019446] [<bf3462d4>] (uvc_delete [uvcvideo]) from [<bf346520>] (uvc_release+0x44/0x48 [uvcvideo])
    [170527.019449]  r7:d5379010 r6:ed7986d8 r5:c08d6234 r4:d5379060
    [170527.019466] [<bf3464dc>] (uvc_release [uvcvideo]) from [<c04897f0>] (v4l2_device_release+0xc4/0xe8)
    [170527.019472] [<c048972c>] (v4l2_device_release) from [<c03f12d0>] (device_release+0x34/0x98)
    [170527.019474]  r9:00000008 r8:d29e6ee0 r7:d5379068 r6:dfd4ef00 r5:d5379060 r4:d5379068
    [170527.019491] [<c03f129c>] (device_release) from [<c02d9430>] (kobject_release+0x50/0x84)
    [170527.019493]  r7:d5379068 r6:dfde0e00 r5:c0888930 r4:d5379084
    [170527.019505] [<c02d93e0>] (kobject_release) from [<c02d94b8>] (kobject_put+0x54/0x80)
    [170527.019507]  r7:ed400c10 r6:00000000 r5:d5379010 r4:d5379068
    [170527.019520] [<c02d9464>] (kobject_put) from [<c03f1620>] (put_device+0x1c/0x20)
    [170527.019522]  r4:00000000
    [170527.019529] [<c03f1604>] (put_device) from [<c0489520>] (v4l2_release+0x58/0x7c)
    [170527.019537] [<c04894c8>] (v4l2_release) from [<c011d35c>] (__fput+0x88/0x1d8)
    [170527.019539]  r5:ecb19228 r4:ec3e6540
    [170527.019549] [<c011d2d4>] (__fput) from [<c011d50c>] (____fput+0x10/0x14)
    [170527.019551]  r10:00000000 r9:d4060000 r8:c000fb04 r7:d50da300 r6:c08a075c r5:00000000
    [170527.019563]  r4:d50da708
    [170527.019571] [<c011d4fc>] (____fput) from [<c004fb48>] (task_work_run+0xb8/0xf0)
    [170527.019579] [<c004fa90>] (task_work_run) from [<c0012bc4>] (do_work_pending+0x88/0xb0)
    [170527.019580]  r7:d4060000 r6:c000fb04 r5:d4061fb0 r4:d4060010
    [170527.019594] [<c0012b3c>] (do_work_pending) from [<c000f9ac>] (work_pending+0xc/0x20)
    [170527.019597]  r7:00000006 r6:bec1a830 r5:00000064 r4:00000044
    [170527.019607] ---[ end trace dc99779b7a1ef9d1 ]---
    [170527.019627] ------------[ cut here ]------------
    [170527.019634] WARNING: CPU: 0 PID: 2471 at fs/sysfs/group.c:224 sysfs_remove_group+0x98/0x9c()
    [170527.019637] sysfs group c088d3a4 not found for kobject 'input34'
    [170527.019639] Modules linked in: sha512_generic sha256_generic sha1_generic md5 cbc bluetooth ipv6 bc_example(O) uvcvideo videobuf2_vmalloc gdbserverproxy(O) cryptodev(O) cmemk(O) rpmsg_proto xhci_plat_hcd xhci_hcd usbcore rpmsg_pru rpmsg_rpc dwc3 joydev evdev pru_rproc virtio_rpmsg_bus pixcir_i2c_ts mt9t11x palmas_pwrbutton udc_core rtc_palmas rtc_ds1307 phy_omap_usb2 extcon_palmas pvrsrvkm(O) omap_aes_driver pruss omap_sham rtc_omap omap_wdt dwc3_omap omap_des omap_rng rng_core debugss_kmodule(O) omap_remoteproc st_drv remoteproc virtio virtio_ring leds_gpio gpio_keys extcon_usb_gpio extcon
    [170527.019735] CPU: 0 PID: 2471 Comm: samca_optoWaves Tainted: G        W  O    4.1.18-gbbe8cfc #1
    [170527.019737] Hardware name: Generic DRA74X (Flattened Device Tree)
    [170527.019739] Backtrace: 
    [170527.019749] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [170527.019751]  r7:c0186fbc r6:600f0013 r5:c087b0e4 r4:00000000
    [170527.019765] [<c0013184>] (show_stack) from [<c05e8748>] (dump_stack+0x9c/0xb0)
    [170527.019771] [<c05e86ac>] (dump_stack) from [<c0037780>] (warn_slowpath_common+0x88/0xb8)
    [170527.019773]  r7:c0186fbc r6:000000e0 r5:00000009 r4:d4061d38
    [170527.019786] [<c00376f8>] (warn_slowpath_common) from [<c00377e8>] (warn_slowpath_fmt+0x38/0x40)
    [170527.019788]  r8:d5384020 r7:c088d264 r6:ed79b1a0 r5:c088d3a4 r4:c076d438
    [170527.019803] [<c00377b4>] (warn_slowpath_fmt) from [<c0186fbc>] (sysfs_remove_group+0x98/0x9c)
    [170527.019805]  r3:c088d3a4 r2:c076d438
    [170527.019810]  r4:00000000
    [170527.019818] [<c0186f24>] (sysfs_remove_group) from [<c0186fec>] (sysfs_remove_groups+0x2c/0x3c)
    [170527.019820]  r6:c088d27c r5:ed79b1a0 r4:c088d2d0
    [170527.019831] [<c0186fc0>] (sysfs_remove_groups) from [<c03f1218>] (device_remove_attrs+0x58/0x74)
    [170527.019833]  r5:ed79b1a0 r4:ed79b198
    [170527.019843] [<c03f11c0>] (device_remove_attrs) from [<c03f1b58>] (device_del+0x10c/0x218)
    [170527.019845]  r7:ed79b1a0 r6:c08d5288 r5:ed79b198 r4:ee0d3738
    [170527.019857] [<c03f1a4c>] (device_del) from [<c047ab60>] (__input_unregister_device+0x128/0x144)
    [170527.019860]  r8:00000000 r7:ed79b178 r6:ed79b318 r5:ed79b000 r4:c088d2bc
    [170527.019874] [<c047aa38>] (__input_unregister_device) from [<c047b378>] (input_unregister_device+0x50/0x78)
    [170527.019875]  r7:d5379010 r6:ed798400 r5:c08d6234 r4:ed79b000
    [170527.019895] [<c047b328>] (input_unregister_device) from [<bf34ff98>] (uvc_status_cleanup+0x38/0x3c [uvcvideo])
    [170527.019898]  r5:c08d6234 r4:ed798400
    [170527.019916] [<bf34ff60>] (uvc_status_cleanup [uvcvideo]) from [<bf3462e8>] (uvc_delete+0x14/0x120 [uvcvideo])
    [170527.019918]  r5:c08d6234 r4:d5379060
    [170527.019933] [<bf3462d4>] (uvc_delete [uvcvideo]) from [<bf346520>] (uvc_release+0x44/0x48 [uvcvideo])
    [170527.019936]  r7:d5379010 r6:ed7986d8 r5:c08d6234 r4:d5379060
    [170527.019952] [<bf3464dc>] (uvc_release [uvcvideo]) from [<c04897f0>] (v4l2_device_release+0xc4/0xe8)
    [170527.019958] [<c048972c>] (v4l2_device_release) from [<c03f12d0>] (device_release+0x34/0x98)
    [170527.019960]  r9:00000008 r8:d29e6ee0 r7:d5379068 r6:dfd4ef00 r5:d5379060 r4:d5379068
    [170527.019975] [<c03f129c>] (device_release) from [<c02d9430>] (kobject_release+0x50/0x84)
    [170527.019977]  r7:d5379068 r6:dfde0e00 r5:c0888930 r4:d5379084
    [170527.019990] [<c02d93e0>] (kobject_release) from [<c02d94b8>] (kobject_put+0x54/0x80)
    [170527.019992]  r7:ed400c10 r6:00000000 r5:d5379010 r4:d5379068
    [170527.020005] [<c02d9464>] (kobject_put) from [<c03f1620>] (put_device+0x1c/0x20)
    [170527.020007]  r4:00000000
    [170527.020014] [<c03f1604>] (put_device) from [<c0489520>] (v4l2_release+0x58/0x7c)
    [170527.020021] [<c04894c8>] (v4l2_release) from [<c011d35c>] (__fput+0x88/0x1d8)
    [170527.020023]  r5:ecb19228 r4:ec3e6540
    [170527.020033] [<c011d2d4>] (__fput) from [<c011d50c>] (____fput+0x10/0x14)
    [170527.020035]  r10:00000000 r9:d4060000 r8:c000fb04 r7:d50da300 r6:c08a075c r5:00000000
    [170527.020047]  r4:d50da708
    [170527.020055] [<c011d4fc>] (____fput) from [<c004fb48>] (task_work_run+0xb8/0xf0)
    [170527.020062] [<c004fa90>] (task_work_run) from [<c0012bc4>] (do_work_pending+0x88/0xb0)
    [170527.020064]  r7:d4060000 r6:c000fb04 r5:d4061fb0 r4:d4060010
    [170527.020078] [<c0012b3c>] (do_work_pending) from [<c000f9ac>] (work_pending+0xc/0x20)
    [170527.020080]  r7:00000006 r6:bec1a830 r5:00000064 r4:00000044
    [170527.020089] ---[ end trace dc99779b7a1ef9d2 ]---
    [170527.020093] ------------[ cut here ]------------
    [170527.020099] WARNING: CPU: 0 PID: 2471 at fs/sysfs/group.c:224 sysfs_remove_group+0x98/0x9c()
    [170527.020102] sysfs group c088d2dc not found for kobject 'input34'
    [170527.020103] Modules linked in: sha512_generic sha256_generic sha1_generic md5 cbc bluetooth ipv6 bc_example(O) uvcvideo videobuf2_vmalloc gdbserverproxy(O) cryptodev(O) cmemk(O) rpmsg_proto xhci_plat_hcd xhci_hcd usbcore rpmsg_pru rpmsg_rpc dwc3 joydev evdev pru_rproc virtio_rpmsg_bus pixcir_i2c_ts mt9t11x palmas_pwrbutton udc_core rtc_palmas rtc_ds1307 phy_omap_usb2 extcon_palmas pvrsrvkm(O) omap_aes_driver pruss omap_sham rtc_omap omap_wdt dwc3_omap omap_des omap_rng rng_core debugss_kmodule(O) omap_remoteproc st_drv remoteproc virtio virtio_ring leds_gpio gpio_keys extcon_usb_gpio extcon
    [170527.020198] CPU: 0 PID: 2471 Comm: samca_optoWaves Tainted: G        W  O    4.1.18-gbbe8cfc #1
    [170527.020201] Hardware name: Generic DRA74X (Flattened Device Tree)
    [170527.020202] Backtrace: 
    [170527.020213] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [170527.020215]  r7:c0186fbc r6:600f0013 r5:c087b0e4 r4:00000000
    [170527.020228] [<c0013184>] (show_stack) from [<c05e8748>] (dump_stack+0x9c/0xb0)
    [170527.020233] [<c05e86ac>] (dump_stack) from [<c0037780>] (warn_slowpath_common+0x88/0xb8)
    [170527.020236]  r7:c0186fbc r6:000000e0 r5:00000009 r4:d4061d38
    [170527.020248] [<c00376f8>] (warn_slowpath_common) from [<c00377e8>] (warn_slowpath_fmt+0x38/0x40)
    [170527.020250]  r8:d5384020 r7:c088d264 r6:ed79b1a0 r5:c088d2dc r4:c076d438
    [170527.020266] [<c00377b4>] (warn_slowpath_fmt) from [<c0186fbc>] (sysfs_remove_group+0x98/0x9c)
    [170527.020269]  r3:c088d2dc r2:c076d438
    [170527.020274]  r4:00000000
    [170527.020282] [<c0186f24>] (sysfs_remove_group) from [<c0186fec>] (sysfs_remove_groups+0x2c/0x3c)
    [170527.020284]  r6:c088d27c r5:ed79b1a0 r4:c088d2d4
    [170527.020295] [<c0186fc0>] (sysfs_remove_groups) from [<c03f1218>] (device_remove_attrs+0x58/0x74)
    [170527.020297]  r5:ed79b1a0 r4:ed79b198
    [170527.020306] [<c03f11c0>] (device_remove_attrs) from [<c03f1b58>] (device_del+0x10c/0x218)
    [170527.020308]  r7:ed79b1a0 r6:c08d5288 r5:ed79b198 r4:ee0d3738
    [170527.020321] [<c03f1a4c>] (device_del) from [<c047ab60>] (__input_unregister_device+0x128/0x144)
    [170527.020323]  r8:00000000 r7:ed79b178 r6:ed79b318 r5:ed79b000 r4:c088d2bc
    [170527.020337] [<c047aa38>] (__input_unregister_device) from [<c047b378>] (input_unregister_device+0x50/0x78)
    [170527.020339]  r7:d5379010 r6:ed798400 r5:c08d6234 r4:ed79b000
    [170527.020359] [<c047b328>] (input_unregister_device) from [<bf34ff98>] (uvc_status_cleanup+0x38/0x3c [uvcvideo])
    [170527.020361]  r5:c08d6234 r4:ed798400
    [170527.020380] [<bf34ff60>] (uvc_status_cleanup [uvcvideo]) from [<bf3462e8>] (uvc_delete+0x14/0x120 [uvcvideo])
    [170527.020383]  r5:c08d6234 r4:d5379060
    [170527.020397] [<bf3462d4>] (uvc_delete [uvcvideo]) from [<bf346520>] (uvc_release+0x44/0x48 [uvcvideo])
    [170527.020399]  r7:d5379010 r6:ed7986d8 r5:c08d6234 r4:d5379060
    [170527.020415] [<bf3464dc>] (uvc_release [uvcvideo]) from [<c04897f0>] (v4l2_device_release+0xc4/0xe8)
    [170527.020421] [<c048972c>] (v4l2_device_release) from [<c03f12d0>] (device_release+0x34/0x98)
    [170527.020423]  r9:00000008 r8:d29e6ee0 r7:d5379068 r6:dfd4ef00 r5:d5379060 r4:d5379068
    [170527.020438] [<c03f129c>] (device_release) from [<c02d9430>] (kobject_release+0x50/0x84)
    [170527.020440]  r7:d5379068 r6:dfde0e00 r5:c0888930 r4:d5379084
    [170527.020453] [<c02d93e0>] (kobject_release) from [<c02d94b8>] (kobject_put+0x54/0x80)
    [170527.020455]  r7:ed400c10 r6:00000000 r5:d5379010 r4:d5379068
    [170527.020468] [<c02d9464>] (kobject_put) from [<c03f1620>] (put_device+0x1c/0x20)
    [170527.020470]  r4:00000000
    [170527.020477] [<c03f1604>] (put_device) from [<c0489520>] (v4l2_release+0x58/0x7c)
    [170527.020483] [<c04894c8>] (v4l2_release) from [<c011d35c>] (__fput+0x88/0x1d8)
    [170527.020485]  r5:ecb19228 r4:ec3e6540
    [170527.020495] [<c011d2d4>] (__fput) from [<c011d50c>] (____fput+0x10/0x14)
    [170527.020497]  r10:00000000 r9:d4060000 r8:c000fb04 r7:d50da300 r6:c08a075c r5:00000000
    [170527.020509]  r4:d50da708
    [170527.020516] [<c011d4fc>] (____fput) from [<c004fb48>] (task_work_run+0xb8/0xf0)
    [170527.020523] [<c004fa90>] (task_work_run) from [<c0012bc4>] (do_work_pending+0x88/0xb0)
    [170527.020525]  r7:d4060000 r6:c000fb04 r5:d4061fb0 r4:d4060010
    [170527.020539] [<c0012b3c>] (do_work_pending) from [<c000f9ac>] (work_pending+0xc/0x20)
    [170527.020541]  r7:00000006 r6:bec1a830 r5:00000064 r4:00000044
    [170527.020550] ---[ end trace dc99779b7a1ef9d3 ]---
    [170527.020645] ------------[ cut here ]------------
    [170527.020652] WARNING: CPU: 0 PID: 2471 at fs/sysfs/group.c:224 sysfs_remove_group+0x98/0x9c()
    [170527.020656] sysfs group c0889018 not found for kobject 'media1'
    [170527.020658] Modules linked in: sha512_generic sha256_generic sha1_generic md5 cbc bluetooth ipv6 bc_example(O) uvcvideo videobuf2_vmalloc gdbserverproxy(O) cryptodev(O) cmemk(O) rpmsg_proto xhci_plat_hcd xhci_hcd usbcore rpmsg_pru rpmsg_rpc dwc3 joydev evdev pru_rproc virtio_rpmsg_bus pixcir_i2c_ts mt9t11x palmas_pwrbutton udc_core rtc_palmas rtc_ds1307 phy_omap_usb2 extcon_palmas pvrsrvkm(O) omap_aes_driver pruss omap_sham rtc_omap omap_wdt dwc3_omap omap_des omap_rng rng_core debugss_kmodule(O) omap_remoteproc st_drv remoteproc virtio virtio_ring leds_gpio gpio_keys extcon_usb_gpio extcon
    [170527.020753] CPU: 0 PID: 2471 Comm: samca_optoWaves Tainted: G        W  O    4.1.18-gbbe8cfc #1
    [170527.020756] Hardware name: Generic DRA74X (Flattened Device Tree)
    [170527.020757] Backtrace: 
    [170527.020768] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [170527.020770]  r7:c0186fbc r6:600f0013 r5:c087b0e4 r4:00000000
    [170527.020785] [<c0013184>] (show_stack) from [<c05e8748>] (dump_stack+0x9c/0xb0)
    [170527.020791] [<c05e86ac>] (dump_stack) from [<c0037780>] (warn_slowpath_common+0x88/0xb8)
    [170527.020793]  r7:c0186fbc r6:000000e0 r5:00000009 r4:d4061d50
    [170527.020807] [<c00376f8>] (warn_slowpath_common) from [<c00377e8>] (warn_slowpath_fmt+0x38/0x40)
    [170527.020809]  r8:d5384020 r7:d5379010 r6:ed798470 r5:c0889018 r4:c076d438
    [170527.020825] [<c00377b4>] (warn_slowpath_fmt) from [<c0186fbc>] (sysfs_remove_group+0x98/0x9c)
    [170527.020826]  r3:c0889018 r2:c076d438
    [170527.020833]  r4:00000000
    [170527.020841] [<c0186f24>] (sysfs_remove_group) from [<c03fc2ac>] (dpm_sysfs_remove+0x54/0x58)
    [170527.020843]  r6:ed798468 r5:ed798470 r4:c0889018
    [170527.020856] [<c03fc258>] (dpm_sysfs_remove) from [<c03f1a8c>] (device_del+0x40/0x218)
    [170527.020858]  r7:d5379010 r6:ed798458 r5:ed798468 r4:ed798468
    [170527.020871] [<c03f1a4c>] (device_del) from [<c03f1c78>] (device_unregister+0x14/0x28)
    [170527.020873]  r8:00000000 r7:d5379010 r6:ed798458 r5:ed7986ac r4:ed798468
    [170527.020888] [<c03f1c64>] (device_unregister) from [<c0488464>] (media_devnode_unregister+0x48/0x4c)
    [170527.020890]  r5:ed7986ac r4:ed798460
    [170527.020900] [<c048841c>] (media_devnode_unregister) from [<c0488050>] (media_device_unregister+0x50/0x54)
    [170527.020902]  r5:ed7986ac r4:ed7986ac
    [170527.020914] [<c0488000>] (media_device_unregister) from [<bf3463ec>] (uvc_delete+0x118/0x120 [uvcvideo])
    [170527.020917]  r7:d5379010 r6:ed798400 r5:c08d6234 r4:d5379060
    [170527.020935] [<bf3462d4>] (uvc_delete [uvcvideo]) from [<bf346520>] (uvc_release+0x44/0x48 [uvcvideo])
    [170527.020938]  r7:d5379010 r6:ed7986d8 r5:c08d6234 r4:d5379060
    [170527.020954] [<bf3464dc>] (uvc_release [uvcvideo]) from [<c04897f0>] (v4l2_device_release+0xc4/0xe8)
    [170527.020960] [<c048972c>] (v4l2_device_release) from [<c03f12d0>] (device_release+0x34/0x98)
    [170527.020962]  r9:00000008 r8:d29e6ee0 r7:d5379068 r6:dfd4ef00 r5:d5379060 r4:d5379068
    [170527.020978] [<c03f129c>] (device_release) from [<c02d9430>] (kobject_release+0x50/0x84)
    [170527.020980]  r7:d5379068 r6:dfde0e00 r5:c0888930 r4:d5379084
    [170527.020993] [<c02d93e0>] (kobject_release) from [<c02d94b8>] (kobject_put+0x54/0x80)
    [170527.020995]  r7:ed400c10 r6:00000000 r5:d5379010 r4:d5379068
    [170527.021008] [<c02d9464>] (kobject_put) from [<c03f1620>] (put_device+0x1c/0x20)
    [170527.021010]  r4:00000000
    [170527.021017] [<c03f1604>] (put_device) from [<c0489520>] (v4l2_release+0x58/0x7c)
    [170527.021024] [<c04894c8>] (v4l2_release) from [<c011d35c>] (__fput+0x88/0x1d8)
    [170527.021026]  r5:ecb19228 r4:ec3e6540
    [170527.021036] [<c011d2d4>] (__fput) from [<c011d50c>] (____fput+0x10/0x14)
    [170527.021038]  r10:00000000 r9:d4060000 r8:c000fb04 r7:d50da300 r6:c08a075c r5:00000000
    [170527.021050]  r4:d50da708
    [170527.021057] [<c011d4fc>] (____fput) from [<c004fb48>] (task_work_run+0xb8/0