Bug 45241 - Edimax EW-7811Un USB dongle won't connect to networks (rtl8192cu module)
Edimax EW-7811Un USB dongle won't connect to networks (rtl8192cu module)
Status: RESOLVED CODE_FIX
Product: Networking
Classification: Unclassified
Component: Wireless
All Linux
: P1 normal
Assigned To: networking_wireless@kernel-bugs.osdl.org
https://bugs.launchpad.net/ubuntu/+so...
:
Depends on:
Blocks: 97361
  Show dependency treegraph
 
Reported: 2012-07-28 06:23 UTC by mikewhatever
Modified: 2015-04-27 16:48 UTC (History)
4 users (show)

See Also:
Kernel Version: all
Tree: Mainline
Regression: No


Attachments
lspci (96 bytes, text/plain)
2012-07-28 06:23 UTC, mikewhatever
Details
lsusb (96 bytes, text/plain)
2012-07-28 06:24 UTC, mikewhatever
Details
dmesg (100 bytes, text/plain)
2012-07-28 06:25 UTC, mikewhatever
Details
syslog-3.6.2-030602+swenc=1+debug=5 (258.54 KB, application/octet-stream)
2012-10-13 06:10 UTC, mikewhatever
Details
kernlog-3.6.2-030602-generic+swenc=1+debug=5 (736.37 KB, application/octet-stream)
2012-10-13 06:12 UTC, mikewhatever
Details
ubuntu13.04 syslog (16 bytes, text/plain)
2013-03-16 06:16 UTC, mikewhatever
Details
Patch to fix association problems with in-kernel driver (5.56 KB, patch)
2013-03-16 15:59 UTC, Larry Finger
Details | Diff

Description mikewhatever 2012-07-28 06:23:25 UTC
Created attachment 76361 [details]
lspci

The above mentioned wireless device sees the networks around, but won't connect to any of them (either open or wpa/wpa2 protected). I've been tesing it with lots of kernel versions on Ubuntu (2.6.32, 2.6.38, 3.0.x, 3.2.x, 3.5.x), Open Suse 12.1 and Fedora 16 and 17, and the built in driver has never worked. The symptoms are always the same, the networks are visible, but it's won't connect to any of them.
Comment 1 mikewhatever 2012-07-28 06:24:03 UTC
Created attachment 76371 [details]
lsusb
Comment 2 mikewhatever 2012-07-28 06:25:03 UTC
Created attachment 76381 [details]
dmesg
Comment 3 Alan 2012-09-06 15:36:15 UTC
Can you try it with the module option swenc=1
Comment 4 mikewhatever 2012-09-07 20:01:23 UTC
Hi Alan, that option made no difference. It had been suggested in post #10 of the following forum thread:
http://ubuntuforums.org/showthread.php?t=1949810
Comment 5 mikewhatever 2012-09-15 08:39:51 UTC
I've reloaded the module with the debug=5 as well as swenc=1 options. The testing environment was Ubuntu 12.04.1 32bit, kernel 3.2-29-generic-pae. Hope that will provide some usefull info, here is the WifiSyslog: https://launchpadlibrarian.net/116025652/WifiSyslog.txt
Comment 6 mikewhatever 2012-10-13 06:09:04 UTC
Bug confirmed in the 3.6.2-030602-generic kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.2-quantal/. Logs attached.
Comment 7 mikewhatever 2012-10-13 06:10:38 UTC
Created attachment 83171 [details]
syslog-3.6.2-030602+swenc=1+debug=5
Comment 8 mikewhatever 2012-10-13 06:12:36 UTC
Created attachment 83181 [details]
kernlog-3.6.2-030602-generic+swenc=1+debug=5
Comment 9 mikewhatever 2013-02-10 17:40:18 UTC
The bug has been confirmed on both 3.7 and 3.8 kernel versions. Also, the driver from realtek.com no longer builds on 3.8.0-5 in Ubuntu 13.04.
Comment 10 Klaus Meyer 2013-03-10 20:58:24 UTC
Bug confirmed in ubuntu 12.04 kernel 3.2.0-38-generic.
With the latest realtek source code everything is fine.
Comment 11 mikewhatever 2013-03-16 06:16:43 UTC
Created attachment 95491 [details]
ubuntu13.04 syslog

ubuntu13.04 syslog wpasupplicant -dd
Comment 12 mikewhatever 2013-03-16 06:17:35 UTC
Bug confirmed in Ubuntu 13.04, kernel 3.8.0-12-generic.
Comment 13 Larry Finger 2013-03-16 15:59:41 UTC
Created attachment 95561 [details]
Patch to fix association problems with in-kernel driver

This patch has been added to the latest version of the linux-wireless git tree.
Comment 14 mikewhatever 2013-08-25 07:20:14 UTC
The built in module works in Ubuntu 12.04 as of kernel 3.2.0-48-generic. The above mentioned patch must have been integrated. 
Thanks.

Note You need to log in before you can comment on or make changes to this bug.