Help - Search - Members - Calendar
Full Version: Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61
jalavoui
QUOTE(mlazy @ Apr 15 2008, 07:19 PM) *
Here are some 715 logs.


the driver loads very unstable - won't work this way
try to hack the iosleep() var
boot with -s and call networkselector to start a scan
move networkselector.app from xcode project folder to /
them type
kextload /iwi3945.kext
wait... for it to load
you'll get lots of debug messages
./networkselector
press the option to scan and press enter

i see a mistake on a kp picture
after boot with -s
you need to type sh /etc/rc for mac os to load
them wait for it to finish
and type kextload /iwi3945.kext

i'm still no shure but my guess in code is that driver scanning is independent of station scanning
i.e., the station scan only ocurs after the station is associated
lastsoft
ok.
i got testing with IOSleep(500)

got kp as soon as i start scanning.

i heres the syslog.
Click to view attachment

ill try 2000 now.
mlazy
Hey,

Excellent instructions. I used the -s method, but "sh /etc/rc" doesn't work. Tells me file or folder not found or something like that. any other ideas? (running 10.5.2) I did the kextload anyway, took a picture of it. Did a scan, complained that the card was not ready.

Click to view attachment

Oh, and no KP after almost 10 mins and several scans. I didn't adjust the iosleep from the project at all.
ulyanov77
QUOTE(jalavoui @ Apr 15 2008, 05:43 PM) *
the driver is very close to start working

This is very exciting to hear. Thanks for all of everyone's hard work!
jalavoui
QUOTE(mlazy @ Apr 15 2008, 08:03 PM) *
Oh, and no KP after almost 10 mins and several scans. I didn't adjust the iosleep from the project at all.


system.log from driver start please
maybe you get lucky with the scan
as anyone tryed to patch the code?
lastsoft
jalavoui.
i got it on -s it got stack as soon as it scans.
heres a pic.
Click to view attachment

i forgot - IOSLEEP(5000)
mlazy
Jalavoui,

That's just it, I don't see anything in the system.log about the single user boot. Also, /etc/rc was dropped in favor of launchd for 10.5. I'll try again now.
jalavoui
i'll try a hack and upload to svn
mlazy
Yeah, There's a "black hole" in my system log while I'm in sigle user mode. But, I did score a kernel panic while exiting netselector after loading and scanning with it.

Click to view attachment
jalavoui
iwi3945 rel 716
add iosleep fix and auto-scan
don't need networkselector the scan should start auto
try a few reboots if you get a kp
you can try to put iwi3945.kext in system/library/preferences (fix permissions)
and add it to system preferences -> network
the card must be recognized by mac os x before it start to work
and you need to unplug all other network connections before testing iwi3945
nazrm
Great job so far jalavoui (and other testers + developers)!! Ill see if I can start testing aswell smile.gif
jalavoui
why are you all connected to this thread?
disconnect and go test iwi3945 smile.gif
imwithalwood
I'm trying my best to test but I guess im doing something wrong. Anyways I opened terminal and did svn checkout to get all the files. clicked on the .dmg file to install it and then restarted. When i restarted i checked my network in preferences (nothing new) and then clicked on network selector in my applications. i got this: Last login: Tue Apr 15 16:58:28 on ttys000
/Applications/networkSelector ; exit;
benny-lavas-mac-pro:~ Benn$ /Applications/networkSelector ; exit;
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout

[Process completed]

anyways I did the get logs command and ill post them, they prolly wont help though because it seems like i did it wrong. No KP btw.
mlazy
716 log:

Click to view attachment

v716 kext for ppl without xcode:

Click to view attachment

up for 5 mins, no KP! I have an EN interface for it, but the state remains "not plugged in" where to next fearless leader? smile.gif
jalavoui
imwithalwood,

you need to delete the old .dmg
after choose build in xcode to create a new one
xcode place iwi3945.kext on /
to test
reboot
kextload /iwi3945.kext

mlazy,
thanks for your hard work testing my bugs


iwi3945 rel 717
the driver is very unstable when first loading
maybe this make it work better
initial bugs from last log shows it is not working

there's still lots of things to test
we need more people posting logs
i can always use someone with ideas to patch the source code

what's missing:
make the driver do stable scans
get probe responses from open networks
associate
get an ip address
this is all very easy to do - don't worry

