Jump to content

Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn


jalavoui
 Share

3,411 posts in this topic

Recommended Posts

Guest undefined

It's been told hundreds times: jalavoui works on a legit G4 which doesn't support mini-pcie cards.

Link to comment
Share on other sites

devoid,

 

i think the tutorial can be made simple if instead of manual install the extension the user can build the dmg and use the mac os installer

this is a old question and i know some of you have try to fix it

here's my solution for os x 10.5 and xcode 3.0 in building .dmg

maybe the tutorial can be changed so other developers use this build method

i think it makes much easier to install drivers, etc

 

here's the draft

 

i also think it's a good idea to add Hagar's comment on 1st post to the tutorial

 

you can get packagemaker 2.1.1 from

http://rapidshare.com/files/118592725/PackageMaker.zip

might need permissions fix to work

howto_dmg.zip

Link to comment
Share on other sites

hey, I know some C++ but have no experience in writing drivers.

I have the 3945abg in my 10.5.2 hackintosh laptop.

 

If either jalavoui or TNW is willing to give me some pointers or help i'd be more than glad to help by coding for the drivers.

Link to comment
Share on other sites

Hi guys, this driver is much better the last time i tried!

does everybody else also get a driver timeout with the 4965AGN driver? rebooting over and over again doesn't help nor do i get a network scan result. (i attached my logging)

May 31 18:12:24 Laptop kernel[0]: iwl4965: U iwl4965_send_cmd_sync Wait REPLY_TX_PWR_TABLE_CMD Condition: 0ms left

May 31 18:12:24 Laptop kernel[0]: error iwl4965: Error sending REPLY_TX_PWR_TABLE_CMD: time out after 500ms

 

I do have C/C++/C#/Java/etc experience and have written some drivers for windows; but never written a macdriver or programed in Cocoa, i could help out if jalavoui doesn't have the time. Furthermore i would love to donate some cash but i don't have a paypal account, if you live in europe i could transfer some cash by bank.

iwi.zip

Link to comment
Share on other sites

This looks intresting:

Jun 1 23:42:43 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 55, i = 54, REPLY_4965_RX, 0xc3

Jun 1 23:42:43 Laptop kernel[0]: iwl4965: U iwl4965_rx_reply_rx Bad CRC or FIFO: 0x80000002.

Jun 1 23:42:44 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 56, i = 55, REPLY_4965_RX, 0xc3

Jun 1 23:42:44 Laptop kernel[0]: iwl4965: U iwl4965_calc_rssi Rssi In A 19 B 23 C 12 Max 23 AGC dB 49

Jun 1 23:42:44 Laptop kernel[0]: iwl4965: U iwl4965_report_frame Beacon: 0x0080, dst=0xff, src=0x84, rssi=0, tim=4261573192 usec, phy=0x22a7, chnl=864

Jun 1 23:42:44 Laptop kernel[0]: iwl4965: U iwl4965_rx_reply_rx Rssi -70, noise -127, qual 62, TSF 34448040

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_rx_irqsafe @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1899

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_tasklet_handler @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1856

Jun 1 23:42:44 Laptop kernel[0]: __ieee80211_rx @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1680

Jun 1 23:42:44 Laptop kernel[0]: sta_info_get @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1459

Jun 1 23:42:44 Laptop kernel[0]: __ieee80211_invoke_rx_handlers @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1035

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_rx_h_parse_qos @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:4639

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_rx_h_load_stats @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:4646

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_get_bssid @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1082

Jun 1 23:42:44 Laptop kernel[0]: bssid=00:16:cb:be:22:84 stabssid=00:00:00:00:00:00

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_bssid_match @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1414

Jun 1 23:42:44 Laptop kernel[0]: bssid=00:16:cb:be:22:84 stabssid=00:00:00:00:00:00

Jun 1 23:42:44 Laptop kernel[0]: ieee80211_bssid_match @ /Users/mr/svn/trunk/iwi4965-osx10.5/compatibility.cpp:1414

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 57, i = 56, REPLY_4965_RX, 0xc3

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_rx_reply_rx Bad CRC or FIFO: 0x80000002.

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 58, i = 57, REPLY_4965_RX, 0xc3

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_rx_reply_rx Bad CRC or FIFO: 0x80000002.

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 59, i = 58, REPLY_4965_RX, 0xc3

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_calc_rssi Rssi In A 22 B 21 C 19 Max 22 AGC dB 58

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_report_frame Beacon: 0x0080, dst=0xff, src=0x6e, rssi=0, tim=4261573192 usec, phy=0x2723, chnl=1448

