Ralink rt3070sta usb wifi device driver

For drivers and kernel modules.
Message
Author
Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#41 Post by Rocco »

Hi everybody, this is my first post on these forums, before I tell you about my current problem, I'll tell you a little bit about myself and what brought me here. I have experience with various Microsoft operating systems going back to MS-DOS in the early 80's but I'm a COMPLETE novice when it comes to Linux, for a variety of reasons, I thought it was time to change that. So, when I was recently given an old laptop, an ibuddie A900 with a Chinese language version of Windows 98, I thought this machine might make a reasonable Linux learning platform for me. Last week, I made several unsuccessful attempts to boot up Linux, I tried several flavours of Ubuntu, a few other distros including the most to date version of Puppy Linux but the computer would not accept any of them, I finally tried Puppy 4.3.1 (kernel 2.6.30.5) and that one works for me.

One of the things motivating to do this is that I have a project in mind which would benefit greatly from having an embedded computer system and Linux seems to be the most appropriate OS for that type of application. And, since this embedded system would have no monitor, keyboard or mouse, I'd like to be able to run a VNC server on the system, operating over a wireless network to provide a convenient user interface. I hope to use this old laptop as a test platform to work out the wrinkles of this type of interface before I move on and invest any money into the embedded system.

And that finally brings us to the reason I've resurrected this old thread, I'm trying to get a Keebox W150nu wireless network adapter (which uses the Ralink RT3070 chipset) to work on my old laptop. I've downloaded and run rt3070sta-k26305-2.1.2.0-i486.pet, it tells me that the installation was successful but that there is no interface using it. I then generated a Hard info system report, under kernel modules, it shows the rt3070sta module, under USB devices, it shows OHCI Host Controller 802.11 n WLAN but under Network interfaces, there's only the loopback interface lo and the ethernet interface eth0 and no wireless interface RA0.

So, my question is simple, what am I missing? Only thing comes to mind for me, this machine has a USB 1.1 interface, which according to Keebox's website is compatible with the W150nu but, perhaps the driver I've loaded assumes USB 2.0?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#42 Post by tempestuous »

Rocco wrote:perhaps the driver I've loaded assumes USB 2.0?
It's nowhere as complex as that. Quite simply, the Ralink driver does not recognise your USB device ID.

If you can get your laptop to boot to Puppy 5.2.5 (Lucid) then I have a patched version of the Ralink driver which should work.
First try the (patched) rt3370sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

but if that doesn't work, try the older (patched) rt3070sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 360#513360

Puppy 5.2.5 is available here -
http://distro.ibiblio.org/pub/linux/dis ... pu-525.iso
If Puppy 5.2.5 fails to boot on your computer, you can try adding these boot parameters (at the boot prompt) -
"puppy nosmp" (without the quotation marks)
or
"puppy nosmp acpi=off"

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#43 Post by Rocco »

No luck yet, Puppy 5.2.5 just won't boot up on this machine.
tempestuous wrote: but if that doesn't work, try the older (patched) rt3070sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 360#513360
When I try to load that driver, the system automatically reverts to the newer driver, how do I force the system to use the older driver?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#44 Post by tempestuous »

Rocco wrote:No luck yet, Puppy 5.2.5 just won't boot up on this machine.
Then I can't see why you would be attempting to use my drivers.

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#45 Post by Rocco »

tempestuous wrote:If you can get your laptop to boot to Puppy 5.2.5 (Lucid) then I have a patched version of the Ralink driver which should work.
First try the (patched) rt3370sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

but if that doesn't work, try the older (patched) rt3070sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 360#513360
tempestuous wrote:
Rocco wrote:No luck yet, Puppy 5.2.5 just won't boot up on this machine.
Then I can't see why you would be attempting to use my drivers.
Because I misinterpreted the phrase "but if that doesn't work, try...." to mean, if you can't get 5.2.5 to boot, try.....

Anyways, it looks like I'm stuck with Puppy 4.3.1, any suggestion on how I should proceed from here?

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#46 Post by Rocco »

I don't know if this will help with diagnostics or not but I decided to test and see whether the problem was hardware or software related by trying this out on a different computer.

First, I booted up Puppy 5.2.5, it booted up fine proving that my boot CD is not corrupted and suggests that the reason it wouldn't boot up on the old laptop is hardware related. Anyways, I loaded the Ralink driver suggested for 5.2.5 and everything worked as it should, no problems at all.

Next, I booted up Puppy 4.3.1, loaded up the driver recommended on page one of this thread and I ran into the same problem as I had on the old laptop. This gives me hope that I've just missed something on the set up

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#47 Post by Rocco »

I've done a little bit more work on my problem first, since I know for certain that my rt3070sta device works on my newer computer, I decided to do my tests on that machine and if successful replicate the results on the older machine. I booted the computer up with Puppy 5.2.5 retro with kernel 2.6.30.5, I tried all of the drivers and methods presented in this thread and in every case whether with Puppy 4.3.1 k2.6.30.5 or Puppy 5.2.5 retro k2.6.30.5 I was unable to get my device to work with kernel 2.6.30.5.

