[Bug 408165] Re: Linksys By Cisco WUSB600N v2 Doesn't Work

MinorFreedom minorfreedom at gmail.com
Wed Sep 22 05:15:55 UTC 2010


I believe I have found a solution to getting the latest rt3572 driver,
2.4.0.1, to work with newer kernels. This was, however, tested on a
fresh net install (via ethernet) of ArchLinux 2010.05 x86_64 with kernel
2.6.35.

Per this post, related to a different Ralink chipset:
http://art.ubuntuforums.org/showpost.php?p=9778612&postcount=108
It appears that usb_buffer_alloc and usb_buffer_free, which the driver calls on, were renamed to usb_alloc_coherent and usb_free_coherent (respectively) in kernel 2.6.35.

In order to get the driver to compile, edit ../include/os/rt_linux.h and
change all instances of "usb_buffer_alloc" to "usb_alloc_coherent" and
all instances of "usb_buffer_free" to "usb_free_coherent". From what I
can tell, there is only once occurrence of each, on lines 1077 and 1078,
respectively.

Make sure you've made the usual changes (enabling WPA Supplicant support
in ../os/linux/config.mk and adding the USB ID to
../common/rtusb_dev_id.c) and the driver should compile, install and
modprobe just fine.

I also had to blacklist the rt2800 modules as the OS was trying to use
them instead. If ifconfig/iwconfig show the device as "wlan0" then it's
most likely trying to use the rt2800 module. If the device is shown as
"ra0" the rt3572sta module should be in use.

Additionally, my apologies for not considering the e-mail address in the link above (#76) creating a problem for those not logged in, I should have used the link from within #75's link:
http://comments.gmane.org/gmane.linux.redhat.fedora.general/377427

I hope I've managed to help those with any issues!

-- 
Linksys By Cisco WUSB600N v2 Doesn't Work
https://bugs.launchpad.net/bugs/408165
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list