Jun 1 23:42:45 Laptop kernel[0]: iwl4965: U iwl4965_rx_reply_rx Rssi -80, noise -127, qual 48, TSF 36092172

 

why does it give a Bad CRC ?

 

btw, is there a subversion client for osx 10.5 ? i can't get snvX working :(

system.zip

Link to comment
Share on other sites

@Jalavoui

 

I have a working enviroment (svnx + xcode 3.0 on a 10.5.3 intel iMac) right now, i have the latest source (4965), am able to build it and deploy it on my hackintosh (10.5.2 leo4allv2 on a lenovo T61)

Where do you think the focus point should be?

Which parts are you unable to test/create/figure out?

In the debug logging i see that the driver sees which accesspoints are available (see issue 68), is it beneficial to let these accesspoint show up in the networktool so more actions can be preformed on it like assosiating with it, or is it just a stub and therefor is not that importent?

What about Wep and WPA, is this handled by OSX or by the driver?

Link to comment
Share on other sites

I have a laptop with an intel 3945 card. I'm willing to help out with the project, but I'm in the same boat as eenMadcat. Coming into it this late with a bunch of sparsely commented code is a little tough, and I'm not sure exactly what there is that still needs to be done. If Javaloui could provide a little documentation that describes bugs/todo lists/specs/etc, it could help keep this project going, at least until he is able to get the hardware himself.

Link to comment
Share on other sites

I have been following this thread closely and have been putting up with a buggy usb wireless device and got $15 ripped off from me because I thought someone had fixed the driver I needed to make my usb wireless device more stable... wow was I ever wrong, made things worse and didn't even get my money back.

 

At any rate I have freely donated $250 to someone in the forums, but I did it only after he gave me the code and fortunately for me it worked, otherwise I'd have bricked my laptop. At this rate it is cheaper for me to go to ebay and spend my next $50 getting a wireless adapter that already works...

 

Wish everyone luck, and yea I will have an extra card laying around now, maybe I will just put it on ebay.

 

Also if I have been reading things right they make mini-pci-e adatpers to desktop pci-e..... so yea there is really no excuse not to just send this coder the stuff he needs (not that he does not deserve a laptop, but this is a hobbyist site for people who do this stuff out of enjoyment not beneficiary gains)

Link to comment
Share on other sites

I have a laptop with an intel 3945 card. I'm willing to help out with the project, but I'm in the same boat as eenMadcat. Coming into it this late with a bunch of sparsely commented code is a little tough, and I'm not sure exactly what there is that still needs to be done. If Javaloui could provide a little documentation that describes bugs/todo lists/specs/etc, it could help keep this project going, at least until he is able to get the hardware himself.

 

What i do when i look at new code, is adding lots of comments, to see which path is taken.

At this moment not all commands are implemented (as far as i can see), there are some bugs/todo's documented in the comments.

 

i'm figuring out if it's possable to get a list of available accesspoints in your area. i do see some scan results when it is booted, but when i hit scan in the networkSelect tool it only gives "scan_results_notif" and not the "scan_complete_notif"

 

@Jalavoui

 

i see this in the logging:

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 135, i = 134, SCAN_START_NOTIFICATION, 0x82

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_start_notif Scan start: 112 [802.11a] (TSF: 0x00000000:0127FD27) - 1 (beacon timer 792781529)

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 138, i = 135, SCAN_RESULTS_NOTIFICATION, 0x83

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_results_notif Scan ch.res: 112 [802.11a] (TSF: 0x00000000:0129B551) - 0 elapsed=112682 usec (100ms since last)

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 138, i = 136, STATISTICS_NOTIFICATION, 0x9d

Jun 4 00:32:49 Laptop kernel[0]: 80 vs 484).

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 159, i = 158, SCAN_COMPLETE_NOTIFICATION, 0x84

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_complete_notif Scan complete: 19 channels (TSF 0x0135C9BF:00000000) - 1

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_complete_notif Scan pass on 5.2GHz took 13540ms

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_complete_notif Setting scan to off

Jun 4 00:32:49 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_complete_notif Scan took 18280ms

 

Does that mean that the scan is only done in the 5.2Ghz spectrum or also in the 2.4Ghz ?

For my test setup i have an MacMini (with only G and no encryption) does that mean that this will not be found?

 

