Jump to content
3992 posts in this topic

Recommended Posts

Ok, done some xcoding, got the mac address loaded on my machine correctly, same as in linux !

 

jalavoui, change the ifnet_setlladdress or whatever that was, i commented that

then in ::start(), i uncommented the line ipw_sw_reset and ipw_nic_up. ipw_nic_up is the one which loads the eprom and associates the mac address if im not mistaking. Therefore the airport menu shows the correct mac address for the device.

 

Now the problem is im still running under 10.4.8, due to my lazyness to downgrade to 10.4.7, and my desire to make this work under 10.4.8 if possible.

 

As for SVN, ive never used before, but i think i could manage after some wiki exploration.

 

So heres the kext for everyone who wants to test. Post your results! System.log and dmesg

Could you upload the src?

patatester .kext allways gets the correct mac address, on the Network utility it is correct, and everywhere in the log's

 

Here are the logs for his version.

 

"Here you go, its the only file..." You didn't attach any file to that?

system.txt

dmesg.txt

post-73029-1172937573_thumb.png

Edited by FlipHDK

Nope, won't connect to my unsecure 802.11-G AP.

 

Stills some errors in the logs:

Mar 3 15:51:08 FLIPHDK configd[62]: Error: WirelessGetInfo() = 88001003

Don't know what it means tho.

ucode_raw->size still is 0, Theres a problem with the ucode?

int darwin_iwi3945::ipw_read_ucode(struct ipw_priv *priv)
{
struct ipw_ucode *ucode;
int rc = 0;
const struct firmware *ucode_raw;
const char *name = "iwlwifi-3945.ucode";	/* firmware file name */
u8 *src;
size_t len;

Edited by FlipHDK

So there should be a file called that. Ive browsed throught the .kext folder and the src and all I can find to do with that is the variable *name = "iwlwifi-3945.ucode"

 

Should this be the ipw3945.ucode.h in firmware/ ? Maybe jalavoui fogot to put the new ucode in from the intel driver.

Should this be the ipw3945.ucode.h in firmware/ ? Maybe jalavoui fogot to put the new ucode in from the intel driver.

Also what im thinking. The firmware just doesnt exist...

Is the ipw3945.ucode.h inside the kext file ?? Or just inside the sources

 

Here this is what we need, if you can copy it where the old firmware file is inside the kext, then we can see if the ucode loads.

iwlwifi_3945.zip

Also what im thinking. The firmware just doesnt exist...

Is the ipw3945.ucode.h inside the kext file ?? Or just inside the sources

 

Here this is what we need, if you can copy it where the old firmware file is inside the kext, then we can see if the ucode loads.

 

Just in the src, I will try moving it to various locations inside the kext and see if it loads in any of them.

Here is a small FAQ for iwi3945 since I have noticed people have a few questions:

 

iwi3945 - FAQ

 

Does the iwi3945 driver work?

The current v3 of the driver doesn't work

 

Do i need to update my version of os x to 10.4.8 to even try this driver?

Nope, the iwi3945 driver requires Apple80211.framework and IO80211.kext from 10.4.7 or earlyer

 

How do I create log's to help development of the drivers?

Launch console and the following commands will create 3 log files to be uploaded the the forum.

sudo -s
dmesg > dmesg.txt
cat /var/log/system.log > system.txt
ioreg -w 0 > ioreg.txt

 

Where can I get the required Apple80211.framework and IO80211.kext from 10.4.7?

It is included in this post as a attachment

 

How do I install the IO80211.kext?

To install the kext you need to copy the IO802.11.kext to: /System/Library/Extensions/

Then in console you need to run:

sudo -s
chown -R root:wheel /System/Library/Extensions/IO802.11.kext
chmod -R 755 /System/Library/Extensions/IO802.11.kext
rm /System/Library/Extensions.*
kextcache -k /System/Library/Extensions

 

How do you install the driver?

To install the kext you need to copy the iwi3945.kext to: /System/Library/Extensions/

Then in console you need to run:

sudo -s
chown -R root:wheel /System/Library/Extensions/iwi3945.kext
chmod -R 755 /System/Library/Extensions/iwi3945.kext
rm /System/Library/Extensions.*
kextcache -k /System/Library/Extensions

 

 

Here is a small FAQ for iwi3945 since I have noticed people have a few questions:

 

iwi3945 - FAQ

 

Does the iwi3945 driver work?

The current v3 of the driver doesn't work

 

Do i need to update my version of os x to 10.4.8 to even try this driver?

Nope, the iwi3945 driver requires Apple80211.framework and IO80211.kext from 10.4.7 or earlyer

 

How do I create log's to help development of the drivers?

Launch console and the following commands will create 3 log files to be uploaded the the forum.

sudo -s
dmesg > dmesg.txt
cat /var/log/system.log > system.txt
ioreg -w 0 > ioreg.txt

 

Where can I get the required Apple80211.framework and IO80211.kext from 10.4.7?

It is included in this post as a attachment

 

How do I install the IO80211.kext?

To install the kext you need to copy the IO802.11.kext to: /System/Library/Extensions/

Then in console you need to run:

sudo -s
chown -R root:wheel /System/Library/Extensions/IO802.11.kext
chmod -R 755 /System/Library/Extensions/IO802.11.kext
rm /System/Library/Extensions.*
kextcache -k /System/Library/Extensions

 

How do you install the driver?

To install the kext you need to copy the iwi3945.kext to: /System/Library/Extensions/

Then in console you need to run:

sudo -s
chown -R root:wheel /System/Library/Extensions/iwi3945.kext
chmod -R 755 /System/Library/Extensions/iwi3945.kext
rm /System/Library/Extensions.*
kextcache -k /System/Library/Extensions

I have been trying to install the iwi3945.kext file (version 11) but the extension will not load. After restarting my laptop i get the following error messgae: "System extension cannot be used. The system extension '/system/library/extensions/iwi3945.kext' was installed improperly and cannot be used. Please try uninstalling it, or conctact the products vendor for an update.'

 

I have been following this posting and I am a bit confused as to some of the additional files that are needed.

1) First, from what source is the apple80211.framework to be extracted ? I see that one should use version 10.4.7 or earlier but from what package ? Apples' Combo or Update ? Jas full build or update ?

