Package Details: asix-ax88179-dkms 1.20.0-2

Git Clone URL: https://aur.archlinux.org/asix-ax88179-dkms.git (read-only, click to copy)
Package Base: asix-ax88179-dkms
Description: A kernel module for ASIX AX88178A AX88179 USB 3.0 network adapters
Upstream URL: http://www.asix.com.tw/
Licenses: GPL
Submitter: mlq
Maintainer: wget
Last Packager: wget
Votes: 16
Popularity: 0.35
First Submitted: 2013-11-17 21:44 (UTC)
Last Updated: 2021-03-12 16:32 (UTC)

Latest Comments

Babiz commented on 2022-06-24 08:32 (UTC)

@wget ,I'm sorry for previous post, is my mistake because some "conflicts" affected my installation of Manjaro. So on new fresh install of OS and clean user configurations, the dkms module driver will load and work as well, hotplug usb adapter never hang kernel functionality, bootup also is fine, so many thanks for this updated driver man :) We know issue with "standard driver" shipped with default kernels (this one request unloading module and replug adapter every time) and you work save me to madness. I tested with 5.15 & 5.19 linux kernel release. Great job!

Babiz commented on 2022-05-04 17:49 (UTC)

Hi @wget I'm here to report issue on driver loading for "new" Ugreen usb-c to ethernet adapter. I write details on this thread: https://forum.manjaro.org/t/ax88179-178a-hotplug-fail-usb-c-to-ethernet-adapter-with-kernel-5-17/109966

And find workaround for "unlock" driver but I'm happy if you can get a look over it and check if any solid fix is possible. Thanks so much in advance :D

For "resetting" driver I Do only this two commands: 'rmmod ax88179_178a' After unplug/plug adapter: 'modprobe usbnet'

PiotrC commented on 2022-03-06 19:09 (UTC)

On kernel 5.15.26-2-rpi-ARCH (RaspberryPi4, ARM Arch Linux) I get

==> ERROR: Missing 5.16.12-1-ARCH kernel modules tree for module ax88179_178a-dkms/1.20.0.

derpda commented on 2022-02-20 04:22 (UTC) (edited on 2022-02-20 04:31 (UTC) by derpda)

On kernel 5.16.10 I get

ERROR: Missing proc kernel headers for module ax88179_178a-dkms/1.20.0.
ERROR: Missing usr kernel headers for module ax88179_178a-dkms/1.20.0.

(same for all other kernel headers) during install.

Installing the package linux-headers (kinda obviously, I guess) fixes this. Maybe that should be a build dependency of this package?

Gonna leave this here for others who run into the issue.

EDIT: Even with this package installed, internet stops working if I go over 100Mbps. dmesg show the following (multiple times):

xhci_hcd 0000:0f:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 1

Relevant dmesg output during startup is

[    2.273391] ax88179_178a: loading out-of-tree module taints kernel.
[    2.273411] ax88179_178a: module verification failed: signature and/or required key missing - tainting kernel
[    2.643997] ax88179_178a 10-1:1.0 (unnamed net_device) (uninitialized): mtu 1500
[    2.644145] ax88179_178a 10-1:1.0 eth0: register 'ax88179_178a' at usb-0000:0f:00.0-1, , 90:20:3a:1a:b6:0d
[    2.644174] usbcore: registered new interface driver ax88179_178a
[    3.188322] ax88179_178a 10-1:1.0 enp15s0u1: renamed from eth0
[    4.772776] ax88179_178a 10-1:1.0 enp15s0u1: ax88179_178a - Link status is: 1
[    6.909815] ax88179_178a 10-1:1.0 enp15s0u1: Write medium type: 0x0033
[    6.918226] ax88179_178a 10-1:1.0 enp15s0u1: link up, 1000Mbps, full-duplex, lpa 0xDDE1
[    6.949025] ax88179_178a 10-1:1.0 enp15s0u1: ax88179_178a - Link status is: 0
[    7.077447] ax88179_178a 10-1:1.0 enp15s0u1: ax88179_178a - Link status is: 1
[    7.080123] ax88179_178a 10-1:1.0 enp15s0u1: Write medium type: 0x0033
[    7.086365] ax88179_178a 10-1:1.0 enp15s0u1: link up, 1000Mbps, full-duplex, lpa 0xDDE1

Any ideas what I could do about this?

EDIT 2: Using ethtool to set the speed of the connection to 100Mbps is a temporary fix - at least the network doesn't drop anymore. ethtool -s enp15s0u1 speed 100 (device name is enp15s0u1 in my case, see ip a)

lolobuell commented on 2021-04-20 14:16 (UTC)

After installing it on my manjaro, I have these two lines : [ 2.280971] ax88179_178a: loading out-of-tree module taints kernel. [ 2.281012] ax88179_178a: module verification failed: signature and/or required key missing - tainting kernel

