[speedtouch] Re: speedtouch and FC4
you copy the content text between the dash line (-8-) in a file name for example fix.patch, then you go in the root dir of the source and you use the command : patch -p1 /path/to/fix.patch that's it. Or more simply, you can edit the file speedtouch-1.3/src/modem_run.c and remove the word static near line 91. I don't know if the official speedtouch dev team agree with this patch but my modem_run program works well for 2 weeks now with this patch applied... Regards, Fred Richard Connon wrote: I understand I am going back a while in the discussion but how exactly would I go about applying 'this patch' to the source? RUAUDEL Frédéric wrote: Hello hicham, You need to apply this patch to the source : 8--- cut here 8--- diff -ru speedtouch-1.3/src/modem_run.c speedtouch-1.3.new/src/modem_run.c --- speedtouch-1.3/src/modem_run.c 2004-06-10 18:36:35.0 +0200 +++ speedtouch-1.3.new/src/modem_run.c 2005-06-13 23:26:38.0 +0200 @@ -91,7 +91,7 @@ * Global variables **/ -static int verbose = 0; +int verbose = 0; FILE *flog = NULL; /* 8--- cut here 8--- hicham wrote: Hello I've tried the speedtouchconf script ( the 6 mars 05 version and the betas versions as well ) in Fedora core 4 I get the following error : cd src make make[1]: Entering directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -c firmware.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\1.3\ -c modem_run.c modem_run.c:84: error: static declaration of ‘verbose’ follows non-static declaration modem.h:42: error: previous declaration of ‘verbose’ was here modem_run.c: In function ‘get_reference’: modem_run.c:691: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness modem_run.c: In function ‘report’: modem_run.c:1119: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness modem_run.c: In function ‘dump’: modem_run.c:1180: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1189: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1207: warning: pointer targets in passing argument 2 of ‘syslog’ differ in signedness make[1]: *** [modem_run.o] Error 1 make[1]: Leaving directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' make: *** [modem] Error 2 Thanks for your help hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] -- Binary/unsupported file stripped by Listar -- -- Type: text/x-vcard -- File: ruaudel.vcf Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] -- Binary/unsupported file stripped by Listar -- -- Type: text/x-vcard -- File: ruaudel.vcf Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Connection ADSL en mode Debug ?
Hello, Could someone tell me how to put in DEBUG Mode, an ADSL connection with Speedtouch 330 , Fedora 4 ? I've followed the guide http://www.linux-usb.org/SpeedTouch/fedora/index.html but usually have no connection. Here are what I checked: 1- ps- -ef|grep pppd no process 2- File /var/log/messages: connect ppp0- /dev/pts/2 LCP:timeout sending config-request My modem works good on Window XP. So I 'd like some more trace during the connection to debug. Thank you advance for any help ! Nam === Bonjour, Est-ce que quelqu'un sais comment mettre en mode DEBUG la connexion ADSL avec Speedtouch 330 sous Fedora 4 ? J'ai suivi à la lettre le guide http://www.linux-usb.org/SpeedTouch/fedora/index.html mais je n'ai toujours pas de connexion 1- J'ai vérifié le process : ps- -ef|grep pppd Aucun process lancé 2- Dans le fichier /var/log/messages: connect ppp0- /dev/pts/2 LCP:timeout sending config-request Mon modem marche pourtant bien sous Windows XP. J'aimerais avoir un plus de trace pour Merci beaucoup d'avance. Nam This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le message) sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]