Jump to content

New Ralink RT2500-USB Driver [a la Airport Driver] - V 1.5


Prasys
 Share

381 posts in this topic

Recommended Posts

And this is the ioreg dump on usb wifi:

| | | +-o Belkin 54g USB Network Adapter@fd700000 <class IOUSBDevice, $

| | | | {

| | | | "PortNum" = 7

| | | | "IOUserClientClass" = "IOUSBDeviceUserClient"

| | | | "Device Speed" = 2

| | | | "iSerialNumber" = 0

| | | | "Bus Power Available" = 250

| | | | "IOGeneralInterest" = "IOCommand is not serializable"

| | | | "bDeviceClass" = 0

| | | | "USB Product Name" = "Belkin 54g USB Network Adapter"

| | | | "bNumConfigurations" = 1

| | | | "iManufacturer" = 1

| | | | "USB Vendor Name" = "Belkin"

| | | | "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"$

| | | | "bcdDevice" = 1

| | | | "bDeviceSubClass" = 0

| | | | "iProduct" = 2

| | | | "sessionID" = 35287018564

| | | | "bMaxPacketSize0" = 64

| | | | "locationID" = 18446744073666560000

| | | | "idProduct" = 28752

| | | | "USB Address" = 3

| | | | "bDeviceProtocol" = 0

| | | | "idVendor" = 1293

| | | | }

| | | |

| | | +-o RT2500USBWirelessDriver <class RT2500USBWirelessDriver, re$

