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
Megnus
This is so exiting biggrin.gif
mlazy
OK,

This is cool. check the logs Jalavoui. I manually kextloaded, got the attached log. Then I tempted fate and rebooted with it in my extensions folder.......hard lock up on boot with no logs. sigh. How's it look to you?

Click to view attachment

726 for testers:

Click to view attachment

update:
kextloaded at 9:34, ran until 9:50 then hard freeze, no associated log entry.

update 2;

built network selector, ran it. got: Could not get ID for kernel control. 2
TheMarine
A stupid question...
What's the IOSleep hack for? A timeout for what?
mlazy
QUOTE(TheMarine @ Apr 16 2008, 10:49 AM) *
A stupid question...
What's the IOSleep hack for? A timeout for what?


It looks like he fixed it. It WAS a setting in the code that we were testing.
FurmanSK
Alright i got xcode for 10.5.2. Now what files do i need to compile the 2200 drivers from the svn tree? Sorry for not knowing lol. Thanks for any help.

What I'm thinking is i'll just download them all and just compile and load.
mlazy
QUOTE(FurmanSK @ Apr 16 2008, 11:00 AM) *
Alright i got xcode for 10.5.2. Now what files do i need to compile the 2200 drivers from the svn tree? Sorry for not knowing lol. Thanks for any help.

What I'm thinking is i'll just download them all and just compile and load.


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/

Then, open the project and build away.. smile.gif
sberla
QUOTE(mlazy @ Apr 16 2008, 03:25 PM) *
OK,

This is cool. check the logs Jalavoui. I manually kextloaded, got the attached log. Then I tempted fate and rebooted with it in my extensions folder.......hard lock up on boot with no logs. sigh. How's it look to you?

Click to view attachment

726 for testers:

Click to view attachment

update:
kextloaded at 9:34, ran until 9:50 then hard freeze, no associated log entry.

update 2;

built network selector, ran it. got: Could not get ID for kernel control. 2


HI, sorry for my bad english....
i've tested iwi3945v726.kext osx freezed 15 sec after booting. i'm a noob so i hope to have copied the right part of the log. i hope it can be useful.

