All of lore.kernel.org
 help / color / mirror / Atom feed
* RTL8192EU on rtl8xxxu driver breaks every few minutes
@ 2016-09-19 19:42 Franc[e]sco
  2016-09-20 20:12 ` Jes Sorensen
  0 siblings, 1 reply; 6+ messages in thread
From: Franc[e]sco @ 2016-09-19 19:42 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Hi, I happen to own a RTL8192EU WiFi dongle which is marked as untested
by the rtl8xxxu driver.

I'm on a linux from scratch system using kernel 4.7.3 and wpa_supplicant
2.5.

The dongle appears to connect and work fine, but after around 10 minutes
it deauthenticates and enters and endless loop of authentication
timeout. This continues even if I bring the interface down and back up
again. The only way to restore the connection is to physically remove
and re-plug the usb dongle.

I have attached a dmesg log of connecting and entering the auth loop.


[-- Attachment #2: rtl8192eu-dmesg --]
[-- Type: text/plain, Size: 6251 bytes --]

[ 6622.717543] usb 2-1.7: new high-speed USB device number 12 using ehci-pci
[ 6622.803640] usb 2-1.7: New USB device found, idVendor=0bda, idProduct=818b
[ 6622.804026] usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber
=3
[ 6622.804417] usb 2-1.7: Product: 802.11n NIC
[ 6622.804816] usb 2-1.7: Manufacturer: Realtek
[ 6622.805215] usb 2-1.7: SerialNumber: 00e04c000001
[ 6622.805905] usb 2-1.7: This Realtek USB WiFi dongle (0x0bda:0x818b) is untest
ed!
[ 6622.806332] usb 2-1.7: Please report results to Jes.Sorensen@gmail.com
[ 6622.970016] usb 2-1.7: Vendor: Realtek
[ 6622.970454] usb 2-1.7: Product: 802.11n NIC
[ 6622.970897] usb 2-1.7: Serial: �����������
[ 6622.971339] usb 2-1.7: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[ 6622.971802] usb 2-1.7: 00: 29 81 00 7c 01 40 03 00
[ 6622.972269] usb 2-1.7: 08: 40 74 04 50 14 00 00 00
[ 6622.972735] usb 2-1.7: 10: 21 20 1f 23 23 23 2d 2c
[ 6622.973202] usb 2-1.7: 18: 2b 2d 2d ff ef ef ff ff
[ 6622.973671] usb 2-1.7: 20: ff ff ff ff ff ff ff ff
[ 6622.974135] usb 2-1.7: 28: ff ff ff ff ff ff ff ff
[ 6622.974598] usb 2-1.7: 30: ff ff ff ff ff ff ff ff
[ 6622.975052] usb 2-1.7: 38: ff ff 1f 1d 1c 1e 1e 1e
[ 6622.975504] usb 2-1.7: 40: 2a 29 28 29 29 ff ef ef
[ 6622.975957] usb 2-1.7: 48: ff ff ff ff ff ff ff ff
[ 6622.976412] usb 2-1.7: 50: ff ff ff ff ff ff ff ff
[ 6622.976861] usb 2-1.7: 58: ff ff ff ff ff ff ff ff
[ 6622.977308] usb 2-1.7: 60: ff ff ff ff ff ff ff ff
[ 6622.977759] usb 2-1.7: 68: ff ff ff ff ff ff ff ff
[ 6622.978202] usb 2-1.7: 70: ff ff ff ff ff ff ff ff
[ 6622.978641] usb 2-1.7: 78: ff ff ff ff ff ff ff ff
[ 6622.979073] usb 2-1.7: 80: ff ff ff ff ff ff ff ff
[ 6622.979501] usb 2-1.7: 88: ff ff ff ff ff ff ff ff
[ 6622.979926] usb 2-1.7: 90: ff ff ff ff ff ff ff ff
[ 6622.980343] usb 2-1.7: 98: ff ff ff ff ff ff ff ff
[ 6622.980760] usb 2-1.7: a0: ff ff ff ff ff ff ff ff
[ 6622.981174] usb 2-1.7: a8: ff ff ff ff ff ff ff ff
[ 6622.981588] usb 2-1.7: b0: ff ff ff ff ff ff ff ff
[ 6622.982002] usb 2-1.7: b8: 20 0d ff 00 33 88 ff ff
[ 6622.982421] usb 2-1.7: c0: ff 01 20 13 00 00 00 ff
[ 6622.982848] usb 2-1.7: c8: 00 00 ff ff ff ff ff ff
[ 6622.983275] usb 2-1.7: d0: da 0b 8b 81 e7 47 02 00
[ 6622.983711] usb 2-1.7: d8: 19 88 00 1e 33 09 03 52
[ 6622.984150] usb 2-1.7: e0: 65 61 6c 74 65 6b 0d 03
[ 6622.984594] usb 2-1.7: e8: 38 30 32 2e 31 31 6e 20
[ 6622.985045] usb 2-1.7: f0: 4e 49 43 00 ff ff ff ff
[ 6622.985500] usb 2-1.7: f8: ff ff ff ff ff ff ff ff
[ 6622.985960] usb 2-1.7: 100: ff ff ff ff ff ff ff ff
[ 6622.986423] usb 2-1.7: 108: ff ff ff ff ff ff ff ff
[ 6622.986889] usb 2-1.7: 110: ff ff ff ff ff ff ff 0d
[ 6622.987354] usb 2-1.7: 118: 03 00 05 00 30 00 00 00
[ 6622.987827] usb 2-1.7: 120: 00 93 ff ff ff ff ff ff
[ 6622.988302] usb 2-1.7: 128: ff ff ff ff ff ff ff ff
[ 6622.988779] usb 2-1.7: 130: f6 a8 98 2d 03 92 98 00
[ 6622.989262] usb 2-1.7: 138: fc 8c 00 11 9b 44 02 0a
[ 6622.989750] usb 2-1.7: 140: ff ff ff ff ff ff ff ff
[ 6622.990243] usb 2-1.7: 148: ff ff ff ff ff ff ff ff
[ 6622.990736] usb 2-1.7: 150: ff ff ff ff ff ff ff ff
[ 6622.991214] usb 2-1.7: 158: ff ff ff ff ff ff ff ff
[ 6622.991679] usb 2-1.7: 160: ff ff ff ff ff ff ff ff
[ 6622.992133] usb 2-1.7: 168: ff ff ff ff ff ff ff ff
[ 6622.992580] usb 2-1.7: 170: ff ff ff ff ff ff ff ff
[ 6622.993013] usb 2-1.7: 178: ff ff ff ff ff ff ff ff
[ 6622.993437] usb 2-1.7: 180: ff ff ff ff ff ff ff ff
[ 6622.993847] usb 2-1.7: 188: ff ff ff ff ff ff ff ff
[ 6622.994254] usb 2-1.7: 190: ff ff ff ff ff ff ff ff
[ 6622.994653] usb 2-1.7: 198: ff ff ff ff ff ff ff ff
[ 6622.995035] usb 2-1.7: 1a0: ff ff ff ff ff ff ff ff
[ 6622.995409] usb 2-1.7: 1a8: ff ff ff ff ff ff ff ff
[ 6622.995774] usb 2-1.7: 1b0: ff ff ff ff ff ff ff ff
[ 6622.996129] usb 2-1.7: 1b8: ff ff ff ff ff ff ff ff
[ 6622.996479] usb 2-1.7: 1c0: ff ff ff ff ff ff ff ff
[ 6622.996827] usb 2-1.7: 1c8: ff ff ff ff ff ff ff ff
[ 6622.997161] usb 2-1.7: 1d0: ff ff ff ff ff ff ff ff
[ 6622.997483] usb 2-1.7: 1d8: ff ff ff ff ff ff ff ff
[ 6622.997798] usb 2-1.7: 1e0: ff ff ff ff ff ff ff ff
[ 6622.998109] usb 2-1.7: 1e8: ff ff ff ff ff ff ff ff
[ 6622.998413] usb 2-1.7: 1f0: ff ff ff ff ff ff ff ff
[ 6622.998711] usb 2-1.7: 1f8: ff ff ff ff ff ff ff ff
[ 6622.998996] usb 2-1.7: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0
, GPS=0, HI PA=0
[ 6622.999302] usb 2-1.7: RTL8192EU MAC: 00:19:88:00:1e:33
[ 6622.999606] usb 2-1.7: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 6622.999941] usb 2-1.7: Firmware revision 19.0 (signature 0x92e1)
[ 6624.003786] rtl8xxxu 2-1.7:1.0 enx001988001e33: renamed from wlan0
[ 6633.949414] IPv6: ADDRCONF(NETDEV_UP): enx001988001e33: link is not ready
[ 6635.137882] enx001988001e33: authenticate with e0:3f:49:97:0c:68
[ 6635.160663] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 6635.162690] enx001988001e33: authenticated
[ 6635.163682] enx001988001e33: associate with e0:3f:49:97:0c:68 (try 1/3)
[ 6635.168464] enx001988001e33: RX AssocResp from e0:3f:49:97:0c:68 (capab=0xc11
 status=0 aid=3)
[ 6635.170662] usb 2-1.7: rtl8xxxu_bss_info_changed: HT supported
[ 6635.172789] enx001988001e33: associated
[ 6635.173315] IPv6: ADDRCONF(NETDEV_CHANGE): enx001988001e33: link becomes read
y
[ 6635.919948] usb 2-1.7: rtl8xxxu_ampdu_action: IEEE80211_AMPDU_RX_START
[ 7722.939773] enx001988001e33: deauthenticated from e0:3f:49:97:0c:68 (Reason:
3=DEAUTH_LEAVING)
[ 7722.945389] usb 2-1.7: rtl8xxxu_ampdu_action: IEEE80211_AMPDU_RX_STOP
[ 7724.154574] enx001988001e33: authenticate with e0:3f:49:97:0c:68
[ 7724.177624] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 7724.378378] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 7724.579405] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 7724.780407] enx001988001e33: authentication with e0:3f:49:97:0c:68 timed out
[ 7726.379564] enx001988001e33: authenticate with e0:3f:49:97:0c:68
[ 7726.402023] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 7726.603430] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 7726.804431] enx001988001e33: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 7727.005433] enx001988001e33: authentication with e0:3f:49:97:0c:68 timed out

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTL8192EU on rtl8xxxu driver breaks every few minutes
  2016-09-19 19:42 RTL8192EU on rtl8xxxu driver breaks every few minutes Franc[e]sco
@ 2016-09-20 20:12 ` Jes Sorensen
  2016-09-21 17:44   ` Franc[e]sco
  0 siblings, 1 reply; 6+ messages in thread
From: Jes Sorensen @ 2016-09-20 20:12 UTC (permalink / raw)
  To: Franc[e]sco; +Cc: linux-wireless

"Franc[e]sco" <lolisamurai@waifu.club> writes:
> Hi, I happen to own a RTL8192EU WiFi dongle which is marked as untested
> by the rtl8xxxu driver.
>
> I'm on a linux from scratch system using kernel 4.7.3 and wpa_supplicant
> 2.5.
>
> The dongle appears to connect and work fine, but after around 10 minutes
> it deauthenticates and enters and endless loop of authentication
> timeout. This continues even if I bring the interface down and back up
> again. The only way to restore the connection is to physically remove
> and re-plug the usb dongle.
>
> I have attached a dmesg log of connecting and entering the auth loop.

Please provide details about the AP you are trying to connect to and iw
link output.

Jes

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTL8192EU on rtl8xxxu driver breaks every few minutes
  2016-09-20 20:12 ` Jes Sorensen