How can I signed this kernel module ?

wget commented on 2021-03-12 16:32 (UTC)

Package corrected. Should be good now :)

dfdfdf commented on 2021-03-06 15:28 (UTC)

As already reported, the driver file URL returns a 404. It was possible to download at the following URL.

https://www.asix.com.tw/en/support/download/file/120

jaykawb commented on 2021-03-03 13:51 (UTC)

patch for kernel 5.11.2: https://gist.github.com/vogelj/7e3bd1d0b05334502cb6e97a7e6c7d46

andrej commented on 2020-12-11 15:33 (UTC)

For me just https://www.asix.com.tw/en/support/download/file/120 works (without the timestamp parameter). The checksum appears to match. (However, it's rather unclear what the latest version is.)

n17ikh commented on 2020-10-09 23:39 (UTC)

The URL for the driver 404s. A working URL I got was https://www.asix.com.tw/en/support/download/file/120?time=1602286472966 but I'm not sure that will hold up over time.

wget commented on 2020-06-09 10:00 (UTC)

@all Package updated :)

raulgbcr commented on 2020-03-16 04:08 (UTC)

@Gelmo

That works fine, thanks, lets hope @wget can update the package with the fix.

Regards.

Gelmo commented on 2020-03-13 02:12 (UTC)

Here's a working PKGBUILD that will install against newer kernels AND 4.19:

https://gist.github.com/Gelmo/c1dd2d3095870cec8d4aed53feb2359b

Simply needed to add the following to the prepare block:

    # Make compatible with newer kernels
    sed -i "${srcdir}/${_filename}/Makefile" -e 's/SUBDIRS/M/g'

More info here:

https://patchwork.kernel.org/patch/10690487/

Gelmo commented on 2020-03-13 01:14 (UTC)

Any updates on this issue?

raulgbcr commented on 2019-12-10 16:09 (UTC)

@blkh88

Having the same issue, downgrading to 5.3.9 seems to work for now...

blkh88 commented on 2019-12-09 15:02 (UTC) (edited on 2019-12-09 15:07 (UTC) by blkh88)

@wget

At the moment it is not possible to install asix-ax88179-dkms under Linux 5.4.2-arch1-1.

(2/4) Install DKMS modules
==> dkms install ax88179_178a-dkms/1.19.0 -k 5.4.2-arch1-1
Error! Bad return status for module build on kernel: 5.4.2-arch1-1 (x86_64)
Consult /var/lib/dkms/ax88179_178a-dkms/1.19.0/build/make.log for more information.
cat /var/lib/dkms/ax88179_178a-dkms/1.19.0/build/make.log

DKMS make.log for ax88179_178a-dkms-1.19.0 for kernel 5.4.2-arch1-1 (x86_64)
make -C /lib/modules/5.4.2-arch1-1/build SUBDIRS=/var/lib/dkms/ax88179_178a-dkms/1.19.0/build modules
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/usr/lib/modules/5.4.2-arch1-1/build'
scripts/Makefile.build:42: arch/x86/entry/syscalls/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/Makefile'.  Stop.
make[1]: *** [arch/x86/Makefile:238: archheaders] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.4.2-arch1-1/build'
make: *** [Makefile:29: default] Error 2

Under Linux 5.3 everything worked.

Thanks in advance for your help.

wget commented on 2019-01-16 11:08 (UTC)

Package updated because kernel internals have changed since kernel 4.20.

wget commented on 2018-04-19 10:46 (UTC)

Package updated. Thanks arcnmx for the patch.

bnavarro commented on 2018-02-14 16:06 (UTC)

Can this package be fixed? (update version to 1.19 and apply the patch proposed by arcnmx).

arcnmx commented on 2018-01-10 21:18 (UTC)

Small patch that fixes the DKMS build issues: https://pastebin.com/TGzhpKSM

Also yeah, the package version is out of date.

jchidley commented on 2018-01-08 12:38 (UTC) (edited on 2018-01-08 13:42 (UTC) by jchidley)

1.19.0 is the current version.

I modified f3flight's instructions slightly:

  1. Updated "pkgver" in PKGBUILD
  2. Download the driver from ASIX Electronics Corporation's website (http://www.asix.com.tw/download.php?sub=driverdetail&PItemID=131)
  3. Put the newly calculated sha512sum in the "sha512sums" array in PKGBUILD (replacing the 1st line)

makepkg -si as normal.

wget commented on 2017-09-17 11:58 (UTC)

@matteoipri Hi. Yes, this is the bug I was talking about. If you haven an idea to fix it, let me know. Otherwise, I'll have to ask on the arch-general mailing list.

matteoipri commented on 2017-09-15 08:58 (UTC)

