Bienvenue sur eagle-usb

AtmEagle

UEagleATMsvn

PagePrincipale :: DerniersChangements :: DerniersCommentaires :: ParametresUtilisateur :: Vous êtes 18-97-9-168.crawl.commoncrawl.org
  UeagleATMVersions 1.3 >>


This page is for compilation of development version of ueagle-atm driver. (only!)
[ uEagleATMVersionsFr ] - [ In English ]

Available ueagle-atm versions

See UeagleAtmDoc for configuration.

Use at your own risk as this may be broken. See releases for more stable versions.

To be informed of latest changes, see svn commits archives (you may register through listinfo page).

ueagle-atm driver svn installation


Download newest ueagle-atm svn version (see https://gna.org/svn/?group=ueagleatm for more details).

$ svn co svn://svn.gna.org/svn/ueagleatm/trunk/ueagle-atm ueagle-atm

Compile and install ueagle-atm and usbatm modules
on Mandriva GNU/Linux : change EXTRAVERSION variable in /usr/src/linux/Makefile (remove "custom" string) as well as in the file /usr/src/linux/.kernelrelease

$ cd ueagle-atm
$ make

As root, if you have already compiled stable kernel modules, rename and unload them

$ cd /lib/modules/`uname -r`/kernel/drivers/usb/atm/
$ mv ueagle-atm.ko ueagle-atm.ko.old
$ mv usbatm.ko usbatm.ko.old
$ rmmod ueagle-atm
$ rmmod usbatm

Then install modules from svn version

$ cd -
$ make install

You could now continue with firmware installation and connection configuration, see UeagleAtmDoc.


OBSOLETE (svn version <= 242)


Create and go to your development directory.

$ mkdir ueagleatm
$ cd ueagleatm

Download newest usbatm cvs version.

$ cvs -z9 -d :pserver:anoncvs:anoncvs@cvs.infradead.org:/home/cvs co usbatm

Download newest ueagle-atm svn version (see https://gna.org/svn/?group=ueagleatm for more details).

$ svn co svn://svn.gna.org/svn/ueagleatm/trunk/ueagle-atm ueagle-atm

Make symbolic link for usbatm header file.

$ cd ueagle-atm
$ ln -s ../usbatm/usbatm.h usbatm.h

Compile and install ueagle-atm and usbatm modules
on Mandriva GNU/Linux : change EXTRAVERSION variable in /usr/src/linux/Makefile (remove "custom" string)

You can always expect trouble compiling svn stuff. We maintain code repository to be compiled across all version of kernel
greater then 2.6.10. This assumption is not true for usbatm driver. As far as we know Duncan Sands, maintainer of usbatm,
put in newest cvs repository version for the latest stable kernel. So the best way is install latest stable kernel for testing
svn version of ueagel-atm. Otherwise you may expect compilation fail.

$ make ; make install
$ cd ../usbatm/
$ make ; make install

Other steps of installation are in UeagleAtmDoc, however isochronous mode can not work with this version.
So you can add uso_iso=0 module option to make driver work in bulk mode.
use parameter altsetting=0 in latest driver for bulk mode, see the result of modinfo ueagle-atm : parm: altsetting:alternate setting for incoming traffic: 0=bulk, 1=isoc slowest, ... , 8=isoc fastest (default) (array of uint)


$ modprobe ueagle-atm use_iso=0,0,0,0

If you want isochronus mode, must apply patch (https://gna.org/task/download.php?file_id=493) for usbatm and recompile
both drivers. Makefile from ueagle-atm may not see the usbatm.h changes so "touching" source file is needed.

$ patch < usbatm.patch
$ make ; make install
$ cd ../ueagle-atm
$ touch ueagle.c
$ make ; make install