ASIX AX88179 network device driver is not working properly

Bug #1888877 reported by Jon Taylor
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

* ASIX AX88179 ethernet-to-USB device
* Neither the status light or the link light go on - device does not appear to be initialized
* Device was working properly months ago using Ubuntu 18.x
* Device shows up when using 'lsusb':

jon@horizon:~$ lsusb
Bus 002 Device 004: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet

* Latest Ubuntu 20.x, daily updates on

* Userspace:

jon@horizon:~$ ifconfig
enx0050b6bf41d5: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
        ether 00:50:b6:bf:41:d5 txqueuelen 1000 (Ethernet)
        RX packets 0 bytes 0 (0.0 B)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 0 bytes 0 (0.0 B)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

(No RUNNING status is displayed)

* dmesg kernel message (pertinent lines):

(after pulling and replugging the USB device)

[ 544.506968] usb 2-2.1: USB disconnect, device number 3
[ 544.507212] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5: unregister 'ax88179_178a' usb-0000:00:15.0-2.1, ASIX AX88179 USB 3.0 Gigabit Ethernet
[ 544.507280] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5: Failed to read reg index 0x0002: -19
[ 544.507284] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5: Failed to write reg index 0x0002: -19
[ 544.533724] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5 (unregistered): Failed to write reg index 0x0002: -19
[ 544.533728] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5 (unregistered): Failed to write reg index 0x0001: -19
[ 544.533731] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5 (unregistered): Failed to write reg index 0x0002: -19
[ 546.694471] usb 2-2.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 546.723148] usb 2-2.1: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[ 546.723157] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 546.723162] usb 2-2.1: Product: AX88179
[ 546.723166] usb 2-2.1: Manufacturer: ASIX Elec. Corp.
[ 546.723170] usb 2-2.1: SerialNumber: 000050B6BF41D5
[ 547.079079] ax88179_178a 2-2.1:1.0 eth0: register 'ax88179_178a' at usb-0000:00:15.0-2.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:50:b6:bf:41:d5
[ 547.150784] ax88179_178a 2-2.1:1.0 enx0050b6bf41d5: renamed from eth0

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: kernel-common (not installed)
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jul 24 12:42:20 2020
InstallationDate: Installed on 2019-03-25 (486 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kernel-package
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jon Taylor (dosadi82) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kernel-package (Ubuntu):
status: New → Confirmed
Revision history for this message
Faith (faith-reck) wrote :

tail -f /var/log/kern.log

Aug 21 17:40:00 laptop kernel: [ 2566.781695] usb 2-1: new SuperSpeed Gen 1 USB device number 6 using xhci_hcd
Aug 21 17:40:00 laptop kernel: [ 2566.808337] usb 2-1: New USB device found, idVendor=2109, idProduct=0817, bcdDevice= 0.50
Aug 21 17:40:00 laptop kernel: [ 2566.808347] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 21 17:40:00 laptop kernel: [ 2566.808351] usb 2-1: Product: USB3.0 Hub
Aug 21 17:40:00 laptop kernel: [ 2566.808354] usb 2-1: Manufacturer: VIA Labs, Inc.
Aug 21 17:40:00 laptop kernel: [ 2566.831130] hub 2-1:1.0: USB hub found
Aug 21 17:40:00 laptop kernel: [ 2566.831329] hub 2-1:1.0: 4 ports detected
Aug 21 17:40:00 laptop kernel: [ 2566.933455] usb 1-1: new high-speed USB device number 8 using xhci_hcd
Aug 21 17:40:00 laptop kernel: [ 2567.085918] usb 1-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice= 0.50
Aug 21 17:40:00 laptop kernel: [ 2567.085925] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 21 17:40:00 laptop kernel: [ 2567.085928] usb 1-1: Product: USB2.0 Hub
Aug 21 17:40:00 laptop kernel: [ 2567.085930] usb 1-1: Manufacturer: VIA Labs, Inc.
Aug 21 17:40:00 laptop kernel: [ 2567.150832] hub 1-1:1.0: USB hub found
Aug 21 17:40:00 laptop kernel: [ 2567.151141] hub 1-1:1.0: 4 ports detected
Aug 21 17:40:02 laptop kernel: [ 2568.628584] usb 2-1.3: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
Aug 21 17:40:02 laptop kernel: [ 2568.656390] usb 2-1.3: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
Aug 21 17:40:02 laptop kernel: [ 2568.656398] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 21 17:40:02 laptop kernel: [ 2568.656401] usb 2-1.3: Product: AX88179A
Aug 21 17:40:02 laptop kernel: [ 2568.656403] usb 2-1.3: Manufacturer: ASIX
Aug 21 17:40:02 laptop kernel: [ 2568.656405] usb 2-1.3: SerialNumber: 00000001
Aug 21 17:40:02 laptop kernel: [ 2569.060022] ax88179_178a 2-1.3:2.0 eth0: register 'ax88179_178a' at usb-0000:03:00.3-1.3, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:00:00:00:00:01
Aug 21 17:40:03 laptop kernel: [ 2569.386978] ax88179_178a 2-1.3:2.1 (unnamed net_device) (uninitialized): Failed to read reg index 0x0040: -32
Aug 21 17:40:03 laptop kernel: [ 2569.394157] ax88179_178a 2-1.3:2.1 eth1: register 'ax88179_178a' at usb-0000:03:00.3-1.3, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:00:00:00:00:01
Aug 21 17:40:03 laptop kernel: [ 2569.419375] ax88179_178a 2-1.3:2.0 enx000000000001: renamed from eth0
Aug 21 17:40:03 laptop kernel: [ 2569.769635] ax88179_178a 2-1.3:2.1 eth1: Failed to read reg index 0x0040: -32
Aug 21 17:40:03 laptop kernel: [ 2570.108053] ax88179_178a 2-1.3:2.0 enx000000000001: Failed to read reg index 0x0040: -32

Revision history for this message
Kendall (klowrey) wrote :
Download full text (10.8 KiB)

Adding another log here, when attaching an Anker usb hub with ax88179_178a. As can be seen at the end of the log, the link is established and can function (i.e. ping, load web pages, etc.) despite the two "Failed to read reg index" errors.

[44146.999904] usb 3-8: new high-speed USB device number 60 using xhci_hcd
[44147.132262] usb 2-1: new SuperSpeedPlus Gen 2 USB device number 54 using xhci_hcd
[44147.151438] usb 3-8: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 6.a3
[44147.151462] usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44147.151473] usb 3-8: Product: USB2.0 Hub
[44147.151481] usb 3-8: Manufacturer: VIA Labs, Inc.
[44147.151489] usb 3-8: SerialNumber: 000000001
[44147.165624] hub 3-8:1.0: USB hub found
[44147.178598] hub 3-8:1.0: 5 ports detected
[44147.181570] usb 2-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 6.a3
[44147.181582] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44147.181587] usb 2-1: Product: USB3.1 Hub
[44147.181592] usb 2-1: Manufacturer: VIA Labs, Inc.
[44147.181595] usb 2-1: SerialNumber: 000000001
[44147.304621] hub 2-1:1.0: USB hub found
[44147.304880] hub 2-1:1.0: 4 ports detected
[44147.911895] usb 3-8.2: new high-speed USB device number 61 using xhci_hcd
[44147.960012] usb 2-1.2: new SuperSpeed Gen 1 USB device number 55 using xhci_hcd
[44147.983234] usb 2-1.2: New USB device found, idVendor=2109, idProduct=0817, bcdDevice= 4.93
[44147.983247] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44147.983252] usb 2-1.2: Product: USB3.0 Hub
[44147.983255] usb 2-1.2: Manufacturer: VIA Labs, Inc.
[44147.983258] usb 2-1.2: SerialNumber: 000000000
[44147.985452] hub 2-1.2:1.0: USB hub found
[44147.985639] hub 2-1.2:1.0: 4 ports detected
[44148.062593] usb 3-8.2: New USB device found, idVendor=2109, idProduct=2817, bcdDevice= 4.93
[44148.062601] usb 3-8.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44148.062604] usb 3-8.2: Product: USB2.0 Hub
[44148.062607] usb 3-8.2: Manufacturer: VIA Labs, Inc.
[44148.062609] usb 3-8.2: SerialNumber: 000000000
[44148.063931] hub 3-8.2:1.0: USB hub found
[44148.064143] hub 3-8.2:1.0: 4 ports detected
[44148.538145] usb 2-1.2.1: new SuperSpeed Gen 1 USB device number 56 using xhci_hcd
[44148.709753] usb 2-1.2.1: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[44148.709759] usb 2-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44148.709768] usb 2-1.2.1: Product: AX88179A
[44148.709770] usb 2-1.2.1: Manufacturer: ASIX
[44148.709771] usb 2-1.2.1: SerialNumber: 005D490C
[44149.367957] ax88179_178a 2-1.2.1:1.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0040: -32
[44149.680208] ax88179_178a 2-1.2.1:1.0 eth0: register 'ax88179_178a' at usb-0000:00:0d.0-1.2.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, f8:e4:3b:5d:49:0c
[44149.783994] usb 2-1.2.4: new SuperSpeed Gen 1 USB device number 57 using xhci_hcd
[44149.805394] usb 2-1.2.4: New USB device found, idVendor=2537, idProduct=1081, bcdDevice= 1.00
[44149.805401] usb 2-1.2.4: New USB ...

Revision history for this message
John Wiggins (jcwiggi) wrote :

I found this temporary fix:

sudo rmmod ax88179_178a && sudo modprobe usbnet

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.