Hi,
I am trying to configure USBOTG2 as host in IMX8 custom board. After that it is able to properly detect HID such as Mouse and keyboard. But it is not able to detect the Mass storage properly which is not visible in lsusb also. I have attached the log below. Kindly help on this and also comment on how to make it acts as dual mode ie both host and peripheral mode.
Thank you in advance.
ERROR LOG:
[ 94.259805] usb 1-1: new high-speed USB device number 2 using cdns-usb3
[ 95.163815] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 95.295758] usb 1-1: new high-speed USB device number 3 using cdns-usb3
[ 96.199862] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 96.206550] usb usb1-port1: attempt power cycle
[ 97.423867] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 97.559807] usb 1-1: new high-speed USB device number 5 using cdns-usb3
[ 97.569092] usb 1-1: Device not responding to setup address.
[ 97.779828] usb 1-1: Device not responding to setup address.
[ 97.991808] usb 1-1: device not accepting address 5, error -71
[ 97.998771] usb usb1-port1: unable to enumerate USB device
[ 98.275830] usb 1-1: new high-speed USB device number 6 using cdns-usb3
[ 99.179817] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 100.151830] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 100.158518] usb usb1-port1: attempt power cycle
[ 101.375808] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 101.507773] usb 1-1: new high-speed USB device number 9 using cdns-usb3
[ 101.514496] usb 1-1: Device not responding to setup address.
[ 101.727789] usb 1-1: Device not responding to setup address.
[ 101.939780] usb 1-1: device not accepting address 9, error -71
[ 101.945741] usb usb1-port1: unable to enumerate USB device
[ 102.219770] usb 1-1: new high-speed USB device number 10 using cdns-usb3
[ 103.123833] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 104.095812] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 104.102497] usb usb1-port1: attempt power cycle
[ 105.387806] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 105.519781] usb 1-1: new high-speed USB device number 13 using cdns-usb3
[ 105.526637] usb 1-1: Device not responding to setup address.
[ 105.739832] usb 1-1: Device not responding to setup address.
[ 105.951809] usb 1-1: device not accepting address 13, error -71
[ 105.957848] usb usb1-port1: unable to enumerate USB device
[ 106.231762] usb 1-1: new high-speed USB device number 14 using cdns-usb3
[ 107.135811] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 107.267761] usb 1-1: new high-speed USB device number 15 using cdns-usb3
[ 108.239811] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 108.246507] usb usb1-port1: attempt power cycle
[ 109.463833] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 109.595788] usb 1-1: new high-speed USB device number 17 using cdns-usb3
[ 109.602584] usb 1-1: Device not responding to setup address.
[ 109.815831] usb 1-1: Device not responding to setup address.
[ 110.027753] usb 1-1: device not accepting address 17, error -71
[ 110.033777] usb usb1-port1: unable to enumerate USB device
[ 110.307760] usb 1-1: new high-speed USB device number 18 using cdns-usb3
[ 111.211803] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 112.183825] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 112.190514] usb usb1-port1: attempt power cycle
[ 113.475832] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 114.447806] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 114.454480] usb usb1-port1: unable to enumerate USB device
解決済! 解決策の投稿を見る。
Hi Sulaiman
from logs:
"Cannot enable. Maybe the USB cable is bad?
Device not responding to setup address"
reason may be in hardware. One can recheck board design using usb recommendations provided in
i.MX 8QuadMax/i.MX 8QuadXPlus Hardware Developer’s Guide
Best regards
igor
Hi Sulaiman
from logs:
"Cannot enable. Maybe the USB cable is bad?
Device not responding to setup address"
reason may be in hardware. One can recheck board design using usb recommendations provided in
i.MX 8QuadMax/i.MX 8QuadXPlus Hardware Developer’s Guide
Best regards
igor