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
wait...

iwi3945 rel 788
if you get errors try to press the switch off/on
if the scan functions works you will get scan_complete in logs
i'm note shore if this:
iwl_scan((struct iwl3945_priv*)get_my_priv());
will no give a kp - hope not
i'm following the linux log - it will work
just try reboots, etc to see if the driver works without errors
junster90
can you upload 788 as a whole dmg? i dont have the network selector and i really want to test it now
mlazy
788:

Pick your poison:

Click to view attachment

or:

Click to view attachment
Megnus
I have been following this thread, but what is the status ? Can you connect to a network and actually use this latest release?
Miguel Madrid
Here it's

Log from 788... Seems to do new things.... but not sure
IPHASH
Loaded new kext and it loaded successfully. Can see en1 'ethernet' in network settings. Can also see the correct mac for the card but that is as far as I get ....... Networkselector loads but does nothing when using the menu ....

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:18:d4:52:6c:52
media: autoselect status: inactive
supported media: autoselect

junster90
same here... new network detected as ethernet (en1) but is not connected. Network Selector does nothing.
IPHASH
Here is the log .....


Gahca
Here are my 788 logs...

I am not seeing anything new in regards to en1 in the Network Settings...

Does anyone know why I'm not seeing anything new?
fufay
hi,all.
788,nothing new in Network Settings...

then I loaded the kext manually,i got this:

Missing dependencies:
{
"com.apple.iokit.IO80211Family" =
"A valid compatible version of this dependency cannot be found"
}

dose someone can tell me why?
Doctadre
quite busy in the wards here, got a chance to run 788, here are the logs
mlazy
788 logs:

Click to view attachment

Very intersting changes here.

looks like it's trying to fire up a scan here:

Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_open Wait START_ALIVE Condition: 122ms left
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_open leave
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_add_interface enter: id 593424416, type 0
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_add_interface Set: 00:19:d2:ac:3c:fa
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_add_interface failed to set mode
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_add_interface leave
Apr 22 11:48:41 Sony kernel[0]: ieee80211_hw_config @ /Users/super/Desktop/iwi3945/788/compatibility.cpp:5167
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_config enter to channel 1
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_config leave - not ready
Apr 22 11:48:41 Sony kernel[0]: error iwl3945: U iwl3945_mac_stop enter



Then, after I turn the card off, then on again via killswitch, I get:


Apr 22 11:49:32 Sony kernel[0]: iwl3945_mac_config_interface Leaving in AP mode because HostAPD is not ready.
Apr 22 11:49:32 Sony kernel[0]: 1st scan
Apr 22 11:49:32 Sony kernel[0]: error iwl3945: APs don't scan

Jalavoui, what are these timer events about:

Apr 22 11:55:29 Sony kernel[0]: timer->expires 1000 timei 10000 deadline 0
Apr 22 11:55:32 Sony kernel[0]: test_function @ /Users/super/Desktop/iwi3945/788/compatibility.cpp:6519
Apr 22 11:55:32 Sony kernel[0]: error iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 56
Apr 22 11:55:32 Sony kernel[0]: queue_te @ /Users/super/Desktop/iwi3945/788/compatibility.cpp:6530
Apr 22 11:55:32 Sony kernel[0]: timei 6000 timei2 128831570



BTW: Very stable kext, no KP's yet.
Miguel Madrid
The good part comes from here:

Apr 22 15:23:21 kernel[0]: error iwl3945: U iwl3945_mac_open Wait START_ALIVE Condition: 23ms left
Apr 22 15:23:21 kernel[0]: error iwl3945: U iwl3945_mac_open leave
Apr 22 15:23:21 kernel[0]: error iwl3945: U iwl3945_mac_add_interface enter: id 592830496, type 0
Apr 22 15:23:21 kernel[0]: error iwl3945: U iwl3945_mac_add_interface Set: 00:1c:bf:02:15:16
Apr 22 15:23:21 kernel[0]: error iwl3945: U iwl3945_commit_rxon Sending RXON
Apr 22 15:23:21 kernel[0]: * without RXON_FILTER_ASSOC_MSK
Apr 22 15:23:21 kernel[0]: * channel = 1
Apr 22 15:23:21 kernel[0]: * bssid = 00:00:00:00:00:00