Apr 16 16:45:24: --- last message repeated 4 times ---
Apr 16 16:45:24 localhost kernel[0]: iwi3945: Starting
Apr 16 16:45:24 localhost kernel[0]: Someone called createOutputQueue()
Apr 16 16:45:24 localhost kernel[0]: settCurController [OK]
Apr 16 16:45:24 localhost kernel[0]: 1
Apr 16 16:45:24 localhost kernel[0]: IOPCCard info: iwl3945: Intel® PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23d
Apr 16 16:45:24 localhost kernel[0]: IOPCCard info: iwl3945: Copyright© 2003-2007 Intel Corporation
Apr 16 16:45:24 localhost kernel[0]: ieee80211_alloc_hw @ /Users/super/Desktop/726/compatibility.cpp:5539
Apr 16 16:45:24 localhost kernel[0]: sta_info_init @ /Users/super/Desktop/726/compatibility.cpp:5370
Apr 16 16:45:24 localhost kernel[0]: ieee80211_if_sdata_init @ /Users/super/Desktop/726/compatibility.cpp:2045
Apr 16 16:45:24 localhost kernel[0]: ieee80211_alloc_hw [OK]
Apr 16 16:45:24 localhost kernel[0]: IOPCCard info: iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
Apr 16 16:45:24 localhost kernel[0]: init_waitqueue_head stubbed out!
Apr 16 16:45:24 localhost kernel[0]: ieee80211_rate_control_register @ /Users/super/Desktop/726/compatibility.cpp:946
Apr 16 16:45:24 localhost kernel[0]: ieee80211_register_hw @ /Users/super/Desktop/726/compatibility.cpp:2640
Apr 16 16:45:24 localhost kernel[0]: sta_info_start @ /Users/super/Desktop/726/compatibility.cpp:2037
Apr 16 16:45:24 localhost kernel[0]: ieee80211_init_rate_ctrl_alg @ /Users/super/Desktop/726/compatibility.cpp:2516
Apr 16 16:45:24 localhost kernel[0]: rate_control_alloc @ /Users/super/Desktop/726/compatibility.cpp:2331
Apr 16 16:45:24 localhost kernel[0]: ieee80211_rate_control_ops_get @ /Users/super/Desktop/726/compatibility.cpp:2318
Apr 16 16:45:24 localhost kernel[0]: ieee80211_try_rate_control_ops_get @ /Users/super/Desktop/726/compatibility.cpp:2300
Apr 16 16:45:24 localhost kernel[0]: IOPCCard debug: en1: Selected rate control algorithm 'iwl-3945-rs'
Apr 16 16:45:24 localhost kernel[0]: ieee80211_if_add @ /Users/super/Desktop/726/compatibility.cpp:2230
Apr 16 16:45:24 localhost kernel[0]: ieee80211_if_sdata_init @ /Users/super/Desktop/726/compatibility.cpp:2045
Apr 16 16:45:25 localhost kernel[0]: ieee80211_if_set_type @ /Users/super/Desktop/726/compatibility.cpp:2171
Apr 16 16:45:25 localhost kernel[0]: warning en1: Failed to add default virtual iface
Apr 16 16:45:25 localhost kernel[0]: 2
Apr 16 16:45:25 localhost kernel[0]: 3
Apr 16 16:45:25 localhost kernel[0]: 4
Apr 16 16:45:25 localhost kernel[0]: 5
Apr 16 16:45:25 localhost kernel[0]: 6
Apr 16 16:45:25 localhost kernel[0]: 7
Apr 16 16:45:25 localhost kernel[0]: 8
Apr 16 16:45:25 localhost kernel[0]: 9
Apr 16 16:45:25 localhost kernel[0]: error iwl3945: U iwl3945_mac_add_interface enter: id 592257056, type 0
Apr 16 16:45:25 localhost kernel[0]: error iwl3945: U iwl3945_mac_add_interface Set: 00:18:de:c3:38:f9
Apr 16 16:45:25 localhost kernel[0]: NVDANV40HAL loaded and registered.
Apr 16 16:45:25 localhost kernel[0]: IOPanelDevice: Machine Is Laptop!
Apr 16 16:45:25 localhost kernel[0]: IOPanelDevice: Registered OK!



FurmanSK
QUOTE(mlazy @ Apr 16 2008, 11:02 AM) *
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/

Then, open the project and build away.. smile.gif


Thanks man but got a question. I see your using SVNX in Mac so you have wired net right? See don't have that i'm having to go from WinXP to Mac back and forth lol so yeah time consuming. So is there a way to download it on windows XP and transfer it to Mac?

Thanks guys
mlazy
QUOTE(FurmanSK @ Apr 16 2008, 12:14 PM) *
Thanks man but got a question. I see your using SVNX in Mac so you have wired net right? See don't have that i'm having to go from WinXP to Mac back and forth lol so yeah time consuming. So is there a way to download it on windows XP and transfer it to Mac?Thanks guys
Furman,I think your best bet would be to use an SVN app in windows to DL the code, then compile the project in OSX. should be pretty easy to do. (hopefully)
QUOTE(sberla @ Apr 16 2008, 12:00 PM) *
HI, sorry for my bad english....i've tested iwi3945v726.kext osx freezed 15 sec after booting. i'm a noob so i hope to have copied the right part of the log. i hope it can be useful.
This is perfcet, and matches mine almost exactly. Thanks! you can also manually load the kext so you don't have to install and reboot to test if you want.
sberla
QUOTE(mlazy @ Apr 16 2008, 06:27 PM) *
Furman,I think your best bet would be to use an SVN app in windows to DL the code, then compile the project in OSX. should be pretty easy to do. (hopefully)This is perfcet, and matches mine almost exactly. Thanks! you can also manually load the kext so you don't have to install and reboot to test if you want.


thanks, but i don't know how to load it manually so .... biggrin.gif
if you have some other version to test i'll do it. it's very interesting.....
jalavoui
iwi2200 os x 10.4 and 10.5
added code for wep hexa passwords
add suport for <hidden> networks
all code is in svn tree
i hope it works

