Bon, accroche toi,
Voici dans le détail ce que j'ai fait après avoir décompressé l'archive:
linux:~ # cd /usr/local/src/
linux:/usr/local/src # ls
. .. eagle-1.0.4 eagle-1.0.4.tar.gz
linux:/usr/local/src # cd eagle-1.0.4/
linux:/usr/local/src/eagle-1.0.4 # ls
. BUGS FAQ Makefile VERSION lisezmoi.txt readme.txt
.. Changelog FAQ.fr TODO driver pppoa scripts
linux:/usr/local/src/eagle-1.0.4 # make uninstall
other uninstall
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/driver'
./unloadModule && \
echo "Module déchargé!" && \
make -C ./firmware uninstall && \
make -C ./user uninstall && \
if [ -f /lib/modules/2.4.21-99-athlon/kernel/drivers/usb/adiusbadsl.o ]; then \
rm -f /lib/modules/2.4.21-99-athlon/kernel/drivers/usb/adiusbadsl.o ; \
/sbin/depmod -a ; \
fi
Module déchargé!
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/firmware'
rm -f /etc/analog/DSPcode.bin
rm -f /etc/analog/firmware.bin
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/firmware'
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/user'
rm -f /usr/sbin/adictrl
rm -f /usr/sbin/showstat
rm -f /etc/analog/adiusbadsl.conf
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/user'
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/driver'
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/pppoa'
rm -f /usr/sbin/pppoa
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/pppoa'
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/scripts'
rm -f /etc/ppp/options.mire
rm -f /etc/hotplug/usb/adiusb*
./scriptUninst
==============================================================
Il se peut que les fichiers /etc/ppp/pap-secrets et
/etc/ppp/chap-secrets contiennent encore un ou plusieurs
mots de passe. Vous pouvez les supprimer manuellement.
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/scripts'
linux:/usr/local/src/eagle-1.0.4 # make clean
make -C driver clean && \
make -C pppoa clean && \
make -C scripts clean
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/driver'
rm -f error.log .depend AdiUsbAdslDriver.o Boot.o Util.o Pipes.o Me.o Sm.o Msg.o Dsp.o Mpoa.o Uni.o Sar.o Crc.o Oam.o adiusbadsl.o *~ core
make -C ./user clean
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/user'
rm -f adictrl
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/user'
make -C ./firmware clean
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/firmware'
rm -f firmware.bin buildFirmware buildDSP DSPcode.bin
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/firmware'
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/driver'
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/pppoa'
rm -f *.o pppoa
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/pppoa'
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/scripts'
rm -f options.adsl options.mire pap-secrets chap-secrets usb.usermap usb.usermap.local
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/scripts'
linux:/usr/local/src/eagle-1.0.4 # make
make -C driver && \
make -C pppoa && \
make -C scripts
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/driver'
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver'
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -M *.c > .depend
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver'
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o AdiUsbAdslDriver.o AdiUsbAdslDriver.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Boot.o Boot.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Util.o Util.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Pipes.o Pipes.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Me.o Me.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Sm.o Sm.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Msg.o Msg.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Dsp.o Dsp.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Mpoa.o Mpoa.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Uni.o Uni.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Sar.o Sar.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Crc.o Crc.c
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include '-DADIDRIVERVERSION="1.0.4"' -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o Oam.o Oam.c
ld -r -o adiusbadsl.o AdiUsbAdslDriver.o Boot.o Util.o Pipes.o Me.o Sm.o Msg.o Dsp.o Mpoa.o Uni.o Sar.o Crc.o Oam.o
make -C ./firmware
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/firmware'
gcc -O2 -pipe -Wall -pedantic builddsp.c -o buildDSP
./buildDSP -d sagem/eagle DSPcode.bin
Reading file sagem/eagle/rtbld0.bnm
Reading file sagem/eagle/rtbld1.bnm
Reading file sagem/eagle/rtbld2.bnm
Reading file sagem/eagle/rtbld3.bnm
Reading file sagem/eagle/rtbld4.bnm
Writing file DSPcode.bin
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/firmware'
make -C ./user
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/user'
gcc -O2 -pipe -Wall -pedantic -DLINUX -g adictrl.c -o adictrl
########jusqu'ici, aparemment tout s'était bien déroulé#########
adictrl.c:184: error: redefinition of `struct usb_device_descriptor'
make[2]: *** [adictrl] Error 1
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/user'
make[1]: *** [adiuser] Error 2
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/driver'
make: *** [build] Error 2
#######j'ai essayé l'install, sans y croire, car s'il y a une erreur sur adictrl.c, je ne pourrai jamais charger le firmware########
linux:/usr/local/src/eagle-1.0.4 # make install
other beforeInstall
make[1]: Entering directory `/usr/local/src/eagle-1.0.4/driver'
make -C ./firmware
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/firmware'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/firmware'
make -C ./firmware install
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/firmware'
gcc -O2 -pipe -Wall -pedantic firmware.c -o buildFirmware
In file included from firmware.c:12:
Firmware8051.h:2509:8: warning: C++ style comments are not allowed in ISO C90
Firmware8051.h:2509:8: warning: (this will be reported only once per input file)
./buildFirmware
mkdir -p /etc/analog
/usr/bin/install -c -m 0664 -o root -g root *.bin /etc/analog
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/firmware'
make -C ./user
make[2]: Entering directory `/usr/local/src/eagle-1.0.4/driver/user'
gcc -O2 -pipe -Wall -pedantic -DLINUX -g adictrl.c -o adictrl
adictrl.c:184: error: redefinition of `struct usb_device_descriptor'
make[2]: *** [adictrl] Error 1
make[2]: Leaving directory `/usr/local/src/eagle-1.0.4/driver/user'
make[1]: *** [adiuser] Error 2
make[1]: Leaving directory `/usr/local/src/eagle-1.0.4/driver'
make: *** [install] Error 2
######Précisions######
les deux leds de mon modem sont allumées
linux:~ # lsmod|grep usb
usbserial 19836 0 (autoclean) (unused)
usb-ohci 19848 0 (unused)
usbcore 64364 1 [usbserial acm usb-ohci ehci-hcd]
Ici, je pense que je devrais avoir une ligne du style: adiusbadsl 12345 0 que je n'ai pas, j'en deduit donc que le module n'a pas été chargé...
Si j'essaye un showstat, j'ai un message d'erreur me disant que la commande n'existe pas
(forcement, car elle ne se trouve ni dans /bin, ni dans /sbin).
Après avoir copié le script showstat depuis
file:/usr/local/src/eagle-1.0.4/driver/user/showstat
vers
file:/usr/local/bin
file:/usr/local/sbin (au cas où!!!)
j'obtient ceci:
linux:~ # showstat
ADI driver not loaded
Voici le détail du fichier /var/log/messages:
Nov 10 22:10:29 linux kernel: usb.c: USB disconnect on device 00:02.1-2 address 5
Nov 10 22:10:32 linux /etc/hotplug/usb.agent[3671]: /var/run/hotplug/usb-remover-%1110%9022%5000%255%255%255: line 3: /etc/hotplug/usb/adiadsl: No such file or directory
Nov 10 22:10:32 linux kernel: hub.c: new USB device 00:02.1-2, assigned address 6
Nov 10 22:10:32 linux kernel: usb.c: USB device 6 (vend/prod 0x1110/0x9022) is not claimed by any active driver.
Voilà ou j'en suis...
Galère, Galère!!!
Poste le Monday 10 November 2003 22:36:14