After a clean reinstall of Ubuntu, I gave it another shot. This time I tried using the driver source code included on the CD out of the box the adapter came in. For reference, this is the filename of the driver it shipped with: 2008_0506_RT73_Linux_STA_Drv1.1.0.1.tar.bz2
So I tried to configure it for making, but it needed the kernel source. So I did:
Code:
sudo apt-get install linux-headers-`uname -r`
sudo apt-get source linux-image-`uname -r`
sudo mkdir /usr/src/linux-2.6.28
sudo cp -r linux-2.6.28/* /usr/src/linux-2.6.28/
That seemed to work, even though "uname -r" yields for me "2.6.28-13-generic". I don't know if there's a difference between linux-2.6.28 and 2.6.28-13-generic, even though the apt-get command I ran asked for the more specific source.
The make config didn't error out this time, but when I attempted to compile it wasn't happy:
Code:
queso@quark:~/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module$ make config
-------------------- Ralink RT73 Station Configuration --------------------
Linux kernel source directory [/usr/src/linux-2.6.28-13-generic]: /usr/src/linux-2.6.28
Linux kernel source directory : /usr/src/linux-2.6.28
Module install directory : /lib/modules/2.6.28-13-generic/kernel/drivers/net
queso@quark:~/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module$ make all
make -C /lib/modules/2.6.28-13-generic/build SUBDIRS=/home/queso/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-13-generic'
CC [M] /home/queso/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module/rtmp_main.o
/home/queso/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module/rtmp_main.c: In function ‘usb_rtusb_close_device’:
/home/queso/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module/rtmp_main.c:443: error: implicit declaration of function ‘kill_proc’
make[2]: *** [/home/queso/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/home/queso/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-13-generic'
make: *** [all] Error 2
queso@quark:~/dl/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1/Module$
Any ideas? :-k