2) Second, the same question for io80211family.kext.

3) Third, a file called io80211.kext is mentioned several times. Again, version 10.4.7 or earlier. However, I can not find this file in any of Apples' packages (10.4.5, 10.4.6, 10.4.7 or 10.4.8) Combo or updates.

 

My laptop is a Toshiba Satellite A105, 2gb ddr2 sdram, 160gb hard drive, T5500 Intel Core 2 Duo. I have installed the Jas 10.4.8 build on one partition and Windows XP Media Center on a second partition. My wireless chip is Intel's 3945abg chip set. My screen looks great at 1280x800 resolution. The installed harmon/kardon speakers do not work.

 

As per other posting I have included 3 text files that can be used for diagnoistics.

 

Any recommendations would certainly be appreciated. Many thanks.

dmesg.txt

ioreg.txt

system.txt

I have been trying to install the iwi3945.kext file (version 11) but the extension will not load. After restarting my laptop i get the following error messgae: "System extension cannot be used. The system extension '/system/library/extensions/iwi3945.kext' was installed improperly and cannot be used. Please try uninstalling it, or conctact the products vendor for an update.'

Try this:

sudo -s
chown -R root:wheel /System/Library/Extensions/iwi3945.kext
chmod -R 755 /System/Library/Extensions/iwi3945.kext
rm /System/Library/Extensions.*
kextcache -k /System/Library/Extensions

I have been following this posting and I am a bit confused as to some of the additional files that are needed.

1) First, from what source is the apple80211.framework to be extracted ? I see that one should use version 10.4.7 or earlier but from what package ? Apples' Combo or Update ? Jas full build or update ?

2) Second, the same question for io80211family.kext.

3) Third, a file called io80211.kext is mentioned several times. Again, version 10.4.7 or earlier. However, I can not find this file in any of Apples' packages (10.4.5, 10.4.6, 10.4.7 or 10.4.8) Combo or updates.

 

Here: http://download.yousendit.com/C73C5187474C07BA

 

Contains both Apple80211.framework and IO80211Family.kext from 10.4.7

Jalavoui,

 

the new iwi2200 have better speed to me, about 240k/s. For my link the speed is ok (+ or - ).

 

But, after limit of 170mb aprox of download, system, apps and dock are broken. System hang up and i cant to start any app. So, only way is restart the notebook.

 

look like a memory problem... no release buffers, i dont know....

 

so close ...

Edited by Glauber Lobo

tried the latest iwi3945.

no crash, recognised the right mac address and appeared on menubar airport icon

BSSID not detected.

wifi led lamp off but airport on status in network configuration of pref.panes.

 

attached my ioreg, systemlog.

 

Dell M1210

mifki kernel, 10.4.8(replaced io80211.kext and apple80211.framework)

 

keep going

cheers!

ioreg.txt

systemlog.txt

iwi3945

 

good to see some progress in here :hysterical:

 

now that the driver has the right mac address it will be easier to fix other things

 

the firmware i'm using is not the old ipw3945 wich requires a daemon to work - it's the latest from the intel wifi project

 

this should work fine - i'll try to do some fixes with that

 

to those who have the card - please try to fix it too

 

anyone try to enable the rx qeues in nic_init()?

 

after firmware loading the tx/rx qeues must be setup up - this will allow the driver to start receiving packets and do something usefull - i'll be looking at that

 

i'll also need help to write missing functions (convert from linux)- i'll write an howto on that

 

keep the good work

 

:rolleyes:

 

Also what im thinking. The firmware just doesnt exist...

Is the ipw3945.ucode.h inside the kext file ?? Or just inside the sources

 

Here this is what we need, if you can copy it where the old firmware file is inside the kext, then we can see if the ucode loads.

 

 

the file is inside the firmware folder

 

you only need it in source code - it's compiled and added to the driver by code

 