| | | | | {

| | | | | "IOActiveMedium" = ""

| | | | | "IOFeatures" = 0

| | | | | "IOPacketFilters" = {"IOEthernetWakeOnLANFilterGroup"=0,"$

| | | | | "IOMatchCategory" = "IODefaultMatchCategory"

| | | | | "CFBundleIdentifier" = "com.Ralink.driver.RT2500"

| | | | | "IOMinPacketSize" = 64

| | | | | "IOMediumDictionary" = {"00000080"={"Type"=128,"Speed"=0,$

| | | | | "IOModel" = "RT2500"

| | | | | "IOVendor" = "USB Wireless Device"

| | | | | "IOLinkStatus" = 3

| | | | | "IOProbeScore" = 100000

| | | | | "IOMaxPacketSize" = 1518

| | | | | "IOClass" = "RT2500USBWirelessDriver"

| | | | | "IOProviderClass" = "IOUSBDevice"

| | | | | "Power Management private data" = "{ this object = 3ba5a0$

| | | | | "Power Management protected data" = "{ theNumberOfPowerSt$

| | | | | "bcdDevice" = 1

| | | | | "IOSelectedMedium" = "00000080"

| | | | | "IORevision" = "1.0.0.0"

| | | | | "IOMACAddress" = <0011508a8b94>

| | | | | "IOLinkSpeed" = 11000000

| | | | | "idProduct" = 28752

| | | | | "IOUserClientClass" = "RT2500USBWirelessDriver_UserClient$

| | | | | "idVendor" = 1293

| | | | | }

Link to comment
Share on other sites

Hi prasys

fact is, I checked, my belkin is already in both Ralink kexts...

again the problem is a DHCP one, I never managed to get a DHCP assigned address with Ralink or Realtek...

whatever u are going to do needs also to address that if you can...

i am very happy now that i dont have to go to xp everytime i want to network my two apple-macs, but it took a lot of fiddling with ip addresses...

with xp realtek does all that automatically via xp, and everything is routed thru the airport base station, as an example, i could access files from a pda, and also the internet using wifi with airport as the carrier... (as a result, i dont even need a wifi card like the ralink, airport base is enough)...

not with macosx yet though, because airport base station does not want to assign ip addresses (and i dont know if it can).

with xp the base station is connected to xp via an ethernet coaxial cable, and the network card at the end of it (in my case realtek) handles all the DHCP calls, and airport routes those calls to it.

In OSX Realtek does not respond, even though the system says it is fully operational.

Also another card 3com904b-tx does the same...

Link to comment
Share on other sites

I just found out that I was not using the Airport Express Base Station in the way its supposed to. The ethernet socket on it is meant to go to a cable or adsl modem...

So it is interesting that XP fooled it into accepting it as a cable modem lol, whatever works huh?

I found an app boasting replacing routing in software, its called IPNetRouterX, it will be interesting to see if it can do the job :angel:

Link to comment
Share on other sites

As I pointed out in post #48 above, the kext info.plist seems to use decimal values for vendor and device. Not sure if hex will work. Convert your hex values to decimal using the Apple Calculator in Applications folder. Calculator -> View menu -> Programmer -> click HEX button -> enter value -> click DEC button

 

0x0020 = 32 dec

0x1381 = 5041 dec

Link to comment
Share on other sites

PID: Ox0020

VID:Ox13B1

 

i have bought Linksys WUSB54GC.. but does not work..

 

RT2500...kext file is edited with correct PID and VID of mine.. not work.

 

hmm!

Did you follow the following thread: http://forum.insanelymac.com/index.php?showtopic=33913

If you don't want to replug it every time you connect, download the RT2500Replug kext and add the information shown in this post: http://forum.insanelymac.com/index.php?sho...3896&st=20#

Link to comment
Share on other sites

DHCP using Airport Extreme Base Station is possible, i found out: to make it a DHCP and/or NAT server, choose in Network tab the option Use Distributed IP addresses, as simple as that.

Now will it also do it through the Lan wired Realtek I wonder?

Thats next stage :poster_oops:

Link to comment
Share on other sites

Plugged in my DWL-G122. It found the device and wep worked (didnt with the drivers from the ralink site).

Thanks now i just need to get the audio working an i will be happy

 

Hey Plas, are you on a laptop or desktop? If all else fails you can bypass the internal audio with an Altec Lansing USB Headset AHS302USB. I got it at BestBuy and this sweet little headset has a small detachable USB input that provides both mic in and headphone out. The small USB plug becomes your new mic and headphone jack. Great for a desktop b/c you gotta plug in speakers anyway.

Link to comment
Share on other sites

Jus a quick report on othe new driver....

 

Works well, jus like the previous release... tried out the packet compression, but doesnt seem to have any differences in network performance.... one thing i notice is that network connectivity is not very good... maybe due to the optimisation??

 

oh ya, you optimised the code for sse3 or sse2?? i think it would be nice to optimise for sse2 cos i think quite a majority of us run usb wireless adaptors from our laptops....

 

 

thanks mate!!!

Link to comment
Share on other sites

Prasys the driver works almost perfect, much kudos to you :) . Except for the wireless strength icon, which just doesn't show up.

Keep up the good work!

 

Works great her with a new Belkin D5F5070 vers. 3001ff

except the replug thing.. hm....anyone?

I'm not sure if the appropriate key has been added for your adapter, please pass me the vendor and product ID and I could try to fix it.

Link to comment
Share on other sites

okey, thanks Simania

Isnt the Vendor Belkin and the product id 30001ff?

or is it hidden some secret place?

That is the Belkin ID. The chip on the device is made by someone else. You need the 4 character vendor id and the 4 character device id.

 

Go to System Profiler and select USB devices. Find the wireless device and see if it gives you a vendor and device id (0x followed by 4 characters).

 

If not, go to Windows -> Device Manager -> Network Adapters - > (your wireless device) -> Properties -> Details tab -> vendor is 4 characters following VEN_ -> device is 4 characters following DEV_

Link to comment
Share on other sites

Isnt the Vendor Belkin and the product id 30001ff?

or is it hidden some secret place?

Well the product and vendor ID are most likely not the same, just go 'system profiler' and find your adapter in the list 'USB'.

For my it shows the following:

Compact Wireless-G USB Adapter:

 

Removable Media: No

Detachable Drive: Yes

BSD Name: en2

Version: 0.01

Bus Power (mA): 500

Speed: Up to 480 Mb/sec

Manufacturer: Cisco-Linksys

OS9 Drivers: No

Product ID: 0x0020

Vendor ID: 0x13b1

 

@Ramjet you were ahead of me for 1 second...lol

Edited by Simania_NL
Link to comment
Share on other sites

 Share

×
×
  • Create New...