jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 add this function to your code it still has some functions missing but should work for now also activate all ipw_down() commented code check ipw_isready() condition ipwdown.rtf Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329343 Share on other sites More sharing options...
moseschrist Posted March 21, 2007 Share Posted March 21, 2007 new version with jalavoui`s new ipw_down() Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329346 Share on other sites More sharing options...
Pablo(2) Posted March 21, 2007 Share Posted March 21, 2007 i tested iwi3945 rev 230 and 236 on mac os x 10.4.7 but am still not able to get the intel wireless network connection to work. the pci ethernet slot option is available but is not configurable. in addition, i tested ver 236 on mac osx 10.4.8 with the same results. however, using mac os x 10.4.8 the wirelesss network connection shows up as pci ethernet slot pic 8086,4222. i have attached logs for both versions. i hope this helps. dmesg_rev230.txt ioreg_rev230.txt system_rev230.txt dmesg_rev236.txt ioreg_rev236.txt system_rev236.txt dmesg_rev236_10_4_8.txt ioreg_rev236_10_4_8.txt system_rev236_10_4_8.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329348 Share on other sites More sharing options...
jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 i don't think it will power it off... at least i never managed to power it off here... in iwi2200 when you receive IPW_INTA_BIT_RF_KILL_DONE the card can be either on or off for instance when you press the wireless button you get this interrupt pressing the button again resets the STATUS_RF_KILL_HW bit and turns the card on you also have to take in case the p_disable=0 or 1 (STATUS_RF_KILL_SW) Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329351 Share on other sites More sharing options...
moseschrist Posted March 21, 2007 Share Posted March 21, 2007 jalavoui: i understand, but for some reason it only resets the card here. does it turns your off ? *have a feeling that tonight is the night for ipw3945, staying an all nighter to fix it !* having some trouble attaching: second try: (if you used the one from previous posts, use this !!!) iwi3945.zip Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329352 Share on other sites More sharing options...
jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 i understand, but for some reason it only resets the card here. the ipw_rfkill uses rf_kill_active() wich gets its state from the card i haven't see you source code. i'm unable to dowload from iwidarwin (download speed is 1,0 kb/s) in iwi3945 the process is not the same but i believe sooner or later we'll hack it can you send me the iwi2200/app sources to jalavoui@gmail.com ? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329356 Share on other sites More sharing options...
uphuck Posted March 21, 2007 Share Posted March 21, 2007 thank you for your works, I'm here all night for testing.. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329357 Share on other sites More sharing options...
fullOut Posted March 21, 2007 Share Posted March 21, 2007 jalavoui:i understand, but for some reason it only resets the card here. does it turns your off ? *have a feeling that tonight is the night for ipw3945, staying an all nighter to fix it !* having some trouble attaching: second try: (if you used the one from previous posts, use this !!!) heheh.. i am stiil here! some new errors! ok... dmesg_after_boot.txt dmesg_after_netsel.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329359 Share on other sites More sharing options...
moseschrist Posted March 21, 2007 Share Posted March 21, 2007 the errors look the same... i think there should be a call to ipw_sw_reset() somewhere in rf_kill, no ? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329361 Share on other sites More sharing options...
jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 (if you used the one from previous posts, use this !!!) you have to build both iwi3945.kext and app? they need to be tested together if you change both. some new errors! can u send the system.log it's more complete Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329363 Share on other sites More sharing options...
moseschrist Posted March 21, 2007 Share Posted March 21, 2007 only if i add stuff to the app or the driver... i need to keep the interface consistent between them, but if i don't touch that part, there is no problem jalavoui: you've got mail Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329366 Share on other sites More sharing options...
jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 i think there should be a call to ipw_sw_reset() somewhere in rf_kill, no ? nop. should be called only once in start(). otherwise priv will be reseted!! we need ipw_up() to be called on power on - this is the same as adapter_restart() in iwi2200 but i think ipw_down() should do this work - don't need anything else can you check the app code? looks like enable/disable is called every time (1) is pressed!!! Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329367 Share on other sites More sharing options...
fullOut Posted March 21, 2007 Share Posted March 21, 2007 you have to build both iwi3945.kext and app? they need to be tested together if you change both.can u send the system.log it's more complete sorry about that, i forgot to attach.!! here it is. regards, system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329370 Share on other sites More sharing options...
jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 sorry about that, i forgot to attach.!! can you confirm if - when pressing (1) - you see in your log a "connect" "disconnect" message ? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329373 Share on other sites More sharing options...
moseschrist Posted March 21, 2007 Share Posted March 21, 2007 yep you are right.. i got confused between sw_restart and adapter restart... well, lets try to go with the 2200 desgin but use ipw_up instead and it does, enable/disable occur everytime your press one in network selector. that is the point of it. try this: Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329374 Share on other sites More sharing options...
WaldMeister Posted March 21, 2007 Share Posted March 21, 2007 can you confirm if - when pressing (1) - you see in your log a "connect" "disconnect" message ? Mar 22 00:54:14 kernel[0]: iwi3945: IPW_INTA_BIT_RF_KILL_DONE Mar 22 00:54:14 kernel[0]: Press wireless button to turn interface on Mar 22 00:54:17 kernel[0]: iwi3945: request scan called when driver not ready. This is what i get in console when pressing 1. 8.9.1 kernel. Also have a power on/off switch for the card on my notebook. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329376 Share on other sites More sharing options...
jalavoui Posted March 21, 2007 Author Share Posted March 21, 2007 and it does, enable/disable occur everytime your press one in network selector. check this from last log: connect Mar 21 17:32:23 iDell kernel[0]: iwi3945: IPW_INTA_BIT_RF_KILL_DONE Mar 21 17:32:23 iDell kernel[0]: Press wireless button to turn interface on Mar 21 17:32:26 iDell kernel[0]: iwi3945: request scan called when driver not ready. Mar 21 17:32:26 iDell kernel[0]: iwi3945: IPW_INTA_BIT_RF_KILL_DONE Mar 21 17:32:26 iDell kernel[0]: Press wireless button to turn interface on Mar 21 17:32:27 iDell kernel[0]: disconnect when you press (1) you get a connect/disconnect betwen that you get 2 IPW_INTA_BIT_RF_KILL_DONE this cause the card to power on and them off the correct behaviour will be to stay on - this means only get 1 IPW_INTA_BIT_RF_KILL_DONE this is the wireless button behaviour can you fix this? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329377 Share on other sites More sharing options...
fullOut Posted March 21, 2007 Share Posted March 21, 2007 can you confirm if - when pressing (1) - you see in your log a "connect" "disconnect" message ? yeap in system.log: ==== START NETSELECTOR====== Mar 21 17:54:44 iDell kernel[0]: connect ===== PRESSING 1======= Mar 21 17:54:52 iDell kernel[0]: iwi3945: IPW_INTA_BIT_RF_KILL_DONE Mar 21 17:54:52 iDell kernel[0]: Press wireless button to turn interface on Mar 21 17:54:55 iDell kernel[0]: iwi3945: request scan called when driver not ready. ==== CLOSE NETSELECTOR====== Mar 21 17:55:13 iDell kernel[0]: disconnect regards, Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329378 Share on other sites More sharing options...
moseschrist Posted March 21, 2007 Share Posted March 21, 2007 jalavoui: sure, i'll fix it (this version is not the fixed one... but try it non the less, just press only once !) also, i sent you to your email the 2200+app try them... damn this board doesn't like it when i upload... try this version: iwi3945.kext.zip Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329379 Share on other sites More sharing options...
jalavoui Posted March 22, 2007 Author Share Posted March 22, 2007 Also have a power on/off switch for the card on my notebook. what happens in log when you press it? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329380 Share on other sites More sharing options...
SDSL Posted March 22, 2007 Share Posted March 22, 2007 when i switch off/on Mar 22 02:03:02 agile-developers-computer kernel[0]: IOBluetoothHCIController::terminateWL .. doneMar 22 02:03:19 agile-developers-computer kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped Mar 22 02:03:19 agile-developers-computer kernel[0]: IOBluetoothHCIController::configurePM Start Idle Timer Mar 22 02:03:19 agile-developers-computer kernel[0]: Registering For 802.11 Events Mar 22 02:03:19 agile-developers-computer kernel[0]: [HCIController][setupHardware] AFH Is Supported Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329383 Share on other sites More sharing options...
moseschrist Posted March 22, 2007 Share Posted March 22, 2007 jalavoui, i think we kinda lost eachother... when you press (1) once it will only send one interrupt... actually it doesn't even send it, but emulates recieving it... what it does is acts as if it got the interrupt and carries on with what it should have done if it did (start the NIC) Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329384 Share on other sites More sharing options...
jalavoui Posted March 22, 2007 Author Share Posted March 22, 2007 amn this board doesn't like it when i upload... you're faster than the testers i'll have to go now have patitence we're going the right way we need more people to test iwi Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329385 Share on other sites More sharing options...
fullOut Posted March 22, 2007 Share Posted March 22, 2007 jalavoui:sure, i'll fix it (this version is not the fixed one... but try it non the less, just press only once !) also, i sent you to your email the 2200+app try them... damn this board doesn't like it when i upload... try this version: same system.log. ==== START NETSELECTOR====== Mar 21 17:54:44 iDell kernel[0]: connect ===== PRESSING 1======= Mar 21 17:54:52 iDell kernel[0]: iwi3945: IPW_INTA_BIT_RF_KILL_DONE Mar 21 17:54:52 iDell kernel[0]: Press wireless button to turn interface on Mar 21 17:54:55 iDell kernel[0]: iwi3945: request scan called when driver not ready. ==== CLOSE NETSELECTOR====== Mar 21 17:55:13 iDell kernel[0]: disconnect regards, dmesg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329388 Share on other sites More sharing options...
WaldMeister Posted March 22, 2007 Share Posted March 22, 2007 what happens in log when you press it? Well, it's a switch from left to right, no press button. Nothing happens in the log :s somehow OS X doesn't recognize this power function. Even using the hotkey (fn + f8) makes no difference. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/56/#findComment-329390 Share on other sites More sharing options...
Recommended Posts