The current version of RealTek 8192SU Linux driver is 0006 which is for Kernel 2.6.18 to 2.6.31 and dated 2010-03-25. However, Ubuntu 10.04 is using Kernel 2.6.32. You may encounter compile errors under Ubuntu 10.04. Don't panic, I have the solution.
Step 1 :
RealTek 8192SU driver from official site
or download it from here.
wget http://samiux.volospin.com/rtl8192SU_usb_linux_v2.6.0006.20100226.zipStep 2 :
sudo apt-get install unzipunzip rtl8192SU_usb_linux_v2.6.0006.20100226.zipcd rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100226/drivertar -xvzf rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100226.tar.gzcd rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100226Step 3 :
cd includenano osdep_service.hadd "
#include <linux/sched.h>" to the file "osdep_service.h"the result looks like this :
#ifndef __OSDEP_SERVICE_H_
#define __OSDEP_SERVICE_H_#include <drv_conf.h>
#include <basic_types.h>
#include <linux/sched.h>
//#include <rtl871x_byteorder.h>
......
Step 4 :
cd ..nano Makefileadd "
nullstring :=" under "export TOPDIR := $(PWD)"locate "
ifeq ($(CONFIG_BUILT_IN), y)" and make changes to this ifeq block. The result looks like this :ifeq ($(CONFIG_BUILT_IN), y)
include $(src)/config
else
ifeq ($(TOPDIR), $(nullstring))
include config
else
include $(TOPDIR)/config
endif
endifThe result of the first 19 lines is as the following :
EXTRA_CFLAGS += -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -W$
EXTRA_CFLAGS += -I$(src)/include -Wno-unused -Wno-unused-functionCONFIG_BUILT_IN = nexport TOPDIR := $(PWD)
nullstring :=ifeq ($(CONFIG_BUILT_IN), y)
include $(src)/config
else
ifeq ($(TOPDIR), $(nullstring))
include config
else
include $(TOPDIR)/config
endif
endififeq ($(CONFIG_RTL8711), y)Step 5 :
make clean
make
sudo make installStep 6 :
sudo modprobe 8712u
echo "8712u" | sudo tee -a /etc/modulesThe dongle will work now. Be keep in mind that when the Kernel is updated, you may require to re-compile the driver at Step 5.
That's all! See you.