iwi3945
i'll come back later to check how it is
please help posting logs
or hacks if you have coding skills
mtheory
Hello.

I'm having a bit of trouble getting the latest iwi3945 build to work on my 'tosh laptop. Spes:

QUOTE
Toshiba Satellite A200-06V
Intel C2D T5250 1.5GHz UV from 1.250V to 0.950V
Toshiba MK-1237GSX 120Gb 5400RPM
Intel 3945A/B/G
2x1GB DDR2 667Mhz
15.4" Brightview
GMA X3100


So basically, I:

1) Downloaded the iwi3945.dmg from http://iwidarwin.googlecode.com/svn/trunk/...45_new-osx10.5/
2) Opened and Installed the package, and confirmed the boot change popup before the computer restarted.
3) Once the laptop restarts, Network Manager still shows Ethernet and Firewire both unconnected, with no new device alert.

I'm wondering if I'd maybe missing a step, or doing something incorrectly?
Help would be greatly appreciated, thanks!
mlazy
Hello,

Here are logs from 732 for me. (new errors)

Click to view attachment

Here is 732 for general testing:

Click to view attachment
jalavoui
iwi3945
starting to read logs...
mlazy
Hello again,

Here are builds of the 2200 driver. I am only posting these for others to play with, because I don't have a 2200 to test with. I also had a number of build errors about undecalred items like: "error: '::strcoll' has not been declared", so this may not work.


Click to view attachment
jalavoui
the iwi2200 for mac os x 10.4 must be build in the 10.4 os
can you post iwi2200.dmg for os x 10.5?

iwi3945
from last logs the driver just hangs
i'll fix it and upload to svn

done rel 733
code is available in svn tree
need inital driver log
mtheory
I just installed the package from the 733 iwi3945 dmg.
Still, nothing shows up in the network settings after a restart.
Am I skipping over something? The networkSelector doesn't run either.
Illegal Process, Logout.
mlazy
QUOTE(jalavoui @ Apr 16 2008, 01:30 PM) *
the iwi2200 for mac os x 10.4 must be build in the 10.4 os
can you post iwi2200.dmg for os x 10.5?

iwi3945
from last logs the driver just hangs
i'll fix it and upload to svn

done rel 733
code is available in svn tree
need inital driver log


733=immediate freeze. Going to reboot for kernel panic screen in -s mode.
croqodil
me to. no luck with kextload and 733 smile.gif
FurmanSK
Alright thanks man i got a program working and got them. Umm someone mind telling me how to do the get logs thing for 10.5.2 on the 2200 drivers? I read that forum and it was for tiger not Leo. so yeah help would be great smile.gif
SuperInsanity
QUOTE(mlazy @ Apr 16 2008, 12:27 PM) *
Furman,I think your best bet would be to use an SVN app in windows to DL the code, then compile the project in OSX. should be pretty easy to do.

