Ethernet doesn't work on Origen when the usb host interface works as a usb 2.0

Bug #863451 reported by Zach Pfeffer
36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
High
Botao
Linaro Ubuntu
Fix Released
Medium
Unassigned
linaro-landing-team-samsung
Fix Released
Medium
Sangwook Lee

Bug Description

Ethernet doesn't work when using the Ethernet port on an Addlogix USB 2.0 3 port hub.

Zach Pfeffer (pfefferz)
Changed in linaro-android:
status: New → Confirmed
status: Confirmed → New
milestone: none → 11.10
assignee: nobody → Botao Sun (botao-sun)
importance: Undecided → High
Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: High → Medium
Revision history for this message
Botao (botao-sun) wrote :
Download full text (3.5 KiB)

As Sangwook's suggestion, I tried my Ethernet adapter on Linaro "nano-n-tar-20111017.tar.gz" image, and it works there:

#######################################################################
root@linaro-nano:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1a:70:90:4d:49
          inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::21a:70ff:fe90:4d49/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1582 (1.5 KB) TX bytes:1886 (1.8 KB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@linaro-nano:~# ping www.apple.com
PING e3191.c.akamaiedge.net (118.215.189.15) 56(84) bytes of data.
64 bytes from a118-215.189-15.deploy.akamaitechnologies.com (118.215.189.15): is
64 bytes from a118-215.189-15.deploy.akamaitechnologies.com (118.215.189.15): is
64 bytes from a118-215.189-15.deploy.akamaitechnologies.com (118.215.189.15): is
64 bytes from a118-215.189-15.deploy.akamaitechnologies.com (118.215.189.15): is
64 bytes from a118-215.189-15.deploy.akamaitechnologies.com (118.215.189.15): is
^C
--- e3191.c.akamaiedge.net ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 130.163/130.367/130.626/0.434 ms
root@linaro-nano:~# ping www.google.com
PING www.l.google.com (72.14.203.106) 56(84) bytes of data.
64 bytes from tx-in-f106.1e100.net (72.14.203.106): icmp_req=1 ttl=41 time=228 s
64 bytes from tx-in-f106.1e100.net (72.14.203.106): icmp_req=2 ttl=41 time=228 s
64 bytes from tx-in-f106.1e100.net (72.14.203.106): icmp_req=3 ttl=41 time=229 s
64 bytes from tx-in-f106.1e100.net (72.14.203.106): icmp_req=4 ttl=41 time=230 s
64 bytes from tx-in-f106.1e100.net (72.14.203.106): icmp_req=5 ttl=41 time=227 s
^C ...

Read more...

Changed in linaro-android:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Botao (botao-sun) wrote :

I also tried the "alip-n-tar-20111017-0.tar.gz", and the Ethernet adapter works well too.

Revision history for this message
Botao (botao-sun) wrote :

On build 29: https://android-build.linaro.org/builds/~linaro-android/staging-origen/#build=29, here is the serial output when I plug out and plug in my Ethernet adapter:

# <6>usb 1-1: USB disconnect, device number 2
usb 1-1: USB disconnect, device number 2
<6>usb 1-1: new high speed USB device number 3 using s5p-ehci
usb 1-1: new high speed USB device number 3 using s5p-ehci

The Ethernet can be enabled from the setting menu successfully, but the device list is still empty. You can find the kmsg and logcat output in attachment.

Sangwook Lee (sangwook)
Changed in linaro-landing-team-samsung:
assignee: nobody → Sangwook Lee (sangwook)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Sangwook Lee (sangwook) wrote :

The log message only shows the USB host detection, doesn't tell us whether it loaded USB net client or not.
Since you are using AX8817 chip, The file related CONFIG_USB_NET_AX8817X must be compiled.

Could you have a binary file : kernel/drivers/net/usb/asix.o or asix.ko ?

Revision history for this message
Sangwook Lee (sangwook) wrote :

the kernel options got dropped between 2011.09 and 2011.10 and this will be added.

Changed in linaro-landing-team-samsung:
status: In Progress → Fix Committed
Revision history for this message
Botao (botao-sun) wrote :

I'm afraid that the chip model is not AX8817, it should be ASIX AX88772. This is the output of dmsg command:

[26717.295119] asix 1-3:1.0: eth1: register 'asix' at
usb-0000:00:02.1-3, ASIX AX88772 USB 2.0 Ethernet, 00:1a:70:90:4d:49
[26717.685435] eth1: link down
[26717.687946] ADDRCONF(NETDEV_UP): eth1: link is not ready
[26719.286949] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[26719.290277] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
[26729.600012] eth1: no IPv6 routers present

Check the email with the title "Re: Hi Sachin, is there possible to enable the ethernet on Origen?".

Revision history for this message
Sangwook Lee (sangwook) wrote :

No problem, asix.ko will be covering ASIX AX88772 as well !

Sangwook Lee (sangwook)
Changed in linaro-landing-team-samsung:
status: Fix Committed → In Progress
Revision history for this message
Botao (botao-sun) wrote :

With the staging-origen build 32: https://android-build.linaro.org/builds/~linaro-android/staging-origen/#build=32, the Ethernet adapter can be recognised and "ping" command can be executed successfully. However, the web browser can't open any web page.

I also find that sometimes I run the "ping" command, there are some error information which looks come from the kernel. The log file can be found in attachment.

Another thing is about the kernel module "cfg80211.ko". I mention it because it appears in the kmsg log file. But even I rmmod this module, the browser still can't open any web page. Currently, the module "cfg80211.ko" will be loaded during the board boots up because I have added it into the "init.origen.rc" file.

Except the log file in attachment, you can try to get the error message like this:

1. busybox ping www.google.com, it will work well.

2. terminate the ping command, open web browser then let it load the www.google.com

3. the www.google.com can't be loaded, then exit the web browser, run step 1 again, then you will get the error message.

And I also find the ping command will be no response if you run it after the web browser launched.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

What's the adapters name? If its not eth0 we probably need a patch to the Ethernet Configuration Manager.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

In kmsg_output_111020_1st.txt I see:

<6>asix 1-1:1.0: eth0: register 'asix' at usb-s5p-ehci-1, ASIX AX88772 USB 2.0 Ethernet, 00:1a:70:90:4d:49

so it looks right,

Did you try Disabling the reenabling Ethernet, and booting up with the USB Ethernet adapter plugged in?

Revision history for this message
Sangwook Lee (sangwook) wrote :

@Botao

Could you run above without "cfg80211.ko" and then let me get kernel log message ?
cfg80211.ko is not necessary to run asix.ko, I want to know whether this kernel panic is relating to cfg80211.ko or not

Revision history for this message
Sangwook Lee (sangwook) wrote :

One more, the kernel log is indicating kernel _warning_, so this should have no relation to the browsing problem.
when the web browser is not working, please run ping.

Revision history for this message
Botao (botao-sun) wrote :

The adapter name is "eth0", it shows in the "Ethernet Device" drop down list of "Ethernet configuration" menu, nothing else in that drop down list. The adapter looks work, otherwise, I can't get the correct response from "ping" command. And because I use URL as the parameter, the DNS looks work well too.

I tried disable and enable the Ethernet, but the browser still can't show the web page. The adapter always plugged in the Origen board. I also tried plug it out then plug it in again, I got same issue. Another issue is if the board already booted up, then I plug out adapter and plug it in again, I can't enable Ethernet once more. Likes WIFI module, Ethernet can't pass the "enable-disable" test if I do "Plug-out and Plug-in" action after board booted up.

If we execute the "ping" command after the browser shows "Web page not available" screen, we almost 100% can get that exception which is in the kmsg output. This is a reproducable defect.

Revision history for this message
Botao (botao-sun) wrote :

In order to run without the module "cfg80211.ko", I need to make a new build because the "insmod /system/modules/cfg80211.ko" has been added into the "init.origen.rc" file and all the contents in that file has been compiled to a binary file "uInitrd".

I tried "rmmod cfg80211.ko", then disable and enable the Ethernet, but I got same issue, same error message. So this error looks like no relevant with the module cfg80211.ko.

Although I got that kernel error message after I execute "ping" command, the "ping" command still can be executed successfully after that kernel error message shows up, and the feedback is correct too. That means even in this situation, the Ethernet still works.

Revision history for this message
Botao (botao-sun) wrote :

By the way, I just tried, without "insmod /system/modules/cfg80211.ko", the WIFI can't be launched and it shows "error" string under the "WIFI" icon in setting menu. So I can't remove it from the "init.origen.rc" file.

Revision history for this message
Sangwook Lee (sangwook) wrote :

Could you run with another USB Ethernet , not ASIX to verify whether this problem is coming from drivers/net/usb/asix.c or not ?

Revision history for this message
Botao (botao-sun) wrote :
Download full text (6.5 KiB)

About the "plug-in and plug-out":

1. If the adapter is plugged in before the board boots up:

Disable and enable can be executed correctly, and "ping" command can be executed correctly.

2. If the adapter is plugged in after the board boots up:

Disable and enable can be executed correctly, but there is no "Ethernet" icon in the upper right corner. "ping" command can't be executed correctly except do a Ethernet "disable and enable" action then execute "setprop net.dns1 192.168.1.1" to set DNS first. But even set DNS manually, "ping" command doesn't always work, see log below:
###########################################################
# ping www.google.com
ping: unknown host www.google.com
# setprop net.dns1 192.168.1.1
# ping www.google.com
PING www.l.google.com (74.125.71.103) 56(84) bytes of data.
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=1 ttl=41 time=238 s
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=2 ttl=41 time=232 s
ping: sendmsg: Network is unreachable
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=4 ttl=41 time=241 s
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=5 ttl=41 time=238 s
ping: sendmsg: Network is unreachable
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=7 ttl=41 time=237 s
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=8 ttl=41 time=238 s
ping: sendmsg: Network is unreachable
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=10 ttl=41 time=237s
64 bytes from hx-in-f103.1e100.net (74.125.71.103): icmp_seq=11 ttl=41 time=231s
ping: sendmsg: Network is unreachable
^C
--- www.l.google.com ping statistics ---
12 packets transmitted, 8 received, 33% packet loss, time 11006ms
rtt min/avg/max/mdev = 231.590/237.083/241.630/3.237 ms
# ping www.google.com
ping: unknown host www.google.com
# ping www.google.com
ping: unknown host www.google.com

[init.svc.dhcpcd_eth0]: [running]
[dhcp.eth0.result]: [ok]
[dhcp.eth0.pid]: [9361]
[dhcp.eth0.reason]: [BOUND]
[dhcp.eth0.dns1]: [211.147.6.3]
[dhcp.eth0.dns2]: [8.8.8.8]
[dhcp.eth0.dns3]: []
[dhcp.e...

Read more...

Revision history for this message
Botao (botao-sun) wrote :

I don't have another USB Ethernet adapter on my side, I just have this Linksys USB200M v2.1. I use this one because Angus told me that this is what he used, and he also confirmed that it works on his side, so I bought it.

If I'm going to buy another USB Ethernet adapter, which model should I choose? I need to pick one which is supported by our current kernel.

Revision history for this message
Sangwook Lee (sangwook) wrote :

I can list the USB Ethernet Chips:
Please see the below. CONFIG_USB_XXXX
where XXXX is model name.
if this works with your Ubuntu desktop. it will be used also in Origen

obj-$(CONFIG_USB_CATC) += catc.o
obj-$(CONFIG_USB_KAWETH) += kaweth.o
obj-$(CONFIG_USB_PEGASUS) += pegasus.o
obj-$(CONFIG_USB_RTL8150) += rtl8150.o
obj-$(CONFIG_USB_HSO) += hso.o
obj-$(CONFIG_USB_NET_AX8817X) += asix.o
obj-$(CONFIG_USB_NET_CDCETHER) += cdc_ether.o
obj-$(CONFIG_USB_NET_CDC_EEM) += cdc_eem.o
obj-$(CONFIG_USB_NET_DM9601) += dm9601.o
obj-$(CONFIG_USB_NET_SMSC75XX) += smsc75xx.o
obj-$(CONFIG_USB_NET_SMSC95XX) += smsc95xx.o
obj-$(CONFIG_USB_NET_GL620A) += gl620a.o
obj-$(CONFIG_USB_NET_NET1080) += net1080.o
obj-$(CONFIG_USB_NET_PLUSB) += plusb.o
obj-$(CONFIG_USB_NET_RNDIS_HOST) += rndis_host.o
obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
obj-$(CONFIG_USB_NET_MCS7830) += mcs7830.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
obj-$(CONFIG_USB_NET_INT51X1) += int51x1.o
obj-$(CONFIG_USB_CDC_PHONET) += cdc-phonet.o
obj-$(CONFIG_USB_NET_KALMIA) += kalmia.o
obj-$(CONFIG_USB_IPHETH) += ipheth.o
obj-$(CONFIG_USB_SIERRA_NET) += sierra_net.o
obj-$(CONFIG_USB_NET_CX82310_ETH) += cx82310_eth.o
obj-$(CONFIG_USB_NET_CDC_NCM) += cdc_ncm.o
obj-$(CONFIG_USB_VL600)

Revision history for this message
Sangwook Lee (sangwook) wrote :

@Botao,

Current asix seems not stable. please see the below.
They show the exact same error you are facing.

http://lists.openwall.net/netdev/2011/07/06/107
http://markmail.org/message/5nb7hhcd4daask6m

Revision history for this message
Botao (botao-sun) wrote :

Maybe the ASIX AX series driver is not stable enough, but at least it works well on my desktop ubuntu computer. I disabled my main board network interface and only use that USB adapter as my Ethernet adapter, I can access Google, can use the IRC, and it also passed the plug out and plug in test on my computer. After plug it out then plug it in, everything works well.

From your side, you can buy 2 different USB Ethernet adapter, 1 is the exactly same as I use; another one is any other adapter which contains the chip we currently support. Then we can make a test and comparison.

Sangwook Lee (sangwook)
Changed in linaro-landing-team-samsung:
importance: Medium → Low
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

I don't think this is a low priority. The ECM has been show to work on every other target. We need to have some network with this target and this is our best shot.

Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

Can you "busybox wget http://google.com/" or the likes? Let's see if this is something specific to the browser...

Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: Medium → High
Revision history for this message
Botao (botao-sun) wrote :

The busybox wget works well:

# busybox wget http://google.com/
Connecting to google.com (72.14.203.147:80)
Connecting to www.google.com.hk (74.125.31.99:80)
Connecting to www.google.com.hk (74.125.31.99:80)
index.html 100% |*******************************| 10574 0:00:00 ETA

Revision history for this message
Botao (botao-sun) wrote :

From now, please add comments to the bug 878979: https://bugs.launchpad.net/linaro-android/+bug/878979, that's a more specific bug for further circumstance and discussion.

Changed in linaro-android:
status: In Progress → Fix Committed
Changed in linaro-landing-team-samsung:
status: In Progress → Fix Committed
Revision history for this message
Botao (botao-sun) wrote :

Anything about "plug out & plug in" issue, please add comments to the bug 879497: https://bugs.launchpad.net/linaro-android/+bug/879497

Revision history for this message
Zach Pfeffer (pfefferz) wrote :
Changed in linaro-android:
status: Fix Committed → Confirmed
Revision history for this message
Botao (botao-sun) wrote :

WIFI works on build: https://android-build.linaro.org/builds/~linaro-android/staging-origen-11.10-release/#build=5

One thing should be noticed that in order to let it works, the ath6k firmware must be transferred to the path "/system/etc/firmware" on SD card. You can find the firmware in attachment of comment #21 of bug 851006.

Attachment is the snapshot after I enabled WIFI then launched the browser.

Revision history for this message
Botao (botao-sun) wrote :

Sorry for comment #28, I put it in a wrong place...

Revision history for this message
Botao (botao-sun) wrote :

The fix of this bug has been committed, however, some parts of this issue still exist after fix committed. So this bug will be marked fix committed and the new bugs can be found here:

1. Browser can't show any web page on Origen board with USB Ethernet adapter: https://bugs.launchpad.net/linaro-android/+bug/878979

2. Origen Ethernet can't pass the "plug out & plug in" test: https://bugs.launchpad.net/linaro-android/+bug/879497

Also refer to comments #25 and #26.

Changed in linaro-android:
status: Confirmed → Fix Committed
Revision history for this message
Tony Mansson (tony-mansson) wrote :

Since build=5 is the release build for staging Origen, this fix is considered to be released.

Changed in linaro-android:
status: Fix Committed → Fix Released
Changed in linaro-landing-team-samsung:
status: Fix Committed → Fix Released
Usman Ahmad (usman-ah)
Changed in linaro-landing-team-samsung:
milestone: none → 2011.10
Revision history for this message
Botao (botao-sun) wrote :

Add this link for more information: http://www.sustworks.com/site/news_usb_ethernet.html

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

On the Ubuntu LEB side this seems to be related with the way the usb interface is detected at Origen.

With the latest kernel available at the Samsung PPA (linux-image-3.0.0-1000-origen_3.0.0-1000.0samsung22), the usb host interface is working as a usb 1.1 root hub device, but then all the extra devices I plug work as expected (including 2 different usb ethernet devices). The only problem is that the speed you get is not the best it could offer, as the ethernet usb device acts as a usb 1.1 one.

root@linaro-ubuntu-desktop:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 007: ID 0b95:772a ASIX Electronics Corp.
root@linaro-ubuntu-desktop:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=s5p-ohci/3p, 12M
    |__ Port 1: Dev 6, If 0, Class=hub, Driver=hub/4p, 12M
        |__ Port 4: Dev 7, If 0, Class=vend., Driver=asix, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M

With the samsung19 kernel, the usb host interface works as a usb 2.0 root hub device, but then the ethernet usb adapters don't work as expected, failing to connect and dropping packages easily.

root@linaro-ubuntu-desktop:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 005: ID 0b95:772a ASIX Electronics Corp.
root@linaro-ubuntu-desktop:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=s5p-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
    |__ Port 1: Dev 4, If 0, Class=hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 5, If 0, Class=vend., Driver=asix, 480M

So it seems that this is directly related on how the USB Host interface is identified by the kernel.

Changed in linaro-ubuntu:
importance: Undecided → Medium
status: New → Confirmed
Changed in linaro-landing-team-samsung:
status: Fix Released → Confirmed
summary: - Ethernet doesn't work on Origen on build 2 of 11.09 staging-origen
+ Ethernet doesn't work on Origen when the usb host interface works as a
+ usb 2.0
Changed in linaro-landing-team-samsung:
assignee: Sangwook Lee (sangwook) → Tushar Behera (tusharbehera)
Changed in linaro-landing-team-samsung:
importance: Low → Medium
tags: added: linaro-ubuntu lt-origen usb-host
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Still happening with 12.01 RC: hwpack_linaro-leb-origen_20120123-1_armel_supported.tar.gz (linux-image-3.2.0-1000-origen 3.2.0-1000.0samsung14).

root@linaro-ubuntu-desktop:~# lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/4p, 12M
        |__ Port 1: Dev 6, If 0, Class=HID, Driver=usbhid, 1.5M
        |__ Port 1: Dev 6, If 1, Class=HID, Driver=usbhid, 1.5M
        |__ Port 2: Dev 4, If 0, Class=HID, Driver=usbhid, 12M
        |__ Port 2: Dev 4, If 1, Class=HID, Driver=usbhid, 12M
        |__ Port 3: Dev 7, If 0, Class=stor., Driver=usb-storage, 12M
        |__ Port 4: Dev 5, If 0, Class=vend., Driver=asix, 12M

Usman Ahmad (usman-ah)
Changed in linaro-landing-team-samsung:
milestone: 2011.10 → 2012.02
Changed in linaro-landing-team-samsung:
assignee: Tushar Behera (tusharbehera) → Chander Mohan Kashyap (chander-kashyap)
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Issue as described by comment #34 still happening with the 12.02 RC image.

Revision history for this message
Sangwook Lee (sangwook) wrote :
Download full text (6.0 KiB)

@Chander

I know you are testing this. Maybe we can share information.

Could you run this patch and then share the results as well ?

--------------------------------------------------------------------
I am attaching the patch
base on
git git://git.linaro.org/landing-teams/working/samsung/kernel.git
branch : enabled-3.3 or samsung-lt-v3.3-rc2
---------------------------------------------------------------
I tested the attached patch:
Without this patch,
     1) ping works fine from x86 <-> Origen
     2) scp command not working: ex. scp dev@192.168.10.2:/home/dev/linaro/sample200MB