please post initial drive log lines

if you get this in logs
error iwl3945: Microcode SW error detected. Restarting 0x82000008.
better reboot and test again
the driver recover from this error but it fails working correctly if initial startup fails
ptdesigner
QUOTE(mlazy @ Apr 15 2008, 10:03 PM) *
716 log:

Click to view attachment

v716 kext for ppl without xcode:

Click to view attachment

up for 5 mins, no KP! I have an EN interface for it, but the state remains "not plugged in" where to next fearless leader? smile.gif


Thank you. now i can test and post results
mlazy
QUOTE(jalavoui @ Apr 15 2008, 05:08 PM) *
imwithalwood,

you need to delete the old .dmg
after choose build in xcode to create a new one
xcode place iwi3945.kext on /
to test
reboot
kextload /iwi3945.kext

mlazy,
thanks for your hard work testing my bugs


No Problem, you are the one doing all of the work. Thanks for working on this project, I'm just happy to help. Are you doing this just for the challenge? I know you are on an imac G3, so what's the angle for you?
jalavoui
i've just changed the xcode script to fix permissions for /iwi3945.kext
it should load the driver nicely

i don't remember the svn rel version smile.gif

yaps - i must be crazy for writting code for a card i don't have

to know how to help posting logs - read few pages back

zzzz... waiting for logs
dab77
QUOTE(jalavoui @ Apr 15 2008, 11:33 PM) *
i've just changed the xcode script to fix permissions for /iwi3945.kext
it should load the driver nicely

i don't remember the svn rel version smile.gif

yaps - i must be crazy for writting code for a card i don't have

to know how to help posting logs - read few pages back

zzzz... waiting for logs

hey! what about people who really want to help this project, but has a f....g small version of leo, and doesn't have xcode, or a {censored} compiler to build the driver? (is it my fault? I can compile on linux.. should be the same!)
I'm looking to this post every day for a compiled version to try it and post my KPs. tell me one thing, am I losing my time 'cause if I don't compile it on my pc it's useful? or what?
thanks for aswering. and sincerely for the project..
mlazy
718 logs: (10 mins to kp)

Click to view attachment

718 kext:

Click to view attachment

off to make dinner
jalavoui
smile.gif
good point there
ok guys
when you post logs
also post iwi3945.kext for people to test
the iwi3945 cards are not all the same and we can get better results this way

mlazy, if you have a gmail account pm me so i can add you to iwidarwin
you can upload .dmg to svn - this will help development

iwi2200
just remembered that i need someone with
mac os x 10.4.x to get the svn, build and post the .dmg so i can update it
mac os x 10.5 - same thing


iwi3945 is getting worst results
don't test it - i'll upload a new release to svn
i think i get what's wrong this time
please wait...
FurmanSK
Guys I'd love to help but I'm on campus and since the frickn network is hidden i can't select "Join another network" like usually for airport. How could I code this up and make this an option for the drivers for IntelPro 2200b/g?

Thanks for the work Jalavoui. Very impressive since you don't even have the card lol. My hats off to you.
Tin_man_0
link to lownload xcode: http://developer.apple.com/tools/download/
(by the way... you might have to register to download - just click the register button at the top its FREE!)

attached are two things 1. getlogs.command gathers the logs and 2. damian.command will automatically download compile and load the kext.

install xcode, run damian.commmand wait for the kp, reboot, then run getlogs.command and post them here. simple enough for everyone!

tip: the system.txt can get pritty big you might have to zip to post.

by the way...I got immediate KPs every time I tried to load here are my logs for the day, I gotta get back to work.
jalavoui
iwi3945 rel 719
less bugs on driver first load
this one as the old iosleep in start()
i've add 4000 - try other values if it makes the driver more stable when loading
what's the goal here:
- get no errors when the driver first loads
- leave it scanning
- goto next step: associate, etc

can someome post the build kext for testing?

here's a very nice script (need to have mac os x 10.5, svn and xcode installed to work:
http://forum.insanelymac.com/index.php?act...st&id=25670
thanks Tin_man_0

iwi2200
the hidden essid can be set as a parameter to nsgui - not hard to do. i'll give it a try
nop - i'll need iwi2200 logs of a hidden network first
dab77
ok! thank you guys for explanations.
I didn't get the xcode on apple site yet, cause i tought they first checked the installation. win style...sorry! rolleyes.gif