when i start the networkSelect tool i get no scan_complete:

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_results_notif Scan ch.res: 40 [802.11a] (TSF: 0x00000000:02A032E2) - 0 elapsed=5293 usec (-20ms since last)

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 56, i = 54, STATISTICS_NOTIFICATION, 0x9d

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_hw_rx_statistics Statistics notification received (480 vs 484).

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 56, i = 55, SCAN_START_NOTIFICATION, 0x82

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_start_notif Scan start: 44 [802.11a] (TSF: 0x00000000:02A03445) - 1 (beacon timer 1803631547)

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 59, i = 56, SCAN_RESULTS_NOTIFICATION, 0x83

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_results_notif Scan ch.res: 44 [802.11a] (TSF: 0x00000000:02A048F2) - 0 elapsed=5293 usec (10ms since last)

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 59, i = 57, STATISTICS_NOTIFICATION, 0x9d

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_hw_rx_statistics Statistics notification received (480 vs 484).

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 59, i = 58, SCAN_START_NOTIFICATION, 0x82

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_start_notif Scan start: 48 [802.11a] (TSF: 0x00000000:02A04A55) - 1 (beacon timer 1803625899)

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 62, i = 59, SCAN_RESULTS_NOTIFICATION, 0x83

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_scan_results_notif Scan ch.res: 48 [802.11a] (TSF: 0x00000000:02A05F02) - 0 elapsed=5293 usec (-20ms since last)

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 62, i = 60, STATISTICS_NOTIFICATION, 0x9d

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_hw_rx_statistics Statistics notification received (480 vs 484).

Jun 4 00:33:34 Laptop kernel[0]: iwl4965: U iwl4965_rx_handle r = 62, i = 61, SCAN_START_NOTIFICATION, 0x82

system.txt.zip

Link to comment
Share on other sites

What i do when i look at new code, is adding lots of comments, to see which path is taken.

At this moment not all commands are implemented (as far as i can see), there are some bugs/todo's documented in the comments.

 

 

After looking through the code a bit more and reading some of the (really well written and useful) documentation for I/O Kit at apple's dev site, I'm convinced that I could help keep this project moving along. I'll have to do a bit more reading of the I/O Kit docs (a few of the pdfs are almost 200 pages long,) but I'm definitely willing to sign on as a dev for the 3945 driver.

Link to comment
Share on other sites

Hi all,

 

Just started to help a bit by posting my log's..;

 

I hope it helps and i hope its good ;) (I'm new at these things)

 

This is for iwi 3945 (svn latest) (1145)

 

Grtz, Junior

 

Good luck, and thanx to all who are helping!

 

Double-Clicked at networkselector, but nothing happens in logs when I chose option 2 (start scanning)...

Is it normal?

system.txt

Link to comment
Share on other sites

yes, I am also hoping for any pointers or input from either jalavoui or TNW.

 

edit: how about an IRC channel for iwidarwin somewhere?

 

Which timezone are you in?

i'm in GTM+1 and if i have time spending on coding it would be sundays.

Link to comment
Share on other sites

J post all of the releases on iwidarwin, so others can test/develop...

The reason why there are so few who are coding right now, is because we can't code it..

When you can, Feel free and let yourself go :D

 

well some of us can, but code without documentation or at least guidelines; is like a book with all pages ripped out of it and the page nummering removed.

it's a small effort for him to say what part is working and which is not, now we have to check the SVN logs to make any sence of what part he is working on now.

The driver could be finisched sooner this way, with only a little effort extra.

 

*Madcat makes a summary of the questions*

- are you only scanning the wifi-a range or also b/g and n? (in the netherlands almost everybody uses the b/g-range, some inc me uses the n-range)

- in the logging i see bad CRC, is this a very bad thing, or is it normal that these things sometimes happen?

- when you initate a scan with the tool, there is no scan_complete_notif in the logging, while these are sometimes generated on startup

- is it possable to print the found accesspoints in the scan_complete or does that need a bit more of work?

- which part are you working on

- what are the overall focus points?

system.zip

Link to comment
Share on other sites

try this - got wrong in last release

iwi3945 rel 1149

iwi4965 rel 1150

 

before asking/give wrong feedback

see 1st post and linux logs

 

*Madcat makes a summary of the questions*

- are you only scanning the wifi-a range or also b/g and n? (in the netherlands almost everybody uses the b/g-range, some inc me uses the n-range)

i don't know - might be a bug

- in the logging i see bad CRC, is this a very bad thing, or is it normal that these things sometimes happen?

not important

- when you initate a scan with the tool, there is no scan_complete_notif in the logging, while these are sometimes generated on startup

this is a bug

- is it possable to print the found accesspoints in the scan_complete or does that need a bit more of work?

trying to do this in this release

- which part are you working on

- what are the overall focus points?

i'm only guessing code - can't do much without the card

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...