Author Topic: wireless-mod-rt.app.bin  (Read 17393 times)

May 30, 2009, 09:29:15 AM
Read 17393 times

smartP

  • Jr. Member

  • Offline
  • **

  • 91
This is the first release of my wireless-mod-rt.app.bin which is a culmination of my work thus far.

It contains compiled versions of all the final legacy software releases from http://rt2x00.serialmonkey.com with drivers for rt61, rt2400, rt2500, rt2570, and the latest RT73 v1.1.0.2, RT2870USB v2.1.2.0 drivers from http://www.ralinktech.com/ralink/Home/Support/Linux.html.

I've compiled the drivers in standalone mode, so you'll need to use the RTxxxSTA.dat files to set your wifi settings.
See http://www.mediafire.com/file/y4ty3qzqxjz/README_STA for details.

Installation steps:
1. Download and unzip to flash key -> http://www.mediafire.com/file/itnojaoiazd/wireless-mod-rt.app.bin-0.5.zip
2. Create a xxx.dat file for your wireless (referring to the README_STA file above) on the flash key.
3. Add the following lines to net.config:

Quote
  #one of rt61sta.dat, rt73sta.dat, RT2400.dat, RT2500STA.dat, RT2570STA.dat, RT2870STA.dat
   WLAN_CFG=RT2870STA.dat
   #one of rt61.ko, rt73.ko, rt2400.ko, rt2500.ko, rt2570.ko, rt2870sta.ko
   WLAN_LOAD=rt2870sta.ko

I've successfully tested with only rt2870sta.ko on both zorander's ext3-boot-0.9.2 (ip addr on startup) and b-rad.cc's WDLXTV-0.5.3 (get "IP: no IP" on startup, but About menu correctly shows ip addr).

Let me know if the others work okay or not.

For a list of supported devices:
rt61, rt2400, rt2500 -> http://rt2x00.serialmonkey.com/wiki/index.php/Hardware
rt73 -> http://rt2400.cvs.sourceforge.net/viewvc/rt2400/source/rt73/Module/rtmp_def.h?hideattic=0&view=markup#l_812
rt2570 -> http://rt2400.cvs.sourceforge.net/viewvc/rt2400/source/rt2570/Module/rt2570sw.h?hideattic=0&view=markup#l_116
rt2870 -> http://wdtvforum.com/main/index.php?topic=59.msg4133#msg4133

ps. I've also add Sitecom WL608 [0df6:003f] to the driver list of rt2870sta.ko.

pss. Note some VID/PID might appear twice, so try both to see which will work. See http://osdir.com/ml/linux.kernel.wireless.general/2007-07/msg00677.html
« Last Edit: June 04, 2009, 05:39:10 AM by smartP »

May 30, 2009, 10:46:37 AM
Reply #1

mike2k8

  • Full Member

  • Offline
  • ***

  • 100
Thanks. I suppose that this package allows more people to use wifi. I have one question though.
What is the advantage of this app.bin compared to the zorander's wireless-mod.app.bin (for already supported devices like the rt73 ones)? Is this a newer version of the drivers or it's the same?

May 30, 2009, 03:50:16 PM
Reply #2

smartP

  • Jr. Member

  • Offline
  • **

  • 91
Advantage of this app.bin is it contains all the ralink drivers in one bin. I'm not sure which drivers zorander used in his app.bin but the ones I've included in mine are the latest I could find.

May 30, 2009, 04:00:43 PM
Reply #3

CrashX

  • Jr. Member

  • Offline
  • **

  • 57
Can you post some sample .ko and .dat files ? How to create it as well ? Tutorial plz ...

May 30, 2009, 05:03:10 PM
Reply #4

smartP

  • Jr. Member

  • Offline
  • **

  • 91
Quote
@CrashX
Can you post some sample .ko and .dat files ? How to create it as well ? Tutorial plz ...

The .ko files are the usb drivers and are already included in the app.bin. You just need to decide which driver to use depending on what kind of wlan usb (VID/PID) you have.

To find your device's VendorID/ProductID look for "Displaying detected USB devices..." in the messages.txt file and you should see a line like "[157e:300e] 1-2.2( 2.00,480m) 802.11 n WLAN/1.0" (here the VID=157e, PID=300e).