@ 2016-09-21 17:44   ` Franc[e]sco
  2016-09-30 23:39     ` Jes Sorensen
  0 siblings, 1 reply; 6+ messages in thread
From: Franc[e]sco @ 2016-09-21 17:44 UTC (permalink / raw)
  Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]

Oops, forgot to forward the previous reply to the mailing list.

I have attached the output of iw link

the AP is an asus dsl-n55u router in 2.4 GHz mode, using WPA2-Personal
with AES encryption. It's also running a second 5GHz wireless network
which has a different SSID.

Also, this seems to be some kind of power saving kicking in, as the dongle keeps working as long as I keep doing things over ssh.


On 09/20/2016 10:12 PM, Jes Sorensen wrote:
> "Franc[e]sco" <lolisamurai@waifu.club> writes:
>> Hi, I happen to own a RTL8192EU WiFi dongle which is marked as untested
>> by the rtl8xxxu driver.
>>
>> I'm on a linux from scratch system using kernel 4.7.3 and wpa_supplicant
>> 2.5.
>>
>> The dongle appears to connect and work fine, but after around 10 minutes
>> it deauthenticates and enters and endless loop of authentication
>> timeout. This continues even if I bring the interface down and back up
>> again. The only way to restore the connection is to physically remove
>> and re-plug the usb dongle.
>>
>> I have attached a dmesg log of connecting and entering the auth loop.
> Please provide details about the AP you are trying to connect to and iw
> link output.
>
> Jes


