Author Topic: Ralink RT2870 based USB Wireless N adapters (Ubuntu)  (Read 221401 times)

0 Members and 1 Guest are viewing this topic.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #225 on: September 12, 2017, 02:45:59 pm »
You're most welcome :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline just_geo

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #226 on: September 29, 2017, 11:18:48 pm »
Mark, you have been very helpful getting other people's Ralink devices to work.

I have an Alfa AWUS052NH  that is a

ID 148f:3572 Ralink Technology, Corp. RT3572 Wireless Adapter

The rt2800usb driver is not linking it -

[694176.601449] usb 3-6: New USB device found, idVendor=148f, idProduct=3572
[694176.601451] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[694176.601452] usb 3-6: Product: 802.11 n WLAN
[694176.601453] usb 3-6: Manufacturer: Ralink
[694176.601454] usb 3-6: SerialNumber: 1.0
[694176.721278] usb 3-6: reset high-speed USB device number 24 using xhci_hcd
[694176.870927] ieee80211 phy41: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[694176.881925] ieee80211 phy41: rt2x00_set_rf: Info - RF chipset 0009 detected
[694176.882321] ieee80211 phy41: Selected rate control algorithm 'minstrel_ht'
[694176.898852] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[694176.898888] ieee80211 phy41: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[694176.898938] rt2800usb 3-6:1.0: firmware: direct-loading firmware rt2870.bin
[694176.898941] ieee80211 phy41: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[694177.051109] usb 3-6: USB disconnect, device number 24
[694177.105158] ieee80211 phy41: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -19


I found and installed MediaTek's DPO_RT5572_LinuxSTA_2.6.1.3_20121022 version of the drivers which should support this device, but get different errors with it.

I was hoping to grab and use the 2010 drivers you have referenced in the feed, but the drop box location is no longer available and I can't locate the file elsewhere.

Can you freshen up the link so I can grab and try that driver? Or maybe you have some insight for this device that might get me further?

I appreciate the help you have provided for the last 5+ years on this message feed! Thanks!

Geo

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #227 on: September 29, 2017, 11:54:13 pm »
Is this the one you're after my friend:
https://www.dropbox.com/s/eff4wd0mmln8ui0/2010_0831_RT3070_Linux_STA_v2.4.0.1_DPO.tar.bz2?dl=0
?

or do you mean:
https://www.dropbox.com/s/8i05qjwkr8prvhb/2010_0915_RT3572_Linux_STA_v2.4.0.2.tar.gz?dl=0

or maybe:
https://www.dropbox.com/s/tqo5k17f2ptozg3/2011_0427_RT3572_Linux_STA_v2.5.0.0.tar.bz2?dl=0

I have no idea if those will compile against recent kernels though (in fact I'm nearly positive they won't).

Let me know how you get on, and if it's without luck maybe we can find another solution.
« Last Edit: September 30, 2017, 12:42:15 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ale-x

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #228 on: October 22, 2017, 11:59:04 pm »
Hi everybody!
I have an issue with my USB dongle. It's the rt2870 chip from NoNameChinaCorporation )
I've installed Debian 6 Squeeze:
Code: [Select]
Linux debian 2.6.32-5-686
and followed this instruction: https://wiki.samygo.tv/index.php?title=Using_NoN-Samsung_USB_WiFi_dongles_with_TV

but I can't compile before I add
Code: [Select]
#define usb_buffer_alloc(a, b, c, d) usb_alloc_coherent(a, b, c, d)
#define usb_buffer_free(a, b, c, d) usb_free_coherent(a, b, c, d)
to ./common/cmm_mac_usb.c

Then I have a new error when I try to modprobe:
Code: [Select]
[ 4528.722646] rt2870sta: Unknown symbol usb_alloc_coherent
[ 4528.723334] rt2870sta: Unknown symbol usb_free_coherent
Anybody, help me please! )
« Last Edit: October 23, 2017, 12:01:50 am by Ale-x »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #229 on: October 23, 2017, 12:21:57 am »
Hi Ale-x, and welcome to the forum :)

Here's the premodified version from my dropbox (mentioned in the link you provided), but I'm unsure it'll compile against the 2.6.32 kernel, it was modified for the 2.6.35 kernel

https://www.dropbox.com/s/kn385v8muztotdv/2010_0709_RT2870_Linux_STA_v2.4.0.1.tar.bz2?dl=0

If that won't compile (and it probably won't), let me know and we'll see if we can find the unmodified version that may compile against 2.6.32 .. though it might just be easier to update to the 2.6.35 kernel.
« Last Edit: October 23, 2017, 12:25:34 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ale-x

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #230 on: October 23, 2017, 12:37:30 am »
Thank you for so fast reply.
Unfortunately, I can't compile this driver (
(click to show/hide)
How to update the linux kernel to 2.6.35 ? I can see only 2.6.32 in aptitude
« Last Edit: October 23, 2017, 12:41:18 am by Ale-x »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
« Last Edit: October 23, 2017, 01:11:47 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ale-x

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #232 on: October 23, 2017, 01:08:52 am »
Thank you so much!
I've compiled this driver.

P.S. I found almost all except wireless-crda
Thank you again!

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #233 on: October 23, 2017, 01:12:22 am »
So it's all working now ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ale-x

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #234 on: October 23, 2017, 02:09:49 am »
Nope. Now I have theese errors:
Code: [Select]
[11112.284041] usb 2-3: new full speed USB device using ohci_hcd and address 3
[11112.464042] usb 2-3: device descriptor read/64, error -62
[11112.748374] usb 2-3: device descriptor read/64, error -62
[11113.028041] usb 2-3: new full speed USB device using ohci_hcd and address 4
[11113.208041] usb 2-3: device descriptor read/64, error -62
[11113.492042] usb 2-3: device descriptor read/64, error -62
[11113.772041] usb 2-3: new full speed USB device using ohci_hcd and address 5
[11114.180034] usb 2-3: device not accepting address 5, error -62
[11114.356040] usb 2-3: new full speed USB device using ohci_hcd and address 6
[11114.764034] usb 2-3: device not accepting address 6, error -62
[11114.764361] hub 2-0:1.0: unable to enumerate USB device on port 3
And I've made mistake - it is RT5370 (I have disassembled the wifi dongle) )
But why I can't see its VID:PID...

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #235 on: October 23, 2017, 09:57:50 am »
Do you still get those enumeration errors in dmesg when you use a different USB port ?

and still no output from:
Code: [Select]
lsusb
?
« Last Edit: October 23, 2017, 10:14:14 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ale-x

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #236 on: October 23, 2017, 10:15:54 am »
It seems the dongle is dead. I tried on Windows - Unknown Device and no PID & VID.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #237 on: October 23, 2017, 10:58:22 am »
Ouch, sorry to hear that :(
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ale-x

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #238 on: October 23, 2017, 11:26:34 am »
It's ok )
I found these 2 pcs in old possessions and both don't work, so I can throw them away with peace of mind )
I just want to try to make the dongles useful.
Anyway, thank you so much for the help. I really appreciate it.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17351
  • Karma: 442
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #239 on: October 23, 2017, 12:54:31 pm »
You're most welcome, sorry it came to nothing.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal