Package Details: asix-ax88179-dkms 1.14.4-1

Git Clone URL: https://aur.archlinux.org/asix-ax88179-dkms.git (read-only)
Package Base: asix-ax88179-dkms
Description: Driver for USB ASIX Ethernet model AX88179
Upstream URL: http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71
Licenses: GPL
Submitter: mlq
Maintainer: mlq
Last Packager: mlq
Votes: 5
Popularity: 0.000184
First Submitted: 2013-11-17 21:44
Last Updated: 2016-02-26 10:49

Latest Comments

arcnmx commented on 2016-01-20 19:48

Could the following patch be added to support the Belkin B2B128?

http://pastie.org/private/3ybs0ayhfimlti5kq4lz7g

visit commented on 2015-12-01 01:05

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.

slaveriq commented on 2015-01-03 18:15

1.13.0 is out
md5sum 0759a265c3d50e8931d30a853f31ea04

visit commented on 2014-10-29 22:57

1.12.0 is available. Download link for 1.11.0 broken.

antoine commented on 2014-10-13 09:20

1.10 has been removed from asix web site http://www.asix.com.tw/FrootAttach/driver/AX88179_178A_LINUX_DRIVER_v1.10.0_SOURCE.tar.bz2. I paste it the updated PKGBUILD and ax88179_178a-dkms.install files with 1.11 version of driver.

PKGBUILD file :

# Maintainer: Moritz Lipp <mlq@pwmt.org>
pkgname=asix-ax88179-dkms
pkgver=1.11.0
pkgrel=1

_dirname=AX88179_178A_LINUX_DRIVER_v${pkgver}_SOURCE
_modname=ax88179_178a

pkgdesc="Driver for USB ASIX Ethernet model AX88179"
arch=('i686' 'x86_64')
url="http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71"
license=('GPL')
depends=('dkms' 'linux-headers')
install=${_modname}-dkms.install
source=("http://www.asix.com.tw/FrootAttach/driver/AX88179_178A_LINUX_DRIVER_v${pkgver}_SOURCE.tar.bz2"
"dkms.conf"
"blacklist-${_modname}.conf"
"${_modname}-dkms.conf"
"${_modname}-dkms.install"
"0001-No-date-time.patch"
)
md5sums=('6250c19da3157a91aaa57e4f3ae0e377'
'c579a67d6d7a53f2b4566e66b0db2cb7'
'd6005a9e529a254e622b52c17134013f'
'1f0152ac565eb09470fb8dfbb98433e2'
'8d8250aa476bdb207601d9ecc906fb71'
'6a7e1bd5ec3d1e77cde2c3e2d6d9ddea')

prepare() {
cd "${srcdir}/${_dirname}"

patch -p1 < "${srcdir}/0001-No-date-time.patch"
}

package() {
# Install files
installdir="${pkgdir}/usr/src/${_modname}-dkms-${pkgver}"

install -dm755 "${installdir}"
install -m644 "${srcdir}/dkms.conf" "${installdir}"

install -dm755 "${pkgdir}/etc/modprobe.d"
install -m644 "${srcdir}/blacklist-${_modname}.conf" \
"${pkgdir}/etc/modprobe.d/blacklist-${_modname}.conf"

install -dm755 "${pkgdir}/etc/modules-load.d"
install -m644 "${srcdir}/${_modname}-dkms.conf" \
"${pkgdir}/etc/modules-load.d/${_modname}-dkms.conf"

sed -e "s/@VERSION@/${pkgver}/" "${srcdir}/dkms.conf" > "${installdir}/dkms.conf"

# Install module source
cd "$srcdir/$_dirname"

for d in `find . -type d`; do
install -dm755 "${installdir}/$d"
done

for f in `find . -type f`; do
install -m644 "${srcdir}/${_dirname}/$f" "${installdir}/$f"
done
}

ax88179_178a-dkms.install file:

post_install (){
DKMS=$(which dkms)

$DKMS add -m ax88179_178a-dkms -v 1.11.0
$DKMS build -m ax88179_178a-dkms -v 1.11.0
$DKMS install -m ax88179_178a-dkms -v 1.11.0

echo " >> rmmod ax88179_178a"
rmmod ax88179_178a
echo " >> depmod -a"
depmod -a
echo " >> modprobe ax88179_178a-dkms "
modprobe ax88179_178a-dkms
echo " >> done "

}

pre_upgrade(){
pre_remove "$2"
}

post_upgrade(){
post_install "$1"
}

