• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Bei Installation des Atmel WLAN Adapters viele Fehler

TristanS

Newbie
Ich habe SuSE Linux 10 mit dem 2.6.13-15 Kernel. Dieser hat nach der Installation zwar meinen Noname WLAN USB Adapter mit Atmelchip erkannt, jedoch brachte ich keine Verbindung zum Router zustande.

Auf dem Chip meines Adapters steht:
ATMEL
AT76C503A
56602-2
2G4289
0249 TAIWAN

Auf der Treiber-CD für Windows, die beim Adapter dabei war war u.a. ein Verweis auf:

http://sourceforge.net/projects/atmelwlandriver

Ich habe dann erstmal alle Atmel Treiber im Kernel, bzw. entsprechende Module in Linux gelöscht und dann die neuste Version des Treibers (3.4.1.1) geladen und entpackt.

In Linux habe ich mir dann mit:

Code:
cat /proc/bus/usb/devices

unter anderem diesen Block gefunden...

Code:
T:  Bus=04 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=fe(app. ) Sub=01 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03eb ProdID=7605 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

... welcher wohl meinem Wlan Adapter entsprechen dürfte. Treiber war nach dem Löschen auch keiner mehr geladen. Ich hab mir dann die beiden Zahlen für Vendor und ProdID notiert und daraufhin die Datei "config.h" im Unterverzeichnis des Archivs des Teibers "/src/includes/usb" angepasst.
Die Datei sah nach meiner Bearbeitung so aus (den letzten Block mit R503A habe ich hinzugefügt):

Code:
/***************************************************************************
Copyright 2000-2001 ATMEL Corporation.

This file is part of atmel wireless lan drivers.

Atmel wireless lan drivers is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

Atmel wireless lan drivers is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Atmel wireless lan drivers; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

***************************************************************************/
#ifndef __config_h_OK__
#define __config_h_OK__


/* to add a device simply add a line in defines acc. to its RF part above the
all-zero line. Don't forget the trailing '' ! */

#define RFMD_DEVICES { \
 {USB_DEVICE(0x069a,0x0321)}, /* Dynalink/Askey WLL013, Compex WLU11A (?) */ \
 {USB_DEVICE(0x0d5c,0xa002)}, /* Belkin F5D6050 USB adapter */ \
 {USB_DEVICE(0x077b,0x2219)}, /* Linksys WUSB11 V2.6 adapter */ \
 {USB_DEVICE(0x03eb,0x4102)}, /* AirVast 210 */ \
 {USB_DEVICE(0x1371,0x5743)}, /* DSE XH1153 USB adapter */ \
 {USB_DEVICE(0x0864,0x4102)}, /* Netgear MA 101 Rev. B */ \
 {USB_DEVICE(0x04a5,0x9001)}, /* Benq AWL400 USB adapter */ \
 {USB_DEVICE(VNetVID,VNetPID_RFMD)}, /* Atmel's id */ \
 { } /* end with an all-zeroes entry */\
} /* end marker */

#define R505_DEVICES { \
 {USB_DEVICE(VNetVID,VNetPID_R505)}, /* Atmel's id */\
 { } /* end with an all-zeroes entry */\
} /* end marker */
 
#define R505AMX_DEVICES { \
 {USB_DEVICE(VNetVID,VNetPID_R505AMX)}, /* Atmel's id */\
 { } /* end with an all-zeroes entry */\
} /* end marker */
 
#define R505A_DEVICES { \
 {USB_DEVICE(VNetVID,VNetPID_R505A)}, /* Atmel's id */\
 {USB_DEVICE(VNetVID,VNetPID_R505AS)}, /* Atmel's id */\
 { } /* end with an all-zeroes entry */\
} /* end marker */
 
#define R505_2958_DEVICES { \
 {USB_DEVICE(VNetVID,VNetPID_R505_2958)}, /* Atmel's id */\
 { } /* end with an all-zeroes entry */\
} /* end marker */