..but I'm gonna help tomorrow with my logs...here it's one o'clock by night, and tomorrow work waits..

thank you again. bye!

EDIT:
now donloading xcode....
was so simple?!? damn..
revolt_team
rel 718 whit IOSleep(5000);//hackthe driver loads ok,then nothings happend in tasklet_handlerthen hmm arround 5 min ... kp how is in the pic i will try the new svnand test IOSleep() valuesi dont know why i cant upload jpg images...
righteye
logs for Revision 718 ... Sorry guys, but you moove so fast ... biggrin.gif
Click to view attachmentClick to view attachment and some images with kpClick to view attachmentClick to view attachment
mlazy
here's 719 for testing:please make sure you set permissions etc.Click to view attachment719 syslog attached. It found a new ethernet interface on load, things are looking great!Click to view attachmentlooks good so far. no kp after 8 mins..
revolt_team
biggrin.gif pics for the rev 719

whit IOSleep(2000)

loads ok try to scan ...
then kp

some one can tellme how can i make logs when i am on on -s ?
jalavoui
mlazy you're a member of iwidarwin - can commit to svn
i need a hand with that iosleep()
try with 3000 - seems to work on previous releases
once you find a solution let me know
@#$! driver
mlazy
Thanks Jalavoui,

How often should i post? do you think it's ready for wider testing? Or, should we just post to the thread for now?
jalavoui
you can post if you feel like smile.gif

iwi2200 os x 10.4/10.5
added code for hidden essid networks
might need minor fixes - not shure how to detect hidden networks
code is in svn tree

iwi3945 rel 724
deam iosleep...
i've set it to 3000 - was the previous stable value
can you guys try to hack this for me?
we need to make the driver load stable otherwise the scan won't work...

we'll talk tomorrow
thanks
FurmanSK
Thanks man I'll donwload it through WinXP and load it on flash drive and test it. And hopefully i can do the logs right to. Thanks again.

EDIT: Jalavoui when you say its in SVN Tree is it on the iwidarwin site home page? Thanks.
mlazy
v724 for testing: for 3945 not 2200


Click to view attachment

Use 724 please. Jalavoui is the fastest developer ever.
jalavoui

a few notes:
all this in iwi3945.cpp
- changing iosleep - in start() - to high values seems to make os x crazy and create another interface.
- don't know whatif set to 0
- check errors on start(). if you get them the driver is not working
- the scan routine is called in enable()
- at this time the driver allways get errors in start() and therefore it's not working

please try to fix this - i'd like to go on but i'm stuck to this bug
mlazy
QUOTE(FurmanSK @ Apr 15 2008, 08:03 PM) *
Thanks man I'll donwload it through WinXP and load it on flash drive and test it. And hopefully i can do the logs right to. Thanks again.

EDIT: Jalavoui when you say its in SVN Tree is it on the iwidarwin site home page? Thanks.



Furman, I'm using SVNX to grab a read only copy and build it. Here's the link:

http://www.versiontracker.com/dyn/moreinfo/macosx/24158

Then I added the repo within SVNX:

http://iwidarwin.googlecode.com/svn/trunk/

Would love to have others testing too, I'm about to sign off for the night. I'll wait for one last build if Jalavoui is still working on it, which I think he is.
nickll9009
Ok with 724 i get no kp but when I boot it goes in and after a min or two the mouse freezes...
FurmanSK
Alright well i did it by my method before i read that and it doesn't even load them now lol So i'l have to fix it later. I got a test to study for all night so won't be doing any testing til maybe tomorrow. Have fun guys ttyl.
zacwhite15
ok installed 724 and i get the same thing. it installs and detects the device but freezes after about 30 seconds.... um i odnt know how to compile a log of why it happens. if anyone wants to tell me how i can do it smile.gif
mlazy
Hello all,

That's where the driver is at today. It will run for a few minutes, then lock everything up. Jalavoui explained how we might be able to change it, so it's time to roll our sleeves up and help him out. Can anyone else with experience jump into the fire? I'll play with it, but I'm far from being considered a developer.
Gahca
Alright boys, I'm really new at this so here it goes...

