Aquantia Aqtion Aqc111U 5gbe USB NIC Adapter

I'm having a hard time finding the drivers that will work with this adapter. I have the Linux, windows, and Mac drivers, but it appears there's no support in OpenWrt 19.07.6 installed on AMD64 hardware. There only external device connected is the 5gbe usb dongle.

 dmesg | grep USB
[    0.852687] ACPI: bus type USB registered
[    1.635671] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.652024] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 1
[    1.700094] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    1.706341] hub 1-0:1.0: USB hub found
[    1.714565] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.730464] uhci_hcd: USB Universal Host Controller Interface driver
[    1.742217] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.760308] hub 2-0:1.0: USB hub found
[    1.776019] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[    1.783422] xhci_hcd 0000:00:14.0: Host supports USB 3.0  SuperSpeed
[    1.790310] hub 3-0:1.0: USB hub found
[    1.867777] usbhid: USB HID core driver
[    2.080132] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    2.140077] usb 2-5: new high-speed USB device number 2 using xhci_hcd
[    2.280653] hub 1-1:1.0: USB hub found
[    2.480429] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[    7.570388] usb 2-5: reset high-speed USB device number 2 using xhci_hcd

Do you have the source code? If so you can compile it against the OpenWrt kernel.

I have the linux driver parts (aqc111.c)...

It's now built into 5.x kernel, but the version of OpenWrt I'm running is 4.14.215...

I think the last time I compiled a driver, I had a hewlett packard 386:-) I'm a bit rusty.

Screen Shot 2021-01-26 at 10.41.01 AM

It can see it:

 Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
D:  Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  2
P:  Vendor=2eca ProdID=c101 Rev= 1.01
S:  Manufacturer=Aquantia
S:  Product=Sabrent 2.5G Network Adapter
S:  SerialNumber=0000001L
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=896mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
C:* #Ifs= 2 Cfg#= 2 Atr=80 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

try master snapshots - it's using linux 5.4

Appreciate the suggestion. I don't mind using snapshots in my lab, but not on my main router. I think I'll buy a 5gbe adapter that is currently supported in AMD64 architecture. I just have to find out which adapters are supported...

In the mean time the kernel for stable 23.05.2 reached 5.15, so AQC111U should in theory be working. Some posts state working connections (e.g. Updating OpenWrt when you need a USB Ethernet driver - #6 by frollic).
I tried it on kernel 5.15 (Turris Omnia 6.4.4, based upon OpenWrt 21.02) and it doesn't work. Does someone know how to troubleshoot that situation?

root@turris:~# lsusb
Bus 004 Device 001: ID 1d6b:0002 Linux 5.15.135 xhci-hcd xHCI Host Controller
Bus 005 Device 003: ID 1c04:0015 QNAP▒ Pacific▒
[ ... ]
[ 2768.079584] usb 5-1: new SuperSpeed USB device number 3 using xhci-hcd
[ 2991.436031] kmodloader: loading kernel modules from /etc/modules.d/*
[ 2991.444759] usbcore: registered new interface driver aqc111
[ 2991.451052] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 2991.464188] aqc111 5-1:1.0 eth3: register 'aqc111' at usb-f10f8000.usb3-1, QNAP QNA-UC5G1T USB to 5GbE Adapter, [...MAC...]
[ 2991.678116] br-lan: port 1(eth3) entered blocking state
[ 2991.683381] br-lan: port 1(eth3) entered disabled state
[ 2991.688742] device eth3 entered promiscuous mode
[ 2991.693456] br-lan: port 1(eth3) entered blocking state
[ 2991.698703] br-lan: port 1(eth3) entered forwarding state
[ 2991.704476] br-lan: port 1(eth3) entered disabled state

When connecting a ethernet cable, the LEDS start to blink, but there is no connectivity at all. The adapter works perfectly well when used with Windows.

Ask Turris, we have nothing to do with their "Openwrt".