Bananian

USB Ethernet Adapter only works through non-powered hub

10 6887
mattrix  
Post Last Edited by mattrix at 2014-8-30 23:42

Hi,

I have a little USB -> Ethernet Adapter that I'm trying to make work with Bananian.
If I plug it directly into the Pi I get:

[  214.800952] ehci_irq: port change detect
[  214.970636] ehci_irq: port change detect
[  215.024529] hub 3-0:1.0: unable to enumerate USB device on port 1
[  215.044289] The port change to OHCI now!

And it won't work at all.

However, if I use a USB3.0 hub (non powered), it works fine:

HUB PLUGGED IN
[  309.546869] ehci_irq: port change detect
[  321.483367] ehci_irq: port change detect
[  321.764834] usb 3-1: new high-speed USB device number 6 using sw-ehci
[  321.942083] usb 3-1: New USB device found, idVendor=05e3, idProduct=0612
[  321.967845] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  321.990924] usb 3-1: Product: USB2.0 Hub
[  322.011459] usb 3-1: Manufacturer: GenesysLogic
[  322.034960] hub 3-1:1.0: USB hub found
[  322.055645] hub 3-1:1.0: 4 ports detected

ETHERNET ADAPTER PLUGGED INTO HUB
[  358.155676] usb 3-1.4: new full-speed USB device number 7 using sw-ehci
[  358.345551] usb 3-1.4: new high-speed USB device number 8 using sw-ehci
[  358.486485] usb 3-1.4: New USB device found, idVendor=0b95, idProduct=772a
[  358.523574] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  358.557494] usb 3-1.4: Product: AX88x72A
[  358.588843] usb 3-1.4: Manufacturer: ASIX Elec. Corp.
[  358.620729] usb 3-1.4: SerialNumber: *****
[  358.982271] asix 3-1.4:1.0: eth2: register 'asix' at usb-sw-ehci-1.4, ASIX AX88772 USB 2.0 Ethernet, ***MAC****


Any ideas?
mattrix  
Post Last Edited by mattrix at 2014-9-1 02:14

Post Last Edited by mattrix at 2014-9-1 01:53

Ok.

Have tried with a USB2.0 non-powered hub, and it detects the Ethernet adapter fine.
So, just doesn't detect it when directly plugged into the Pi...



Going to try with a few other Os's and see if it works in them (Raspbian etc)

UPDATE:

Raspbian - Same Error
Lubuntu - Same Error
Arch Linux - Same Error

Hmmmmm

Have tried on 2x different Banana Pi's.
I also have 5x of the same USB Ethernet adapters and they all do the same.

mattrix  
Looks like this cubieboard guy has the same issue:

https://github.com/cubieplayer/Cubian/issues/333

mattrix  
Going to try:

http://forum.lemaker.org/2657-1- ... ly_on_bananian.html

and see if a new kernel helps.

If you're compiling the kernel it would probably help to set the CONFIG_USB_DEBUG option.
That way you may get a bit more info from dmesg regarding the usb issue at hand.

mattrix  
Thanks.
I compiled kernel the other day and got same error.

I don't know much about the kernel config (never done before)
I have built OpenWRT before, so the style of the config is familiar.
I had just left everything as it was.

Will try setting that option and then see if we can get some good debug info

mattrix  
USB Debug Output

162.016247] ehci_irq: port change detect
[  162.020804] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0002
[  162.027791] sw-ehci sw-ehci.2: GetStatus port:1 status 001002 0  ACK POWER sig=se0 CSC
[  162.032986] hub 3-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
[  162.195477] hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
[  163.223374] ehci_irq: port change detect
[  163.227918] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0002
[  163.235359] sw-ehci sw-ehci.2: GetStatus port:1 status 001803 0  ACK POWER sig=j CSC CONNECT
[  163.240701] hub 3-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
[  163.405482] hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
[  163.416698] ehci_irq: port change detect
[  163.465832] sw-ehci sw-ehci.2: GetStatus port:1 status 001802 0  ACK POWER sig=j CSC
[  163.470958] hub 3-0:1.0: unable to enumerate USB device on port 1
[  163.492435] The port change to OHCI now!
[  163.496913] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0002

mattrix  
Going to try disable EHCI (USB 2.0) and also the OTG support.

mattrix  
Success!
Disabled EHCI HCD (USB 2.0) Support & Sunxi USB2.0 Dual Role Controller Support and now it works fine.

Going to just try disabling each one now to see which fixes it and then narrow down from there.

Hey,
i have the same problem with a Ralink RT5372 Wlan adapter.
How did you disable the EHCI HDC & Sunxi USB2.0 Dual Role Controller support?

thanks!

You have to log in before you can reply Login | Sign Up

Points Rules