Thanks for responding Temujin, I think it may have helped me!
It certainly appears that ax88179_178a is installed:
Code:
$ sudo modinfo ax88179_178a
[sudo] password for benjamin:
filename: /lib/modules/3.19.0-18-generic/kernel/drivers/net/usb/ax88179_178a.ko
license: GPL
description: ASIX AX88179/178A based USB 3.0/2.0 Gigabit Ethernet Devices
srcversion: 4C676DD260D26D648107038
alias: usb:v17EFp304Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04E8pA100d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0072d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p4A00d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B95p178Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B95p1790d*dc*dsc*dp*ic*isc*ip*in*
depends: usbnet,mii
intree: Y
vermagic: 3.19.0-18-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: F1:A2:A3:18:F7:05:DD:CD:A4:68:5A:32:12:11:6C:13:D2:FD:23:66
sig_hashalgo: sha512
So I then tried the following:
1. Plugin the Inateck USB dongle without the ethernet jack plugged in, and checked dmesg:
Code:
$ dmesg | grep -i ax88
[ 509.258058] usb 2-1.1: Product: AX88179
[ 510.620306] ax88179_178a 2-1.1:1.0 eth0: register 'ax88179_178a' at usb-0000:00:14.0-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:23:56:7c:14:24
[ 510.620423] usbcore: registered new interface driver ax88179_178a
2. Plug the ethernet cable into the dongle:
Code:
$ dmesg | grep -i ax88
[ 509.258058] usb 2-1.1: Product: AX88179
[ 510.620306] ax88179_178a 2-1.1:1.0 eth0: register 'ax88179_178a' at usb-0000:00:14.0-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:23:56:7c:14:24
[ 510.620423] usbcore: registered new interface driver ax88179_178a
[ 537.411181] ax88179_178a 2-1.1:1.0 eth0: unregister 'ax88179_178a' usb-0000:00:14.0-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet
[ 537.411196] ax88179_178a 2-1.1:1.0 eth0: Failed to read reg index 0x0002: -19
[ 537.411198] ax88179_178a 2-1.1:1.0 eth0: Failed to write reg index 0x0002: -19
[ 537.443051] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[ 537.443054] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[ 537.443056] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
3. So that got me curious about what else was happening at the same time, so checking the full contents of dmesg:
Code:
$ dmesg
## ... lots of other things, following is plugging in the dongle ... ##
[ 296.432919] usb 1-1: new high-speed USB device number 7 using xhci_hcd
[ 296.563892] usb 1-1: New USB device found, idVendor=2109, idProduct=2812
[ 296.563896] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 296.563899] usb 1-1: Product: USB2.0 Hub
[ 296.563900] usb 1-1: Manufacturer: VIA Labs, Inc.
[ 296.564540] hub 1-1:1.0: USB hub found
[ 296.564883] hub 1-1:1.0: 4 ports detected
[ 300.097113] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[ 305.234246] usb 2-1: device descriptor read/all, error -110
[ 503.361082] usb 2-1: new SuperSpeed USB device number 5 using xhci_hcd
[ 508.498113] usb 2-1: device descriptor read/all, error -110
[ 508.610416] usb 2-1: new SuperSpeed USB device number 6 using xhci_hcd
[ 508.861958] usb 2-1: New USB device found, idVendor=2109, idProduct=0812
[ 508.861963] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 508.861965] usb 2-1: Product: USB3.0 Hub
[ 508.861966] usb 2-1: Manufacturer: VIA Labs, Inc.
[ 508.862640] hub 2-1:1.0: USB hub found
[ 508.862763] hub 2-1:1.0: 4 ports detected
[ 509.236075] usb 2-1.1: new SuperSpeed USB device number 7 using xhci_hcd
[ 509.258053] usb 2-1.1: New USB device found, idVendor=0b95, idProduct=1790
[ 509.258057] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 509.258058] usb 2-1.1: Product: AX88179
[ 509.258060] usb 2-1.1: Manufacturer: ASIX Elec. Corp.
[ 509.258061] usb 2-1.1: SerialNumber: 00000000000163
[ 510.620306] ax88179_178a 2-1.1:1.0 eth0: register 'ax88179_178a' at usb-0000:00:14.0-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:23:56:7c:14:24
[ 510.620423] usbcore: registered new interface driver ax88179_178a
## Now plugin the Ethernet cable ##
[ 537.411063] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 537.411090] usb 2-1: USB disconnect, device number 6
[ 537.411092] usb 2-1.1: USB disconnect, device number 7
[ 537.411181] ax88179_178a 2-1.1:1.0 eth0: unregister 'ax88179_178a' usb-0000:00:14.0-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet
[ 537.411196] ax88179_178a 2-1.1:1.0 eth0: Failed to read reg index 0x0002: -19
[ 537.411198] ax88179_178a 2-1.1:1.0 eth0: Failed to write reg index 0x0002: -19
[ 537.443051] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[ 537.443054] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[ 537.443056] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[ 538.248150] usb 2-1: new SuperSpeed USB device number 8 using xhci_hcd
[ 543.268904] usb 2-1: device descriptor read/8, error -110
[ 543.374229] usb 2-1: new SuperSpeed USB device number 8 using xhci_hcd
[ 543.399429] usb 2-1: device descriptor read/8, error -71
Note the timestamp at "537.411063" -- that's when I plugged in the Ethernet cable. Does that help message really tell me the problem - ie, that "Maybe the USB cable is bad" and therefor this is a hardware issue and I need a replacement? If not, are there additional things that I can do to troubleshoot? Perhaps I need to explore actually installing the driver?
This page seems to indicate that there is indeed a Linux driver that can be used. But when I downloaded it and opened the archive it is just a few source code files. I've only compiled source files a couple of times, and don't fully understand what I'm doing - so I'm pretty hesitant to try compiling kernel modules on my system that mostly works. Still, this might be just the learning opportunity for me!
PS - I realize that this might be getting off topic from the original thread - can I move this to a new thread, or in some way organize this better?
Bookmarks