You are not logged in.

#1 2023-06-09 13:51:35

odlg
Member
Registered: 2023-06-09
Posts: 2

ax88179 issue

Hi
I have just bought a DeLock 87004 usb hub. The network part gives me some troubles. It runs half-duplex and ethtool output is mostly empty.

[od@maclin ~]$ sudo inxi -n
Network:
  Device-1: Broadcom BCM4364 802.11ac Wireless Network Adapter
    driver: brcmfmac
  IF: wlan0 state: up mac: 38:f9:d3:bf:fb:4d
  Device-2: ASIX AX88179 Gigabit Ethernet driver: cdc_ncm type: USB
  IF: enp7s0u2u1c2 state: up speed: 1000 Mbps duplex: half
    mac: a0:ce:c8:94:76:3b
[od@maclin ~]$ sudo ethtool enp7s0u2u1c2 
Settings for enp7s0u2u1c2:
	Supported ports: [  ]
	Supported link modes:   Not reported
	Supported pause frame use: No
	Supports auto-negotiation: No
	Supported FEC modes: Not reported
	Advertised link modes:  Not reported
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Half
	Auto-negotiation: off
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes
[od@maclin ~]$ lsusb | grep Ether
Bus 005 Device 003: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
[od@maclin ~]$ sudo ethtool -i enp7s0u2u1c2 
driver: cdc_ncm
version: 6.3.1-arch1-1-t2
firmware-version: CDC NCM (NO ZLP)
expansion-rom-version: 
bus-info: usb-0000:07:00.0-2.1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
[od@maclin ~]$ 

I do not know if this is caused by using cdc_ncm instead of ax88179_178a driver? Or it is some other cause - please help :-)

BR
odlg

Offline

#2 2023-06-10 19:23:16

odlg
Member
Registered: 2023-06-09
Posts: 2

Re: ax88179 issue

I managed to make this work, mostly
First i created a udev rule file with this:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b95", ATTR{idProduct}=="1790", ATTR{bConfigurationValue}!="1", ATTR{bConfigurationValue}="1"

Then it loads the ax88179_178a driver. That gave more details in ethtool, autonegotiation etc, but no link and then no dhcp etc.
Trying the dock/hub on a win10 computer worked bad, it had network for 10-20 seconds then it died.
Trying it on a Mac with OSX worked fine, it used a cdc-ncm driver there. After trying it on the Mac it works fine with Arch, perhaps the Mac updated some firmware? I am now using the ax88179_178a driver with Arch, but returning to cdc-ncm in linux returns it to the state where it does not work anymore.

Offline

#3 2023-10-10 11:09:52

daconer
Member
Registered: 2023-10-10
Posts: 1

Re: ax88179 issue

odlg wrote:

I managed to make this work, mostly
First i created a udev rule file with this:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b95", ATTR{idProduct}=="1790", ATTR{bConfigurationValue}!="1", ATTR{bConfigurationValue}="1"

Then it loads the ax88179_178a driver. That gave more details in ethtool, autonegotiation etc, but no link and then no dhcp etc.
Trying the dock/hub on a win10 computer worked bad, it had network for 10-20 seconds then it died.
Trying it on a Mac with OSX worked fine, it used a cdc-ncm driver there. After trying it on the Mac it works fine with Arch, perhaps the Mac updated some firmware? I am now using the ax88179_178a driver with Arch, but returning to cdc-ncm in linux returns it to the state where it does not work anymore.

Try this driver: https://github.com/nothingstopsme/AX881 … nux_Driver (taken from https://aur.archlinux.org/packages/asix-ax88179-dkms). The only driver that worked just fine (connectivity is working too of course).

Offline

Board footer

Powered by FluxBB