Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: davidjf2001 on September 16, 2012, 11:34:28 PM

Title: RT8192CU Support in ARCH
Post by: davidjf2001 on September 16, 2012, 11:34:28 PM
The following link is somewhat hard to find so I put it here too.
https://www.olimex.com/Products/OLinuXino/iMX233/_resources/Arch_Linux_wifi_setup.txt
Works with my inexpensive RT8192CU USB module bought on Amazon.
Title: Re: RT8192CU Support in ARCH
Post by: Kean on September 19, 2012, 03:07:07 PM
Great find!

I will have to try that with my ASUS N10 which reports as an RTL8188.

Kean
Title: Re: RT8192CU Support in ARCH
Post by: xxcn on September 19, 2012, 04:54:47 PM
This procedure also works for rt5370, but I can't get the driver for MOD-WIFI (RTL8188CUS) working. Anyone had any success with this? 8712u.ko builds and loads fine, but no network interface shows up.
Title: Re: RT8192CU Support in ARCH
Post by: davidjf2001 on September 19, 2012, 04:56:59 PM
You ran iwconfig and saw the card? Then ifconfig wlan0 up?
Title: Re: RT8192CU Support in ARCH
Post by: xxcn on September 19, 2012, 05:48:16 PM
No interface shows up under /sys/class/net, iwconfig/ifconfig don't show anything, I see the driver is registered in the kernel log, but for some reason doesn't like the USB device.


...
usb 1-1.2: new high speed USB device using fsl-ehci and address 4
usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8176
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 802.11n WLAN Adapter
usb 1-1.2: Manufacturer: Realtek
usb 1-1.2: SerialNumber: 00e04c000001
...
-r8712u_drv_halt
usbcore: registered new interface driver r871x_usb_drv


I'm building rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 found at
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=228&DownTypeID=3&GetDown=false&Downloads=true
Title: Re: RT8192CU Support in ARCH
Post by: Kean on September 21, 2012, 02:36:41 PM
Ah, my ASUS N10's are RTL8188SU - so I can't use 8192CU driver.
I've downloaded Realteks RTL8712SU driver (same one mentioned by xxcn) and have compiled it locally

But when I do an insmod 8712u.ko I get the error:
Error: could not insert module 8712u.ko: Unknown symbol in module


In dmesg I see:
8712u: Unknown symbol cfg80211_scan_done (err 0)
8712u: Unknown symbol cfg80211_disconnected (err 0)
8712u: Unknown symbol wiphy_register (err 0)
8712u: Unknown symbol wiphy_new (err 0)
8712u: Unknown symbol cfg80211_michael_mic_failure (err 0)
8712u: Unknown symbol cfg80211_connect_result (err 0)
8712u: Unknown symbol wiphy_unregister (err 0)
8712u: Unknown symbol __ieee80211_get_channel (err 0)
8712u: Unknown symbol cfg80211_inform_bss_frame (err 0)
8712u: Unknown symbol wiphy_free (err 0)


Any suggestions on what I've missed ?
Title: Re: RT8192CU Support in ARCH
Post by: davidjf2001 on September 23, 2012, 08:08:48 PM
lsmod with my rtl8192cu driver loaded shows rtlwifi, rtl8192c_common, mac80211 and cfg80211 also loaded. Is your kernel configured for any wifi modules so that you have the other 80211 modules?