Hi wget, maybe this is the bug you are referring to. Everytime there's an update (using `sudo pacman -Syu`) that involves DKMS recompilations I get the following: :: Running pre-transaction hooks... (1/1) Remove DKMS modules ==> dkms remove ax88179_178a-dkms/1.18.0 -k 4.12.12-1-ARCH Error! There is no instance of ax88179_178a-dkms 1.18.0 for kernel 4.12.12-1-ARCH (x86_64) located in the DKMS tree. and :: Running post-transaction hooks... (1/7) Install DKMS modules ==> dkms install ax88179_178a-dkms/1.18.0 -k 4.12.13-1-ARCH Error! Bad return status for module build on kernel: 4.12.13-1-ARCH (x86_64) Consult /var/lib/dkms/ax88179_178a-dkms/1.18.0/build/make.log for more information. Trying to reinstall the package after system update with `pacaur asix-ax88179-dkms` I get similar errors: :: Running pre-transaction hooks... (1/1) Remove DKMS modules ==> dkms remove ax88179_178a-dkms/1.18.0 -k 4.12.13-1-ARCH Error! There is no instance of ax88179_178a-dkms 1.18.0 for kernel 4.12.13-1-ARCH (x86_64) located in the DKMS tree. :: Processing package changes... (1/1) reinstalling asix-ax88179-dkms [####################################################] 100% :: Running post-transaction hooks... (1/2) Install DKMS modules ==> dkms install ax88179_178a-dkms/1.18.0 -k 4.12.13-1-ARCH Error! Bad return status for module build on kernel: 4.12.13-1-ARCH (x86_64) Consult /var/lib/dkms/ax88179_178a-dkms/1.18.0/build/make.log for more information. (2/2) Arming ConditionNeedsUpdate... When I reboot the system hangs on the systemd service for 1m30s and I have to reinstall the package after reboot. Is something wrong on my system or is a common bug? Thanks

wget commented on 2017-06-16 08:41 (UTC)

I'm aware of a bug. For some reason, the module is not rebuilt after a new kernel has been upgraded. The pacman hook seems to be not triggered properly. Gonna investigate.

wget commented on 2017-06-09 17:23 (UTC)

@f3flight Thanks for the reminder. I had fixed it locally but forgot to push it :D I'm fixing this :)

f3flight commented on 2017-06-09 16:35 (UTC)

To make this work it's necessary to: 1. update "pkgver" in PKGBUILD - set to the current version available in http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71 (1.18.0 as of this writing) 2. download this version from the webside and check md5, put updated md5 in the "md5sums" array in PKGBUILD (replace 1st line) 3. update ax88179_178a-dkms.install - update the version in lines 4, 5, 6 4. check md5 of this file and update md5sums in PKGBUILD (replace 5th line)

recke96 commented on 2017-03-21 16:21 (UTC)

v1.17.0 is available and 1.16.0-1 is down

Nalydmerc commented on 2016-10-28 04:35 (UTC)

1.15.1 is available. Download link for 1.14.4 is broken.

arcnmx commented on 2016-09-18 01:17 (UTC)

.SRCINFO needs updating

arcnmx commented on 2016-01-20 19:48 (UTC) (edited on 2016-01-20 19:48 (UTC) by arcnmx)

Could the following patch be added to support the Belkin B2B128? http://pastie.org/private/3ybs0ayhfimlti5kq4lz7g

visit commented on 2015-12-01 01:05 (UTC)

Can you please change the MAKE[0] line in dkms.conf to: MAKE[0]="make CURRENT=$kernelver" This will fix the mkinitcpio error after upgrade, before rebooting into the new kernel.

sa7dse commented on 2015-01-03 18:15 (UTC)

1.13.0 is out md5sum 0759a265c3d50e8931d30a853f31ea04

visit commented on 2014-10-29 22:57 (UTC)

1.12.0 is available. Download link for 1.11.0 broken.

skuda commented on 2014-05-07 08:25 (UTC)

1.10.0 is available.

mlq commented on 2014-03-08 07:55 (UTC)

I am using this package on an USB 3.0 port and the module of the kernel does not work very well for me. From time to time I need to reload it otherwise I won't get any connection (I am using 3.13.4 though).

DarksideEE7 commented on 2014-02-27 03:09 (UTC)

This module is no longer needed as of 3.13.5: https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.5 It works for me in a USB 2.0 port. I could not get this device with this package on a USB 3.0 port, so unless someone else has confirmed this as working, then it should be flagged as out of date.

DarksideEE7 commented on 2014-02-26 04:19 (UTC)

I have the same Startech adapter and was wondering how you got it working. Did you have to turn off auto negotiation off and limit it to 100 Mb/s, or just simply install this package?

cdemoulins commented on 2014-01-30 13:03 (UTC)

Works with StarTech.com USB31000S. Thanks for the package.

visit commented on 2013-12-29 22:42 (UTC)

Awesome! Works with ThinkPad OneLink Dock. Thanks.