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.
Created attachment 76371 [details] lsusb
Created attachment 76381 [details] dmesg
Can you try it with the module option swenc=1
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
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
Bug confirmed in the 3.6.2-030602-generic kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.2-quantal/. Logs attached.
Created attachment 83171 [details] syslog-3.6.2-030602+swenc=1+debug=5
Created attachment 83181 [details] kernlog-3.6.2-030602-generic+swenc=1+debug=5
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.
Bug confirmed in ubuntu 12.04 kernel 3.2.0-38-generic. With the latest realtek source code everything is fine.
Created attachment 95491 [details] ubuntu13.04 syslog ubuntu13.04 syslog wpasupplicant -dd
Bug confirmed in Ubuntu 13.04, kernel 3.8.0-12-generic.
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.
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.