SDB:USB Wireless Adpater Using Ralink RT73 Chipset (DWL-G122)
I am using a Dlink DWL-G122 HW_Version_C1 USB wireless adapter, which is using the Ralink RT73 chipset.
Downloaded the linux drivers from RALink (http://www.ralinktech.com/supp-1.htm) and followed through the instructions (inside the download package) but got an error message during the "make all".
<----Start of error message with command "make all"---->
make -C /lib/modules/2.6.16.13-4-default/build SUBDIRS=/home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module modules make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/default' make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/default modules CC [M] /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.o In file included from /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rt_config.h:174,from /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.c:40: /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/oid.h:256:5: warning: "DBG" is not defined In file included from /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rt_config.h:178,from /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.c:40: /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp.h:2856:5: warning: "DBG" is not defined /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.c:105: error: unknown field ‘owner’ specified in initializer /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.c:105: warning: initialization from incompatible pointer type /home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.c:1315:5: warning: "DBG" is not defined make[4]: *** [/home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_main.o] Error 1 make[3]: *** [_module_/home/suse_extra/RT73_Linux_STA_Drv1.0.3.0/Module] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default' make: *** [all] Error 2
<----End of error message---->
I had search the forums and many people (using Red-Hat, Debian, Ubuntu, Mandriva) had followed the instructions managed to setup the adapter.
To proof myself wrong, I downloaded Kubuntu and followed the procedure and managed to get the adapter working.I did a fresh install of SUSE10.1 on the same computer but still can't get the adapter working :-(
Had communicated this to buzilla (BUG 183258 [1]) but was told this is not a bug in SUSE10.1 and was advised to post to this database for help.
I had posted the installation procedure (slightly modified with info from forum user with successfull attempts) together with the bug report [2]
Hope someone can help and advise what can be done.
Martin Falinski wrote:----------------------------------------------------------------------------27.06.2006
New infos from Emaildiscussion with Ralink Support Jett Chen in China
This must be test with the source from www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.0.tar.gz
Starting the listing from the emailcorrespondence here:
Hello,
a friend of mine has bought a "Levelone USB WLAN0301 V3" Stick. In this stick is a Chipset assigned 2573 as Ralink. Are their some public informations on your websites about this chipset? I'am searching for a solution to integrate the public driver for Linux. Until now I have integrated this USB Stick in Linux (OpenSuse 10.1) with ndiswrapper. I'have configured the ndiswrapper with the rt73 driver and connected with the usbdevid. It runs good. For further information do not hesitate to contact me. Best regards
Martin
Dear Sir,
You can download RT73 Linux driver from below link.
http://www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.0.tar.gz
Hi Jett, thank you very much for the driver, I had get now. I've searched in the code for the 2573 chipset and you got right it's implemented. But I'm sorry to tell you that the compilation gets errors. The error posting is: "DBG" is not defined. I have controlled the compiler, the kernel, the kernel source code. All installed an seams ok. I'm using kernel 2.6xx and first I make a copy from the makefile.6 to makefile. Surely I make the login with root before. But the errormessages still belongs the same: "DBG" is not defined Now is google my best friend, either you have an idea or in best case a solution. Best regards Martin
Chipset 2573 from Ralink -
Dear Martin,
Please change as below, two options.
1. Add "-DDBG=1" into CFLAGS in Makefile.
or
2. Change "#if DBG" to "#ifdef DBG".
Files effect to :
rtmp_main.c, rtusb_io.c, oid.hand rtmp.h.
Hi Jett, thanks a lot. I proof later. Did you post this in your ralink linux forum? The search results from from google are so much full of searches for the error "DBG.... Once more, thanks a lot. Best regards
Martin
The last proposal must be tested!! Please write your experiences--------
PS: Now the USB Stick "LevelOne WNC0301V3 runs with ndiswrapper under OpenSuse 10.1