Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: Ingedus

J'essaye depuis plusieurs jours d'installer un modem USB SAGEM Fast 800 sur une SuSE sans y parvenir...
J'ai pourtant déja réussi à l'installer sur ma Mandrake sans problème avec les drivers eagle 1.0.4...
Je ne sais plus quoi faire...
Help!!!

Poste le Monday 10 November 2003 15:42:21
Répondre     Citer    
Re: Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: Legolas

Précise un peu : quelles manips t'as fait et quels sont les messages d'erreurs?

Poste le Monday 10 November 2003 18:46:12
Répondre     Citer    
Re: Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: Ingedus

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
Répondre     Citer    
Re: Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: twocats

Déjà je suis contre placer les sources du driver dans un répertoire (/usr/local/src/) qui t'oblige à faire toutes tes manipulation en root, je pense qu'il est préférable de n'effectuer en root que les opérations "strictement" indispensablent. Sinon mes petites connaissances ne me permettent pas de d'aider beaucoups si ce n'est pour de conseiler de te faire offrir un modem Ethernet pour Noël :-p !


Poste le Monday 10 November 2003 23:38:25
Répondre     Citer    
Re: Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: Legolas

Toutes les fois où j'ai eu des pb à la compilation de drivers comme toi, ça a toujours été à cause d'une mauvaise installation des sources du noyau. Est-ce que les sources et les headers sont correctement installées? As-tu déjà essayé de compiler un autre prog ou ton noyau pour voir si ça peut venir de là?
A mon avis, il y a peu de chance que ça vienne du code source du driver lui-même, puisque la compilation marche chez les autres. Ou alors essaie de virer proprement les fichiers installés lors de la compilation, et tente avec une version plus ancienne du driver eagle, pour voir si ça vient du code source ou de chez toi. Je sais que la version 1.0.3 marche puisque je l'ai compilée chez moi sans problème.

Poste le Tuesday 11 November 2003 01:41:40
Répondre     Citer    
Re: Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: Ingedus

Merci, je vais y penser...
Ah, un modem routeur firewall pour Noël!!!
J'en rêve!!!
@+

Poste le Tuesday 11 November 2003 08:45:19
Répondre     Citer    
Re: Pb install modem ADSL Fast 800 sur SuSE
Envoyé par: Ingedus

Pour ce qui est des problèmes de compilation, j'ai pas encore compilé mon noyau, par contre, j'ai compilé d'autres sources sans aucun problème...
Quand aux sources du driver eagle 1.0.4, je suis sur qu'elle fonctionnent très bien, puisque que je les ai déjà installées sur une Mandrake...
Je vais jeter un oeil sur le site de SuSE pour voir si d'autres ont le même problème que moi...

merci & @+...

Poste le Tuesday 11 November 2003 08:53:33
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Pb install modem ADSL Fast 800 sur SuSE
Vous voulez savoir si votre matériel est supporté par Linux, ou vous avez un problème pour installer un module ? Ce forum est pour vous !

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons