Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
![]() |
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
|
Chris_H
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 01:29 PM Post #621
|
|
jalavoui, iwi3945 rel 672 now KP's further in:
CODE static int ieee80211_open(struct net_device *dev) { printf("CAH: 1\n"); IM_HERE_NOW(); printf("CAH: 2\n"); struct ieee80211_sub_if_data *sdata, *nsdata; printf("CAH: 3\n"); struct ieee80211_local *local = (ieee80211_local*)wdev_priv(dev->ieee80211_ptr); printf("CAH: 4\n"); struct ieee80211_if_init_conf conf; printf("CAH: 5\n"); int res; printf("CAH: 6\n"); sdata = (struct ieee80211_sub_if_data*)IEEE80211_DEV_TO_SUB_IF(dev); printf("CAH: 7\n"); //read_lock(&local->sub_if_lock); //??? nsdata should be sdata /*list_for_each_entry(nsdata, &local->sub_if_list, list) { struct net_device *ndev = nsdata->dev; if (ndev != dev && ndev != local->mdev && netif_running(ndev) && compare_ether_addr(dev->dev_addr, ndev->dev_addr) == 0 && !identical_mac_addr_allowed(sdata->type, nsdata->type)) { //read_unlock(&local->sub_if_lock); return -1;//-ENOTUNIQ; } }*/ //read_unlock(&local->sub_if_lock); if (sdata->type == IEEE80211_IF_TYPE_WDS && is_zero_ether_addr(sdata->u.wds.remote_addr)) return -ENOLINK; printf("CAH: 8\n"); if (sdata->type == IEEE80211_IF_TYPE_MNTR && local->open_count && !(local->hw.flags & IEEE80211_HW_MONITOR_DURING_OPER)) { /* run the interface in a "soft monitor" mode */ printf("CAH: 9\n"); local->monitors++; printf("CAH: 10\n"); local->open_count++; printf("CAH: 11\n"); //local->hw.conf.flags |= IEEE80211_CONF_RADIOTAP; return 0; } printf("CAH: 12\n"); //ieee80211_start_soft_monitor(local); conf.if_id = dev->ifindex; printf("CAH: 13\n"); conf.type = sdata->type; printf("CAH: 14\n"); conf.mac_addr = dev->dev_addr; printf("CAH: 15\n"); res = local->ops->add_interface(local_to_hw(local), &conf); printf("CAH: 16\n"); if (res) { if (sdata->type == IEEE80211_IF_TYPE_MNTR) ieee80211_start_hard_monitor(local); printf("CAH: 17\n"); return res; } printf("CAH: 18\n"); Last marker before KP in my console is now 'CAH: 15'. Looks like line 'res = local->ops->add_interface(local_to_hw(local), &conf);' now generates KP. |
|
glorybox
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 01:42 PM Post #622
|
|
iwi3945 rel 672 fix for ieee80211_open Look for the "HERE" if (sdata->type != IEEE80211_IF_TYPE_STA && sdata->type != IEEE80211_IF_TYPE_IBSS) { printk(KERN_DEBUG "%s: ieee80211_sta_work: non-STA interface " "(type=%d)\n", dev->name, sdata->type); return; } ifsta = &sdata->u.sta; HERE->>>> while ((skb = skb_dequeue(&ifsta->skb_queue))) ieee80211_sta_rx_queued_mgmt(dev, skb); I haven't seen IAMHERE() for the ieee80211_sta_rx_queued_mgmt() call so I suppose there's something in loop assignment |
|
Wayfarer247
InsanelyMac Sage
|
![]() |
Apr 8 2008, 06:44 PM Post #623
|
![]() ![]() ![]() ![]() ![]()
|
QUOTE Is there any update on the 4965AGN driver for Leopard? If there is anything I can do to help, just let me know! Once i get the driver for my WiFi card, i can finally switch to using OSX as my primary OS! Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well. |
|
hypnotic
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 07:54 PM Post #624
|
|
Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well. i think he meant : if it's that easy to modify it for 4965 , why not someone put the driver up there , so we 4965 users could join the beta testers club , and send some log files to help this community altogether. or just please let us know what files have to be changed ? what 'lines' or 'codes' have to be added or replaced into driver source files. i think we can make these changes if someone could explain us one by one for 4965. i think the rest is compiling the driver and installing. the point is instead of waiting here till it would be done for 3945, we would like send more logs as much as we could to help TWN , jalavoui and the other skilled developers here to make the driver ready for us soon. |
|
dizzylol4
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 08:05 PM Post #625
|
|
|
|
zacwhite15
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 08:17 PM Post #626
|
|
ok quick question. is there anyway i can download the trunk as a whole? cause its kind of a pain to download each file seperatly....
|
|
Chris_H
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 08:29 PM Post #627
|
|
ok quick question. is there anyway i can download the trunk as a whole? cause its kind of a pain to download each file seperatly.... Yes. Open a terminal (shell) and run: CODE svn checkout http://iwidarwin.googlecode.com/svn/trunk/iwi3945_new-osx10.5 iwi3945 (will create an iwi3945 directory under current directory) |
|
zacwhite15
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 08:56 PM Post #628
|
|
thanks man ill do that soon as i log into osx
|
|
zacwhite15
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 10:08 PM Post #629
|
|
ok guys im really confused. i have downloaded the svn and all, installed xcode. installed the dmg... but i still keep getting a kext load error with the kext. what am i doing wrong? can anyone tell me??
if someone can help me my msn messenger is zacwhite15@msn.com. it would be greatly apreciated..... |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 8 2008, 10:49 PM Post #630
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
iwi3945 rel 674
i've managed to change the code to build and test in my os version (10.4) several bugs where fixed let me know if you get bugs compiling in 10.5 if anyone likes to test in 10.4 just replace the info.plist with the definitions that exists in compatibility.cpp |
|
LordNite
InsanelyMac Protégé
|
![]() |
Apr 8 2008, 11:18 PM Post #631
|
![]()
|
I would like test iwi3945 rel 674 in my laptop..
where i can download it ? download r unavailable at http://code.google.com/p/iwidarwin/ |
|
imwithalwood
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 03:41 AM Post #632
|
|
I'm able to install the kext but net selector does not work. It has also screwed up my ethernet (the only internet connection that was workign) so that now itonly works every other web page i click. For instance I have to press Submit reply twice to send this.Oh by the way I'm using 10.5.2 Kalyway
|
|
steelhead
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 03:53 AM Post #633
|
|
i was able to install the iwi but the network selector does not work it. when i try to run the networkSelector i get:
Last login: Tue Apr 8 13:34:07 on ttys000 /Applications/networkSelector ; exit; *****-macintosh:~ *********$ /Applications/networkSelector ; exit; Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100 Illegal instruction logout [Process completed] Can anyone tell me what to do? |
|
zacwhite15
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 06:34 AM Post #634
|
|
i was able to install the iwi but the network selector does not work it. when i try to run the networkSelector i get: Last login: Tue Apr 8 13:34:07 on ttys000 /Applications/networkSelector ; exit; *****-macintosh:~ *********$ /Applications/networkSelector ; exit; Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100 Illegal instruction logout [Process completed] Can anyone tell me what to do? dude i know wat you mean... i keep getting the same thing myself. |
|
glorybox
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 08:10 AM Post #635
|
|
dude i know wat you mean... i keep getting the same thing myself. Guys, all of you, that get ioctl() from networkSelector and unresolved symbols while kextload'ing driwer used PowerBook (or what?) .dmg. It's now suitable for PC's. Please use, SVN and xcodebuild kext by yourself, or use one in the .zip archives that's attached, but think that's not neccesary, since by that moment all KPs are logged and screenshotted |
|
Chris_H
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 09:43 AM Post #636
|
|
iwi3945 rel 674 i've managed to change the code to build and test in my os version (10.4) several bugs where fixed let me know if you get bugs compiling in 10.5 if anyone likes to test in 10.4 just replace the info.plist with the definitions that exists in compatibility.cpp The previous iwi3945 releases have built with XCode 3.0 and generated kext that loaded ok for me in 10.5 (then KP as expected). But this new one (rel 674) reports the build is successful in XCode but the kext fails to load: chriss-mac-pro:~ chris$ sudo kextload -t /System/Library/Extensions/iwi3945.kext kextload: extension /System/Library/Extensions/iwi3945.kext appears to be loadable kld(): Undefined symbols: _mutex_init _mutex_lock _mutex_unlock kextload: kld_load_from_memory() failed for module /System/Library/Extensions/iwi3945.kext/Contents/MacOS/iwi3945 kextload: a link/load error occured for kernel extension /System/Library/Extensions/iwi3945.kext link/load failed for extension /System/Library/Extensions/iwi3945.kext (run kextload with -t for diagnostic output) chriss-mac-pro:~ chris$ |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 9 2008, 11:07 AM Post #637
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
iwi3945 rel 675
revert the mutex declaration |
|
glorybox
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 11:25 AM Post #638
|
|
iwi3945 rel 675 revert the mutex declaration it loads! Somehow I did get two different loads, one leads to KP over some time and another loads successfully and stays quite. networkSelector is still unusable, and did get a KP on kextunload |
|
Chris_H
InsanelyMac Protégé
|
![]() |
Apr 9 2008, 12:14 PM Post #639
|
|
iwi3945 rel 675 builds and loads ok for me too. It added a new network connection in preferences but after each boot and login to the desktop it either gives me the grey screen of death or locks the desktop both occurring 20-40 seconds after logging in to desktop.
Attached are the logs I managed to collect before one of the crashes occurred.
Attached File(s)
dmesg.txt ( 4K )
Number of downloads: 7
ioreg.txt ( 41.73K )
Number of downloads: 1
system.txt ( 38.26K )
Number of downloads: 5 |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 9 2008, 12:39 PM Post #640
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
iwi3945 rel 677
scan fixes the driver seems to have qeue_xx bugs don't autoload the driver use kextload - i need to see all log lines to understand it better test with boot -s and post the kp picture i do know sometimes the driver is stable - it's up to you to test and check the logs wait... ok done iwi3945 rel 678 ready for testing TNW, can you help testing/writting code? |
![]() |
|
Lo-Fi Version | Time is now: 22nd November 2009 - 04:26 AM |