#define R503A_DEVICES { \
 {USB_DEVICE(0x03eb,0x7605)}, /* Atmel's id */\
 { } /* end with an all-zeroes entry */\
} /* end marker */
#endif


Wenn ich jetzt ins Hauptverzeichnis des Treiberarchivs gehe und dort den Treiber übersetzen will, kommen folgende Fehler:

Code:
tristan:/home/tristan/atmelwlandriver # make usb
Building usbvnetr
Bootstraping target usbvnetr
        Debug
make[1]: Entering directory `/home/tristan/atmelwlandriver/objs/usbvnetr/debug'
make[2]: Entering directory `/usr/src/linux-2.6.13-15'
  LD      /home/tristan/atmelwlandriver/objs/usbvnetr/debug/built-in.o
  CC [M]  /home/tristan/atmelwlandriver/objs/usbvnetr/debug/callbacks.o
  CC [M]  /home/tristan/atmelwlandriver/objs/usbvnetr/debug/command.o
  CC [M]  /home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.o
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:91:5: warning: "CCX2" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:183:5: warning: "CCX2" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:1458:5: warning: "DBG" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:2284:5: warning: "DBG" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:2322:5: warning: "DBG" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:2333:5: warning: "DBG" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:2352:5: warning: "DBG" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/common.c:2390:5: warning: "DBG" is not defined
  CC [M]  /home/tristan/atmelwlandriver/objs/usbvnetr/debug/rx.o
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/rx.c:296:5: warning: "CCX2" is not defined
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/rx.c: In function ‘MgmtFrameProcessing’:
/home/tristan/atmelwlandriver/objs/usbvnetr/debug/rx.c:753: error: invalid lvalue in assignment
make[3]: *** [/home/tristan/atmelwlandriver/objs/usbvnetr/debug/rx.o] Fehler 1
make[2]: *** [_module_/home/tristan/atmelwlandriver/objs/usbvnetr/debug] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/tristan/atmelwlandriver/objs/usbvnetr/debug'
make: *** [usbvnetr] Fehler 2
tristan:/home/tristan/atmelwlandriver #


Code:
tristan:/home/tristan/atmelwlandriver # make lvnet
make[1]: Entering directory `/home/tristan/atmelwlandriver/src/apps/cmd_line'
gcc -Wall -DATMEL_WLAN -DATMEL -O2 -g -I../../includes -o lvnet -lncurses cofvnet.c sets.c survey.c
sets.c: In function ‘Set_ESSID’:
sets.c:58: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
make[1]: Leaving directory `/home/tristan/atmelwlandriver/src/apps/cmd_line'
tristan:/home/tristan/atmelwlandriver #


Code:
tristan:/home/tristan/atmelwlandriver # make winter
make[1]: wx-config: Kommando nicht gefunden
make[1]: Entering directory `/home/tristan/atmelwlandriver/src/apps/winter'
make[1]: wx-config: Kommando nicht gefunden
make[1]: wx-config: Kommando nicht gefunden
It seems that the wxWindows library is not installed.
wx-config, the script providing information about wxWindows
installation, is missing. Please, refer to the README.linux
or visit www.wxwindows.org for further information.
We are sorry about the inconvenience.
make[1]: *** [wxconfig] Fehler 255
make[1]: Leaving directory `/home/tristan/atmelwlandriver/src/apps/winter'
make: *** [winter] Fehler 2
tristan:/home/tristan/atmelwlandriver #


Beim letzten Befehl kommt eine Meldung, dass ich die wx Library nicht installiert hätte, diese habe ich jedoch schon einige Zeit zuvor mit Yast installiert, wie auf folgendem Bild zu erkennen ist:

Bildschirmfoto-klein.jpg



Was nun :?:
 

schubi

Newbie
Hallo,

ich wäre froh wenn ich so weit wäre!!
Ich habe auch suse 10.0 aber eine Siemens PC Card 11 (PCMCIA)
Ich bekomme noch nicht einmal den Treiber Onstalliert!!
und das ist auch der gleiche Treiber!! :roll:

Vieleicht kannst du mir dabei helfen!? :?:
 
Oben