0

Hi I have issued the following command to install the ASIX AX88179 driver :

sudo make install

su -c "cp -v ax88179_178a.ko /lib/modules/3.8.0-37-generic/kernel/drivers/net/usb && /sbin/depmod -a" ax88179_178a.ko' ->/lib/modules/3.8.0-37-generic/kernel/drivers/net/usb/ax88179_178a.ko'

But the driver does not work as intended. How can I revert these changes ?

Thanks,

Dan

3
  • Perhaps we can help you make it work as intended. What doesn't work? Where did you get the driver? May we have a link?
    – chili555
    Mar 31, 2014 at 13:32
  • Hi I used the manufactures site. asix.com.tw/FrootAttach/driver/… There is a readme in there. It mentions that I need the Linux sources in order to install. I will try again once i have them. Mar 31, 2014 at 13:58
  • In Ubuntu talk, that means linux-headers. You wouldn't have gotten the driver built without massive errors without headers.
    – chili555
    Mar 31, 2014 at 15:02

1 Answer 1

1

The correct way to build this driver is, with a working internet connection:

sudo apt-get install build-essential linux-headers-generic
cd ~/Desktop/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE

...or wherever you extracted the package, if not desktop.

make

The driver ax88179_178a is present in Ubuntu 13.10, so if you re-install, compiling will be unnecessary.

Most Makefiles have a process to make, clean, install and uninstall. Yours evidently does not. First, let's test the driver to see if it drives the device correctly:

cd ~/Desktop/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE
sudo modprobe usbnet
sudo insmod ax88179_178a.ko

Does your device work correctly? If so, we'll install it the hard way:

sudo cp ax88179_178a.ko  /lib/modules/`uname -r`/kernel/drivers/net/usb/

Those backticks are on the left side of my US keyboard on the same key with ~. This will overwrite your previous attempt, if any.

It seems that your device connects and immediately drops. I noticed this bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269883 Evidently, the poster had better luck with a USB 2.0 port. Please try.

Aside from that, I suggest you contact ASIX, as they are the author of the driver we compiled.

15
  • I downloaded the headers, make, make install but received a STOP error: kam270@dan:~/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE$ sudo make make -C /lib/modules/3.8.0-37-generic/build SUBDIRS=/home/kam270/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE modules make[1]: Entering directory /usr/src/linux-headers-3.8.0-37-generic' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory /usr/src/linux-headers-3.8.0-37-generic' kam270@dan:~/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE$ sudo make installl make: *** No rule to make target `installl'. Stop. Mar 31, 2014 at 23:13
  • Please see my edit above.
    – chili555
    Apr 1, 2014 at 0:18
  • when i ty inserting the module I get another error kam270@dan:~/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE$ sudo insmod ax88179_178a.ko insmod: error inserting 'ax88179_178a.ko': -1 Unknown symbol in module Apr 1, 2014 at 1:24
  • Please see my edit above.
    – chili555
    Apr 1, 2014 at 1:59
  • I tried edited version above but get this: kam270@dan:~/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE$ sudo modprobe usbnet [sudo] password for kam270: kam270@dan:~/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE$ sudo insmod ax88179_178a.ko insmod: error inserting 'ax88179_178a.ko': -1 File exists kam270@dan:~/Downloads/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE$ Apr 1, 2014 at 3:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .