You are not logged in.

#1 2009-11-05 17:25:06

archshrimp
Member
Registered: 2009-10-05
Posts: 2

Wifi problems, D-Link DWA-140 Rev. B2, rt2870

Hi!

I've tried to get my D-Link DWA-140 Rev. B2 USB adapter to work for a few days now. From my research I've found out that should™ work out of the box but it doesn't. The USB adapter fails to load entirely.
uname -r

2.6.31-ARCH

lsusb:

Bus 003 Device 009: ID 07d1:3c0a D-Link System

I Google'd 07d1:3c0a and found out from the LKDDb I've found that the rt2800usb driver should do the trick, the device ID is found in the list of recognized hardware. (http://cateee.net/lkddb/web-lkddb/RT2800USB.html),
lsmod | grep rt2800usb:

rt2800usb              41280  0 
rt2x00usb              12512  1 rt2800usb
rt2x00lib              35936  2 rt2800usb,rt2x00usb
crc_ccitt               2208  1 rt2800usb
usbcore               183764  7 rt2800usb,rt2x00usb,usb_storage,usbhid,uhci_hcd,ehci_hcd

Great, the driver is loaded but is not used, and (obviously) the device does not work...
dmesg:

usb 3-1.2: new high speed USB device using ehci_hcd and address 12
usb 3-1.2: configuration #1 chosen from 1 choice
phy2 -> rt2800usb_init_eeprom: Error - Invalid RT chipset detected.
phy2 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

So, the chipset is invalid? What, the ...?
Check my /usr/share/hwdata/usb.ids
excerpt from usb.ids:

07d1  D-Link System
    13ec  VvBus for Helium 2xx
    13ed  VvBus for Helium 2xx
    13f1  DSL-302G Modem
    13f2  DSL-502G Router
    3a07  WUA-2340 Adapter
    3a08  predator Bootloader Download
    3a0d  DWA-120 Wireless 108G Adapter
    3b01  AirPlus G DWL-G122 Wireless Adapter
    3b10  RangeBooster N Adapter
    3b11  Wireless N Adapter DWA-130
    3c03  DWL-G122 802.11g Adapter [ralink rt73]
    3c04  WUA-1340
    3c05  EH103 Wireless G Adapter
    3c07  Wireless G DWA-110 Adapter
    3c09  DWA-140 802.11n Adapter [ralink rt2870]
    3c10  DWA 160A 802.11n
        <nothing here!!! my comment (archshrimp, that is)>
    5100  Remote NDIS Device
    f101  DBT-122 Bluetooth
    fc01  DBT-120 Bluetooth Adapter

So, my usb.ids is not the same as the kernel 2.6.31 usb.ids at the LKDDb website. My device is not in it. Oh, the USB adapter does not work in Ubuntu either, even though it should work OotB according to Ubuntu website.

Any ideas?

PS. If you wonder why I havn't installed any ralink drivers yet, it's because it SHOULD work without them ... smile

Last edited by archshrimp (2009-11-05 17:26:50)

Offline

#2 2009-11-06 00:25:27

archshrimp
Member
Registered: 2009-10-05
Posts: 2

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

According to the commits in the kernel git repository (see link below) the rt2800usb driver in kernel 2.6.31 should recognize the ID of my device. This is really getting me out of my comfort zone and competence. According to all information I've gathered my device should be recognized and work without any tweeking. Am I missing something?

http://git.kernel.org/?p=linux/kernel/g … 41ce5676f4

PS. I missed to inform you in the first post that I run the x86_64 version of Arch, if it have any relevance.

Offline

#3 2009-12-27 12:02:44

EmilAndersson
Member
Registered: 2009-12-27
Posts: 1

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

Hi!

Just having bought the same adapter, I am having exactly the same problems. Did you solve it or has anyone else got a solution? Running x86 by the way, so the problem isn't with x86_64.

Offline

#4 2010-04-19 20:14:39

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

Guys,

I reported this problem upstream :

http://rt2x00.serialmonkey.com/phpBB/vi … f=5&t=6061


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#5 2011-01-05 19:23:09

gre
Member
Registered: 2010-12-27
Posts: 1

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

The best solution I found to make DWA140 B2 work is to use ndiswrapper and wpa_supplicant. For more explanations, see my article here : http://blog.grenlibre.fr/2011/01/how-to … k-on-linux

Offline

#6 2011-01-05 21:20:34

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

EDIT: sorry, I should have noticed that the original posts are quite old... I apologize.


Is it an option to update your kernel to the current 2.6.36? Also, what is your version of usbutils (the package owning usb.ids)?

With current packages from the repos, I do find your card:

% grep DWA /usr/share/hwdata/usb.ids
        3300  DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8192SU]
        3302  DWA-130 802.11n Wireless N Adapter(rev.C2) [Realtek RTL8192SU]
        3303  DWA-131 802.11n Wireless N Nano Adapter(rev.A1) [Realtek RTL8192SU]
        3a09  DWA-160 Xtreme N Dual Band USB Adapter(rev.A2) [Atheros AR9001U-(2)NG]
        3a0d  DWA-120 802.11g Wireless 108G Adapter [Atheros AR5523]
        3a0f  DWA-130 802.11n Wireless N Adapter(rev.D) [Atheros AR9001U-(2)NG]
        3a10  DWA-126 802.11n Wireless Adapter [Atheros AR9271]
        3b11  DWA-130 802.11n Wireless N Adapter(rev.A1) [Marvell W8360USB]
        3c07  Wireless G DWA-110 Adapter
        3c09  DWA-140 RangeBooster N Adapter(rev.B1) [Ralink RT2870]
        3c0a  DWA-140 RangeBooster N Adapter(rev.B2) [Ralink RT2870]
        3c0b  DWA-110 Wireless G USB Adapter(rev.B)
        3c0d  DWA-125 Wireless N 150 Adapter(rev.A1) [Ralink RT2870]
        3c10  DWA-160 Xtreme N Dual Band USB Adapter(rev.A) [Atheros AR9001U-(2)NG]
        3c11  DWA-160 Xtreme N Dual Band USB Adapter(rev.B) [Ralink RT2870]
        3c13  DWA-130 802.11n Wireless N Adapter(rev.B) [Ralink RT2870]
        3c15  DWA-140 RangeBooster N Adapter(rev.B3) [Ralink RT2870]
        3c16  DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT2870]
        3301  DWA-130 802.11n Wireless N Adapter(rev.C1) [Realtek RTL8192U]