With patch (attached)
    1) ping works both ways
    2) scp dev@192.168.10.2:/home/dev/linaro/sample200MB
        11.1MB/s from x86 to Origen

===========================
root@linaro-desktop:/tmp/mnt# lsusb
Bus 001 Device 002: ID 9710:7830 MosChip Semiconductor MCS7830 10/100 Mbps Ethernet adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

==============================
root@linaro-desktop:/tmp/mnt# lsusb -v

Bus 001 Device 002: ID 9710:7830 MosChip Semiconductor MCS7830 10/100 Mbps Ethernet adapter
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 0
  bDeviceProtocol 255
  bMaxPacketSize0 64
  idVendor 0x9710 MosChip Semiconductor
  idProduct 0x7830 MCS7830 10/100 Mbps Ethernet adapter
  bcdDevice 1.00
  iManufacturer 1 Moschip Semiconductor
  iProduct 2 USB-MAC Controller
  iSerial 3 3ca10106
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 39
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 255
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 255
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 255
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83...

Read more...

Revision history for this message
Sangwook Lee (sangwook) wrote :

continued

root@linaro-desktop:/tmp/mnt# lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=vend., Driver=MOSCHIP usb-ethernet driver, 480M

Revision history for this message
Mans Rullgard (mansr) wrote :

That patch fixes the problem for me.

Revision history for this message
Sangwook Lee (sangwook) wrote :

@Mans

Can I add you into the patch in order to submit the mainline kernel as like the following ?

Tested-by: Mans Rullgard <email address hidden>

Changed in linaro-landing-team-samsung:
assignee: Chander Mohan Kashyap (chander-kashyap) → Sangwook Lee (sangwook)
Usman Ahmad (usman-ah)
Changed in linaro-landing-team-samsung:
milestone: 2012.02 → 2012.03
Sangwook Lee (sangwook)
Changed in linaro-landing-team-samsung:
status: Confirmed → Fix Committed
Changed in linaro-landing-team-samsung:
status: Fix Committed → Fix Released
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Working fine with the 12.03 RC image.

Changed in linaro-ubuntu:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.