Drivers for USB 3.0 to Ethernet 2.5/5 Gbit


Recommended Posts

USB 3.0 (USB 3.2 Gen1) dongles have appeared in the market supporting ethernet RJ45 adaptors with 2.5/5.0 GBit speed.

 

e.g:

https://www.club-3d.com/en/detail/2467/usb_3.2_gen1_type_a_to_rj45_2.5gbps/

https://www.qnap.com/en/product/qna-uc5g1t

 

It would be great if someone would be able to develop drivers so that we can use these dongles with Xpenology or even synology NASs.

Is anyone knowledgable and interested enough to give it a go?

Link to post
Share on other sites
  • 2 weeks later...
  • 3 months later...

I can't seem to get the link to work over 1000Mbps

In the Aqantia driver readme it says:

 

Supported ethtool options
============================
 Viewing adapter settings
 ---------------------
 ethtool <ethX>
 
 Output example:
 Settings for enp1s0:
        Supported ports: [ ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 10000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Link detected: yes

 ---
 Note: AQrate speeds (2.5/5 Gb/s) will be displayed only with linux kernels > 4.10.
    But you can still use these speeds:
    ethtool -s eth0 autoneg off speed 2500

 

root@TerraServer:~# ethtool eth2
Settings for eth2:
        Supported ports: [ TP MII ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
 

root@TerraServer:~# ethtool -s eth2 autoneg off speed 5000
Cannot set new settings: Invalid argument
  not setting speed
  not setting autoneg


root@TerraServer:~# ethtool --version
ethtool version 3.13
 

This has been successfully tested on a real DS918+ but I'm not sure what the problem is here

 

 

Link to post
Share on other sites

that's a different driver for the pcie cards, i know because i compiled both for the new 918+ extra.lzma

the 1.3.3 is the one or the usb, the chip you would have to select ends with a "U" like usb

the 1.3.3 has a release date of 08 July 2019, so its not old

 

Link to post
Share on other sites

update, so it seems my adapter is only running at USB2 speeds and thus the NIC limits link speed to 1Gb.

lsusb
1c04:0015:0101 00  2.10  480MBit/s 500mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
it is indeed plugged into a USB 3.0 port, why would the USB be falling back to USB2 speed?

 

I need to go look in my bios a lil.. I'm wondering if I have XHCI hand-off enabled

Edited by Black6spdZ
Link to post
Share on other sites

checked bios and xhci hand-off is enabled already. i'm running 918+ image

administrator@TerraServer:/$ lsusb
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__1-1         f400:f400:0127 00  2.00  480MBit/s 200mA 1IF  (SanDisk Cruzer Fit 4C530006041227100443)
  |__1-2         1c04:0015:0101 00  2.10  480MBit/s 500mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
  |__1-4         046b:ff01:0100 09  2.00  480MBit/s 100mA 1IF  (American Megatrends Inc. Virtual Hub) hub
    |__1-4.1     046b:ff10:0100 00  1.10  1.5MBit/s 0mA 2IFs (American Megatrends Inc. Virtual Keyboard and Mouse ffffffd1ffffffa2ffffffd7ffffffb8)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
|__usb3          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1a.0) hub
  |__3-1         8087:8008:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffad) hub
|__usb4          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1d.0) hub
  |__4-1         8087:8000:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffa0) hub

 

the bootloader drive is 2.0.. that wouldn't cause everything on that root hub/ports to fall back to usb2?

Link to post
Share on other sites
20 hours ago, Black6spdZ said:

. that wouldn't cause everything on that root hub/ports to fall back to usb2?

that what it looks like in your lsusb

usb1 shows only 480Mbit

 

20 hours ago, Black6spdZ said:

|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub

that would be best choice to connect the nic, 5000Mbit and no other device

 but i guess you already tried?

Link to post
Share on other sites

there are two usb3 ports on the back, one has the sandisk bootloader drive and the other has the qnap nic.. I've been searching and see others with similar issues with other versions of linux kernels.. some fixed with bios settings, others with newer kernels.. i'm lost.

Link to post
Share on other sites
20 hours ago, Black6spdZ said:

there are two usb3 ports on the back, one has the sandisk bootloader drive and the other has the qnap nic..

 

i see 2 options, get a usb onboard connector and connect the sandisk to the internal usb 2.0 connector, that way the usb 3.0 will not be shared

or get a usb 3.0 flash drive so sharing will not decrease usb 3.0 port speed

Edited by IG-88
Link to post
Share on other sites

damn it to hell.. switched to a usb3 flash drive for my loader key and STILL only get usb2 speeds

administrator@TerraServer:/$ lsusb
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__1-1         1c04:0015:0101 00  2.10  480MBit/s 500mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
  |__1-2         f400:f400:0100 00  2.10  480MBit/s 300mA 1IF  (Kingston DataTraveler 3.0 0014785448B1BE10D742118C)
  |__1-4         046b:ff01:0100 09  2.00  480MBit/s 100mA 1IF  (American Megatrends Inc. Virtual Hub) hub
    |__1-4.1     046b:ff10:0100 00  1.10  1.5MBit/s 0mA 2IFs (American Megatrends Inc. Virtual Keyboard and Mouse ffffffd1ffffffa2ffffffd7ffffffb8)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
 

Link to post
Share on other sites

finally!!! I had to set manual xhci mode and force all usb pins in bios options to go to xhci instead of just auto setting

administrator@TerraServer:/$ lsusb
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__1-4         046b:ff01:0100 09  2.00  480MBit/s 100mA 1IF  (American Megatrends Inc. Virtual Hub) hub
    |__1-4.1     046b:ff10:0100 00  1.10  1.5MBit/s 0mA 2IFs (American Megatrends Inc. Virtual Keyboard and Mouse ffffffd1ffffffa2ffffffd7ffffffb8)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__2-1         1c04:0015:0101 00  3.20 5000MBit/s 896mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
  |__2-2         f400:f400:0100 00  3.00 5000MBit/s 504mA 1IF  (Kingston DataTraveler 3.0 0014785448B1BE10D742118C)
|__usb3          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1a.0) hub
  |__3-1         8087:8008:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffad) hub
|__usb4          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1d.0) hub
  |__4-1         8087:8000:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffa0) hub
 

so others in my situation with mini-itx nas builds and using their single pcie slot for a SAS controller now have an option for >1Gbe network throughput

 

5gbe-2.jpg

.

 

5gbe.jpg

Edited by Black6spdZ
  • Like 2
Link to post
Share on other sites
  • 5 months later...

Got club3D CAC-1420 and Digitus DN-3025 coming tomorrow, both Realtek RTL8156 2.5gbe.

 

Anyone know if maybe r8152-apollolake-2.12.0-2.spk driver from bb-qq would work on a haswell(GA-Z87X-UD5H,4670k,club3d 2.5gbe) ds918 1.04b loader?

 

DS918+ is listed as Apollolake package arch.

 

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.