As you can see, 3c0a is there.

So I suggest you update your system and try again smile

Last edited by Ramses de Norre (2011-01-05 21:21:25)

Offline

#7 2011-08-13 06:32:01

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

I'm in the mean time running on kernel 3.0.1.
With the kernels before that (2.6.38 and 2.6.39) I used the driver from ralink which was in staging (rt2870sta). This driver was very solid (even though in staging). Download speed was also very constant.

In 3.0.1 they decided to kick out the staging driver so you're only left with the serialmonkey driver (rt2800usb). Reason : the rt2800usb did not get debugged enough (probably because people were using the ralink driver instead).

On my first reboot in 3.0.1 my wireless connection was gone sad.
I did have a problem with dhcp : it timed out. I increased the time out interval and now it works again. Although download speed is not always constant ...

So I suggest you upgrade you kernel smile

Last edited by Strider (2011-08-13 06:35:57)


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#8 2011-08-14 13:06:55

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: Wifi problems, D-Link DWA-140 Rev. B2, rt2870

I can confirm the issue. Just after the kernel 3.0.1 update, my DWA-140 usb wifi couldn't perform dhcp connections (time out).
So I added

TIMEOUT=60

to my netcfg profile and now it works perfectly again.

I can't report any speed issue since I have a very bad connection down there, but it seems to work as good as before.

Offline

Board footer

Powered by FluxBB