Hi,
David Brownell wrote:
On Sunday 16 December 2007, David Brownell wrote:
When I plug the camera I got [1]. When I plug a pendrive i got [3].
When I plug the camera on another port I got [2].
(Appended text is slightly edited to remove line wraps.)
Here's that patch. Please give it at try with USB_DEBUG enabled.
Note that the patch has two behavioral changes -- avoid the "what
maxpacket should I use?" dance that's not needed, and use a longer
delay at one point -- plus a diagnostic change to make EHCI report
what control transfers are making trouble.
We should at least be able to find out just what calls are making
the trouble (and at what point in the sequence), even if the behavior
changes don't help. :)
Here the trace with the patch [1]
Matthieu
[ 3603.862208] usb usb4: usb resume
[ 3603.862733] ehci_hcd 0000:00:10.3: resume root hub
[ 3603.904375] hub 4-0:1.0: hub_resume
[ 3603.904624] hub 4-0:1.0: state 7 ports 6 chg 0000 evt 0000
[ 3603.904853] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT
[ 3603.905061] hub 4-0:1.0: port 6, status 0501, change 0001, 480 Mb/s
[ 3604.024263] hub 4-0:1.0: debounce: port 6: total 100ms stable 100ms status 0x501
[ 3604.077743] ehci_hcd 0000:00:10.3: port 6 high speed
[ 3604.077751] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
[ 3604.130831] usb 4-6: new high speed USB device using ehci_hcd and address 2
[ 3604.131315] ehci_hcd 0000:00:10.3: devpath 6 ep0out 3strikes
[ 3604.131321] ehci_hcd 0000:00:10.3: dev0 ep0out qtd token 00080248 --> status -71
[ 3604.334136] ehci_hcd 0000:00:10.3: devpath 6 ep0out 3strikes
[ 3604.334144] ehci_hcd 0000:00:10.3: dev0 ep0out qtd token 00080248 --> status -71
[ 3604.537078] usb 4-6: device not accepting address 2, error -71
[ 3604.590623] ehci_hcd 0000:00:10.3: port 6 high speed
[ 3604.590632] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
[ 3604.643645] usb 4-6: new high speed USB device using ehci_hcd and address 3
[ 3604.643932] ehci_hcd 0000:00:10.3: devpath 6 ep0out 3strikes
[ 3604.643938] ehci_hcd 0000:00:10.3: dev0 ep0out qtd token 00080248 --> status -71
[ 3604.846883] ehci_hcd 0000:00:10.3: devpath 6 ep0out 3strikes
[ 3604.846891] ehci_hcd 0000:00:10.3: dev0 ep0out qtd token 00080248 --> status -71
[ 3605.049921] usb 4-6: device not accepting address 3, error -71
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home]
[Video for Linux]
[Photo]
[Yosemite Forum]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[Free Dating]