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

cturiel 408165 at bugs.launchpad.net
Thu Oct 28 13:17:56 UTC 2010


I got compile  2010_0915_RT3572_Linux_STA_v2.4.0.2.tar.bz2 for Linksys
WUSB600N v2 in ubuntu 10.10 (64bits). I attach the patch with both
modifies, for support the WUSSB600N v2 and for compile without errors in
kernel 2.6.35-22-generic. I think that "blacklist rt2800usb" line in
/etc/modprobe.d/blacklist.conf file is necessary too.

diff -ru 2010_0915_RT3572_Linux_STA_v2.4.0.2.orig/common/rtusb_dev_id.c 2010_0915_RT3572_Linux_STA_v2.4.0.2/common/rtusb_dev_id.c
--- 2010_0915_RT3572_Linux_STA_v2.4.0.2.orig/common/rtusb_dev_id.c      2010-07-09 04:09:41.000000000 +0200
+++ 2010_0915_RT3572_Linux_STA_v2.4.0.2/common/rtusb_dev_id.c   2010-10-27 21:53:02.931136482 +0200
@@ -117,6 +117,7 @@
        {USB_DEVICE(0x5A57,0x0284)}, /* Zinwell 3572 */
        {USB_DEVICE(0x167B,0x4001)}, /* 3572 */
        {USB_DEVICE(0x0930,0x0A07)}, /* TOSHIBA */
+       {USB_DEVICE(0x1737,0x0079)}, /* Linksys WUSB600N v2 */
 #endif // RT35xx //
        { }/* Terminating entry */
 };
diff -ru 2010_0915_RT3572_Linux_STA_v2.4.0.2.orig/include/os/rt_linux.h 2010_0915_RT3572_Linux_STA_v2.4.0.2/include/os/rt_linux.h
--- 2010_0915_RT3572_Linux_STA_v2.4.0.2.orig/include/os/rt_linux.h      2010-09-15 06:59:22.000000000 +0200
+++ 2010_0915_RT3572_Linux_STA_v2.4.0.2/include/os/rt_linux.h   2010-10-27 22:21:54.721136478 +0200
@@ -1074,8 +1074,8 @@
 #define RT28XX_PUT_DEVICE                                                                                                      usb_put_dev
 #define RTUSB_ALLOC_URB(iso)                                                                                           usb_alloc_urb(iso, GFP_ATOMIC)
 #define RTUSB_SUBMIT_URB(pUrb)                                                                                         usb_submit_urb(pUrb, GFP_ATOMIC)
-#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)                           usb_buffer_alloc(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
-#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)       usb_buffer_free(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
+#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)                           usb_alloc_coherent(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
+#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)       usb_free_coherent(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
 #else
 
 #define RT28XX_PUT_DEVICE                                                                                                      rausb_put_dev
diff -ru 2010_0915_RT3572_Linux_STA_v2.4.0.2.orig/os/linux/config.mk 2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/config.mk                                                
--- 2010_0915_RT3572_Linux_STA_v2.4.0.2.orig/os/linux/config.mk 2010-07-09 04:09:41.000000000 +0200                                                                        
+++ 2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/config.mk      2010-10-28 00:23:12.378046481 +0200                                                                        
@@ -8,10 +8,10 @@                                                                                                                                                          
 HAS_XLINK=n                                                                                                                                                               
                                                                                                                                                                           
 # Support Wpa_Supplicant                                                                                                                                                  
-HAS_WPA_SUPPLICANT=n                                                                                                                                                      
+HAS_WPA_SUPPLICANT=y                                                                                                                                                      
                                                                                                                                                                           
 # Support Native WpaSupplicant for Network Maganger                                                                                                                       
-HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
 
 #Support Net interface block while Tx-Sw queue full
 HAS_BLOCK_NET_IF=n
@@ -26,7 +26,7 @@
 HAS_MC_SUPPORT=n
 
 #Support for IEEE802.11e DLS
-HAS_QOS_DLS_SUPPORT=n
+HAS_QOS_DLS_SUPPORT=y
 
 #Support for EXT_CHANNEL
 HAS_EXT_BUILD_CHANNEL_LIST=n

-- 
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