So I rendered my ra3070 not working and can't repair it (edimax ew7711)

Hi everyone and welcome,

I’ve tried to push my edimax ew7711 to wireless-n, but in the meantime of learning what is needed and trying different drivers I made it can’t make stable connection. So to the point, the situation is:

This is usb ID of the device:


 3107.729604] usb 1-4: New USB device found, idVendor=7392, idProduct=7711
 3107.729614] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 3107.729620] usb 1-4: Product: 802.11 n WLAN
 3107.729624] usb 1-4: Manufacturer: Ralink
 3107.729628] usb 1-4: SerialNumber: 1.0
 3108.977307] 0x1300 = 00064300

This is how situations looks like usually: Device connects to AP, then after a second disconnects. On other drivers it disconnects when I put some traffic though it, the best situation I reached is 25%-60% succesful pings :


wlan0     Ralink STA  ESSID:"szwejki"  Nickname:"RT2870STA"
            Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
            Bit Rate:1 Mb/s
            RTS thr:off   Fragment thr:off
            Encryption key:off
            Link Quality=88/100  Signal level:-55 dBm  Noise level:-55 dBm
            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
            Tx excessive retries:0  Invalid misc:0   Missed beacon:0

the driver I am using is rt3070sta-common and rt3070sta-kmp-default in newest version. So the module I am trying to use is rt3370sta, because I suppose it supports wireless-n. Here is modinfo:


filename:       /lib/modules/2.6.34.7-0.7-default/updates/rt3370sta.ko
version:        2.4.0.1
license:        GPL
description:    RT3070/RT3370 Wireless Lan Linux Driver
author:         Paul Lin <paul_lin@ralinktech.com>
srcversion:     AC414D65A707E20E53B14F8
alias:          usb:v0DF6p0050d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v148Fp3370d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DB0p871Bd*dc*dsc*dp*ic*isc*ip*
...etc, looong list...
alias:          usb:v148Fp3070d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore
vermagic:       2.6.34.7-0.7-default SMP mod_unload modversions 586TSC
parm:           mac:rt28xx: wireless mac addr (charp)

no other packages loaded, no rt28x0-staging, just kernel-drivers. To enable rt3370sta module i had to disable original rt2870 from kernel:


blacklist rt2800usb
blacklist rt2x00usb
blacklist rt2x00lib
blacklist rt2870sta

so iwlist scan sees my AP:


wlan0     Scan completed :
          Cell 01 - Address: 74:EA:3A:DB:09:48
                    Protocol:802.11b/g/n
                    ESSID:"szwejki"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:94/100  Signal level:-53 dBm  Noise level:-92 dBm
                    Encryption key:off
                    Bit Rates:54 Mb/s

but connects (is it?) for a second, disconnecting immediately. As you see, even disabling security doesn’t help. In dmesg there’s nothing interesting, no cry for firmware. there is issue with wpa-supplicant (something about nl80211), but it is not the problem as I disabled security and it did not help:


    wlan0     warning: WPA configured, but is untested
    wlan0     warning: with this device
    wlan0     starting wpa_supplicant
nl80211: 'nl80211' generic netlink not found

So what did I messed up, that even original kernel driver stopped connecting? I could swear I’ve had fairly stable (few hours) wireless-n connection, but now I can’t make it to connect on 54mbps! I was so close to wireless-n! Help!