Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 22:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
How to install Asix AX88772 USB-Ethernet Adapter driver?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sat 28 May 2011, 06:48    Post subject:  How to install Asix AX88772 USB-Ethernet Adapter driver?
Subject description: On Wary Puppy
 

Hi All,

I'm a really big noobie warypuppy user!

I bought a USB to ethernet device (AX88772). This device works on ubuntu 11.04.

It doesn't work on wary puppy... I've got the install CD with Linux driver (4 files in it : asix.c asix.h MakeFile and a read me)

How can i install driver to get this device working ?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10937
Location: Arizona USA

PostPosted: Sat 28 May 2011, 09:39    Post subject:  

Does the readme file say anything useful?
Back to top
View user's profile Send private message 
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sat 28 May 2011, 09:47    Post subject: Here is the read me file  

============================================================================
ASIX AX88178 USB 2.0 Gigabit Ethernet Network Adapter
ASIX AX88772 USB 2.0 Fast Ethernet Network Adapter
ASIX AX88772A USB 2.0 Fast Ethernet Network Adapter
ASIX AX88760 USB 2.0 MTT HUB and USB 2.0 to Fast Ethernet Combo Controller
ASIX AX88772B USB 2.0 Fast Ethernet Network Adapter
Driver Compilation & Configuration on the Linux
============================================================================

This driver has been verified on kernel versions from 2.6.14 to 2.6.38.

==================
Revision History :
==================
Version 4.1.0 Mar. 15, 2011
* Added more vendor and product IDs.

Version 4.0.0 Feb. 22, 2011
* Integrated usbnet.c into this driver.

Version 3.6.0 Oct. 28, 2010
* Added conditional compilation flag "AX_FORCE_BUFF_ALIGN" for double word
alignment.
* Added conditional compilation flag "AX_772BHW_CHECKSUM" for IP header double
word alignment.
* Refined whole USB buffers with double word alignment.

Version 3.5.0 Sep. 15, 2010
* Corrected the parameter "supports_gmii" of AX88178 MII structure.
* Corrected AX88178 PHY media mode check function.

Version 3.4.0 Aug. 16, 2010
* Fixups for compilation issues in kernel version 2.6.35.
* Corrected PHY reset sequence for MARVELL M88E1111 RevB2.

Version 3.3.0 Aug. 03, 2010
* Added Vitess PHY 8601 support.
* Refined AX88178 PHY initialization functions.
* Fixups for compilation issues in kernel version 2.6.29.
* Fixups for rx_fixup and tx_fixup functions.
* Fixups for AX88772B initialization function.
* Added validation of necessary header file "usbnet.h" in Makefile.

Version 3.2.0 June. 03, 2010
* Fixups for compilation issues in kernel version 2.6.15.

Version 3.1.0 May. 18, 2010
* Corrected procedures of reading EEPROM data.

Version 3.0.0 May. 11, 2010
* Added to support AX88772B.
* Corrected initialization of Realtek PHY.
* Added to support MAC address replacement.

Version 2.6.0 Dec. 18, 2009
* Added AX88772A Power Saving Setting by EEPROM offset 17h support.
* Added AX88772 Default Power Saving function support.

Version 2.5.0 Dec. 01, 2009
* Corrected Realtek PHY reset function.

Version 2.4.0 Nov. 26, 2009
* Added to reset Realtek PHY via GPIO2 at initialization stage.
* Added to print information of driver version at initialization stage.
* Fixups for compilation issues in kernel version 2.6.30.

Version 2.3.0 Oct. 14, 2009
* Corrected LED setting for Realtek 8211CL PHY.

Version 2.2.0 Sep. 18, 2009
* Fixups for compilation issues in kernel version 2.6.19 or earlier.
* Increased AX88178 receive buffer size for performance improvement.

Version 2.1.0 Sep. 14, 2009
* Added Realtek PHY support.
* Added EDIMAX LED support.

Version 2.0.0 July. 02, 2009
* Modified PHY power process routine from common work queue to the
driver specific work queue.
* Fixups for compilation issues in kernel version 2.6.20.

Version 1.9.0 May. 14, 2009
* Fixups for packet transmission on big-endian platform.

Version 1.8.0 Apr. 27, 2009
* Chenged number rule from Major.Special.Minor to Major.Minor.Special .
* Fixups PHY power down and power up sequence.

Version 1.0.7 Mar. 17, 2009
* Added PHY power down and power up sequence.

Version 1.0.6 Nov. 06, 2008
* Fixups for compilation issues in kernel versions 2.6.25 and later.

Version 1.0.5 Sep. 26, 2007
* Added to support AX88772A
* Fixups for compilation issues in kernel version 2.6.22.

Version 1.0.4 Sep. 03, 2007
* Corrected the default value of receive filter.
* Corrected the value of IPG register.

Version 1.0.3 Oct. 23, 2006
* Fixed broken initialization on big-endian.

Version 1.0.2 Sep. 22, 2006
* Fixed bug in function set_media.

Version 1.0.1 Sep. 20, 2006
* Fixups for compilation issues in newest kernel version 2.6.16.
* External PHY support.

Version 1.0.0 Dec. 20, 2005
* New release.

================
Prerequisites
================

Prepare to build the driver, you need the Linux kernel sources installed on the
build machine, and make sure that the version of the running kernel must match
the installed kernel sources. If you don't have the kernel sources, you can get
it from www.kernel.org or contact to your Linux distributor. If you don't know
how to do, please refer to KERNEL-HOWTO.

Note: Please make sure the kernel is built with one of the "Support for
Host-side, EHCI, OHCI, or UHCI" option support.


