Author Topic: I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus  (Read 37300 times)

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #30 on: October 16, 2008, 06:47:06 pm »
Quote from: eviLjazz
Attached is the latest version 3.0.1 of the rt73 driver module from http://homepages.tu-darmstadt.de/~p_larbig/wlan/.
Enjoy.

Man, you are on fire !

I can't keep up with you !

I was going to put this in before you posted this version of rt73.o .

We got Rx Sensitivity issues with the other module.

thus we need to do:

add this patch to the final 3.0.1 code. Before adding it, I think you should check the source code in 3.0.1
to see if its been added already. the patch concerns the file :

rtmp_init.c

basically, as far as I can see this statement at line 2038 needs to go from:

pAd->BbpTuning.bEnable                            = TRUE;

to this:

pAd->BbpTuning.bEnable                            = FALSE;

and these two commands need to be at their respective line positions in the same file:

pAd->BbpTuning.R17LowerBoundG 0x00           (line 2009)
pAd->BbpTuning.R17UpperBoundG 0x00           (line 2010)

root :-)  make

and lets load this puppy up and see what gives ;-)

thanks so much for everything evilJazz, I await this 3rd module now.

In the meantime, I will load up the 2nd module you made of the 3.0.1 code and see if that has resolved this sensitivity issue already.
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #31 on: October 16, 2008, 07:19:23 pm »
Quote from: eviLjazz
Attached is the latest version 3.0.1 of the rt73 driver module from http://homepages.tu-darmstadt.de/~p_larbig/wlan/.
Enjoy.

Well, that was a good try, but were back to the Segmentation Fault again.  

Perhaps 3.0.0 and 3.0.1 are biased more towards the 2.6 kernel architecture ?

Anyway, its was a nice try evilJazz ;-)

I notice that the module has been reduced in size from a working 2.0.1 equaling 458,752 Bytes
down to the 3.0.1 version equaling 327,680 Bytes..

thats over 130,000 Bytes missing from the working version.

It also looks very much like the shape and size of the version Capn_Fish produced earlier with
the same fault showing.

perhaps we could just add the sensitivity patch to the working 2.0.1 source code and try that ?

All in all, I'll leave it for you to decide the next move  

Thanks a million
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #32 on: October 17, 2008, 08:13:35 am »
also, someone made a sensitivity patch for 2.0.x. I,m now hosting it:

http://allelectrix.bravehost.com/rt73-k2wr...nsitivity.patch

you probably know the rest evilJazz, but for those that don't the rest is:

$ cd rt73-k2wrlz-2.0.0   (your driver source directory)
$ patch -p0 < /path/to/rt73-k2wrlz-2.0.x-rx_sensitivity.patch
$ make

Thanks again  
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #33 on: October 17, 2008, 04:05:23 pm »
OK, with all of your fine help, I just compiled it myself now ! I DONT believe I did it !

well, here it is:

  [ Invalid Attachment ]

delete .zip and replace with .o

This is not a ZIP file it is a .o file . I had to change the suffix as OESF don't allow the modules to upload.

If someone can test this with any rt73 WiFi Card, but especially D-Link DWL G122 C1 I would appreciate it as I am using
Angstrom as a test for something else at the moment.

Also, the Sensitivity patch above, was applied before compilation. so, this is a different module to the first working
module listed in this thread which was eviLjazz's rt73-k2wrlz-2.0.1  . But, it is the same source code used.

Thanks everyone !
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #34 on: October 18, 2008, 05:06:38 am »
This post got me really excited as I have a usb card that this driver runs. I just tried both your new one and eviljazz'. Both load fine but neither work for my card, unless I am missing something. Here is what I get when the card is plugged into my powered hub with the module already loaded:
Code: [Select]
hub.c: USB new device connect on bus1, assigned device number 9
usb.c: kmalloc IF c3d348c0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 9 default language ID 0x409
Manufacturer: Ralink
Product: 802.11 bg WLAN
Device Descriptor not matching
usb.c: unhandled interfaces on device
usb.c: USB device 9 (vend/prod 0x7d1/0x3c04) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 2.00
  Vendor:Product      = 07d1:3c04
  MaxPacketSize0      = 64
  NumConfigurations   = 1
  Device version      = 0.01
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0020
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  300mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   ff:ff:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   01 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
usb.c: kusbd: /sbin/hotplug add 9

The rt73 driver works for this card on my linux box and on debian on this zaurus. Maybe this older version of the driver doesn't support my card? It's a d-link WUA-1340 card.
« Last Edit: October 18, 2008, 05:09:13 am by xamindar »
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #35 on: October 18, 2008, 08:02:05 am »
xamindar wrote about his ralink rt2571 chipset card...

Hi there xamindar, thanks for your input into this very exciting thread.

eviLjazz and Capn_Fish still have my head reeling from all the big buzz they caused !  

OK, first things first,  this card is an rt2571 chipset card. It just so turns out that I also have an rt2571 Card too !

When I try to load this card with the rt73.o module installed, it will not load at all.

When I try to load this card with the rt2570.o module, everything  works.

When I try to load my rt73 chipset card with the rt2570.o module, it starts up, but when I issue wireless-tools commands, it freezes
the system up or makes it run very slowly.

The solution therefore is a simple one:

I need the rt73.o module listed as I have an rt73 based card

You need the rt2570.o module as you have an rt2571 based card !

And here is the said module, which, in fact, I compiled yesterday from rt2570-k2wrlz-1.6.0 sources:

 [ Invalid Attachment ]

same as before, change .zip to .o then load to:

/lib/modules/2.4.20/kernel/drivers/net/wireless


delete the rt73.o module now, or move it out of the ..../wireless directory to say /mnt/card

then do:

depmod -a
modprobe rt2570

insert the card, the card fires up immediately.

execute:

iwconfig

you should see the card listed under the RT2500 driver and NOT the rt73 driver.

BTW All the modules in this thread feature packet injection in Monitor mode, and this one is no exception  

let us know how you get on with this Module, all the best from all of us !  
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #36 on: November 01, 2008, 03:29:11 pm »
Yes, after applying the Sensitivity patch to the Module, the rt73 cards work very well indeed, picking up everything in sight, it gives even better
reporting than my trusty, but rusty D-Link 802.11b CF Card.

I therefore recommend the module I compiled.

The rt2570 module also works well with the rt2570 cards and I report no sensitivity reception problems with this module.
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
I Will Pay Anyone $150 Us Just Compile Aspj Rt73 Module For Zaurus
« Reply #37 on: May 14, 2010, 06:29:17 am »
Quote from: Allelectrix
You need the rt2570.o module as you have an rt2571 based card !
Just thought I would add a reply to this as I never did before. I just gave up. But to save anyone any trouble if they come across this. Allelectrix is incorrect. rt2570 is not the same as rt2571. This module is NOT for my card. As I stated in my previous post my card (d-link WUA-1340) requires the rt73 module. Weird it never worked correctly for me on my Zaurus. Might be because I am on the Sharp rom and not pdaXrom.

I just boot the Zaurus into debian anyway where it works correctly and it's fine that way.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)