Comment 6 for bug 441990

Revision history for this message
JohnFlux (johnflux) wrote :

Okay, here's what is needed:

Download RT3070USB(RT307x) from http://www.ralinktech.com/support.php?s=2

This exists in staging, but we need to patch it. These instructions are based on the version: RT3070_LinuxSTA_V2.3.0.1_20100208

Then:

   tar -xvf RT3070_LinuxSTA_V2.3.0.1_20100208.tar.bz2
   cd RT3070_LinuxSTA_V2.3.0.1_20100208
   vi common/rtusb_io.c # remove the DBGPRINT(RT_DEBUG_OFF, ("#\n")); line
   vi os/linux/usb_main_dev.c #add MODULE_LICENSE("GPL"); to the very top
   vi common/rtusb_dev_id.c #add {USB_DEVICE(0x0411,0x015d)}, /* Buffalo Airstation WLI-UC-GN */ to the list
   cp RT2870STA.dat RT3070STA.dat
   sudo make
   sudo make install
   sudo cp os/linux/rt3070sta.ko /lib/modules/2.6.31-20-generic/kernel/drivers/staging/rt3070/rt3070sta.ko
   sudo modprobe rt3070sta