you should check the firmware loading functions - might have some bugs

 

did you try to enable the rx in nic_init()? what happens?

 

the driver isn't ready to do associate networks yet

 

steps on this project will be:

 

load and init firmware (can someone who uses this card and have a wireless button confirm if the button turns the driver on/off?)

 

setup rx/x queues - some work on that - need to write tx queue code

 

scanning - this will be easy

 

associate the network - easy to do - for unsecure nets only

 

code from iwi2200 will help a lot

i've added changes to svn for iwi3945

 

- add patatester mac address fix

- changed ipw_read_ucode()

 

http://iwidarwin.googlecode.com/svn/trunk/...945/iwi3945.dmg

 

 

 

about svn

 

i'm using a program called RapidSVN to browse/update svn

 

for those using xcode this might help

 

use your root account

 

make a folder called svn in root

 

setup RapidSVN to update the folder "svn" use address http://iwidarwin.googlecode.com/svn

 

it's done

 

in xcode - click on a file and use get info - svn - this allows to see the difs betwen releases

 

Ive placed that .ucode file in a few places. Didn't make any difference.

 

In iwi3945.cpp is:

#include "firmware/ipw3945.ucode.h"

Is that where this file should be? with that name I think that is the old ucode.

 

check new version changes

 

i've put the wrong name in the firmware file - it should be iwlwifi.fw.h because that's where i get the firmware

 

sorry for the mess - but the code is taken from several souces

 

about writting new iwi3945 code

 

as you can see there are a lot of missing functions in iwi3945

 

i've comment the functions that need to be written from linux

 

how this should be done:

 

- always try to use code from base.c - it's the latest - but

because of some functions use different headers - use ipw3945.c functions if base.c functions fails

this is important because the whole iwi project uses common functions not present in base.c

 

- basically try a copy/paste from linux functions into iwi3945.c / iwi3945.h and do small fixes will allow xcode to build without errors

 

there's a lot of code to be written - who wants to help on this step?

 

find out a bug in getSTATUS_DEV()

ipw_sw_reset() is duplicated!!

it's fixed and uploaded to svn

Try this:

sudo -s
chown -R root:wheel /System/Library/Extensions/iwi3945.kext
chmod -R 755 /System/Library/Extensions/iwi3945.kext
rm /System/Library/Extensions.*
kextcache -k /System/Library/Extensions

 

Many thanks for the the quick reply. I hope that I am using the right method to reply in this forum; if not, please excuse this newbie. I downloded the files that you so kindly provided. However, I noticed that the IO80211.kext file, that several folks have mentioned, was not present. I followed your instrtuctions, noting that the .framework file goes into a different directory, and still have the same problem.

 

Have a great day.

 

Pablo, the 3945 driver is nowhere near ready for stable use. We're still debugging some errors. If you want to help, thats cool, otherwise you won't get this thing working right now, so don't bother...

 

Thanks for the update. I appreciate the time you took for your reply. Since I am new to this process I am a bit confused. It appears that there are some folks who have this driver working. Is there a group, or multiple groups, of system engineers that are working together on this driver and others ? I saw earlier in this posting where one person posted a set of files to try.

 

Regards

about svn commit:

 

to update changes to svn you'll need to setup rapidsvn to use https

 

this is not to easy to do but comes in hande when writting new code

 

after changing code all you need is to delete the old .dmg and to another build in xcode

 

them commit to svn and post the link here for testing

 

to commit to svn you'll need:

 

- a gmail account

 

- an account in the project - ask kazu to do that

 

- setup rapidsvn to use https://iwidarwin.googlecode.com/svn

 

you'll get a certificate from rapidsvn - accept it

 

to prevent rapidsvn from keep asking the account paswsword open a console and type

 

svn list https://iwidarwin.googlecode.com/svn --username jalavoui

 

close and reopen rapidsvn

 

if you don't have svn get the Subversion-1.4.3.pkg from the net

 

and replace jalavoui for your account name

i'll also need help to write missing functions (convert from linux)- i'll write an howto on that

 

That would be quite a good idea since im willing to help but am kind of lost in the mac world.

 

jalavoui, im getting a kernel panic from your recent svn changes.... Ill try going through the logs, let me know if you happen to know what is causing this.

 

Well, theres no information present in the system.log after my panics. I tried fiddling around in start() around the lines that i had uncommented, without any luck. Tried without an en0, no changes.

 

This is most likely related to the new firmware file being present. Without the file present, there were no panics. So i remember you talking about firmware sizes... Could this be related?

 

Maybe FlipHDK will have different results with the new dmg..

First of all thank you guys for your effort.

 

Want to help you by testing iwi2200 driver but I can not get latest iwi2200.kext to work. I install it but OSX behaves as if there were no wifi device at all.

I am running clean installation of 10.4.8 JAS on HP NC8230. Wireless device id is 4220, it is present in Info.plist. I have seen comments about current drivers' versions requiring IO80211Family.kext from 10.4.7. Does this mean I can not make them work on 10.4.8?

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