LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing AX88772 drivers on Ubuntu 12.04, need help (https://www.linuxquestions.org/questions/linux-newbie-8/installing-ax88772-drivers-on-ubuntu-12-04-need-help-4175413146/)

Andyroo89 06-24-2012 01:10 PM

Installing AX88772 drivers on Ubuntu 12.04, need help
 
I just successfully installed wireshark 1.8.0 on Ubuntu 12.04 (proud of myself since I cam across alot of errors and found the solution)

Anyways I am trying to get my ethernet to usb (belkin F4U047) to work with ubuntu, I know it works with ubuntu 10.04 (was using backtrack, and it was plug n play it recognized my belkin ethernet to usb). I tried couple of different ways (downloaded the drivers from asix website for 2.6 kernel and later)

whenever I typed the "make" command it gave me errors and would not make the asix.ko file to install the drivers.

Any help will be appreciated!

knudfl 06-25-2012 06:53 AM

Welcome to LQ.

The driver http://www.asix.com.tw/FrootAttach/d...2.0_Source.zip

You are probably missing the package linux-headers-3.*** for 12.04
http://packages.ubuntu.com/search?su...nux%2Fmodule.h
( linux-headers-3.2.0-23-generic ? )

Update the package linux-image-** ( linux-image-3.2.0-23-generic ? )
http://packages.ubuntu.com/search?su...ds=linux-image
... and install a package linux-headers-3.** that matches.

.

Andyroo89 06-25-2012 03:11 PM

Hey sorry for late response but I checked on my kernel (3.2.0-25) so I reinstalled my image and headers, and I installed the ones you suggested for my kernel. I noticed they were not installed so it gave me hope it may work but unfortunately the drivers still won't work. I'm sure I did something wrong here is the error it throws at me.

here is the tutorial I followed. (not fully I didn't use the wget portion since I downloaded the .zip provided in this thread)
http://plugable.com/2010/10/18/howto...u-10-10-linux/

I know that is different version of ubuntu but I mean it seem similiar for 12.04


PHP Code:

make -/lib/modules/3.2.0-25-generic-pae/build SUBDIRS=/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source modules
make
[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic-pae'
  CC [M]  /home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.o
/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.c:840:2: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.c:840:2: warning: initialization from incompatible pointer type [enabled by default]
/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.c:840:2: warning: (near initialization for ‘ax88x72_netdev_ops.ndo_do_ioctl’) [enabled by default]
/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.c:1533:2: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.c:1533:2: warning: initialization from incompatible pointer type [enabled by default]
/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.c:1533:2: warning: (near initialization for ‘ax88772b_netdev_ops.ndo_do_ioctl’) [enabled by default]
make[2]: *** [/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source/asix.o] Error 1
make[1]: *** [_module_/home/demonjester/asix/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source] Error 2
make[1]: Leaving directory 
`/usr/src/linux-headers-3.2.0-25-generic-pae'
make: *** [default] Error 2 


Andyroo89 06-28-2012 12:54 AM

No help? :(

knudfl 06-28-2012 05:45 AM

My results ...
kernel 2.6.35.14 : OK
kernel 2.6.38.8 : OK

kernel 2.6.43.8 : No luck ...
"error: unknown field ‘ndo_set_multicast_list’ specified in initializer"
Same result for a gcc-4.6.x and a gcc-4.4.4 compiler.


Conclusion ( so far ) : The code may not be usable for the later kernel versions.

.


All times are GMT -5. The time now is 02:09 PM.