Custom board EHCI problems with some devices, device descriptor read/all, error -71

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

We have a mips based custom board with ehci controller, which seem to
work just fine with some devices like memory sticks, but fails with
others like UMTS/HSDPA modems and HUB's. The host controller is not even
able to enumerate these devices, and after a few retries gives up. 

Symptoms include the message "device descriptor read/all, error -71",
more detailed kernel log and usbmon sniff are below.

Because we suspected hardware issues we cut all USB traces from the PCB
and connected a USB host connector only a few mm from the USB pins of
the CPU, but still the same results.

Any tips on how to proceed on debugging this ?

Thank you very much,



Log with USB verbose debugging enabled
======================================

ehci_hcd 0000:00:0a.0: irq status 000c FLR PCD
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001801 POWER sig=j CONNECT
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001801 POWER sig=j CONNECT
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001801 POWER sig=j CONNECT
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001801 POWER sig=j CONNECT
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001801 POWER sig=j CONNECT
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:0a.0: port 1 reset
ehci_hcd 0000:00:0a.0: port 1 high speed
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001005 POWER sig=se0 PE CONNECT
usb 1-1: new high speed USB device using ehci_hcd and address 10
ehci_hcd 0000:00:0a.0: submit_async 1 urb 8796c480 ep0out len 64, qtd a7963060 [qh (null)]
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR
ehci_hcd 0000:00:0a.0: detected XactErr len 0/64 retry 1
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR
ehci_hcd 0000:00:0a.0: detected XactErr len 0/64 retry 2
[...]
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR
ehci_hcd 0000:00:0a.0: detected XactErr len 0/64 retry 31
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR
ehci_hcd 0000:00:0a.0: devpath 1 ep0in 3strikes
ehci_hcd 0000:00:0a.0: dev0 ep0in qtd token 80400148 --> status -71
ehci_hcd 0000:00:0a.0: ehci_urb_done 1 urb 8796c480 ep0in status -71 len 0/64
ehci_hcd 0000:00:0a.0: irq status 8028 Async IAA FLR
ehci_hcd 0000:00:0a.0: port 1 reset
ehci_hcd 0000:00:0a.0: port 1 high speed
ehci_hcd 0000:00:0a.0: GetStatus port 1 status 001005 POWER sig=se0 PE CONNECT
ehci_hcd 0000:00:0a.0: submit_async 1 urb 879f9880 ep0out len 0, qtd a7963120 [qh a7962080]
ehci_hcd 0000:00:0a.0: irq status 8009 Async FLR INT
ehci_hcd 0000:00:0a.0: ehci_urb_done 1 urb 879f9880 ep0out status 0 len 0/0
ehci_hcd 0000:00:0a.0: irq status 8028 Async IAA FLR
ehci_hcd 0000:00:0a.0: submit_async 1 urb 8796c480 ep0out len 18, qtd a7963120 [qh (null)]
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR
ehci_hcd 0000:00:0a.0: detected XactErr len 0/18 retry 1
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR
ehci_hcd 0000:00:0a.0: detected XactErr len 0/18 retry 2
ehci_hcd 0000:00:0a.0: irq status 800a Async FLR ERR


usbmon sniff
============

87920180 636779336 C Ii:1:001:1 0:2048 1 D
87920180 636779426 S Ii:1:001:1 -150:2048 4 <
879f6680 636784580 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6680 636791756 C Ci:1:001:0 0 4 = 01050100
879f6680 636792810 S Co:1:001:0 s 23 01 0010 0001 0000 0
879f6680 636792831 C Co:1:001:0 0 0
879f6680 636798552 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6680 636805358 C Ci:1:001:0 0 4 = 01050000
879f6680 636831297 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6680 636838085 C Ci:1:001:0 0 4 = 01050000
879f6680 636864102 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6680 636870888 C Ci:1:001:0 0 4 = 01050000
879f6600 636897248 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6600 636904045 C Ci:1:001:0 0 4 = 01050000
879f6680 636930147 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6680 636936936 C Ci:1:001:0 0 4 = 01050000
879f6680 636944099 S Co:1:001:0 s 23 03 0004 0001 0000 0
879f6680 636947426 C Co:1:001:0 0 0
879f6600 636998209 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6600 637009294 C Ci:1:001:0 0 4 = 03051000
879f6680 637060128 S Co:1:001:0 s 23 01 0014 0001 0000 0
879f6680 637060148 C Co:1:001:0 0 0
879f6680 637066525 S Ci:1:000:0 s 80 06 0100 0000 0040 64 <
879f6680 637413797 C Ci:1:000:0 -71 0
879f6680 637420468 S Co:1:001:0 s 23 03 0004 0001 0000 0
879f6680 637423811 C Co:1:001:0 0 0
879f6680 637474185 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
879f6680 637485216 C Ci:1:001:0 0 4 = 03051000
879f6680 637536132 S Co:1:001:0 s 23 01 0014 0001 0000 0
879f6680 637536153 C Co:1:001:0 0 0


-- 
:wq
^X^Cy^K^X^C^C^C^C
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux