LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2012, 02:10 PM   #1
Andyroo89
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
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!
 
Old 06-25-2012, 07:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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.

.
 
Old 06-25-2012, 04:11 PM   #3
Andyroo89
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
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 
 
Old 06-28-2012, 01:54 AM   #4
Andyroo89
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
No help?
 
Old 06-28-2012, 06:45 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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.

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing drivers in ubuntu 9.04 mutetikasikali Linux - Newbie 3 06-06-2012 01:01 PM
AX88772 Software Design Considerations rabee Linux - Kernel 2 08-11-2010 06:58 PM
Need Intel Drivers and help installing them on Ubuntu sdelthon Linux - Newbie 4 11-09-2009 09:58 AM
Installing Ubuntu 8.10 on laptop (drivers mainly) Hb_Kai Linux - Laptop and Netbook 10 01-09-2009 06:50 PM
Installing Drivers on Ubuntu jrowe Linux - Hardware 2 07-28-2005 03:01 PM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration