Hi All,
We have USB webcam connected to imx6 custom board. IMX6 is not able to enumerate the device. shows below print
[ 151.603744] usb 1-1: new high-speed USB device number 70 using ci_hdrc
[ 152.812637] usb 1-1: unable to read config index 0 descriptor/start: -71
[ 152.818633] usb 1-1: can't read configurations, error -71
If i connect the same camera to PC , it gets detected and UVC device is enumerated.
further more if a connect a USB HUB between the imx6 board and camera , the camera is detected and there is no problem taking the video stream.
USB camera is only able to get enumerated with a HUB connected in between. Is this due to any error in USB device descriptor query commands. I have tried with latest kernel 4.1.2 . it also have same issue. Also tested other USB devices keyboard,mouse, pen-drive all are getting enumerated without a HUB.
Any help is appreciated.
Thanks
Solved! Go to Solution.
Hi anjo
connecting through hub usually used for finding source of usb misbehaviour with
data integrity or poor signals are suspected. One can try to tweak usb signal
with procedures described in AN4589 Configuring USB on i.MX 6 Series Processors
https://www.nxp.com/docs/en/application-note/AN4589.pdf
Another reason may be that power provided to web camera from i.MX side is insufficient.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi @all
dmesg output is :
usb 1-1: unable to get BOS descriptor set
usb 1-1: unable to read config index 0 descriptor/all
usb 1-1: can't read configurations, error -71
usb 1-1: new high-speed USB device number 7 using ci_hdrc
usb 1-1: unable to get BOS descriptor set
usb 1-1: unable to read config index 0 descriptor/all
usb 1-1: can't read configurations, error -71
usb 1-1: new high-speed USB device number 8 using ci_hdrc
usb 1-1: device not accepting address 8, error -71
usb 1-1: new high-speed USB device number 9 using ci_hdrc
usb 1-1: device not accepting address 9, error -71
usb usb1-port1: unable to enumerate USB device
But this solution doesn't work in my case.
Any help is appreciated.
Thanks
Hello Anjo! I'm trying to get my USB webcam to work. I think I have the right stuff in the kernel built-in (or as modules) but when I plug it in I get funny errors:
USB port 2: [ 444.165188] usb 8-2: Not enough bandwidth for altsetting 11
[ 2853.264080] usb 8-2: USB disconnect, device number 3
[ 2857.410263] usb 3-4: new high-speed USB device number 2 using ehci_hcd
[ 2857.529914] usb 3-4: device descriptor read/64, error -32
[ 2857.759256] usb 3-4: device descriptor read/64, error -32
[ 2857.988597] usb 3-4: new high-speed USB device number 3 using ehci_hcd
[ 2858.108254] usb 3-4: device descriptor read/64, error -32
[ 2858.337597] usb 3-4: device descriptor read/64, error -32
[ 2858.566937] usb 3-4: new high-speed USB device number 4 using ehci_hcd
USB Port 3: [ 3278.175163] usb 8-2: Not enough bandwidth for altsetting 1
[ 3278.175164] 12:3:1: usb_set_interface failed (-22)
[ 3278.175369] xhci_hcd 0000:02:00.0: ERROR: unexpected command completion code 0x11.
[ 3278.175372] usb 8-2: Not enough bandwidth for altsetting 1
[ 3278.175373] 12:3:1: usb_set_interface failed (-22)
If any problem with the Netgear Arlo security camera, then you can try on netgear arlo support, I hope that all the information you can gets from here.
Have a Good Day!!!
Hi anjo
connecting through hub usually used for finding source of usb misbehaviour with
data integrity or poor signals are suspected. One can try to tweak usb signal
with procedures described in AN4589 Configuring USB on i.MX 6 Series Processors
https://www.nxp.com/docs/en/application-note/AN4589.pdf
Another reason may be that power provided to web camera from i.MX side is insufficient.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thank you for the response. Issue has been fixed. It was due to lengthy USB OTG cable. After using short OTG cable camera got enumerated.