On 08/20/2015 10:40 PM, Lee Maou Sheng wrote:
Hi sir, I am from Singapore and currently our company is trying to install Prolink WN2001 wireless adapter into Dell PowerEdge T20 with Centos 6.6 installed. I am using https://github.com/chunkeey/rtl8192su for the driver. The information I have as below: uname -a Linux ts41 2.6.32-573.3.1.el6.x86_64 #1 SMP Thu Aug 13 22:55:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux lsusb Bus 001 Device 003: ID 07b8:8179 AboCom Systems Inc make [root@ts41 rtl8192su]# make make -C /lib/modules/2.6.32-573.3.1.el6.x86_64/build M=/var/tmp/rtl8192su/rtlwifi CONFIG_RTL_CARDS=y CONFIG_RTLWIFI=m CONFIG_RTLWIFI_DEBUG=y CONFIG_RTLWIFI_DEBUGFS=y CONFIG_RTLWIFI_USB=m CONFIG_RTLWIFI_PCI=m CONFIG_RTL8192SU=m CONFIG_RTL8192SE=m CONFIG_RTL8192S_COMMON=m CONFIG_RTL8192CU=n CONFIG_RTL8192DE=n CONFIG_RTL8192CE=n CONFIG_RTL8192C_COMMON=n CONFIG_RTL8723AE=n CONFIG_RTL8188EE=n EXTRA_CFLAGS="-DDEBUG -DCONFIG_RTLWIFI_DEBUGFS=m" make[1]: Entering directory `/usr/src/kernels/2.6.32-573.3.1.el6.x86_64' CC [M] /var/tmp/rtl8192su/rtlwifi/usb.o /var/tmp/rtl8192su/rtlwifi/usb.c: In function '_rtl_prep_rx_urb': /var/tmp/rtl8192su/rtlwifi/usb.c:437: error: implicit declaration of function 'usb_alloc_coherent' /var/tmp/rtl8192su/rtlwifi/usb.c:438: warning: assignment makes pointer from integer without a cast /var/tmp/rtl8192su/rtlwifi/usb.c: In function '_rtl_usb_cleanup_rx': /var/tmp/rtl8192su/rtlwifi/usb.c:688: error: implicit declaration of function 'usb_free_coherent' make[2]: *** [/var/tmp/rtl8192su/rtlwifi/usb.o] Error 1 make[1]: *** [_module_/var/tmp/rtl8192su/rtlwifi] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-573.3.1.el6.x86_64' make: *** [all] Error 2
That device is not an RTL8192SU. It is an RTL8188EU, which has a driver at http://github.com/lwfinger/rtl8188eu.git; however, that version probably will not build on a kernel as old as 2.6.32. I try to allow a build for kernels as old as 3.0, but yours is quite a bit older.
Is there any reason that you cannot upgrade to a newer kernel? The driver you need was added to the kernel in 3.19.
Larry -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html