Check the VID/PID against the list of supported drivers for each driver (in this case it's in the rt2870 list as "{USB_DEVICE(0x157E,0x300E)},   /* U-Media */"). So I would use WLAN_LOAD=rt2870sta.ko in my net.config file.

Alternatively you could use trial and error and try each driver in turn to see if it works.

The .dat files are quite similar differing on only what parameters are supported.
Sample .dat files I could find are:
RT2870STA.dat -> http://wiki.archlinux.org/index.php/Rt2870
RT2500STA.dat -> http://rt2400.cvs.sourceforge.net/*checkout*/rt2400/source/rt2500/Module/RT2500STA.dat
RT2500STA.dat parameters -> http://rt2400.cvs.sourceforge.net/*checkout*/rt2400/source/rt2500/Module/iwpriv_usage.txt
rt73sta.dat -> http://rt2400.cvs.sourceforge.net/*checkout*/rt2400/source/rt73/Module/rt73sta.dat
rt73sta.dat parameters -> http://rt2400.cvs.sourceforge.net/*checkout*/rt2400/source/rt73/Module/iwpriv_usage.txt

May 30, 2009, 05:08:11 PM
Reply #5

CrashX

  • Jr. Member

  • Offline
  • **

  • 57
Ok will try that ..

By the looks of your logic, it looks like you have enough information to detect what ko file to use  ?

May 30, 2009, 05:17:19 PM
Reply #6

smartP

  • Jr. Member

  • Offline
  • **

  • 91
By the looks of your logic, it looks like you have enough information to detect what ko file to use  ?

Hmmm... maybe. But that would mean more coding... :P

May 30, 2009, 05:38:38 PM
Reply #7

CrashX

  • Jr. Member

  • Offline
  • **

  • 57
Are the dat files binary files ? They appear to be text but it says on the readme as binary ..


May 30, 2009, 05:49:05 PM
Reply #8

smartP

  • Jr. Member

  • Offline
  • **

  • 91
Should be text.

May 30, 2009, 05:57:41 PM
Reply #9

Zane

  • Newbie

  • Offline
  • *

  • 2
Damn. It has support for the RT2500 Chipset, which is basically the WUSB54G v4. Hope i get my WDTV soon. Then i'll love to try this out.

May 30, 2009, 07:54:36 PM
Reply #10

videomilk

  • Jr. Member

  • Offline
  • **

  • 74
wow thank you, I've been looking for exactly this.  Going to try it out with my ralink 2573.   Thanks thanks thanks.   ;D

May 30, 2009, 10:04:15 PM
Reply #11

videomilk

  • Jr. Member

  • Offline
  • **

  • 74
Hi, going to be the first to ask for some help.   I have a RT2573 adapter and the messages.txt ([148f:2573] 1-1( 2.00,480m) 802.11 bg WLAN) seems to detect it but I'm not getting any lights on the adapter.    I have zorander's ext3-boot-0.9.2 installed with a RT2570STA.dat and the net config points to that and the rt2570sta.ko.   Here's a copy of my messages.txt.  Appreciate any advice you can give

http://www.mediafire.com/?sharekey=7fcfb9eddc5e0d96bda4076e811714c8e04e75f6e8ebb871


May 31, 2009, 04:46:24 AM
Reply #12

smartP

  • Jr. Member

  • Offline
  • **

  • 91
Hi videomilk,

Can you please give this version a try. I've got some extra logging to check what devices are being installed. I've also enabled *sta.dat reading as it was disabled by default.  :(

I've also noticed that rt61 and rt73 drivers don't actually use the *sta.dat file even though they have the path defined!  ???

http://www.mediafire.com/file/doj1nutmmdm/wireless-mod-rt.app.bin-0.2.zip

Post the output messages.txt file.

May 31, 2009, 06:31:34 AM
Reply #13

videomilk

  • Jr. Member

  • Offline
  • **

  • 74
Hi SmartP,  Gave it a go with the new version.   Here's my messages.txt, also threw in my net.config and rt2570STA.dat.  Thanks

http://www.mediafire.com/?sharekey=7fcfb9eddc5e0d96bda4076e811714c8e04e75f6e8ebb871

May 31, 2009, 06:38:32 AM
Reply #14

systemic

  • Newbie

  • Offline
  • *

  • 1
Hello,

Here is my test (failed) with rt73 (dlink g122 rev c) :

Dec 31 16:00:54 WDTV-4a87d user.notice root: wireless-mod-rt: Installing new mdev conf
Dec 31 16:00:54 WDTV-4a87d user.warn kernel: wireless_ext: No versions for exported symbols. Tainting kernel.
Dec 31 16:00:54 WDTV-4a87d user.info kernel: Loading wireless extentions module...
Dec 31 16:00:54 WDTV-4a87d user.notice root: wireless-mod-rt: WLAN_LOAD=rt73.ko, config=/tmp/mnt/sda1/rt73sta.dat
Dec 31 16:00:54 WDTV-4a87d user.notice root: wireless-mod-rt: Copying /tmp/mnt/sda1/rt73sta.dat to /etc
Dec 31 16:00:54 WDTV-4a87d user.notice root: wireless-mod-rt: Installing rt73.ko firmware
Dec 31 16:00:54 WDTV-4a87d user.warn kernel: firmware_class: No versions for exported symbols. Tainting kernel.
Dec 31 16:00:54 WDTV-4a87d user.notice root: wireless-mod-rt: Install modules /apps/wireless-mod-rt/modules/rt73.ko
Dec 31 16:00:54 WDTV-4a87d user.info kernel: rt73: init
Dec 31 16:00:54 WDTV-4a87d user.info kernel: rt73: idVendor = 0x7d1, idProduct = 0x3c03
Dec 31 16:01:04 WDTV-4a87d user.err kernel: rt73: Failed to request_firmware. Check your firmware file location
Dec 31 16:01:04 WDTV-4a87d user.crit kernel: rt73: Failed to load Firmware.
Dec 31 16:01:04 WDTV-4a87d user.warn kernel: rt73: probe of 1-2:1.0 failed with error -2
Dec 31 16:01:04 WDTV-4a87d user.info kernel: usbcore: registered new driver rt73


That's exactely the same message for version 1 and 2 of the app.bin.

systemic