I managed to load the iwi3945.kext but I immediately get a kernel panic and cannot do anything. I can't turn on the card either to see if it works. I have logs from when I booted with -x but they might be pointless since the card is not on. Am I doing something wrong and how do you turn on the card so then you can make the proper logs?

Any help would be greatly appreciated. Thanks.
drago1
QUOTE(mlazy @ Apr 16 2008, 12:06 AM) *
v724 for testing: for 3945 not 2200
Click to view attachment

Use 724 please. Jalavoui is the fastest developer ever.


[quote]kernel extension iwi3945.kext/ has problems:
Missing dependencies:
{
"com.apple.iokit.IO80211Family" =
"A valid compatible version of this dependency cannot be found"
}
/quote]

not work for me
dab77
[quote]kernel extension iwi3945.kext/ has problems:
Missing dependencies:
{
"com.apple.iokit.IO80211Family" =
"A valid compatible version of this dependency cannot be found"
}

not work for me
/quote]
same for me!
odessamarin
QUOTE(jalavoui @ Apr 15 2008, 02:55 PM) *
ok done for all iwi drivers
updated iwi2100, iwi2200 10.4/10.5 and iwi3945
in mac os x 10.5 i've add the option to build against /Developer/SDKs/MacOSX10.5.sdk
in mac os x 10.4 i've put it to build agains current os version
i need someone to upload the .dmg for iwi2200 10.4 and 10.5


Sorry, but where to get them.. is it updated section of stable driver or it is on SVN Latest section. How to check what version do i have at the moment and what version is available. I'm confused... can't see it in FAQ. Need a little help.

thx
jalavoui
if you get this:
"com.apple.iokit.IO80211Family" =
"A valid compatible version of this dependency cannot be found"
better reinstall mac os x or resintall IO80211Family

anyone as figured out why the driver is unstable at first load?

ok - i'll go back to rel 713 and try to figure it out

i'll post a new release to svn soon

can someone test it?

iwi3945 rel 725
updated in svn tree and ready for testing
i only need to see first driver log lines - this mean you only need to test it for 1 minute and post system.log
if you get errors try a few reboots
the driver must starttup without bugs or it will never work

iwi2200
new code for os x 10.4/5 is in svn tree only - need to build it and test

snv checkout
some time ago i also get errors commiting to svn tree
might be goggle problem - but after a few retryes it work

righteye,
you've got the wrong address for svn link
copy right link from iwidarwin site
righteye
QUOTE(jalavoui @ Apr 16 2008, 09:22 AM) *
if you get this:
"com.apple.iokit.IO80211Family" =
"A valid compatible version of this dependency cannot be found"
better reinstall mac os x or resintall IO80211Family

anyone as figured out why the driver is unstable at first load?

ok - i'll go back to rel 713 and try to figure it out

i'll post a new release to svn soon

can someone test it?

iwi3945 rel 725
updated in svn tree and ready for testing
i only need to see first driver log lines - this mean you only need to test it for 1 minute and post system.log
if you get errors try a few reboots
the driver must starttup without bugs or it will never work

iwi2200
new code for os x 10.4/5 is in svn tree only

in terminal:
svn co http://iwidarwin.googlecode.com/svn/trunk/...945_new-osx10.5 /Users/righteye/4WirelessProjects/new/iwi3945_new-osx10.5
and i get this:
svn: PROPFIND request failed on '/svn/trunk/iwi3945_new-osx10.5'
svn: PROPFIND of '/svn/trunk/iwi3945_new-osx10.5': 502 Bad Gateway (http://iwidarwin.googlecode.com)


I do something wrong ?
jalavoui
this link works for me
http://iwidarwin.googlecode.com/svn/trunk/...45_new-osx10.5/

it's just another google bug smile.gif

iwi3945 rel 726
if this is the reason for the driver don't work i'll kill myself
croqodil
ver 726

Edit:
KP after about 6min
righteye
Logs for Revision 726:

I have to admit that you guys are closer than ever ... wink.gif
Click to view attachmentClick to view attachment
The mac address is the correct one ... Grate
Can wait the news!
mlazy
Hey all,

Played with iosleep a bunch last night, no luck. 3000 seems to be the sweet spot to keep things running for about 8 mins. Off to build the latest. See you all soon.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.