Veröffentlicht 29. Oktober 200321 j Hallo Leute, ich hab ein kleines Problem. Ich habe ein USB ADSL Modem von Allied Telesyn (AT-AR215). Dafür gibts allerdings keinen unterstützten Treiber für Linux von Allied Telesyn. Allerdings hat man mich darauf hingewiesen, daß es einen Treiber von einem Linux Kunden gibt. Unter http://www.rodsbooks.com/broadband/drivers.html findet man dazu alle benötigten Informationen. So weit, so gut. Leider beschränken sich meine Linux Kenntnisse auf ein bisschen probieren meinerseits. Es ist zwar eine Anleitung beigelegt, allerdings komm ich mit der nicht viel weiter. Kann mir einer von euch erklären, wie ich den Treiber installiere (bitte genaue Beschreibung)??? Wär nämlich echt schön, wenn ich mit meinem Linux auch ins Internet kommen könnte. Danke Schwarzl PS: Linux Distribution - SuSe Linux 9.0 Professional
5. November 200321 j Mal nen bisschen konkreter, an welcher Stelle hängst du denn? (Keinen Bock, die ganze Anleitung zu übersetzen und umzuformulieren...)
5. November 200321 j Hallo, nun ja, bei mir fing es schonmal damit an, daß ich das install - Skript nicht ausführen konnte. Ich war zwar als "root" in der Shell eingeloogt, er sagte mir trotzdem, daß ich keine Berechtigung hätte. Dann war ich auch noch etwas verwirrt. Bei dem Treiber waren zwei Installationsanleitungen dabei, und ich wußte jetzt nicht, welche ich verwenden sollte. Ich wollte das Modem eigentlich zur Benutzung des Internets verwenden, Wär echt nett, wenn du den ein oder anderen Tipp hast. Danke Schwarzl
6. November 200321 j Hallo, stimmen die Berechtigungen des Install-Skripts (ist es ausführbar?) und wie lautet die genaue Fehlermeldung? Nic
6. November 200321 j Ok, das "install" -Skript konnte ich nicht ausführen, da die Berechtigungen nicht gestimmt haben (durfte nur gelesen werden). Hab ich geändert und ausgeführt. Dann wollte ich "make" ausführen, hab dann aber eine riesige Anzahl von Fehlermeldungen bekommen. Meistens haben irgendwelche Header Dateien nicht gepaßt oder irgendwelche Strukturen (structs) waren fehlerhaft. Muß ich bei "make" irgendwas besonderes beachten? In der Anleitung steht dazu nichts besonderes diesbezüglich drin.
6. November 200321 j Ich hab die Fehlerausgabe in eine Datei umgeleitet. Wer sich das mal antun will, dem maile ich gern die Datei.
6. November 200321 j Hallo, hast Du die Kernel-Quelle installiert? Falls nicht, gibts haufenweise Fehlermeldungen und der Treiber kann nicht kompiliert werden. Die Installation der Quellen kannst Du mit dem Packet-Manager nachholen. Nic
6. November 200321 j Die Kernel Quellen sind installiert. Ich hab sogar extra einen link erstellt, da das makefile von einem Sourcenverzeichnis /usr/src/linux ausgeht. Die Sourcen sind aber standardmäßig unter /usr/src/linux-2.4.21-99 gespeichert.
6. November 200321 j Hallo, poste doch bitte mal die Fehlermeldung, das hilft bei der remote-Fehlersuche ungemein. Nic
6. November 200321 j Na gut, du wolltest es so. Ist ein bisschen lang, darum zeige ich mal nur die ersten paar Zeilen. Hoffentlich hilft das weiter. gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -c -o AdiUsbAdslDriver.o AdiUsbAdslDriver.c In file included from ADIUTIL/Adiutil.h:49, from AdiUsbAdslDriver.c:29: ADIUTIL/Buffers.h:102: error: parse error before "urb_t" ADIUTIL/Buffers.h:102: warning: no semicolon at end of struct or union ADIUTIL/Buffers.h:103: warning: type defaults to `int' in declaration of `QUEUED_URB_BUFFER' ADIUTIL/Buffers.h:103: warning: data definition has no type or storage class ADIUTIL/Buffers.h:161: error: parse error before "urb_t" ADIUTIL/Buffers.h:161: warning: no semicolon at end of struct or union ADIUTIL/Buffers.h:162: warning: type defaults to `int' in declaration of `INCOMING_BUFFER' ADIUTIL/Buffers.h:162: warning: data definition has no type or storage class ADIUTIL/Buffers.h:176: error: parse error before "urb_t" ADIUTIL/Buffers.h:176: warning: no semicolon at end of struct or union ADIUTIL/Buffers.h:178: error: parse error before '}' token ADIUTIL/Buffers.h:178: warning: type defaults to `int' in declaration of `OUTGOING_BUFFER' ADIUTIL/Buffers.h:178: warning: data definition has no type or storage class In file included from ADIUTIL/Adiutil.h:51, from AdiUsbAdslDriver.c:29: ADIUTIL/Hardware.h:36: error: parse error before "urb_t" ADIUTIL/Hardware.h:36: warning: no semicolon at end of struct or union ADIUTIL/Hardware.h:37: warning: type defaults to `int' in declaration of `urbIdma' ADIUTIL/Hardware.h:37: warning: data definition has no type or storage class ADIUTIL/Hardware.h:38: error: parse error before "urbRead" ADIUTIL/Hardware.h:38: warning: type defaults to `int' in declaration of `urbRead' ADIUTIL/Hardware.h:38: warning: data definition has no type or storage class ADIUTIL/Hardware.h:39: error: parse error before "urbWrite" ADIUTIL/Hardware.h:39: warning: type defaults to `int' in declaration of `urbWrite' ADIUTIL/Hardware.h:39: warning: data definition has no type or storage class ADIUTIL/Hardware.h:40: error: parse error before '*' token ADIUTIL/Hardware.h:40: warning: type defaults to `int' in declaration of `pUrbReadIso' ADIUTIL/Hardware.h:40: warning: data definition has no type or storage class ADIUTIL/Hardware.h:73: error: parse error before "SegmentationBuffer" ADIUTIL/Hardware.h:73: warning: type defaults to `int' in declaration of `SegmentationBuffer' ADIUTIL/Hardware.h:73: warning: data definition has no type or storage class ADIUTIL/Hardware.h:126: error: parse error before '}' token ADIUTIL/Hardware.h:126: warning: type defaults to `int' in declaration of `Hardware' ADIUTIL/Hardware.h:126: warning: data definition has no type or storage class In file included from ADIUTIL/Adiutil.h:53, from AdiUsbAdslDriver.c:29: ADIUTIL/Protos.h:31: error: parse error before '*' token ADIUTIL/Protos.h:31: warning: function declaration isn't a prototype ADIUTIL/Protos.h:32: error: parse error before '*' token ADIUTIL/Protos.h:32: warning: function declaration isn't a prototype ADIUTIL/Protos.h:37: error: parse error before '*' token ADIUTIL/Protos.h:37: warning: function declaration isn't a prototype ADIUTIL/Protos.h:38: error: parse error before '*' token ADIUTIL/Protos.h:38: warning: function declaration isn't a prototype ADIUTIL/Protos.h:43: error: parse error before '*' token ADIUTIL/Protos.h:43: warning: function declaration isn't a prototype ADIUTIL/Protos.h:44: error: parse error before '*' token ADIUTIL/Protos.h:44: warning: function declaration isn't a prototype ADIUTIL/Protos.h:45: error: parse error before '*' token ADIUTIL/Protos.h:45: warning: function declaration isn't a prototype ADIUTIL/Protos.h:49: error: parse error before '*' token ADIUTIL/Protos.h:49: warning: function declaration isn't a prototype ADIUTIL/Protos.h:50: error: parse error before '*' token ADIUTIL/Protos.h:50: warning: function declaration isn't a prototype ADIUTIL/Protos.h:51: error: parse error before '*' token ADIUTIL/Protos.h:51: warning: function declaration isn't a prototype ADIUTIL/Protos.h:53: error: parse error before '*' token ADIUTIL/Protos.h:53: warning: function declaration isn't a prototype ADIUTIL/Protos.h:58: error: parse error before '*' token ADIUTIL/Protos.h:58: warning: function declaration isn't a prototype ADIUTIL/Protos.h:60: error: parse error before '*' token ADIUTIL/Protos.h:60: warning: function declaration isn't a prototype ADIUTIL/Protos.h:65: error: parse error before '*' token ADIUTIL/Protos.h:65: warning: function declaration isn't a prototype ADIUTIL/Protos.h:66: error: parse error before '*' token ADIUTIL/Protos.h:66: warning: function declaration isn't a prototype ADIUTIL/Protos.h:68: error: parse error before '*' token ADIUTIL/Protos.h:68: warning: function declaration isn't a prototype ADIUTIL/Protos.h:79: error: parse error before '*' token ADIUTIL/Protos.h:79: warning: function declaration isn't a prototype ADIUTIL/Protos.h:80: error: parse error before '*' token ADIUTIL/Protos.h:80: warning: function declaration isn't a prototype ADIUTIL/Protos.h:85: error: parse error before '*' token ADIUTIL/Protos.h:85: warning: function declaration isn't a prototype ADIUTIL/Protos.h:86: error: parse error before '*' token ADIUTIL/Protos.h:86: warning: function declaration isn't a prototype ADIUTIL/Protos.h:87: error: parse error before '*' token ADIUTIL/Protos.h:87: warning: function declaration isn't a prototype ADIUTIL/Protos.h:88: error: parse error before '*' token ADIUTIL/Protos.h:88: warning: function declaration isn't a prototype ADIUTIL/Protos.h:103: error: parse error before '*' token ADIUTIL/Protos.h:103: warning: function declaration isn't a prototype ADIUTIL/Protos.h:104: error: parse error before '*' token ADIUTIL/Protos.h:104: warning: function declaration isn't a prototype ADIUTIL/Protos.h:105: error: parse error before '*' token ADIUTIL/Protos.h:105: warning: function declaration isn't a prototype ADIUTIL/Protos.h:106: error: parse error before '*' token ADIUTIL/Protos.h:106: warning: function declaration isn't a prototype
6. November 200321 j Hmm, sieht nach einer Unstimmingkeit zwischen Kernel-Quelle und Treiber-Quelle aus. Ersetze doch mal in Deinen Treiber-Dateien "urb_t" durch "struct urb" und probier das Ganze nochmal. Nic
7. November 200321 j Soweit sogut. Hab "urb_t" durch "struct urb" ersetzt. Die Fehlermeldungen haben sich nun arg reduziert. Hier jetzt noch der Rest, was der Compiler als Fehler ausgibt: gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -c -o AdiUsbAdslDriver.o AdiUsbAdslDriver.c In file included from ADIUTIL/Adiutil.h:54, from AdiUsbAdslDriver.c:29: ADIUTIL/Macros.h:63:1: warning: "min" redefined In file included from ADIUTIL/Adiutil.h:34, from AdiUsbAdslDriver.c:29: /usr/src/linux/include/linux/kernel.h:175:1: warning: this is the location of the previous definition In file included from ADIUTIL/Adiutil.h:54, from AdiUsbAdslDriver.c:29: ADIUTIL/Macros.h:64:1: warning: "max" redefined In file included from ADIUTIL/Adiutil.h:34, from AdiUsbAdslDriver.c:29: /usr/src/linux/include/linux/kernel.h:181:1: warning: this is the location of the previous definition AdiUsbAdslDriver.c:622:43: missing terminating " character AdiUsbAdslDriver.c:623:54: missing terminating " character AdiUsbAdslDriver.c:1047:1: unterminated argument list invoking macro "ZAP" AdiUsbAdslDriver.c: In function `adi_start_xmit': AdiUsbAdslDriver.c:1047: error: `ZAP' undeclared (first use in this function) AdiUsbAdslDriver.c:1047: error: (Each undeclared identifier is reported only once AdiUsbAdslDriver.c:1047: error: for each function it appears in.) AdiUsbAdslDriver.c:1047: error: parse error at end of input AdiUsbAdslDriver.c:47: warning: `adi_set_multicast' used but never defined AdiUsbAdslDriver.c:48: warning: `adi_tx_timeout' used but never defined AdiUsbAdslDriver.c:49: warning: `adi_read_proc' used but never defined AdiUsbAdslDriver.c:50: warning: `adi_user' used but never defined make: *** [AdiUsbAdslDriver.o] Error 1 Über noch so einen Tipp wär ich recht dankbar. Schwarzl
Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.