Jump to content
3992 posts in this topic

Recommended Posts

iwi3945 rev 392 - finally svn again

 

fixed last function bug - i hope ;)

 

Jalavoui, I noticed that the iwi3945.dmg(http://iwidarwin.googlecode.com/svn/trunk/...945/iwi3945.dmg) is rev 391,

is that correct for other source code files?

 

I builded iwi3945.kext with new download code, and got the same crash at list_for_each_entry(hw_mode, &local->modes_list, list) in function ipw_reset_channel_flag()

why do you have en3 as the iwi interface? do you have 4 network interfaces?

 

iwi3945

for last bug, maybe this will help for vendor/id

 

switch (pci_id) {

case 0x42221005: /* 0x4222 0x8086 0x1005 is BG SKU */

case 0x42221034: /* 0x4222 0x8086 0x1034 is BG SKU */

case 0x42271014: /* 0x4227 0x8086 0x1014 is BG SKU */

case 0x42221044: /* 0x4222 0x8086 0x1044 is BG SKU */

 

svn is still bogus, so here are the new versions

 

if you get panic at boot, post the picture so i can try to fix it

 

Jalavoui,

I already tryed putting only one string in Info.Plist, the driver didn't load.

Is this regarding my issue? anything else I can try?

Here are rev 392 anyway

Thanks.

 

EDIT

 

I mean, where or how should I use this?

switch (pci_id) {

case 0x42221005: /* 0x4222 0x8086 0x1005 is BG SKU */

dmesg.txt

ioreg.txt

system.txt

i not speak english but i try....

 

my log is like those of tprins228

i have changed en1 but the log dont change

 

my Hardware Address 00-13-02-45-9A-55

 

the 3945ABG is in (PCI-E x1 port #3 In Use @ x1 (Intel 3945ABG PRO/Wireless Network Adapter)

I have a question: my computer recognize PCI-E???

my computer dont recognize my pcmcia slot "texas instruments"

 

(sorry for my poor english)

welcome to the world of testing new drivers, thats all i have to say

 

as a second note, its helpful for the coders to see your verbose screen when your computer panics, to get verbose type -v at the boot screen then hit enter, then when it panics, take a picture and post it with your reply, that should help

hmmm hello...

it's been a while since i was here,

just wanted to apologize for disapearing...

 

i was called on military service for the past couple weeks and had some big tests earlier, so i kind of lost touch with the project and all...

 

well i guess have some big reading to do now, and over a month of development to catch up...

hmmm hello...

 

good to have you back ;)

 

yep there's lots of bogus code to fix

 

 

 

Jalavoui, i am loking at the code now and if i am not wrong alot of the wpa/encrytion functions are writen allready. Do u think it woud be a big job to implement this is the 2200 driver?

 

i could enable these functions - but it will probally make the driver crash

 

there's a lot of ieee80211 functions that need to be converted from linux before we can use that

 

the problem is that i'll need 2 wireless nachines to run some tests - wich i don't have

 

maybe you can try to enable the missing functions - and port the missing ieee80211

 

and i have no idea on how to write new networkselector options to suport them

 

anyone who wants to write code is always welcome :thumbsup_anim:

 

 

iwi2100

 

last version as

 

priv->status |= STATUS_RF_KILL_SW;

wich is the same as have p_disable=1 in the info.plist

 

this is done so that networkselector can work

 

be shure to delete system/library/extensions.* before install the driver - or the p_disable=1 will not be recognized by mac os and the driver will panic

 

 

moseschrist,

 

maybe you can help on write networkselector for iwi3945 - it's not as easy as iwi2100/2200 but it will help developing the driver and probally fix lots of kernel panic

 

 

Airfly,

 

you're right about the 391 - i might have done a mistake - didn't commit the .dmg

 

 

so here's iwi3945 rev 393

http://code.google.com/p/iwidarwin/

please post the picture/logs

 

the source code is unchanged, this is .dmg only

i not speak english but i try....

 

my log is like those of tprins228

i have changed en1 but the log dont change

 

my Hardware Address 00-13-02-45-9A-55

 

the 3945ABG is in (PCI-E x1 port #3 In Use @ x1 (Intel 3945ABG PRO/Wireless Network Adapter)

I have a question: my computer recognize PCI-E???

my computer dont recognize my pcmcia slot "texas instruments"

 

(sorry for my poor english)

 

maybe this can be the problem for those iwi3945 cards - can someone check this?

 

can someone with this cards - try to hack the getaddress() - put the mac card address

this is a hack that probally don't work - but someone must give it a try

sure, where is the getaddress() code, ill give it a try

 

i've made this version for your card only

 

this is for tprins228 card only - other cards won't work. the code is:

 

IOReturn darwin_iwi3945::getHardwareAddress( IOEthernetAddress * addr )

{

 

UInt16 val;

if (fEnetAddr.bytes[0]==0 && fEnetAddr.bytes[1]==0 && fEnetAddr.bytes[2]==0

&& fEnetAddr.bytes[3]==0 && fEnetAddr.bytes[4]==0 && fEnetAddr.bytes[5]==0)

{

if (priv)

{

// hack: for address 00:13:02:56:F8:6D

/*priv->eeprom.mac_address[0]=0x00;

priv->eeprom.mac_address[1]=0x13;

priv->eeprom.mac_address[2]=0x02;

priv->eeprom.mac_address[3]=0x56;

priv->eeprom.mac_address[4]=0xF8;

priv->eeprom.mac_address[5]=0x6D;*/

memcpy(fEnetAddr.bytes, priv->eeprom.mac_address, ETH_ALEN);

IOLog("getHardwareAddress " MAC_FMT "\n",MAC_ARG(fEnetAddr.bytes));

}

}

 

other who have xcode remove the /* */ and replace with the mac address from windows/linux

iwi3945.dmg

jus my two cents worth... i'm not a programmer btw..... umm... there is an open source driver and gui app that allows association with a network, encrypted or not....

 

its the ralink driver by realtek i think... i only know it is open source..... u guys might wanna work from there.... but bear in mind that the encryption works only in sse3 cpus only....

moseschrist,

 

maybe you can help on write networkselector for iwi3945 - it's not as easy as iwi2100/2200 but it will help developing the driver and probally fix lots of kernel panic

 

i can give it a shot, but it is a little bit of a problem since i don't have a 3945 so i have no way to test it other than realising partial builds...

 

 

anyways i wish to take a deeper look into the new builds of networkSelector. it is so exciting, just like looking at my own child after it has grown up :(

Guest
This topic is now closed to further replies.
×
×
  • Create New...