RT5370 keeps disconnecting

Hi all,

I have RT5370 usb adapter on my desktop pc, running 13.1

I manage to connect but keeps getting disconnected. pluging out and in usually re-connects.

sometimes I fill slow speed, and sometimes it seems regular, but the disconnecting is the main issue.
It’s a dual boot, and win 8 seems to work fine.

I would appreciate any help.

lsusb:

Bus 001 Device 021: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

iwconfig:

wlan0 IEEE 802.11bgn ESSID:“mySSID”
Mode:Managed Frequency:2.437 GHz Access Point: 5C: D9:98:C6:61: D9
Bit Rate=48 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr: off Fragment thr: off
Power Management: on
Link Quality=43/70 Signal level=-67 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:439 Invalid misc:91 Missed beacon:0

iwlist scan sometimes find the AP and sometimes doesn’t:

i.e. sometimes:

eth0 Interface doesn’t support scanning.
lo Interface doesn’t support scanning.

and somtimes:

wlan0 Scan completed :
Cell 01 - Address: 5C: D9:98:C6:61: D9
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=35/70 Signal level=-75 dBm
Encryption key: on
ESSID:“mySSID”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000003e1af6238c
Extra: Last beacon: 30ms ago
IE: Unknown: 0005796F737369
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606001300000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD090010180204F0040000
etc.

dmesg contains the next five lines, with different number variations:

[8175.380618] ieee80211 phy4: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 4 in queue 2
[8175.702571] ieee80211 phy4: rt2800usb_txdone: Warning - Data pending for entry 10 in queue 2
[8176.481389] ieee80211 phy4: rt2x00usb_watchdog_tx_dma: Warning - TX queue 2 DMA timed out, invoke forced forced reset
[8176.594909] ieee80211 phy4: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[8177.096167] ieee80211 phy4: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping

I’ve managed to obtain the dmseg right after the disconnection.
it says:

[11165.677203] ieee80211 phy6: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping
[11165.957712] cfg80211: Calling CRDA to update world regulatory domain
[11165.959675] cfg80211: World regulatory domain updated:
[11165.959678] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[11165.959679] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[11165.959681] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[11165.959682] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[11165.959683] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[11165.959684] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[11167.213477] wlan0: authenticate with 5c:d9:98:c6:61:d9
[11167.235964] wlan0: send auth to 5c:d9:98:c6:61:d9 (try 1/3)
[11167.273427] wlan0: send auth to 5c:d9:98:c6:61:d9 (try 2/3)
[11167.344468] wlan0: send auth to 5c:d9:98:c6:61:d9 (try 3/3)
[11167.416249] wlan0: authentication with 5c:d9:98:c6:61:d9 timed out
[11220.765228] usb 1-1.5: USB disconnect, device number 31
[11221.865411] ieee80211 phy6: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0xffffffff]
[11222.107613] usb 1-1.5: new full-speed USB device number 32 using ehci-pci
[11222.181624] usb 1-1.5: device descriptor read/64, error -32
[11222.355704] usb 1-1.5: device descriptor read/64, error -32
[11222.529805] usb 1-1.5: new full-speed USB device number 33 using ehci-pci
[11222.603836] usb 1-1.5: device descriptor read/64, error -32
[11222.767885] usb 1-1.5: device descriptor read/64, error -32
[11222.941964] usb 1-1.5: new full-speed USB device number 34 using ehci-pci

does it means i have usb disconnection problems?
i don’t see it in other usb items (phone, hard drive)

any suggestions?

Hi - could this be a simple as the KDE Wallet asking for your permission to reattach every time the WPA2 wants to reset the secret key? I think I’m seeing that…