===========================
Conditional Compilation Flag
===========================
[AX_FORCE_BUFF_ALIGN]
Description:
There are alignment issues of USB buffer in some USB host controllers.
Turn on this flag if the implementation of your USB host controller
cannot handle non-double word aligned buffer.
When turn on this flag, driver will fixup egress packet aligned on double
word boundary before deliver to USB host controller.
Setting:
1 -> Enable TX buffers forced on double word alignment.
0 -> Disable TX buffers forced on double word alignment.
Default:
0


================
Getting Start
================

1. Extract the compressed driver source file to your template directory by the
following command:

[root@localhost template]# tar -xf DRIVER_SOURCE_PACKAGE.tar.bz2

2. Now, the driver source files should be extracted under the current directory.
Executing the following command to compile the driver:

[root@localhost template]# make

3. If the compilation is well, the asix.ko will be created under the current
directory.

4. If you want to use modprobe command to mount the driver, executing the
following command to install the driver into your Linux:

[root@localhost template]# make install


================
Usage
================

1. If you want to load the driver manually, go to the driver directory and
execute the following commands:

[root@localhost template]# insmod asix.ko

2. If you had installed the driver during driver compilation, then you can use
the following command to load the driver automatically.

[root@localhost anywhere]# modprobe asix

If you want to unload the driver, just executing the following command:

[root@localhost anywhere]# rmmod asix
Back to top
View user's profile Send private message 
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sat 28 May 2011, 10:24    Post subject:  

I can't do "make" : command not found.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8917
Location: Stratford, Ontario

PostPosted: Sat 28 May 2011, 10:57    Post subject:  

First of all, you will get more replies if you rename this thread to something like "Asix AX88772 USB-Ethernet Adapter".

Some other threads claim that you can activate this device with the commands
Code:
modprobe usbnet
modprobe asix

Report back with the results. If it doesn't work, someone can compile the driver for you.
Back to top
View user's profile Send private message 
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sun 29 May 2011, 04:24    Post subject:  

First of all, thank for your read and answer.

I've tried these commands, and it doesn't work...

I'm trying to compile the driver.
Back to top
View user's profile Send private message 
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sun 29 May 2011, 15:29    Post subject: compile failed  

Hi again!

I've tried to compile the driver, but it doesn't work...
: *** [default] error 2.

It say that /lib/modules/2.6.32/uild : No such file or directory...

Last edited by MaxDeCondé on Sun 29 May 2011, 15:38; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8917
Location: Stratford, Ontario

PostPosted: Sun 29 May 2011, 15:36    Post subject:  

What version of Wary do you have?
Back to top
View user's profile Send private message 
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sun 29 May 2011, 15:40    Post subject:  

5.1.2 and i've downloaded devx_wary_5.1.2.sfs.

But i've installed lupu_devx_5.1.1.sfs first, and then devx_wary_5.1.2.sfs. Can it be the problem source?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8917
Location: Stratford, Ontario

PostPosted: Sun 29 May 2011, 16:11    Post subject:  

Install the attached PET.
Reboot.
Type
Code:
lsmod

Check for the modules usbnet and asix. If they are absent, load them with
Code:
modprobe usbnet
modprobe asix

Hopefully, your adapter will wake up.
ax88772_k2.6.32-4.1.0.pet
Description 
pet

 Download 
Filename  ax88772_k2.6.32-4.1.0.pet 
Filesize  20.14 KB 
Downloaded  474 Time(s) 
Back to top
View user's profile Send private message 
MaxDeCondé

Joined: 28 May 2011
Posts: 10

PostPosted: Sun 29 May 2011, 16:30    Post subject:  

still doesn't work... thanks a lot for your help...
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8917
Location: Stratford, Ontario

PostPosted: Sun 29 May 2011, 16:33    Post subject:  

That's too bad. It compiled correctly and I believe that I packaged it right.

However, tempestuous is the expert in building hardware drivers. Perhaps he will chime in.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Sat 18 Jun 2011, 00:19    Post subject:  

rcrsn51, you made a slight error in the packaging of your asix dotpet:
it includes the directory path /lib/modules/2.6.32/...
but it should be /lib/modules/2.6.32.28/...

and I'm guessing you got the source code from
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=86;71;101
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8917
Location: Stratford, Ontario

PostPosted: Sat 18 Jun 2011, 20:19    Post subject:  

tempestuous wrote:
rcrsn51, you made a slight error in the packaging of your asix dotpet:
it includes the directory path /lib/modules/2.6.32/...
but it should be /lib/modules/2.6.32.28/...

I checked this again in Wary 512 and the path is indeed /lib/modules/2.6.32.

There was some discussion in Barry's blog about building kernels that don't use the fourth number.

Quote:
and I'm guessing you got the source code from
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=86;71;101

Yes.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Sat 18 Jun 2011, 23:02    Post subject:  

rcrsn51 wrote:
There was some discussion in Barry's blog about building kernels that don't use the fourth number.

That might (??) be true with Wary 5.1.2, but it's not true with Wary 5.1.1.
And the original poster hasn't revealed which version of Wary they're using.

I just booted to the Wary 5.1.1 CD now, and installed your dotpet.
The new asix driver installs to /lib/modules/2.6.32/kernel/drivers/net/usb/
meaning that the original asix driver remains intact at /lib/modules/2.6.32.28/kernel/drivers/net/usb/
and Wary 5.1.1 will continue to use the original driver, as confirmed by -
Code:
uname -r

and
Code:
modinfo asix
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Drivers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0854s ][ Queries: 12 (0.0053s) ][ GZIP on ]