- Linux
- Driver
Hello ASIX team,
I have a custom board with the AX88279 chipset. I donwloaded the latest driver from the AX88279 product page which says supports running on Linux Kernel 6.9.0. I have setup an Ubuntu environment with the 6.9.0 kernel.
I run the instructions in the "Readme" file. And in the Makefile I have the follwoing options enabled:
ENABLE_IOCTL_DEBUG = n
ENABLE_AUTODETACH_FUNC = n
ENABLE_MAC_PASS = n
ENABLE_INT_AGGRESSIVE = y
ENABLE_INT_POLLING = n
ENABLE_AUTOSUSPEND = n
ENABLE_TX_TASKLET = n
ENABLE_RX_TASKLET = n
ENABLE_PTP_FUNC = y
ENABLE_PTP_DEBUG = n
ENABLE_QUEUE_PRIORITY = n
I follow the build instructions:
1. make
2. sudo make install
3. sudo modprobe ax_usb_nic
4. sudo dmesg | tail -n 20
[ 7305.000840] ax_usb_nic 1-2:1.0: ASIX AX88279 USB Ethernet Controller 3.5.0 (0.18.0.0_7.1)
[ 7305.009686] usbcore: registered new interface driver ax_usb_nic
[ 7305.047810] ax_usb_nic 1-2:1.0 enxf8e43b189a7e: renamed from eth0
[ 7305.316203] ENABLE_INT_AGGRESSIVE
[ 7305.317572] ax_usb_nic 1-2:1.0: Failed to write reg 0032_0003_0000_0000 (err -32)
apinales@Ubuntu:~/Downloads/ASIX_USB_NIC_Linux_Driver_Source_v3.5.0$
Then I check ethtool stats:
apinales@Ubuntu:~/Downloads/ASIX_USB_NIC_Linux_Driver_Source_v3.5.0$ ethtool enxf8e43b189a7e
Settings for enxf8e43b189a7e:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
2500baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 2500baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Link partner advertised link modes: 2500baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Link partner advertised FEC modes: Not reported
Speed: 10Mb/s
Duplex: Half
Auto-negotiation: off
Port: MII
PHYAD: 3
Transceiver: internal
netlink error: Operation not permitted
Current message level: 0x00000000 (0)
Link detected: no
apinales@Ubuntu:~/Downloads/ASIX_USB_NIC_Linux_Driver_Source_v3.5.0$
Every time the device comes up at 10Mb/s and Auto-negotiation as "off".
I try to change the settings using "sudo ethtool -s enxf8e43b189a7e speed 1000 duplex full autoneg on" but the result looks the same every time, nothing changes. I have tried restarting PC, reconnecting device, but I am unable to change these settings.
What can I do? I feel that I have tried everything but not having any success.