moseschrist Posted May 22, 2007 Share Posted May 22, 2007 new version crashes on connect. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370420 Share on other sites More sharing options...
cmanbrown Posted May 22, 2007 Share Posted May 22, 2007 the 0x30 hack is for 2200 - you need to find something else for 3945 (try to check 2100 code)this hack turns the radio on/off - i don't know how to do this for 3945 the hack is similiar to press the "wireless button" - some of the 3945 cards as this button so the driver should change the radio on/off when pressed - you can check this if your card as it the problem i have in 2200 is that i get different values (0x40001/0x50001 instead of 0x40000/0x50000). this works for now but it's not a very good solution Just wondering if there was some easier way to find out which hack is necessary for 3945. By 0x30, you mean calling that interrupt, correct? Is there a way to trace commands from drivers to devices and vice versa? That would make things much easier... for those who get mac address like ff:ff:ff:ff:ff:ff - try to add the mac address ()from windows) to the NetworkInterfaces.plist - maybe this hack can help... I've started debugging a bit when using network selector option(1), checking the system log after I run this command... I've only tested up to revision 410 so I don't know how 414 reacts, . System starts to hang after selecting option(1) but the system is still responsive, just very slow... probably 100% cpu usage or something; but no kernel panic. Also there are several items in the system log that I cannot trace back to a source, items such as "MAC Adress: <correctly reported mac address>". Just trying to find at exactly what point driver causes the system to hang, any ideas? Also I've checked bg_alive_start() and configureConnection() methods but not sure what I am looking for... A question about networkselector. I am getting MAC address reported as ff:ff:ff:ff:ff , etc... but driver is loading correctly and seeing correct MAC after loading iwi3945.kex, also seeing correct info in system profiler, ifconfig. Could this be a cause of any issues? If so, any ideas? I just wanted to say that I sincerely appreciate everyone's effort in developing and testing these drivers! Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370487 Share on other sites More sharing options...
Airfly Posted May 23, 2007 Share Posted May 23, 2007 Hi guys, how are you doing? Sorry for I have been away from here so long due to a business trip. Now, I'l review in those two or more pages and update some usefull information. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370605 Share on other sites More sharing options...
Mr. Green Posted May 23, 2007 Share Posted May 23, 2007 Hi I have a 2100 with device id 0x10438086. I installed the 2100 driver but on boot, i get a kernel panic. Even if i switch my wifi off the computer panics, but it is upon entering the gui. The only way i can boot is if i remove the kext. My question is is there anything i can do to try to get it to work? Thanks for the reply. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370612 Share on other sites More sharing options...
ryuu123 Posted May 23, 2007 Share Posted May 23, 2007 Just wondering if there was some easier way to find out which hack is necessary for 3945. By 0x30, you mean calling that interrupt, correct? Is there a way to trace commands from drivers to devices and vice versa? That would make things much easier... I realize 0x30 hack,in NetBSD's 2200 code(if_iwireg.h), defiend as .. #define IWI_CSR_IO 0x0030 /* flags for IWI_CSR_IO */ #define IWI_IO_RADIO_ENABLED 0x00010000 3945's 0x30 reg is #define CSR_EEPROM_GP (CSR_BASE+0x030) so we must find I/O address(register) and radio bit. BTW, by NetBSD's 3945 code(if_wpi.c), Expect ALIVE INTR after firm load and resret. ALIVE INTR cause bg_alive_start. but no ALIVE INTR with current iwidarwin code. so, I'm intended to check SW reset method. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370639 Share on other sites More sharing options...
osxonmylaptop Posted May 23, 2007 Share Posted May 23, 2007 Every time I log into InsanelyMac I click this bookmark I have. Since the site knows when I made my last click in this topic, it can take me to the first post made after my last click. It is so great. I don't have to wonder if there is a new version. I don't have to wonder if any progress is being made. I don't have to worry about bothering the developers. I just read, and it is all there. http://forum.insanelymac.com/index.php?sho...view=getnewpost Good one! I hope that MAC address is for your Intel 3945ABGIf it is, save the attached new.txt to your desktop. Open Terminal and copy/paste these lines in one at a time: sudo -s cd /Library/Preferences/SystemConfiguration mv NetworkInterfaces.plist NetworkInterfaces.plist.bak mv ~/Desktop/new.txt ./NetworkInterfaces.plist chown 0:0 NetworkInterfaces.plist chmod 644 NetworkInterfaces.plist touch /System/Library/Extensions/ reboot I don't think the touch is necessary, it's just for good measure. When this works, you should be able to use your USB Wireless no problem. Post your logs. NOTE: The file below will only work (hopefully) for pincopanco. Others with MAC FF:FF:FF:FF:FF:FF can be helped, but not with this file. JustJoe: I also have this problem that driver does not load, but this is an integrated wifi card, 3945 on an Acer laptop. You can take a look on my last post if you like: http://forum.insanelymac.com/index.php?sho...76&st=2040# I tryed editing Info.Plist with no success. Thanks. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370791 Share on other sites More sharing options...
Airfly Posted May 23, 2007 Share Posted May 23, 2007 the 0x30 hack is for 2200 - you need to find something else for 3945 (try to check 2100 code)this hack turns the radio on/off - i don't know how to do this for 3945 the hack is similiar to press the "wireless button" - some of the 3945 cards as this button so the driver should change the radio on/off when pressed - you can check this if your card as it the problem i have in 2200 is that i get different values (0x40001/0x50001 instead of 0x40000/0x50000). this works for now but it's not a very good solution try codes from iwi2100 and iwi2200, got nothing special. can we debug the driver in others system like windows or linux ...and get some special values? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370793 Share on other sites More sharing options...
jalavoui Posted May 23, 2007 Author Share Posted May 23, 2007 #define CSR_EEPROM_GP (CSR_BASE+0x030) so we must find I/O address(register) and radio bit. you can try to do a print of CSR_EEPROM_GP, the value you get should what you need - in iwi2200 i get 0x40000 for off and 0x50000 for on BTW, by NetBSD's 3945 code(if_wpi.c), Expect ALIVE INTR after firm load and resret. ALIVE INTR cause bg_alive_start. but no ALIVE INTR with current iwidarwin code. check for bg_alive_start() - it's called at the right place -RxQueueIntr() moses, i notice the nsgui crash with last version, but if i connect by pressing the wireless button it's ok - can you check nsgui code to try to find what's wrong. i think gt_fragment can go away Airfly, maybe you can catch some values in linux, can you try? My question is is there anything i can do to try to get it to work? boot with -s type sh etc/rc kextload system/library/extensions/iwi2100.kext ./networkselector to call the app press option (1) if you get a kernel panic, post the picture so i can check it Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370860 Share on other sites More sharing options...
Airfly Posted May 23, 2007 Share Posted May 23, 2007 Jalavoui, I don't have linux on my laptop yet, and now my hard disk is full. I'm afraid that will damage my partitions to setup one more OS. I will try if I can. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370873 Share on other sites More sharing options...
JustJoe Posted May 23, 2007 Share Posted May 23, 2007 JustJoe:I also have this problem that driver does not load, but this is an integrated wifi card, 3945 on an Acer laptop. You can take a look on my last post if you like: http://forum.insanelymac.com/index.php?sho...76&st=2040# (I found your post but this isn't it ) I tryed editing Info.Plist with no success. Thanks. Did you try with Plist Editor in Xcode? I don't think that will help you at this point though. Your latest logs (from 409) were very sparse - like the driver didn't run at all. Will you try the latest (414) and post newlogs. With pincopanco, I saw after the fact (actually Jalavoui suggested it) that the problem seems to be more about something in the hardware detection in the driver. I am slowly working on the hardware detection function in the code to make it more universal/robust. Everyone with hardware/MAC detection issues: Download the latest and post up some logs. I'll see if I can find some commonality. iwi3945 rev 415 Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370874 Share on other sites More sharing options...
jalavoui Posted May 23, 2007 Author Share Posted May 23, 2007 iwi2200 rev 415 fixed a evil bug that causes kernel panic in nsgui this also cause the driver to panic in certain conditions everyone should download this http://code.google.com/p/iwidarwin/ moses, can you update the download session to include a nsgui with iwi2200.dmg? JustJoe, take a look at the kismac souce code - you may find usefull stuff in there Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370883 Share on other sites More sharing options...
FlipHDK Posted May 23, 2007 Share Posted May 23, 2007 Rev 415 iwi3945 ioreg.txt dmesg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370923 Share on other sites More sharing options...
jalavoui Posted May 23, 2007 Author Share Posted May 23, 2007 well... last iwi2200 version as the mbuf cluster bug sorry for that it's fixed in the iwi2200 rev 416 i hope this version is bug free i'm unable to upload the .dmg but source code is up to date in svn tree moses, i think you should add some IODelay in nsgui for power off. it can cause a crash or a firmware reload error if associated to a network iwi2200.dmg.zip Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370931 Share on other sites More sharing options...
osxonmylaptop Posted May 23, 2007 Share Posted May 23, 2007 Did you try with Plist Editor in Xcode? I don't think that will help you at this point though. Your latest logs (from 409) were very sparse - like the driver didn't run at all. Will you try the latest (414) and post newlogs. With pincopanco, I saw after the fact (actually Jalavoui suggested it) that the problem seems to be more about something in the hardware detection in the driver. I am slowly working on the hardware detection function in the code to make it more universal/robust. Everyone with hardware/MAC detection issues: Download the latest and post up some logs. I'll see if I can find some commonality. iwi3945 rev 415 Hi, No I'm not a programmer so I never used xcode. Let's say I'm an advanced user/geek ;-) Here are logs for 415, same error. Yes I know there are few people with same problem. Thanks. dmesg.txt ioreg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370933 Share on other sites More sharing options...
moscat Posted May 23, 2007 Share Posted May 23, 2007 sorry, not working 4 me Last login: Wed May 23 22:35:25 on ttyp1Welcome to Darwin! noname:~ Michael$ /Volumes/iwi3945/networkSelector; exit Wellcome to the insanelyMac SpacePort 0.1 Adapter en0 (00:00:00:00:00:00) [mode: 1572889 led: on]... ups. whats this in dmesg: -iwi3945: getHardwareAddress 00:18:de:54:70:01 ? don`t know how to get the system.rtf, i`m a noob thx for your work, guys! ioreg.rtf dmesg.rtf Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370955 Share on other sites More sharing options...
JustJoe Posted May 23, 2007 Share Posted May 23, 2007 Hi,No I'm not a programmer so I never used xcode. Let's say I'm an advanced user/geek ;-) Here are logs for 415, same error. Yes I know there are few people with same problem. Thanks. NetworkPreferences.plist has to be edited with Plist Editor from Xcode or you can google a third-party Plist Editor Pro -it's free.This is because the MAC address is compressed/encrypted. This may not solve the hardware problem though but you can give it a shot. After edit, go to System Configuration -> Network and see if it worked. Not sure but it might be instant. I don't have this problem so it's hard for me to know. for everyone with hardoware detection problems (and access to Windows): I am trying to fix/enhance the code in the driver for hardware detection. It will help me to know: [RC] = right click [LC] = left click sorry if this is over-simplified. not everyone knows how to do this. [RC]My Computer [LC]Device Manager [RC]Intel 3945ABG [LC]Properties [LC]Details tab [LC]drop-down box arrow [LC]Hardware IDs [LC]each line copy/paste each line into a text file and post here. [LC]drop-down box arrow [LC]Compatible IDs [LC]each line copy/paste each line into the same text file and post here. thanks Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-370964 Share on other sites More sharing options...
moscat Posted May 23, 2007 Share Posted May 23, 2007 see inside IDs.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371003 Share on other sites More sharing options...
osxonmylaptop Posted May 23, 2007 Share Posted May 23, 2007 NetworkPreferences.plist has to be edited with Plist Editor from Xcode or you can google a third-party Plist Editor Pro -it's free.... copy/paste each line into the same text file and post here. thanks JustJoe, I'm downloading PlistEditor Pro. Here are my device properties under XP: Hardware IDs: PCI\VEN_8086&DEV_4222&SUBSYS_10008086&REV_02 PCI\VEN_8086&DEV_4222&SUBSYS_10008086 PCI\VEN_8086&DEV_4222&CC_028000 PCI\VEN_8086&DEV_4222&CC_0280 Compatible IDs: PCI\VEN_8086&DEV_4222&REV_02 PCI\VEN_8086&DEV_4222 PCI\VEN_8086&CC_028000 PCI\VEN_8086&CC_0280 PCI\VEN_8086 PCI\CC_028000 PCI\CC_0280 Bye Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371007 Share on other sites More sharing options...
theofan1960 Posted May 23, 2007 Share Posted May 23, 2007 Hi, Here are the logs for iwi3945 rev. 415 dmesg.txt ioreg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371034 Share on other sites More sharing options...
Mateus Posted May 23, 2007 Share Posted May 23, 2007 My intel 3945 device ids... Hardware Ids: PCI\VEN_8086&DEV_4222&SUBSYS_135B103C&REV_02 PCI\VEN_8086&DEV_4222&SUBSYS_135B103C PCI\VEN_8086&DEV_4222&CC_028000 PCI\VEN_8086&DEV_4222&CC_0280 Compatible Ids: PCI\VEN_8086&DEV_4222&REV_02 PCI\VEN_8086&DEV_4222 PCI\VEN_8086&CC_028000 PCI\VEN_8086&CC_0280 PCI\VEN_8086 PCI\CC_028000 PCI\CC_0280 Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371035 Share on other sites More sharing options...
JustJoe Posted May 23, 2007 Share Posted May 23, 2007 JustJoe,I'm downloading PlistEditor Pro. There are a couple weird things about entering your MAC. Group of 8 + space + group of 2. like: XXXXXXXX XX Otherwise it will error on you. Lemme know if you need help with it. see inside Thanks for the IDs guys. I'll see what I can do in the code. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371048 Share on other sites More sharing options...
osxonmylaptop Posted May 23, 2007 Share Posted May 23, 2007 There are a couple weird things about entering your MAC. Lemme know if you need help with it. group of 8 + space + group of 2. like: XXXXXXXX XX Thanks for the IDs. I'll see what I can do in the code. Yes help, I was reading all the posts for pincopanco you made and I can't figure out what should I change in NetworkPreferences.plist. Sorry. Here is mine if it helps. You may find 1 Realtek Ethernet and 2 virtual devices created by Parallels. Thanks NI.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371055 Share on other sites More sharing options...
JustJoe Posted May 23, 2007 Share Posted May 23, 2007 Yes help, I was reading all the posts for pincopanco you made and I can't figure out what should I change in NetworkPreferences.plist. Sorry.Here is mine if it helps. You may find 1 Realtek Ethernet and 2 virtual devices created by Parallels. Thanks Yeah, um, I don't think we are going to get anywhere with your machine until you can get OSX to recognize your card. At least with other people's machines, the driver loads and OSX says 'hey! there's an ethernet card!' Take a look at theofan1960's dmesg.txt above. Yours should look something like that. Maybe you have done this already, but try this in Terminal: (remove all iwi and reinstall) cd /System/Library/Extensions/ rm -rf iwi3945.kext touch /System/Library/Extensions/ reboot Then install the latest release. Reboot. Go to the System Preferences down in the dock and click Network. See what it says in Show: Network Port Configurations. Post your logs and your NetworkInterfaces.plist. You'll have to copy it from /Library/Preferences/SystemConfiguration to your desktop and then rename it to something.txt (Can't post plists here) I don't know what install disc you used or if you've done any updates to the kernel, etc., but you might look there too. Possible that it's too out of date? I'm not really the one to ask about that - plus there are lots of geniuses in the PostInstall forums. try uname -a in Terminal. Goto About This Mac and see what version it says. Post those too. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371085 Share on other sites More sharing options...
homer007 Posted May 24, 2007 Share Posted May 24, 2007 JustJoe i have same problem as osxonmylaptop: iwi3945: disable 1 led 1 mode 0 iwi3945: darwin_iwi3945 map is zero iwi3945: todo: Freeing this seem to only happen with Acer Aspire laptops!! Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371142 Share on other sites More sharing options...
asstastic Posted May 24, 2007 Share Posted May 24, 2007 Yeah, um, I don't think we are going to get anywhere with your machine until you can get OSX to recognize your card. At least with other people's machines, the driver loads and OSX says 'hey! there's an ethernet card!' Take a look at theofan1960's dmesg.txt above. Yours should look something like that. Maybe you have done this already, but try this in Terminal: (remove all iwi and reinstall) cd /System/Library/Extensions/ rm -rf iwi3945.kext touch /System/Library/Extensions/ reboot Then install the latest release. Reboot. Go to the System Preferences down in the dock and click Network. See what it says in Show: Network Port Configurations. Post your logs and your NetworkInterfaces.plist. You'll have to copy it from /Library/Preferences/SystemConfiguration to your desktop and then rename it to something.txt (Can't post plists here) I don't know what install disc you used or if you've done any updates to the kernel, etc., but you might look there too. Possible that it's too out of date? I'm not really the one to ask about that - plus there are lots of geniuses in the PostInstall forums. try uname -a in Terminal. Goto About This Mac and see what version it says. Post those too. i get the map is zero error as well. from what i can tell this is a problem with the card not being found on the pci bus. can it be that the card is switched off at boot and needs to be switched back on before the card can be accesed by the driver. here are hardware ids from windows PCI\VEN_8086&DEV_4222&SUBSYS_10008086&REV_02\4&20975680&0&00E1 PCI\VEN_8086&DEV_4222&SUBSYS_10008086&REV_02 PCI\VEN_8086&DEV_4222&CC_028000 i think we need someone to port acerhk (acer hotkey driver) or acer_acpi (kernel module for acer hotkeys through acpi) from linux to get the wireless cards initialized before the driver is loaded. i dunno, the switch works for me in sabayon without installing anything. acer_acpi code is here http://aceracpi.googlecode.com/svn/trunk/a...cpi/acer_acpi.c can someone take a look at it? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/91/#findComment-371149 Share on other sites More sharing options...
Recommended Posts