I have a similar problem, I have no networking in my Hackint0sh so I boot into Windo$e and use TortoiseSVN (http://tortoisesvn.tigris.org/) to track the IWI Darwin SVN, then boot to Mac and copy the folder from my Windo$e drive and build it. (You have to have Xcode installed. Go to the iwi3945_new-osx10.5 (or whatever yours is called) folder, and click on the iwi3945.xcodeproj which should bring up Xcode and then click on Build. This will build the iwi3945.kext. By default it puts it in a newly created "build" folder under the current folder, and then the .kext will be in the "Debug" (default) or the "Release" folder depending what was chosen in the Xcode build. (You'll see the option in the top bar in a pull-down.) I don't know if this is the fully proper proceedure, but seems to be what works for me.)

I've been trying to use the iwi3945 drivers, but so far with the driver installed in my Extensions folder my system freezes up after a short while, so I haven't been able to get the logs.

***Oops, I see that meanwhile you figured it out...oh well, this info might help some fellow noobs...***
sberla
stupid question: where i can find 733 to test?
mtheory
Whoa, so I've been doing everything wrong by just installing the package in the dmg found in the svn?!
I still don't get the same errors/results some of the other testers are getting...
Every time I install the package and reboot, nothing changes on my system...
SuperInsanity
QUOTE(sberla @ Apr 16 2008, 02:01 PM) *
stupid question: where i can find 733 to test?

You have to build it from SVN...check this: http://code.google.com/p/iwidarwin/source/checkout
(Don't worry, it's not that difficult, even I was able to do it! wink.gif )
Check through this thread for more detailed instructions, someone was nice and posted instructions, I can't remember which page it's on. Also look around on that site (iwidarwin) for more info.
jalavoui
iwi3945 rel 734
this is a new way to make it work
check if you get missing symbols
yep - this is the right way to make it work
try a few reboots if you get kp - you have to move iwi3945.kext to system\library\extensions first
mlazy
733 KP screenshot. I see 734 is out. I'm on it..

Click to view attachment
jalavoui
wait...
that panic is because i've disabled some conditions to make the driver allways run
this can't be done because sometimes the radio if off, ucode fails to load, etc
i'll fix this and commit to svn

iwi3945 rel 735
this time the driver will fail if get initial errors during startup
need to be tested in extensions folder

i'll change the build script to place the kext in extensions folder
the en1 must be recognized by os x to work
ok this is in rel 737
after you build in xcode reboot, goto sys prefs and it's ready to test
odessamarin
Please can somebody post last 2200 for 10.4.. I try to compile, but this svnX just freeze after i insert repo and try to open it.

Thanks
jalavoui
you don't need svnx to grab the source
use terminal to get it
i have rapidsvn to work on svn - mybe it works for you

can someone else help with logs
mlazy is the only one working here

iwi2200
nsgui would looke nice if it as a way to store prefered networks
it should also store hidden essid and wep passwords
anyone with mac os x cocoa skills around?

read some posts back and you'll find out all there's to know to build with xcode
mtheory
QUOTE(jalavoui @ Apr 16 2008, 07:43 PM) *
you don't need svnx to grab the source
use terminal to get it
i have rapidsvn to work on svn - mybe it works for you

can someone else help with logs
mlazy is the only one working here



Could you elaborate on how to do that? I'm getting really confused with the build stuff..
Or can someone attach a build of 737?
mlazy
735 logs: (up and running with it loaded right now!) Can't connect to anythng, but did see new enet interface.

Click to view attachment

735 kext for testing:

Click to view attachment

screenshot showing new enet with real mac address:

Click to view attachment


Ignore this... building 737 now.
jalavoui
mlazy,
maybe after you build you can commit the .dmg to svn
this will help others to test
if you do so please fix the link in the main iwidarwin page

your log doesn't show en1 working - maybe a few reboots?
mlazy
QUOTE(jalavoui @ Apr 16 2008, 02:52 PM) *
mlazy,
maybe after you build you can commit the .dmg to svn
this will help others to test
if you do so please fix the link in the main iwidarwin page



will do. Still trying to get full dmg to build. stay tuned.
SuperInsanity
QUOTE(jalavoui @ Apr 16 2008, 02:43 PM) *
can someone else help with logs
mlazy is the only one working here


I guess he's not so lazy! wink.gif


Anyway, I'd love to get some logs, but so far my system hangs everytime, just as I'm trying to do so. (Trying with the iwi3945 drivers)

The last revision I checked out and installed was 735 I think, it booted up fine, and then freeze after a few seconds, before I can get any useful info.
mlazy
Build 737 kext. will build dmg soon. Going down for reboot to get new data for Jalavoui.

Click to view attachment
jalavoui
if you get a kp
boot with -s
post the picture
to test the driver unplug all other network connections first
mlazy
737 logs:

Click to view attachment

waiting for the kp... tongue.gif
jalavoui
en1 isn't comming up
waht do you have in ifconfig?
try this:
remove iwi3945.kext
reboot
remove en1 from system preferences -> network
reboot
install iwi3945.kext in extensions
load it
goto sys prefs -> network
click apply if you get a new en1 device
see system.log

good kp smile.gif - boot with -s and check last log lines before kp
mlazy
NEW SYMPTOM:

Load kext, no problem, see logs above. Go into network prefs to apply new interface, immediate lock up on pressing apply. got a picture of the syslog in the bg, kinda grainy, can you see it? It's definately starting a scan, but it panics before the log is even written to file. I got lucky and it showed in my tail -f in the background.


Click to view attachment
jalavoui
best kp i ever seen - shows driver scanning
you should all test the driver with boot -s
if the driver as reached here it will be very easy to make it work
first working version will only be able to associate to unsecure networks
but i guess you all be happy with it

where's the .dmg?
i'd like to see this working on other iwi3945 cards - might work better

maybe you'd like to open console -> system.log before clicking "apply" in sys prefs

one old advice:
the driver fails if radio is off
one way to fix this is go to windows - turn the card on
tehm reboot to mac os x
mlazy
QUOTE(jalavoui @ Apr 16 2008, 03:22 PM) *
en1 isn't comming up
waht do you have in ifconfig?
try this:
remove iwi3945.kext
reboot
remove en1 from system preferences -> network
reboot
install iwi3945.kext in extensions
load it
goto sys prefs -> network
click apply if you get a new en1 device
see system.log

good kp smile.gif - boot with -s and check last log lines before kp


I'll try this now.
SuperInsanity
Here's the last bit of my system.log before the freeze.

Kinda makes we wonder if I'm installing correctly because of the Xcode errors...?
jalavoui
this is not a show
why is everybody online without posting logs?

SuperInsanity,
this ocurs when the driver gets errors on initial load
i have no way to fix this for now
best thing to do is try a few reboots to check if you can load it without errors
this is why i need other logs - iwi3945 are not all the same, some work better tham others

iwi4965
if you have xcode you can use iwi3945 code to start hacking - just need to change a few things
this will be the best iwidarwin driver when it's ready smile.gif
Ruud
QUOTE(jalavoui @ Apr 16 2008, 07:41 PM) *
this is not a show
why is everybody online without posting logs?



Sorry about watching this jalavoui, without helping atm. Im keeping me informed about this because I have the 4965agn. And Im trying to understand everything so i can help when the development of that driver is starting.


allready installed xcode, and have little c++ knowledge, but do i need to look at the 3945 files or those 4965 files?
SuperInsanity
QUOTE(jalavoui @ Apr 16 2008, 03:41 PM) *
this is not a show
why is everybody online without posting logs?

SuperInsanity,
this ocurs when the driver gets errors on initial load
i have no way to fix this for now
best thing to do is try a few reboots to check if you can load it without errors



Okay, I'll try that...I'm running out of free time for that right now...I'll post results later.

Oh, and what's the best way to get logs if the system keeps hanging before I can do anything useful. Still a little new to all the Mac ins and outs but pretty familiar with BSD so it's not completely foreign.

I can read the logs from my Windows system using HFSExplorer too, which helps since I can't access the Inet (the wired lan is a broadcom that doesn't work in Os X either. sad.gif ) from my Hackint0sh, so the constant rebooting to get to each system becomes time-consuming. However, the system layout is a little different than what I'm use to, so I'm not sure to find all the relavent info. I've been looking in /private/var/log, is this correct? Any other places I should look?
truongsg
Sorry! I want to post log but I dont know where can I get Kext file?
mtheory
I'm waiting for mlazy to post up the .dmg, because all the other methods I keep trying draw up a blank.

The 737 Kext is: http://forum.insanelymac.com/index.php?act...st&id=25731
JammerML
QUOTE(jalavoui @ Apr 16 2008, 07:41 PM) *
<br />this is not a show<br />


Sorry, my only machine that I record on is a 10.4 HP nc8430, and I cannot afford to blow it up right now. I will test iF you wish, but I have been watching for months now.....

jalavoui
althought there are other ways to check a kernel panic
you can help by taking a screen picture of it
todo so:
press F8 before boot
type -s
...

the driver can work in mac os x 10.4 with small changes
if you have xcode i can help
i'm using mac os x 10.4 to write the code smile.gif
allingdk
Hay. I would also like to help out, but im a total n00b at least when it comes to Mac's, so im also waiting for the .dmg file from mlazy.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.