Any suggestions, comments or ideas would be most welcome.

Marja1
Posts: 21
Joined: Sat 27 Aug 2011, 01:28

Ralink rt3070sta

#48 Post by Marja1 »

I decided to re try my Tenda usb mini wireless..(311U v 2)-
the wizard had the correct module rt2870/rt3070sta-

I booted luci 5.28 -the network wizard kept saying I had a successful
wireless connect but when I went on the internet -no remote server..

So I saved my network profile then installed Frisbee, rebooted and I got on with no problems ...keeping fingers crossed.. but pretty 8)

I'll try some other puppies with this later..

tommy
Posts: 133
Joined: Tue 04 Oct 2005, 20:21
Location: Italy

#49 Post by tommy »

Hi, I tried to connect to my wifi router with no success using the rt3070sta drivers posted on page 1. Usb wifi is a Dlink DWL g 122 ver E1 ( ID 07d1:3c0f ).

Tried first on turbopup kernel 2.6.25.16: ra0 usb wifi is created, I can scan Wifi hotspots, but cannot connect using dhcpcd nor with static IP.

Same situation using driver for kernel 2.6.30.5 and Puppy 4.3.1 .
I just don't understand why I can scan correctly using iwlist but I can't connect to the router??

My router has encryption turned off.

Just a strange thing:
if i set as following:
iwconfig ra0 essid my-ssid
then iwconfig always reports: essid:"11n-AP".
I have to modify /etc/Wireless/RT3070STA/RT3070STA.dat manually removing "11n-AP" and inserting "my-ssid" to see it in iwconfig.

puppy 4.3.1 (and same with turbopup) dmesg says:

rtusb init --->


=== pAd = e0c23000, size = 463428 ===

RTMPAllocAdapterBlock, Status=0
ra0 (usb): not using net_device_ops yet
usbcore: registered new interface driver rt3070
RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== rt28xx_init, Status=0
0x1300 = 00064300
===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 635
===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 635
Terminate the task(RtmpMlmeTask) with pid(13025)!
Terminate the task(RtmpCmdQTask) with pid(13026)!
Terminate the task(RtmpTimerTask) with pid(13024)!
---> RTMPFreeTxRxRingMemory
- RTMPFreeTxRxRingMemory
RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
== rt28xx_init, Status=0
0x1300 = 00064300
Terminate the task(RtmpMlmeTask) with pid(13415)!
Terminate the task(RtmpCmdQTask) with pid(13416)!
Terminate the task(RtmpTimerTask) with pid(13414)!
---> RTMPFreeTxRxRingMemory
- RTMPFreeTxRxRingMemory
RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== rt28xx_init, Status=0
0x1300 = 00064300
==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
IOCTL::unknown IOCTL's cmd = 0x00008947
------------------dmesg end---------------


Is /etc/Wireless/RT3070STA/RT3070STA.dat the problem?

Ideas?

Ps: I also tried Puppy 5.2.8 and both rt3070sta and rt3370sta modules found somewhere in murga's forum with no chance.
All this has been tried in a 'modern' pentium IV pc and an older Asus P2BF 700Mhz pc with same results.

JackWagon
Posts: 51
Joined: Tue 17 Aug 2010, 15:05
Location: dead center, USA

Ralink RT3070 replacement driver

#50 Post by JackWagon »

tommy wrote:Hi, I tried to connect to my wifi router with no success using the rt3070sta drivers posted on page 1. Usb wifi is a Dlink DWL g 122 ver E1 ( ID 07d1:3c0f...
Tommy, if I'm not mistaken, others have had success with a newer drivers.
http://www.ralinktech.com/en/04_support ... php?sn=501
Let us know how you turn out.
Edit: (at April 2011) RT3070 driver code has been merged into the newer rt3370sta driver, and RT2870 driver code has been merged into the newer rt3572sta driver. So the RT3070 and RT2870 codebase has been separated, and this has created a problem for "middle-era" RT3070 devices, which are technically closer to the older RT2870 devices than they are to the latest RT3070/RT3370 devices.
jw
Last edited by JackWagon on Mon 26 Nov 2012, 23:31, edited 1 time in total.

tommy
Posts: 133
Joined: Tue 04 Oct 2005, 20:21
Location: Italy

#51 Post by tommy »

JackWagon, thank you for the quick answer on such an old thread!

I'm not a compile guru, but I will try your suggestion one day or another... Now I have had success with LuPu 5.2.8 and its rt2800usb module. I'm posting this with my dlink dwl-g122 key.

Maybe I have to find a rt2800 .pet somewhere on this forum compiled for 2.6.25.16 kernel...

Thanks again!

Post Reply