2015-08-21 03:40:11

by Lee Maou Sheng

[permalink] [raw]
Subject: 8712U driver for CentOS 6.6

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


Wish I can get some guidance from you.

Thank you!

Best Regards,

Lee Maou Sheng
Software Engineer
Archer Logic (S) Pte. Ltd.

6 Ubi Road 1, Wintech Centre
#05-01, Singapore 408726
Tel: (65) 6785 9007 ext. 109



2015-08-21 07:11:46

by Lee Maou Sheng

[permalink] [raw]
Subject: RE: 8712U driver for CentOS 6.6

Hi Larry,

Thank you for the reply. Our clone image standardized for all outlets for
the convenience of maintenance but somehow we have client would like to do
on wireless instead of wired. I am very appreciate if you are able to build
on that kernel.

Thank you very much!

Best Regards,

Lee Maou Sheng
Software Engineer
Archer Logic (S) Pte. Ltd.

6 Ubi Road 1, Wintech Centre
#05-01, Singapore 408726
Tel: (65) 6785 9007 ext. 109

-----Original Message-----
From: Larry Finger [mailto:[email protected]] On Behalf Of Larry Finger
Sent: Friday, August 21, 2015 1:50 PM
To: Lee Maou Sheng <[email protected]>;
[email protected]
Subject: Re: 8712U driver for CentOS 6.6

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


2015-08-21 05:49:54

by Larry Finger

[permalink] [raw]
Subject: Re: 8712U driver for CentOS 6.6

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