jadonk / beagleboard

Automatically exported from code.google.com/p/beagleboard
1 stars 0 forks source link

MUSB OTG: usb-to-ethernet link goes down sporadically #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect ASIX 88772A based USB-Ethernet adapter on the OTG port through a 
self powered hub. 
2. Run iperf on both beagle board and your host pc.

What is the expected output? What do you see instead?

The link should always be up during data transfer but it looks like the link 
goes down-up-down-up several times during data transfer. Because of such 
instability, the data rate & bandwidth goes down. Below is the test results 
captured on the beagle board OTG port. See messages "eth0: link up, 100Mbps, 
full-duplex, lpa 0x45E1"
Sometimes, the transfer rate goes below 60 Mbytes. 

I tested on EHCI port it works fine. On the EHCI port, the transfer rate is 112 
Mbytes even & no such issues. 

root@beagleboard:~# iperf -c 172.1.1.1
------------------------------------------------------------
Client connecting to 172.1.1.2, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 172.1.1.1 port 32817 connected with 172.1.1.2 port 5001
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   107 MBytes  89.7 Mbits/sec

What version of the product are you using? On what operating system?
I am using rev C4 board with beagleboardrevCvalidationv3 images. 

Please provide any additional information below.

Attached is the USB bus traffic when this error occurred. It looks like there 
are multiple control transfers that I think causing this issue. 

Original issue reported on code.google.com by kalaisel...@gmail.com on 2 Nov 2011 at 5:53

Attachments: