Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

NSA325-v2 : USB 3.0 hub doesn't work with Zyxel FW v4.80 (1 reply)

$
0
0
Hello,
I connected a USB3.0 HUB to the NSA325-v2 USB3.0 connector in the front. USB3.0 devices which are connected to the USB3.0 HUB, e.g. harddisks, are no recognized by the firmware. USB2.0 devices connected to the USB3.0 HUB are working.

demesg messages after connection of USB3.0 HUB to NSA325-v2:
usb 2-3: new high speed USB device using xhci_hcd and address 0
In hub_port_init, and number is 2, retry 0, port 3 .....
usb 2-3: configuration #1 chosen from 1 choice
usb 2-3: ep 0x81 - rounding interval to 2048 microframes
hub 2-3:1.0: USB hub found
xhci_hcd 0000:00:01.0: WARN: short transfer on control ep
hub 2-3:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device using xhci_hcd and address 3
In hub_port_init, and number is 3, retry 0, port 1 .....
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: ep 0x83 - rounding interval to 128 microframes
hub 2-1:1.0: USB hub found
xhci_hcd 0000:00:01.0: WARN: Stalled endpoint
xhci_hcd 0000:00:01.0: WARN: Stalled endpoint
xhci_hcd 0000:00:01.0: WARN: Stalled endpoint
hub 2-1:1.0: config failed, can't read hub descriptor (err -22)

demesg messages after connection a USB3.0 harddisk to the USB3.0 HUB:
--- nothing ---

Possibly this is a problem of the used kernel xhci-module: http://www.spinics.net/lists/linux-usb/msg47864.html
Hi, Sarah!

> There are two patches that Greg pushed to Linus yesterday that should
> solve this issue:
>
> e2b0217 xhci: Add defines for hardcoded slot states
> 001fd38 xhci: Do not issue device reset when device is not setup
>
> If you test with latest tree, it should fix your issue. The patches are
> marked as being bound for the stable trees.
>
> Let me know if you run into any other problems with the Etron xHCI host.

I applied the two patches (with minimal adjustments) to a 2.6.39 kernel and
they worked well!

I append the kernel log created by attaching a USB-3-pen-drive. It contains
several warnings. I'm also not sure, whether the pen-drive works at its full
speed (I benchmarked about 37MB/s (read), but expected about 70 to 90MB/s).

Lots of thanks to you, Greg and all the others involved for this great support!

Greetings, Michael

I've got the source code but don't have sufficient knowledge to fix the xhci kernel module. I don't want to replace the original kernel due to performance issues. Can anybody help to fix the module so that USB3.0 devices are working with original FW/kernel if they are connected through a USB3.0 hub? I will send you the links to the source code on PN request because I don't know if I can share the links and passwords officially.

Regards.
shv

Viewing all articles
Browse latest Browse all 3247

Trending Articles