and then

Apr 22 15:23:22 kernel[0]: error iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_RXON (#10), seq: 0x0404, 48 bytes at 4[4]:4
Apr 22 15:23:22 kernel[0]: error iwl3945: U iwl3945_send_cmd_sync Wait REPLY_RXON Condition: 0ms left
Apr 22 15:23:22 kernel[0]: error iwl3945: Error sending REPLY_RXON: time out after 500ms.
Apr 22 15:23:22 kernel[0]: error iwl3945: Error setting new configuration (-60).
Apr 22 15:23:22 kernel[0]: error iwl3945: U iwl3945_mac_config leave
Apr 22 15:23:22 kernel[0]: error iwl3945: U iwl3945_mac_config_interface Leaving in AP mode because HostAPD is not ready.
Apr 22 15:23:22 kernel[0]: 1st scan
Apr 22 15:23:22 kernel[0]: error iwl3945: APs don't scan.

jalavoui
iwi3945 rel 789
hope to get less bugs

wait...
mlazy found a bug
i'll fix it

iwi3945 rel 790
one less bug to go
use the switch or reboot if you get errors
add more debug msgs - if you like compare to the linux log i've posted

driver status
need to get rid of inital driver start bugs
the timers are a hack for mac os x - hope they work some day


you're guys are getting pros reading logs smile.gif


deam another bug
wait...

iwi3945 rel 791
this one is ok
waiting for logs
grrantry
What do you mean by use switch?? Mine is Function F2 and nothing happens when I press it
mlazy
r971:

dmg: Click to view attachment

or


kext: Click to view attachment


logs on the way. brb.
grrantry
Man I would love to be able to help with this but nothing happens after I install.

netselector gives me

could not get ID for Kernel Control. 2

Can't unload kext just get failed

And when loading I just get error
jalavoui
don't use this dmg
it as no files to install
you only get an old version for testing using this
mlazy can you upload iwi3945.pkg instead?
don't touch netwrokselector - it's disabled
mlazy
Hey Jalavoui,Immediate KP when scan starts: (driver loads first)

Click to view attachment

horrible picture I know..

QUOTE(jalavoui @ Apr 22 2008, 12:54 PM) *
don't use this dmgit as no files to installyou only get an old version for testing using thismlazy can you upload iwi3945.pkg instead?don't touch netwrokselector - it's disabled


Jalavoui, I've got files in the dmg. (verified with others on the board too.)

Anyway, here's the pkg:Click to view attachment
jalavoui
try boot with -x or some reboots
i need last lines of kp to fix it
maybe the driver wants to associate to some network

the pkg you post as no files to install
this means that when you build it there's no files inside the iwi3945/applications and iwi3945/system/library/extensions folder
mlazy
QUOTE(jalavoui @ Apr 22 2008, 12:59 PM) *
try boot with -x or some rebootsi need last lines of kp to fix itmaybe the driver wants to associate to some network


that was -x booted. I'll go do it again and take a better picture.

Jalavoui, I tried again. Driver loads, can starts and the last line panic is:

Rx_scan_start_notif Scan Start: 48 [892.11a] (TSF: 0x00000000:0007A82E) – 1 (beacon timer 67119058)

It panics before the log is writen. here's the log I got. It shows about 5 lines of scan setup and then the final line fom above on screen. So, about 5 lines get clipped before they can write out to the log by the kp.

Click to view attachment

QUOTE(jalavoui @ Apr 22 2008, 12:59 PM) *
try boot with -x or some rebootsi need last lines of kp to fix itmaybe the driver wants to associate to some networkthe pkg you post as no files to installthis means that when you build it there's no files inside the iwi3945/applications and iwi3945/system/library/extensions folder


Jalavoui, when I build, I get errors uness I've moved the files into those folders. So, I move them, then run your package script. Can someone with 10.5 download the pkg, and look inside it with pacifist? I see files in there...

Click to view attachment
Hagar
pacifist, os x 10.5.2
Click to view attachment
mlazy
QUOTE(Hagar @ Apr 22 2008, 01:37 PM) *
pacifist, os x 10.5.2
Click to view attachment


Thanks Hagar,

Does anyone know why a 10.4 user wouldn't see these? Jalavoui, could this be because of the project setting in the pkg script? (it blocks 10.4 users from seeing somehow?)
jalavoui
better post iwi3945.kext
we have enought bugs here

need help to find out why the driver gets a kp

but

i'll post a new release

iwi3945 rel 792
station scan test
mlazy
QUOTE(jalavoui @ Apr 22 2008, 01:47 PM) *
better post iwi3945.kextwe have enought bugs hereneed help to find out why the driver gets a kp


Here's 791 kext again:Click to view attachment


Jalavoui, it shoots about 50 lines or so that don't get logged (on screen only) What am I loking for in the lines? (some are blocked by KP icon)
Miguel Madrid
Logs from 792

No KP....
mlazy
792 kext:Click to view attachment

you fixed the KP:

Click to view attachment

Looks like it sees my channel 1 base station: (LukeGX), then keps scanning for others?


Apr 22 14:14:52 Sony kernel[0]: c 75 6b 65 47 58 01 08 82 84 d.1...LukeGX....Apr 22 14:14:52 Sony kernel[0]: IOPCCard debug: iwl data: 30: 8b 96 24 b0 48 6c 03 01 01 05 04 00 01 01 00 2a ..$.Hl.........*Apr 22 14:14:52 Sony kernel[0]: IOPCCard debug: iwl data: 40: 01 00 2f 01 00 32 04 8c 12 98 60 dd 09 00 10 18 ../..2....`.....Apr 22 14:14:52 Sony kernel[0]: IOPCCard debug: iwl data: 50: 02 02 f0 00 00 00 dd 18 00 50 f2 01 01 00 00 50 .........P.....PApr 22 14:14:52 Sony kernel[0]: IOPCCard debug: iwl data: 60: f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 0c 00 .....P.....P....Apr 22 14:14:52 Sony kernel[0]: IOPCCard debug: iwl data: 70: dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 ...P..........'.Apr 22 14:14:52 Sony kernel[0]: IOPCCard debug: iwl data: 80: 00 00 42 43 5e 00 62 32 2f 00 ..BC^.b2/.Apr 22 14:14:52 Sony kernel[0]: ieee80211_rx_irqsafe @ /Users/super/Desktop/iwi3945/792/compatibility.cpp:1841
Miguel Madrid
Not sure if my last log was really from 792...

These both are for sure..

the second one is with the HW switch move to off..
rubinho93
Here are my logs for rev 792
I can't find any errors on driver start. No kp on load or freeze
mlazy
Here's a killswitch attempt from 792:

Click to view attachment

this stuff is all new, is it trying to regulate the power on my card to help temperature?

Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_send_cmd_sync Wait POWER_TABLE_CMD Condition: 49ms left
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_send_cmd_sync Command POWER_TABLE_CMD failed: FW Error
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_BT_CONFIG (#9b), seq: 0x0401, 16 bytes at 1[1]:4
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_send_cmd_sync Wait REPLY_BT_CONFIG Condition: 0ms left
Apr 22 14:22:18 Sony kernel[0]: error iwl3945: Error sending REPLY_BT_CONFIG: time out after 500ms.
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 78
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U is_temp_calib_needed Getting cooler, delta -49,
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U is_temp_calib_needed Timed thermal calib needed
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x0d
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x0f
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x05
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x07
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x09
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x0b
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x01
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 121 rate code 0x03
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 171 dsp 110 rate code 0x0a
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 171 dsp 110 rate code 0x14
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 171 dsp 110 rate code 0x37
Apr 22 14:22:18 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 171 dsp 110 rate code 0x6e


AND, 1 more Question: based onthe log below, it sees my channel 1 base station, outlines some specs on it, then kind of panics while trying to associate?

Apr 22 14:29:30 Sony kernel[0]: iwl3945: U iwl3945_rx_handle r = 79, i = 78, REPLY_3945_RX, 0x1b
Apr 22 14:29:30 Sony kernel[0]: iwl3945: U iwl3945_rx_reply_rx Rssi -75 noise -127 qual 55 sig_avg 0 noise_diff 0
Apr 22 14:29:30 Sony kernel[0]: iwl3945: U iwl3945_report_frame Beacon: 0x0080, dst=0xff, src=0x1b, rssi=20, tim=428162242 usec, phy=0x23, chnl=1
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 0: 80 00 00 00 ff ff ff ff ff ff 00 12 17 6d 8a 1b .............m..
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 10: 00 12 17 6d 8a 1b 90 f8 8c 91 6c 89 56 00 00 00 ...m......l.V...
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 20: 64 00 31 04 00 06 4c 75 6b 65 47 58 01 08 82 84 d.1...LukeGX....
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 30: 8b 96 24 b0 48 6c 03 01 01 05 04 00 01 01 00 2a ..$.Hl.........*
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 40: 01 00 2f 01 00 32 04 8c 12 98 60 dd 09 00 10 18 ../..2....`.....
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 50: 02 02 f0 00 00 00 dd 18 00 50 f2 01 01 00 00 50 .........P.....P
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 60: f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 0c 00 .....P.....P....
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 70: dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 ...P..........'.
Apr 22 14:29:30 Sony kernel[0]: IOPCCard debug: iwl data: 80: 00 00 42 43 5e 00 62 32 2f 00 ..BC^.b2/.
jalavoui
iwi3945 rel 793
fix for: "APs don't scan"
all previous logs shows that the driver isn't scanning
all logs show errors on starttup
the bug is in driver first load
try kextload to get initial log lines
need to fix this first for the scan to work
pa28cr
Here is my 1st 792 log
It also sees my AP

CODE

Apr 22 12:38:08 pabmacpro kernel[0]: iwl3945: U iwl3945_report_frame Beacon: 0x0080, dst=0xff, src=0x6e, rssi=39, tim=200615601 usec, phy=0x23, chnl=1
Apr 22 12:38:08 pabmacpro kernel[0]: IOPCCard debug: iwl data: 0: 80 00 00 00 ff ff ff ff ff ff 00 13 46 a0 06 6e ............F..n
Apr 22 12:38:08 pabmacpro kernel[0]: IOPCCard debug: iwl data: 10: 00 13 46 a0 06 6e e0 dd 22 21 fc 32 10 00 00 00 ..F..n.."!.2....
Apr 22 12:38:08 pabmacpro kernel[0]: IOPCCard debug: iwl data: 20: 64 00 61 04 00 09 43 41 53 41 5f 57 49 46 49 01 d.a...CASA_WIFI.
Apr 22 12:38:08 pabmacpro kernel[0]: IOPCCard debug: iwl data: 30: 05 82 84 8b 96 2c 03 01 06 05 04 01 03 00 00 07 .....,..........
Apr 22 12:38:08 pabmacpro kernel[0]: IOPCCard debug: iwl data: 40: 06 55 53 20 01 0b 1e 2a 01 00 32 08 0c 12 18 24 .US ...*..2....$
Apr 22 12:38:08 pabmacpro kernel[0]: IOPCCard debug: iwl data: 50: 30 48 60 6c dd 06 00 03 2f 01 00 01 0H`l..../...


P.S. I dont know why my log file is so big, and it froze while unloading, will keep testing.
Click to view attachment
mlazy
793 for testing:

Click to view attachment
rubinho93
my logs for rev 793

mlazy
793 logs:

getting no more "error:" calls, but still seeing scan issues of course.

Click to view attachment
jalavoui
iwi3945 driver status
while you keep getting errors on driver first load it will never work
help by looking at the code and try to fix
rel 793 is the latest source code
i'll wait for someone to fix the code
good luck
Miguel Madrid
Here is log from 793...

Jalavoui, could you please give us more information about the init errors you talk about ??? May we help ????

The card seems to get data and the application read the data.... so it's working... dev.gif

we are going step by step.... but we have done a long way...

Let's move on...... gun.gif
leftlane7
Is it just me, or is the link to the revisions only showing r748?
tiennemannes
Attached logs for revision 792 & 793 (with and w/o turn off button).

Keep up the good work, we're almost there!!!

Cheers, Tyn
pere
First of all a big HURRA! to Javalui, he is coding a card he doesnt own and recoding with our horrible logs smile.gif you are the hero of most of us!.

This last version has no errors on manual load and just load fine on reboot till it finds a Ucode error, then the card goes crazy and byebye code...

Im very impressed cause now i dont find ANY error on manual load, just the danm Ucode error on boot.
I have taken a log from boot without the RF turn on, i used the kill switch and i found that if the card is not receiving any network packet, gives different info and no errors, after boot into system tried to tun on by hardware and didnt awake, but at least i have seen different code on boot and no errors ( I think ).
Javalui, can you take a little look to this log and tell us where to look for the error?, I mean, i witch file from the building folder and where to get info about the hardware coding of the intel 3945, i know we are not coders, but maybe we can find someone to help you.... smile.gif
mlazy
Jalavoui,

Can you repost that link to the linux log please? too many pages to crawl in this thread. Thanks.
jalavoui
QUOTE(pere @ Apr 22 2008, 08:07 PM) *
maybe we can find someone to help you.... smile.gif


your logs is the only one that looks right
the driver starts right and tries to load ucode
you have:
22/04/08 21:53:36 kernel warning iwl3945: Radio disabled by HW RF Kill switch \
this means you start testing the driver with the card off
goto windows and turn the card on by pressing the switch
reboot to mac os

i wonder why you're the only one with the right logs

pere
QUOTE(jalavoui @ Apr 22 2008, 08:54 PM) *
your logs is the only one that looks right
the driver starts right and tries to load ucode
you have:
22/04/08 21:53:36 kernel warning iwl3945: Radio disabled by HW RF Kill switch \
this means you start testing the driver with the card off
goto windows and turn the card on by pressing the switch
reboot to mac os

i wonder why you're the only one with the right logs


Sorry Javalui, i enjoyed so much my hackintosh install and erased windows... i just have windows on parallels and it cant see the card...

Every time i build the kext, i erase the whole downloaded project folder and download it again then i use iwi3945.xcodeproj to build the kext, so it points to my build folder... this can make a difference with others? or is just there are several versions of the card?.
Megnus
Can't you turn the card on or off in the bios with same effect?
jalavoui
iwi3945 rel 802
@#! another way to start the card

wait...
the svn tree is corrupted

Cxddev,

you need to use anoter folder for iwi4965
if you need help i fix the iwi4965 folder after you upload it
i'll fix the iwi3945 tree

iwi3945 rel 803
ready to go
just check if it starts ok and post system.log
if you know how to help writting code just do it - don't ask me to teach you cause i don't know what i'm doing smile.gif

mlazy,
if you search in this topic for "linux" i think you can get the link to the linux log
pere
Got a big and nice Pernel Kanic...I have no cam,sorry.

No way to start the kext...
agzela
QUOTE(pere @ Apr 22 2008, 03:03 PM) *
Sorry Javalui, i enjoyed so much my hackintosh install and erased windows... i just have windows on parallels and it cant see the card...

Every time i build the kext, i erase the whole downloaded project folder and download it again then i use iwi3945.xcodeproj to build the kext, so it points to my build folder... this can make a difference with others? or is just there are several versions of the card?.


Use a Linux live CD http://www.knoppix.org/ to turn on card the OS runs from CD!! Great for testing... Or better yet www.ubuntu.com
mlazy
803 for others to test:

Click to view attachment
Doctadre
three times now, upon trying to load 803kext i get an immediate kp gonna take a look at the code as well brb
righteye
QUOTE(mlazy @ Apr 22 2008, 10:29 PM) *
803 for others to test:

Click to view attachment

Got KP with your kext and same with the one i compiled
Have a look on this:
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.