GK802 - wireless issues, rtl8192cu and kernel 3.0.35 v.4.1.0

246 views
Skip to first unread message

Žydrūnas Urbonas

unread,
Jan 5, 2014, 4:49:23 AM1/5/14
to imx6-...@googlegroups.com
Hi,

I have tried building 4.1.0 kernel and found that wireless is almost not working. Kernel snapshot used is the one that HSTe has recommended: http://stende.no-ip.info/files/linux-imx-gk802-3.0.35_4.1.0.tar.bz2

When I start wpa_supplicant right after boot I get following in syslog:

rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
rtl8192c: Loading firmware file rtlwifi/rtl8192cufw.bin
wlan1: direct probe to a0:f3:c1:16:4e:0a (try 1/3)
wlan1: direct probe to a0:f3:c1:16:4e:0a (try 2/3)
wlan1: direct probe to a0:f3:c1:16:4e:0a (try 3/3)
wlan1: direct probe to a0:f3:c1:16:4e:0a timed out

wpa_supplicant logs following:

EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized

After spending some time I found that if I run:

rmmod rtl8192cu
modprobe rtl8192cu

after them wpa_supplicant is able to connect. But connection is very poor - more than 50% packet drops. And after 5-15 minutes it disconnects and requires to reload the module again.

Has anyone seen this behavior?

An older kernel (1.x) on the same device (also same rootfs) and using same router (DD-WRT) shows perfect wireless connection, I even was surprised having so stable link comparing to other HDMI sticks.
Maybe there is a chance to build older rtl8192cu module from 1.x branch?

Full logs:
dmesg: http://pastebin.com/vy5YbXEV
wpa_fails: http://pastebin.com/LdedYXtK
wpa_ok: http://pastebin.com/85EZdhwW

Any comments?

Haakon Stende

unread,
Jan 5, 2014, 5:26:57 AM1/5/14
to Žydrūnas Urbonas, imx6-dongle
Hi try use the 8192cu module instead. I have both in the kernel, and think 8192cu works better

/etc/modprobe.d/8192-blacklist.conf with
blacklist rtl8192c_common
blacklist rtlwifi
blacklist rtl8192cu



2014/1/5 Žydrūnas Urbonas <tos...@gmail.com>

Žydrūnas Urbonas

unread,
Jan 5, 2014, 5:46:39 AM1/5/14
to imx6-...@googlegroups.com, Žydrūnas Urbonas
That helped!

Thanks!
Reply all
Reply to author
Forward
0 new messages