[-- Attachment #2: rtl8192eu-iw-link.txt --]
[-- Type: text/plain, Size: 214 bytes --]

$ ./iw enx001988001e33 link
Connected to e0:3f:49:97:0c:68 (on enx001988001e33)
	SSID: memes
	freq: 2472
	RX: 4328394 bytes (26075 packets)
	TX: 380760 bytes (2785 packets)
	signal: -60 dBm
	tx bitrate: 1.0 MBit/s

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTL8192EU on rtl8xxxu driver breaks every few minutes
  2016-09-21 17:44   ` Franc[e]sco
@ 2016-09-30 23:39     ` Jes Sorensen
  2016-10-02 16:03       ` Franc[e]sco
  0 siblings, 1 reply; 6+ messages in thread
From: Jes Sorensen @ 2016-09-30 23:39 UTC (permalink / raw)
  To: Franc[e]sco; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

"Franc[e]sco" <lolisamurai@waifu.club> writes:
> Oops, forgot to forward the previous reply to the mailing list.
>
> I have attached the output of iw link
>
> the AP is an asus dsl-n55u router in 2.4 GHz mode, using WPA2-Personal
> with AES encryption. It's also running a second 5GHz wireless network
> which has a different SSID.
>
> Also, this seems to be some kind of power saving kicking in, as the
> dongle keeps working as long as I keep doing things over ssh.

I just pushed a patch into rtl8xxxu-devel which may resolve this issue.
There were problems with the 8192eu not handling driver reload very
well. It is possible the network scripts you run would trigger the shut
down and restart that caused this problem.

I would be interested in knowing if this patch resolves the problem for
you.

Jes

PS: Please fix your mail client - adding unlisted-recipients to the Cc
line and cutting out the person you are responding to is really
annoying.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-rtl8xxxu-Fix-rtl8192eu-driver-reload-issue.patch --]
[-- Type: text/x-patch, Size: 1873 bytes --]

>From 93064d0ae3e9d97c03a3aabd71e6048e1ac82f46 Mon Sep 17 00:00:00 2001
From: Jes Sorensen <Jes.Sorensen@redhat.com>
Date: Fri, 30 Sep 2016 19:18:34 -0400
Subject: [PATCH 2/2] rtl8xxxu: Fix rtl8192eu driver reload issue

The 8192eu suffered from two issues when reloading the driver.

The same problems as with the 8723bu where REG_RX_WAIT_CCA bits 22 and
23 didn't get set in rtl8192e_enable_rf().

In addition it also seems prone to issues when setting REG_RF_CTRL to
0 intead of just disabling the RF_ENABLE bit. Similar to what was
causing issues with the 8188eu.

With this patch I can successfully reload the driver and reassociate
to an APi with an 8192eu dongle.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
index df54d27..a793fed 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
@@ -1461,7 +1461,9 @@ static int rtl8192eu_active_to_emu(struct rtl8xxxu_priv *priv)
 	int count, ret = 0;
 
 	/* Turn off RF */
-	rtl8xxxu_write8(priv, REG_RF_CTRL, 0);
+	val8 = rtl8xxxu_read8(priv, REG_RF_CTRL);
+	val8 &= ~RF_ENABLE;
+	rtl8xxxu_write8(priv, REG_RF_CTRL, val8);
 
 	/* Switch DPDT_SEL_P output from register 0x65[2] */
 	val8 = rtl8xxxu_read8(priv, REG_LEDCFG2);
@@ -1593,6 +1595,10 @@ static void rtl8192e_enable_rf(struct rtl8xxxu_priv *priv)
 	u32 val32;
 	u8 val8;
 
+	val32 = rtl8xxxu_read32(priv, REG_RX_WAIT_CCA);
+	val32 |= (BIT(22) | BIT(23));
+	rtl8xxxu_write32(priv, REG_RX_WAIT_CCA, val32);
+
 	val8 = rtl8xxxu_read8(priv, REG_GPIO_MUXCFG);
 	val8 |= BIT(5);
 	rtl8xxxu_write8(priv, REG_GPIO_MUXCFG, val8);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: RTL8192EU on rtl8xxxu driver breaks every few minutes
  2016-09-30 23:39     ` Jes Sorensen
@ 2016-10-02 16:03       ` Franc[e]sco
  2016-10-03 12:21         ` Jes Sorensen
  0 siblings, 1 reply; 6+ messages in thread
From: Franc[e]sco @ 2016-10-02 16:03 UTC (permalink / raw)
  To: Jes Sorensen; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

Thanks for the patch, just tested the rtl8xxxu-devel branch and it seems
to have the same exact issue with the same dmesg output with the
addition of "rtl8192eu_active_to_emu: Disabling MAC timed out" when I
disconnect the dongle.

I checked out and compiled the whole kernel from the branch because the
4.7.4 sources seemed to be missing the rtl8192eu_active_to_emu function.

These are the main networking scripts provided by Linux From Scratch, by
the way:
http://www.linuxfromscratch.org/lfs/view/7.10/scripts/apds24.html
http://www.linuxfromscratch.org/lfs/view/7.10/scripts/apds26.html

On 10/01/2016 01:39 AM, Jes Sorensen wrote:
> I just pushed a patch into rtl8xxxu-devel which may resolve this issue.
> There were problems with the 8192eu not handling driver reload very
> well. It is possible the network scripts you run would trigger the shut
> down and restart that caused this problem.
>
> I would be interested in knowing if this patch resolves the problem for
> you.
>
> Jes
>
> PS: Please fix your mail client - adding unlisted-recipients to the Cc
> line and cutting out the person you are responding to is really
> annoying.
>


[-- Attachment #2: rtl8192eu-iw-link-devel.txt --]
[-- Type: text/plain, Size: 328 bytes --]

# uname -a
Linux lfs 4.8.0-rc6 #1 SMP Wed Feb 10 17:55:47 CET 2016 x86_64
GNU/Linux

# iw wlan0 link
Connected to e0:3f:49:97:0c:68 (on wlan0)
SSID: memes
freq: 2472
RX: 4853613 bytes (23417 packets)
TX: 2256453 bytes (9807 packets)
signal: -57 dBm
tx bitrate: 1.0 MBit/s

bss flags:short-slot-time
dtim period:1
beacon int:100

[-- Attachment #3: rtl8192eu-dmesg-devel.txt --]
[-- Type: text/plain, Size: 10217 bytes --]

[   49.588764] usb 2-1.4: New USB device found, idVendor=0bda, idProduct=818b
[   49.589418] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=
3
[   49.590060] usb 2-1.4: Product: 802.11n NIC
[   49.590681] usb 2-1.4: Manufacturer: Realtek
[   49.591307] usb 2-1.4: SerialNumber: 00e04c000001
[   49.592149] usb 2-1.4: This Realtek USB WiFi dongle (0x0bda:0x818b) is unteste
d!
[   49.592791] usb 2-1.4: Please report results to Jes.Sorensen@gmail.com
[   49.756655] usb 2-1.4: Vendor: Realtek
[   49.757295] usb 2-1.4: Product: 802.11n NIC
[   49.757932] usb 2-1.4: Serial: \xffffffff\xffffffff\xffffffff\xffffffff\xfffff
fff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
[   49.758560] usb 2-1.4: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[   49.759196] usb 2-1.4: 00: 29 81 00 7c 01 40 03 00
[   49.759819] usb 2-1.4: 08: 40 74 04 50 14 00 00 00
[   49.760442] usb 2-1.4: 10: 21 20 1f 23 23 23 2d 2c
[   49.761072] usb 2-1.4: 18: 2b 2d 2d ff ef ef ff ff
[   49.761701] usb 2-1.4: 20: ff ff ff ff ff ff ff ff
[   49.762318] usb 2-1.4: 28: ff ff ff ff ff ff ff ff
[   49.762930] usb 2-1.4: 30: ff ff ff ff ff ff ff ff
[   49.763532] usb 2-1.4: 38: ff ff 1f 1d 1c 1e 1e 1e
[   49.764133] usb 2-1.4: 40: 2a 29 28 29 29 ff ef ef
[   49.764730] usb 2-1.4: 48: ff ff ff ff ff ff ff ff
[   49.765319] usb 2-1.4: 50: ff ff ff ff ff ff ff ff
[   49.765893] usb 2-1.4: 58: ff ff ff ff ff ff ff ff
[   49.766447] usb 2-1.4: 60: ff ff ff ff ff ff ff ff
[   49.766998] usb 2-1.4: 68: ff ff ff ff ff ff ff ff
[   49.767540] usb 2-1.4: 70: ff ff ff ff ff ff ff ff
[   49.768083] usb 2-1.4: 78: ff ff ff ff ff ff ff ff
[   49.768619] usb 2-1.4: 80: ff ff ff ff ff ff ff ff
[   49.769152] usb 2-1.4: 88: ff ff ff ff ff ff ff ff
[   49.769686] usb 2-1.4: 90: ff ff ff ff ff ff ff ff
[   49.770220] usb 2-1.4: 98: ff ff ff ff ff ff ff ff
[   49.770748] usb 2-1.4: a0: ff ff ff ff ff ff ff ff
[   49.771271] usb 2-1.4: a8: ff ff ff ff ff ff ff ff
[   49.771794] usb 2-1.4: b0: ff ff ff ff ff ff ff ff
[   49.772312] usb 2-1.4: b8: 20 0d ff 00 33 88 ff ff
[   49.772830] usb 2-1.4: c0: ff 01 20 13 00 00 00 ff
[   49.773347] usb 2-1.4: c8: 00 00 ff ff ff ff ff ff
[   49.773863] usb 2-1.4: d0: da 0b 8b 81 e7 47 02 00
[   49.774373] usb 2-1.4: d8: 19 88 00 1e 33 09 03 52
[   49.774871] usb 2-1.4: e0: 65 61 6c 74 65 6b 0d 03
[   49.775373] usb 2-1.4: e8: 38 30 32 2e 31 31 6e 20
[   49.775867] usb 2-1.4: f0: 4e 49 43 00 ff ff ff ff
[   49.776351] usb 2-1.4: f8: ff ff ff ff ff ff ff ff
[   49.776836] usb 2-1.4: 100: ff ff ff ff ff ff ff ff
[   49.777321] usb 2-1.4: 108: ff ff ff ff ff ff ff ff
[   49.777804] usb 2-1.4: 110: ff ff ff ff ff ff ff 0d
[   49.778275] usb 2-1.4: 118: 03 00 05 00 30 00 00 00
[   49.778747] usb 2-1.4: 120: 00 93 ff ff ff ff ff ff
[   49.779212] usb 2-1.4: 128: ff ff ff ff ff ff ff ff
[   49.779679] usb 2-1.4: 130: f6 a8 98 2d 03 92 98 00
[   49.780142] usb 2-1.4: 138: fc 8c 00 11 9b 44 02 0a
[   49.780608] usb 2-1.4: 140: ff ff ff ff ff ff ff ff
[   49.781073] usb 2-1.4: 148: ff ff ff ff ff ff ff ff
[   49.781536] usb 2-1.4: 150: ff ff ff ff ff ff ff ff
[   49.781996] usb 2-1.4: 158: ff ff ff ff ff ff ff ff
[   49.782447] usb 2-1.4: 160: ff ff ff ff ff ff ff ff
[   49.782898] usb 2-1.4: 168: ff ff ff ff ff ff ff ff
[   49.783336] usb 2-1.4: 170: ff ff ff ff ff ff ff ff
[   49.783774] usb 2-1.4: 178: ff ff ff ff ff ff ff ff
[   49.784207] usb 2-1.4: 180: ff ff ff ff ff ff ff ff
[   49.784628] usb 2-1.4: 188: ff ff ff ff ff ff ff ff
[   49.785035] usb 2-1.4: 190: ff ff ff ff ff ff ff ff
[   49.785429] usb 2-1.4: 198: ff ff ff ff ff ff ff ff
[   49.785816] usb 2-1.4: 1a0: ff ff ff ff ff ff ff ff
[   49.786187] usb 2-1.4: 1a8: ff ff ff ff ff ff ff ff
[   49.786551] usb 2-1.4: 1b0: ff ff ff ff ff ff ff ff
[   49.786907] usb 2-1.4: 1b8: ff ff ff ff ff ff ff ff
[   49.787261] usb 2-1.4: 1c0: ff ff ff ff ff ff ff ff
[   49.787610] usb 2-1.4: 1c8: ff ff ff ff ff ff ff ff
[   49.787944] usb 2-1.4: 1d0: ff ff ff ff ff ff ff ff
[   49.788267] usb 2-1.4: 1d8: ff ff ff ff ff ff ff ff
[   49.788579] usb 2-1.4: 1e0: ff ff ff ff ff ff ff ff
[   49.788891] usb 2-1.4: 1e8: ff ff ff ff ff ff ff ff
[   49.789195] usb 2-1.4: 1f0: ff ff ff ff ff ff ff ff
[   49.789492] usb 2-1.4: 1f8: ff ff ff ff ff ff ff ff
[   49.789780] usb 2-1.4: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0,
 GPS=0, HI PA=0
[   49.790086] usb 2-1.4: RTL8192EU MAC: 00:19:88:00:1e:33
[   49.790393] usb 2-1.4: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[   49.816242] usb 2-1.4: Firmware revision 19.0 (signature 0x92e1)
[   66.100685] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   67.325452] wlan0: authenticate with e0:3f:49:97:0c:68
[   67.348290] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[   67.352300] wlan0: authenticated
[   67.354252] wlan0: associate with e0:3f:49:97:0c:68 (try 1/3)
[   67.365086] wlan0: RX AssocResp from e0:3f:49:97:0c:68 (capab=0xc11 status=0 a
id=1)
[   67.367429] usb 2-1.4: rtl8xxxu_bss_info_changed: HT supported
[   67.369542] wlan0: associated
[   67.370083] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  380.420651] wlan0: deauthenticated from e0:3f:49:97:0c:68 (Reason: 3=DEAUTH_LE
AVING)
[  381.674392] wlan0: authenticate with e0:3f:49:97:0c:68
[  381.697604] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  381.906162] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  382.114170] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  382.322189] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  383.954439] wlan0: authenticate with e0:3f:49:97:0c:68
[  383.976941] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  384.178355] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  384.386363] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  384.594383] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  386.730693] wlan0: authenticate with e0:3f:49:97:0c:68
[  386.753198] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  386.954610] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  387.162618] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  387.370637] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  397.516819] wlan0: authenticate with e0:3f:49:97:0c:68
[  397.529074] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  397.731597] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  397.939614] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  398.147631] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  426.414414] wlan0: authenticate with e0:3f:49:97:0c:68
[  426.437384] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  426.638255] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  426.846263] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  427.054281] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  463.313819] wlan0: authenticate with e0:3f:49:97:0c:68
[  463.336685] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  463.537642] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  463.745651] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  463.953670] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  553.226072] wlan0: authenticate with e0:3f:49:97:0c:68
[  553.249034] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  553.449901] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  553.657909] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  553.865928] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  622.136403] wlan0: authenticate with e0:3f:49:97:0c:68
[  622.159308] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  622.360239] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  622.568248] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  622.776267] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  759.053074] wlan0: authenticate with e0:3f:49:97:0c:68
[  759.075897] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  759.276802] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  759.484810] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  759.692829] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[  913.971203] wlan0: authenticate with e0:3f:49:97:0c:68
[  913.994407] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[  914.203030] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[  914.411037] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[  914.619056] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[ 1063.896978] wlan0: authenticate with e0:3f:49:97:0c:68
[ 1063.919829] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 1064.120800] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 1064.328809] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 1064.536826] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[ 1230.816360] wlan0: authenticate with e0:3f:49:97:0c:68
[ 1230.838703] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 1231.040109] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 1231.243792] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 1231.448163] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[ 1250.385904] kworker/dying (27) used greatest stack depth: 11848 bytes left
[ 1386.726605] wlan0: authenticate with e0:3f:49:97:0c:68
[ 1386.749555] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 1386.950442] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 1387.158451] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 1387.366469] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[ 1518.642733] wlan0: authenticate with e0:3f:49:97:0c:68
[ 1518.665180] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 1518.866556] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 1519.074564] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 1519.282583] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[ 1653.551219] wlan0: authenticate with e0:3f:49:97:0c:68
[ 1653.574209] wlan0: send auth to e0:3f:49:97:0c:68 (try 1/3)
[ 1653.782935] wlan0: send auth to e0:3f:49:97:0c:68 (try 2/3)
[ 1653.990955] wlan0: send auth to e0:3f:49:97:0c:68 (try 3/3)
[ 1654.198974] wlan0: authentication with e0:3f:49:97:0c:68 timed out
[ 1718.100734] usb 2-1.4: USB disconnect, device number 7
[ 1718.131956] usb 2-1.4: rtl8192eu_active_to_emu: Disabling MAC timed out
[ 1718.132866] usb 2-1.4: disconnecting

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RTL8192EU on rtl8xxxu driver breaks every few minutes
  2016-10-02 16:03       ` Franc[e]sco
@ 2016-10-03 12:21         ` Jes Sorensen
  0 siblings, 0 replies; 6+ messages in thread
From: Jes Sorensen @ 2016-10-03 12:21 UTC (permalink / raw)
  To: Franc[e]sco; +Cc: linux-wireless

"Franc[e]sco" <lolisamurai@waifu.club> writes:
> Thanks for the patch, just tested the rtl8xxxu-devel branch and it seems
> to have the same exact issue with the same dmesg output with the
> addition of "rtl8192eu_active_to_emu: Disabling MAC timed out" when I
> disconnect the dongle.
>
> I checked out and compiled the whole kernel from the branch because the
> 4.7.4 sources seemed to be missing the rtl8192eu_active_to_emu function.

There are other patches related to the 8192eu in the wireless tree which
fix some issues with the dongle if you reload the driver. Alternatively
pull my git tree and build that.

Jes

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-03 12:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 19:42 RTL8192EU on rtl8xxxu driver breaks every few minutes Franc[e]sco
2016-09-20 20:12 ` Jes Sorensen
2016-09-21 17:44   ` Franc[e]sco
2016-09-30 23:39     ` Jes Sorensen
2016-10-02 16:03       ` Franc[e]sco
2016-10-03 12:21         ` Jes Sorensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.