pre_remove (){
_inmemory=$(/usr/bin/lsmod | /usr/bin/grep asix)
if [ ! -z "$_inmemory" ]; then
/usr/bin/rmmod ax88179_178a &> /dev/null
fi

DKMS=$(which dkms)

_line=$($DKMS status -m ax88179_178a-dkms)
if echo "$_line" | grep -E 'added|built|installed'; then
version=$(echo "$_line" | sed 's/ax88179_178a-dkms,\([^,]*\)[,:].*/\1/;t;d')
$DKMS remove -m ax88179_178a-dkms -v $version --all
fi

}

post_remove () {
/sbin/depmod -a
modprobe ax88179_178a
}

op=$1
shift
$op $*

antoine commented on 2014-10-13 09:19

1.10 has been removed from asix web site http://www.asix.com.tw/FrootAttach/driver/AX88179_178A_LINUX_DRIVER_v1.10.0_SOURCE.tar.bz2. I paste it the updated PKGBUILD and ax88179_178a-dkms.install files.

PKGBUILD file :

# Maintainer: Moritz Lipp <mlq@pwmt.org>
pkgname=asix-ax88179-dkms
pkgver=1.11.0
pkgrel=1

_dirname=AX88179_178A_LINUX_DRIVER_v${pkgver}_SOURCE
_modname=ax88179_178a

pkgdesc="Driver for USB ASIX Ethernet model AX88179"
arch=('i686' 'x86_64')
url="http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71"
license=('GPL')
depends=('dkms' 'linux-headers')
install=${_modname}-dkms.install
source=("http://www.asix.com.tw/FrootAttach/driver/AX88179_178A_LINUX_DRIVER_v${pkgver}_SOURCE.tar.bz2"
"dkms.conf"
"blacklist-${_modname}.conf"
"${_modname}-dkms.conf"
"${_modname}-dkms.install"
"0001-No-date-time.patch"
)
md5sums=('6250c19da3157a91aaa57e4f3ae0e377'
'c579a67d6d7a53f2b4566e66b0db2cb7'
'd6005a9e529a254e622b52c17134013f'
'1f0152ac565eb09470fb8dfbb98433e2'
'8d8250aa476bdb207601d9ecc906fb71'
'6a7e1bd5ec3d1e77cde2c3e2d6d9ddea')

prepare() {
cd "${srcdir}/${_dirname}"

patch -p1 < "${srcdir}/0001-No-date-time.patch"
}

package() {
# Install files
installdir="${pkgdir}/usr/src/${_modname}-dkms-${pkgver}"

install -dm755 "${installdir}"
install -m644 "${srcdir}/dkms.conf" "${installdir}"

install -dm755 "${pkgdir}/etc/modprobe.d"
install -m644 "${srcdir}/blacklist-${_modname}.conf" \
"${pkgdir}/etc/modprobe.d/blacklist-${_modname}.conf"

install -dm755 "${pkgdir}/etc/modules-load.d"
install -m644 "${srcdir}/${_modname}-dkms.conf" \
"${pkgdir}/etc/modules-load.d/${_modname}-dkms.conf"

sed -e "s/@VERSION@/${pkgver}/" "${srcdir}/dkms.conf" > "${installdir}/dkms.conf"

# Install module source
cd "$srcdir/$_dirname"

for d in `find . -type d`; do
install -dm755 "${installdir}/$d"
done

for f in `find . -type f`; do
install -m644 "${srcdir}/${_dirname}/$f" "${installdir}/$f"
done
}

ax88179_178a-dkms.install file:

post_install (){
DKMS=$(which dkms)

$DKMS add -m ax88179_178a-dkms -v 1.11.0
$DKMS build -m ax88179_178a-dkms -v 1.11.0
$DKMS install -m ax88179_178a-dkms -v 1.11.0

echo " >> rmmod ax88179_178a"
rmmod ax88179_178a
echo " >> depmod -a"
depmod -a
echo " >> modprobe ax88179_178a-dkms "
modprobe ax88179_178a-dkms
echo " >> done "

}

pre_upgrade(){
pre_remove "$2"
}

post_upgrade(){
post_install "$1"
}

pre_remove (){
_inmemory=$(/usr/bin/lsmod | /usr/bin/grep asix)
if [ ! -z "$_inmemory" ]; then
/usr/bin/rmmod ax88179_178a &> /dev/null
fi

DKMS=$(which dkms)

_line=$($DKMS status -m ax88179_178a-dkms)
if echo "$_line" | grep -E 'added|built|installed'; then
version=$(echo "$_line" | sed 's/ax88179_178a-dkms,\([^,]*\)[,:].*/\1/;t;d')
$DKMS remove -m ax88179_178a-dkms -v $version --all
fi

}

post_remove () {
/sbin/depmod -a
modprobe ax88179_178a
}

op=$1
shift
$op $*

antoine commented on 2014-10-13 08:00

1.11 is available

skuda commented on 2014-05-07 08:25

1.10.0 is available.

mlq commented on 2014-03-08 07:55

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

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.

All comments