D-Link DWA-140 B2 (RT3071-based) can connect to 802.11n-mode AP, but always set 54 Mbit/s connection speed

Bug #606839 reported by RussianNeuroMancer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Invalid
Medium
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

D-Link DWA-140 B2 (RT3071-based) can connect to 802.11n-mode AP, but always set 54 Mbit/s connection speed, even channel width is 40 MHz.
Tested on 2.6.35-22 in Maverick.

With 2.6.32 kernel on Lucid and rt3070 driver from ppa:logari81/ppa adapter can work in 802.11n-mode in fullspeed (~270 Mbit/s).

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi RussianNeuroMancer,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 606839

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AplayDevices.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : BootDmesg.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.1.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.2.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.3.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : CurrentDmesg.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : IwConfig.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Lspci.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Lsusb.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : PciMultimedia.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcInterrupts.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcModules.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : RfKill.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : UdevDb.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : UdevLog.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : WifiSyslog.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AlsaDevices.txt

apport information

description: updated
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AplayDevices.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : BootDmesg.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.1.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.2.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.3.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : CurrentDmesg.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : IwConfig.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Lspci.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Lsusb.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : PciMultimedia.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcInterrupts.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcModules.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : RfKill.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : UdevDb.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : UdevLog.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : WifiSyslog.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Re: D-Link DWA-140 B2 (RT3071-based) can't connect to 802.11n-mode AP

I filled this bug on Maverick with latest updates and latest upstream kernel. Connection log attached.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Still issue with latest kernel (2.6.36rc3).

tags: added: regression-potential
removed: kj-triage needs-kernel-logs needs-upstream-testing
tags: added: kj-triage
summary: - D-Link DWA-140 B2 (RT3071-based) can't connect to 802.11n-mode AP
+ D-Link DWA-140 B2 (RT3071-based) can connect to 802.11n-mode AP, but
+ always set 54 Mbit/s connection speed
description: updated
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Now with 2.6.35-22 kernel in Ubuntu Maverick adapter can connect to 802.11n-mode AP, but always set 54 Mbit/s connection speed, even channel width is 40 MHz.

tags: added: regression-release
removed: apport-collected regression-potential
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

New logs:

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Hmm, sorry. Looks like I can not attach new logs automatically because of this bug: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/651672

Maybe I can attach it manually? What log-files are needed?

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AlsaDevices.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : AplayDevices.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : BootDmesg.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : CurrentDmesg.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : IwConfig.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Lspci.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : Lsusb.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : PciMultimedia.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcInterrupts.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : ProcModules.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : RfKill.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : UdevDb.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : UdevLog.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote : WifiSyslog.txt

apport information

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

In logs you can see - I attach to laptop D-Link DWA-140 B2 and try to connect. Still same issue - only 54 Mbps/sec even 802.11n is used.

description: updated
Changed in linux:
status: Unknown → Confirmed
Changed in linux:
importance: Unknown → Medium
Revision history for this message
Andrea Olivo (andryandrew) wrote :

With the instructions from this (http://www.linuxcrew.de/2010/10/11/rt2870-compile-error-under-kubuntu-maverick-10-10/?lang=en) site, adapted for the rt3070 driver, I managed to get the dongle working also in Maverick and Natty.
To sum up, That's what I've done:

- Downloaded the source of the package "rt3070" from from ppa:logari81/ppa (lucid version). Maybe on the ralink site there's a newer version, but they have messed up the driver names in a way that i couldn't understand.

- Extracted the source and patched with the patch provided in the linked article (http://www.linuxcrew.de/2010/10/11/wp-content/uploads/2010/10/rt2870sta_usb_kernel2635.patch)

- Unplugged the dongle, typed "sudo rmmod rt2870sta"

- make && sudo make install

- sudo modprobe rt3070sta

No need for me to blacklist the previous driver, at the reboot it selected the 3070 automatically. Obviously with this method you lose dkms support, so you have to recompile the driver for every kernel update. Maybe we can contact the developer of that package? The problem with Maverick is very easy to fix: that patch only changes some function names that changed in the .35 kernel.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Not issue anymore since 2.6.38 kernel.

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in linux:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.