This device: https://oemdrivers.com/network-asix-ax88179-driver
On the same box it works plug-and-play with windows10.
On openSUSE, upon connecting it I get:
[92468.690359] usb 6-1.4: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[92468.964425] usb 6-1.4: New USB device found, idVendor=**0b95**, idProduct=**1790**, bcdDevice= 2.00
[92468.964429] usb 6-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[92468.964431] usb 6-1.4: Product: AX88179A
[92468.964433] usb 6-1.4: Manufacturer: ASIX
[92468.964435] usb 6-1.4: SerialNumber: 00809D09
[92469.101756] ax88179_178a 6-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
... (a dozen or more similar lines)
[92469.682584] ax88179_178a 6-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0000: -32
[92469.682871] ax88179_178a 6-1.4:2.0 eth1: register 'ax88179_178a' at usb-0000:09:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, ca:b6:2f:bd:a8:53
[92469.763511] ax88179_178a 6-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
... (a dozen or more similar lines)
[92470.344282] ax88179_178a 6-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0000: -32
[92470.344580] ax88179_178a 6-1.4:2.1 eth2: register 'ax88179_178a' at usb-0000:09:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, ca:b6:2f:bd:a8:53
[92470.344615] usbcore: registered new interface driver ax88179_178a
[92470.351539] usbcore: registered new interface driver cdc_ncm
[92470.355301] usbcore: registered new interface driver cdc_wdm
[92470.358127] usbcore: registered new interface driver cdc_mbim
[92470.413168] ax88179_178a 6-1.4:2.1 eth2: Failed to write reg index 0x0006: -32
[92471.407480] ax88179_178a 6-1.4:2.0 eth1: Failed to write reg index 0x0006: -32
[92472.463577] ax88179_178a 6-1.4:2.0 eth1: unregister 'ax88179_178a' usb-0000:09:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[92472.484717] ax88179_178a 6-1.4:2.0 eth1 (unregistered): Failed to write reg index 0x0002: -71
[92472.485017] ax88179_178a 6-1.4:2.0 eth1 (unregistered): Failed to write reg index 0x0001: -71
[92472.485326] ax88179_178a 6-1.4:2.0 eth1 (unregistered): Failed to write reg index 0x0002: -71
[92472.485368] ax88179_178a 6-1.4:2.1 eth2: unregister 'ax88179_178a' usb-0000:09:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[92472.512588] ax88179_178a 6-1.4:2.1 eth2 (unregistered): Failed to write reg index 0x0002: -71
[92472.512885] ax88179_178a 6-1.4:2.1 eth2 (unregistered): Failed to write reg index 0x0001: -71
[92472.513192] ax88179_178a 6-1.4:2.1 eth2 (unregistered): Failed to write reg index 0x0002: -71
[92473.092008] usb 6-1.4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
After disconnecting and connecting again, I get:
[92473.167127] usb 6-1.4: device firmware changed
[92473.167472] usb 6-1.4: USB disconnect, device number 4
[92473.357494] usb 6-1.4: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[92473.530294] usb 6-1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[92473.530297] usb 6-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[92473.530299] usb 6-1.4: Product: AX88179A
[92473.530301] usb 6-1.4: Manufacturer: ASIX
[92473.530303] usb 6-1.4: SerialNumber: 00809D09
[92474.198847] ax88179_178a 6-1.4:1.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0040: -32
[92474.510695] ax88179_178a 6-1.4:1.0 eth1: register 'ax88179_178a' at usb-0000:09:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, f8:e4:3b:80:9d:09
[92474.540353] ax88179_178a 6-1.4:1.0 eth2: renamed from eth1
[92541.999697] ax88179_178a 6-1.4:1.0 eth2: unregister 'ax88179_178a' usb-0000:09:00.3-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[92542.025541] ax88179_178a 6-1.4:1.0 eth2 (unregistered): Failed to write reg index 0x0002: -71
[92542.025838] ax88179_178a 6-1.4:1.0 eth2 (unregistered): Failed to write reg index 0x0001: -71
[92542.026144] ax88179_178a 6-1.4:1.0 eth2 (unregistered): Failed to write reg index 0x0002: -71
[92542.715747] usb 6-1.4: USB disconnect, device number 5
With the adapter connected:
:~> inxi -nx
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel port: f000
bus-ID: 07:00.0
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: d4:5d:64:34:92:dd
Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
bus-ID: 6-2.4:7
IF: eth2 state: down mac: f8:e4:3b:80:9d:09
:~>
Note: first time I connected it, it got named eth1, second time eth2 as above.
On manufacturer’s site https://www.asix.com.tw/en/support/download there is a source driver for:
Linux kernel 5.x/4.x/3.x/2.6.x Driver
For all Android systems, Linux kernel 2.6.14 and later
Version 1.20.0 Release Date 2020-04-27 File Size 16.0 KB KB
Driver readme file:
============================================================================
ASIX AX88179_178A USB 3.0/2.0 Gigabit Ethernet Network Adapter
Driver Compilation & Configuration on Linux
================
Prerequisites…
Note: Please make sure the kernel is built with one of the “Support for
Host-side, EHCI, OHCI, or UHCI” option support.
================
File DescriptionREADME This file
ax88179_178a.c AX88179_178A Linux driver main file
ax88179_178a.h AX88179_178A Linux driver header file
Makefile AX88179_178A driver make file
COPYING GNU GERNERAL LICENSE
===========================
Conditional Compilation Flag
================
Getting Start
- Extract the compressed driver source file to your temporary directory by the
following command:
[root@localhost template]# tar -xf DRIVER_SOURCE_PACKAGE.tar.bz2
Now, the driver source files should be extracted under the current directory.
Executing the following command to compile the driver:[root@localhost template]# make
If the compilation is done, the ax88179_178a.ko will be created under the current
directory.If you want to use modprobe command to mount the driver, executing the
following command to install the driver into your Linux:
[root@localhost template]# make install
================
Usage
- If you want to load the driver manually, go to the driver directory and
execute the following commands:
[root@localhost template]# modprobe usbnet [root@localhost template]# insmod ax88179_178a.ko
If you want to unload the driver, just executing the following command:
[root@localhost anywhere]# rmmod axax88179_178a
===============
DRIVER PARAMETERSThe following parameters can be set when using insmod.
msg_enable=0xNNNNNNN
specifies the msg_enable of usbnet.
example: insmod ax88179_178a.ko msg_enable=0x00000000
bsize=xx (0~24)
specifies the the Rx Bulk In Queue size(KB).
The maximum value for this parameters is 24.
The default value is -1 that will use the driver default setting (18K for USB3.0).
example: insmod ax88179_178a.ko bsize=12
ifg=xxx (0~255)
specifies the the Rx Bulk In Queue Inter-Frame-Gap timer. (The timer’s unit is 0.25us)
The maximum value for this parameters is 255.
The default value is -1 that will use the driver default setting (255 for USB3.0).
bEEE=x (0 or 1)
Enable/Disable the Ethernet EEE function.
0: Disable the EEE
1: Enalbe the EEE
The default value is 0 that will disable the EEE function.
bGETH=x (0 or 1)
Enable/Disable the Green Ethernet function.
0: Disable the Green Ethernet
1: Enalbe the Green Ethernet
The default value is 0 that will disable the Green Ethernet function.
I couldn’t find any recent references to installing this, nor a pre-compiled driver in openSUSE software search.
Compiling seems to finish OK:
**:~/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source #** make
make -C /lib/modules/5.3.18-150300.59.46-default/build M=/home/blimmer/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source modules
make[1]: Entering directory '/usr/src/linux-5.3.18-150300.59.46-obj/x86_64/default'
CC [M] /home/blimmer/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source/ax88179_178a.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/blimmer/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source/ax88179_178a.mod.o
LD [M] /home/blimmer/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source/ax88179_178a.ko
make[1]: Leaving directory '/usr/src/linux-5.3.18-150300.59.46-obj/x86_64/default'
**:~/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source #** make install
su -c "cp -v ax88179_178a.ko /lib/modules/5.3.18-150300.59.46-default/kernel/drivers/usb/net && /sbin/depmod -a"
'ax88179_178a.ko' -> '/lib/modules/5.3.18-150300.59.46-default/kernel/drivers/usb/net'
**:~/Downloads/AX88179_178A_Linux_Driver_v1.20.0_source #**
but the driver is misnamed as net, which should be the folder, instead of ax88179_178a.ko.
So I created the folder and moved the renamed module there. But:
**#** modprobe ax88179_178a.ko
modprobe: FATAL: Module ax88179_178a.ko not found in directory /lib/modules/5.3.18-150300.59.46-default
**#**
Probably because I used the .ko extension. Anyway, I copied the .ko file to the …59.46-default parent directory and:
**#** modprobe ax88179_178a
**#
[FONT=monospace]**#** lsmod | grep ax
**ax**88179_178a 28672 0
usbnet 53248 3 cdc_mbim,cdc_ncm,**ax**88179_178a
mii 16384 2 usbnet,**ax**88179_178a
usbcore 311296 8 xhci_hcd,usbnet,usbhid,cdc_mbim,cdc_ncm,cdc_wdm,xhci_pci,**ax**88179_178a
**#**
**[/FONT]
But upon inserting the adapter dmesg reports the same problem:
[96941.262324] usb 6-2.4: new SuperSpeed Gen 1 USB device number 9 using xhci_hcd
[96941.433107] usb 6-2.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[96941.433111] usb 6-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[96941.433113] usb 6-2.4: Product: AX88179A
[96941.433114] usb 6-2.4: Manufacturer: ASIX
[96941.433116] usb 6-2.4: SerialNumber: 00809D09
[96942.103236] ax88179_178a 6-2.4:1.0 (unnamed net_device) (uninitialized)**: Failed to read reg index 0x0040: -32**
[96942.415378] ax88179_178a 6-2.4:1.0 eth1: register 'ax88179_178a' at usb-0000:09:00.3-2.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, f8:e4:3b:80:9d:09
[96942.440615] ax88179_178a 6-2.4:1.0 eth2: renamed from eth1
Configured it (renamed to eth2, see above) as DHCP in Yast network module (I use wicked), exited, and got:
[97447.410141] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97447.410153] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97447.410993] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97447.884533] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97447.884545] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97447.885352] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97505.028192] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97505.028203] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97505.029067] Lockdown: Zypp-main: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[97521.943662] ax88179_178a 6-2.4:1.0 eth3: renamed from eth2
[97523.997467] r8169 0000:07:00.0 eth0: Link is Down
[97525.513150] Generic FE-GE Realtek PHY r8169-700:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-700:00, irq=IGNORE)
[97525.721706] r8169 0000:07:00.0 eth0: Link is Down
[97528.697603] r8169 0000:07:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Which seems good, but knemo says eth2 not connected. Got into Yast again, and eth2 is still there, but now there is a new device:
AX88179 Gigabit Ethernet
(Not connected)
MAC : f8:e4:3b:80:9d:09
BusID : 6-2.4:1.0
Device name: eth3
And now I don’t know what to do. Any help appreciated.
Thanks