Search Linux Wireless

Re: Problem with the rtl8192cu - kernelmodule after ifdown, ifup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/12/2012 08:11 AM, Markus Königshaus wrote:
Hello,

I am using a USB WLAN - Stick with Realtek 8192 kernel driver. After plugging it
works fine, connecting to a WPA - network works. After ifdown wlan0, ifup wlan0
the stick no longer works , it stucks on scanning. Only a modprobe -r rtl8192cu;
modprobe rtl8192cu fixes the problem. The problem only appear if more than one
wireless - network is in range.The problem appear only in connection with the
rtl8192cu driver, other USB - sticks (with different Chipset) and other PCIE -
boards operate properly.
In order to reproduce the behavior repeat the sequenceifdown wlan0, ifup wlan0 a
few times.

wpa_cli status->
Selected interface 'wlan0'
wpa_state=SCANNING
< no change after 10 minutes>

dmesg ->
rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin
wlan0: authenticate with 00:08:54:9a:b2:5f (try 1)
wlan0: authenticated
wlan0: associate with 00:08:54:9a:b2:5f (try 1)
wlan0: RX AssocResp from 00:08:54:9a:b2:5f (capab=0x411 status=0 aid=1)
wlan0: associated
< ifdown wlan0 >
wlan0: disassociated from 00:08:54:9a:b2:5f (Reason: 14)
wlan0: deauthenticating from 00:08:54:9a:b2:5f by local choice (reason=3)
cfg80211: Calling CRDA for country: US
rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin
< ifup wlan0 >
rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin


cat /sys/class/net/wlan0/carrier -> 0
cat /sys/class/net/wlan0/operstate -> down

Kernelversion: 3.1.8

modinfo rtl8192cu->
filename: kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
description: Realtek 8192C/8188C 802.11n USB wireless
author: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
author: Georgia <georgia@xxxxxxxxxxx>
license: GPL
vermagic: 3.1.8-WuT preempt mod_unload ARMv5
firmware: rtlwifi/rtl8192cufw.bin
depends: rtlwifi,rtl8192c-common

lsusb ->
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0bda:8176

I will try to duplicate your results; however,there are two things I would like you to try. First is to get a copy of the bleeding-edge compat-wireless code, build and install the package, and test to see if it still fails. If it does, I want you to load the driver with a 'debug=4' option. In other words, use

modprobe -v rtl8192cu debug=4

Then, after a failure occurs, send me the output of a dmesg command.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux