You are not logged in.

#1 2010-05-19 00:50:43

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

RT2870 Being a pain in the ass lately...

So i've had this dongle for a few months, and it took a while to get it working but it's been working flawlessely until a week ago.

So every now and then, the light on the dongle will go off. I check iwconfig and it says it's still up and still connected to my router. The light will randomly come back on and start flashing, and eventually the connection comes back after a few mins.

So, i know there's nothing wrong with my router, since my phone can still access the internet from the router. I'm not running any encryption and i'm using Wireless N mode with channel 11. I can't remember what i upgraded which might have caused this. No new kernel builds or anything...

Here's the dmesg output

Rcv Wcid(1) AddBAReq
Start Seq = 00000d61
ACT - Update2040CoexistFrameAndNotify.BSSCoex=1.EventANo=2,EventBCD=0
ACT - BuildIntolerantChannelRep , Total Channel number = 1 
ACT - BuildIntolerantChannelRep , Total Channel number = 2 
ACT-BuildIntolerantChannelRep(Size=5)
Rcv Wcid(1) AddBAReq
Start Seq = 00000ec8
Rcv Wcid(1) AddBAReq
Start Seq = 00000dd4
Rcv Wcid(1) AddBAReq
Start Seq = 00000531
Rcv Wcid(1) AddBAReq
Start Seq = 00000f03
Rcv Wcid(1) AddBAReq
Start Seq = 00000e37
Rcv Wcid(1) AddBAReq
Start Seq = 00000f16
Rcv Wcid(1) AddBAReq
Start Seq = 00000e38
Rcv Wcid(1) AddBAReq
Start Seq = 000009f0
Rcv Wcid(1) AddBAReq
Start Seq = 00000f5c
Rcv Wcid(1) AddBAReq
Start Seq = 00000e99
Rcv Wcid(1) AddBAReq
Start Seq = 0000053e
Rcv Wcid(1) AddBAReq
Start Seq = 00000fe1
Rcv Wcid(1) AddBAReq
Start Seq = 00000f18
Rcv Wcid(1) AddBAReq
Start Seq = 000005ba
usb 4-3: USB disconnect, address 2

Offline

#2 2010-05-19 01:57:14

a_priori_mouse
Member
Registered: 2010-05-16
Posts: 38

Re: RT2870 Being a pain in the ass lately...

Are you shure, that kernel wasn't upgraded? Users often have problems with RT2870, because kernel uses 2800 instead it. What about

lsmod | grep 'rt'

Last edited by a_priori_mouse (2010-05-19 02:01:40)

Offline

#3 2010-05-19 02:13:13

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: RT2870 Being a pain in the ass lately...

Yeah i'm running zen kernel that i built back in March.

Here's the lsmod output

[mountainjew@archy ~]$ lsmod | grep 'rt'
rt2870sta             523191  1 
usbcore               121608  8 snd_usb_audio,snd_usb_lib,uvcvideo,usbhid,ohci_hcd,ehci_hcd,rt2870sta
rtc_cmos                7822  0 
rtc_core               12359  1 rtc_cmos
rtc_lib                 1586  1 rtc_core

I did however build kernel26-ck a while ago and had to compile the rt2870 module again, but afaik it shouldn't affect the module i'm using on the zen kernel.

Offline

#4 2010-05-20 05:32:19

a_priori_mouse
Member
Registered: 2010-05-16
Posts: 38

Re: RT2870 Being a pain in the ass lately...

That looks normal. In fact i don't know what the problem is. The only thing I can say - I have had such "symptoms" when I changed my router settings and set  mode "802.11g only". You write, that use 802.11n mode with your phone. As far as I know, today only Samsung Wave supports 802.11n mode. So you're probably using g/n. Try to change it on auto mode, only n mode or any other, and then restart the router.

Offline

#5 2010-05-20 21:54:05

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: RT2870 Being a pain in the ass lately...

Well my phone does support Wireless N, but it's yet to be activated. I'm definately running Wireless N on my dongle though:

[mountainjew@archy ~]$ iwconfig
lo        no wireless extensions.

ra0       Ralink STA  ESSID:"dlink46"  Nickname:"RT2870STA"
          Mode:Managed  Frequency=2.462 GHz  Access Point: 1C:AF:F7:25:E6:DE   
          Bit Rate=270 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=97/100  Signal level:-60 dBm  Noise level:-71 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

I set the wireless mode in the RT2870STA config to use n/g mixed. I think i'll try it on just N and see how it goes and recompile the module. The funny thing is it only comes back to life when i try to ping or access a site. If i do nothing, it stays off. I'm wondering if maybe it's a power saving bug. Gonna have to look at how to disable that.

Thanks for the replies.

Offline

#6 2010-05-21 10:15:01

a_priori_mouse
Member
Registered: 2010-05-16
Posts: 38

Re: RT2870 Being a pain in the ass lately...

Please, write here if you will solve the problem

Offline

#7 2010-05-21 10:51:46

The_Muh
Member
Registered: 2010-05-21
Posts: 3

Re: RT2870 Being a pain in the ass lately...

you can use rt2800usb.ko - but it will be slower than rt2870sta. I installed the firmware from ralink, disabled the staging-driver and modprobed rt2800usb. Now it works - but its very slow and i get more disconnects.

Damn kernel-developer... =/

Offline

#8 2010-07-06 05:35:05

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: RT2870 Being a pain in the ass lately...

I am getting hard disconnects with these lines in dmesg:

[ 251.952041] RTUSB_VendorRequest failed(-71),TxFlags=0x0, ReqType=IN, Req=0x7, Index=0x1000
[  251.953829] Bulk In Failed. Status=-84, BIIdx=0x5, BIRIdx=0x5, actual_length= 0x0
[  251.953849] #
[  251.956023] hub 2-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
[  251.956029] usb 2-2: USB disconnect, address 2
[  251.956128] rtusb_disconnect: unregister usbnet usb-0000:00:1d.0-2
[  251.956133] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=wlan0!
[  251.956183] device disconnected

The last line "device disconnected" is repeated a few thousands times and then there is:

ERROR! H2M_MAILBOX still hold by MCU. command fail

I don't know if it's related to the OP bug but I am experiencing this since when I replaced the firmware files with those provided by Arch Linux


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#9 2010-07-06 05:40:07

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: RT2870 Being a pain in the ass lately...

It looks like stabilized after a few times I reload the module and reattempt connection


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#10 2010-07-13 08:25:27

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: RT2870 Being a pain in the ass lately...

I have posted a bug here:

http://bugs.archlinux.org/task/20159

Please vote and follow it

Last edited by legolas558 (2010-07-13 08:25:40)


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#11 2010-07-13 08:56:03

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: RT2870 Being a pain in the ass lately...

I recently fixed the AUR rt2870 package, maybe you'd like to give it a try.

(Both staging + AUR drivers work for me)

Offline

#12 2010-08-12 09:06:33

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: RT2870 Being a pain in the ass lately...

to all: the KRAUN usb dongle sucks bad, it is a hardware issue. sad

return it to the manufacturer


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

Board footer

Powered by FluxBB