OpenWrt Forum Archive

Topic: rtl8188cus

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

My device is

Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

I have installed the package kmod-rtl8187 - 3.3.8+2012-09-07-3, which is supposed to be for realtek 818x devices.
I dont see the device is being attached to any driver:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=7392 ProdID=7811 Rev= 2.00
S:  Manufacturer=Realtek
S:  Product=802.11n WLAN Adapter
S:  SerialNumber=00e04c000001
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=03(Int.) MxPS=  64 Ivl=125us


I downloaded the drivers from realtek website
http://www.realtek.com.tw/downloads/dow … loads=true

Does openwrt port for this driver already exist?


Any ideas?

sfhaider-

you need to compile your own openwrt firmware.
support for rtl8188 is added in kernel in stagging

Thanks Maurer

Please, can you elaborate further, or point me to the right URL.

-sfh

Hi,

follow http://wiki.openwrt.org/doc/howto/buildroot.exigence
and in step 4 after you run make menuconfig you need to run:
make kernel_menuconfig
navigate to stagging drivers and select rtl drivers
the follow the rest of the tutorial

then yes, your build firmware will include the driver for rtl8188.

then it will be a little tricky to make it work...but let's wait for you to get there...

Hi
I patched the 8192u driver for my particular device. Generated the firmware. Used 'insmod' to load the module r8192u_usb.ko. Got the device recognized. But it fails on the following command.

root@openwrt:~# iwconfig wlan1 enc 1234567890
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan1 ; Network is down.

root@openwrt:~# iwconfig wlan1 key 1234567890
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan1 ; Network is down.


Any help appreciated.
-sfh

Can anyone provide Openwrt binary installable firmware for RTL8188CUS?

I have the same problem

Cannot add usb dongle wifi rtl8188CUS

Try install kmod-rtl8192cu

The discussion might have continued from here.