Tyler Brandon

i.MX53 USB Linux fsl-ehci errors (custom board)

Discussion created by Tyler Brandon on Aug 20, 2012
Latest reply on May 9, 2016 by Muazzam Husain

Proc: i.MX53, custom board (modified i.MX53 QSB)

Linux: 2.6.35

Issue: USB Host1 and Host3 (ULPI), do not properly enumerate USB devices.  

 

Note, some USB devices do correctly enumerate on USB Host1, however, other USB devices fail in the following way:

...

hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
fsl-ehci fsl-ehci.1: GetStatus port 1 status 10001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
fsl-ehci fsl-ehci.1: port 1 high speed
fsl-ehci fsl-ehci.1: GetStatus port 1 status 18001205 POWER sig=se0 PE CONNECT
usb 1-1: new high speed USB device using fsl-ehci and address 9
fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 1
fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 2

...

fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 30
fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 31
fsl-ehci fsl-ehci.1: devpath 1 ep0out 3strikes
usb 1-1: device not accepting address 12, error -71
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002

 

On USB host3, devices fail in the following way:

...

hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002
fsl-ehci fsl-ehci.3: GetStatus port 1 status 80001813 POWER sig=j OC CSC CONNECT
hub 2-0:1.0: port 1, status 0109, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x109
fsl-ehci fsl-ehci.3: port 1 high speed
fsl-ehci fsl-ehci.3: GetStatus port 1 status 80001815 POWER sig=j OC PE CONNECT
usb 2-1: new full speed USB device using fsl-ehci and address 22
fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 1
fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 2

...

fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 30
fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 31
fsl-ehci fsl-ehci.3: devpath 1 ep0out 3strikes
usb usb2: clear tt buffer port 1, a0 ep0 t00080248
usb 2-1: device not accepting address 25, error -71
hub 2-0:1.0: unable to enumerate USB device on port 1
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002

 

I'm working my way through the driver code, however, at this point I do not know if this is a software or hardware issue.  Any insight into what is happening, or strategies to resolve this, would be greatly appreciated.

 

Thanks.

Outcomes