jalavoui Posted August 19, 2007 Author Share Posted August 19, 2007 H/W switch for theese logs definitely was turned On just before boot. is this: Aug 17 13:14:59 localhost kernel[0]: iwi3945: MAC address: 00:13:02:33:dd:fe the right address of your card? Hope 945 to be working can someone try a hack for radio on/off with this: Aug 19 00:15:19 Notebook kernel[0]: iwi3945: radio on CSR_UCODE_DRV_GP1 0x5 CSR_UCODE_DRV_GP2 0x5 maybe all it takes is to hack CSR_UCODE_DRV_GP1 on = 0x5 off = 0 the code from iwi2200.cpp might help the MAC address (from ipw_up()) value should be passed to the gethardwareaddress() - this could be the solution for this bug can someone check this? this is for developers only this should be much easier to see in linux. it will need to rebuild the linux driver and add some printf messages to get the radio values. i also need this for the iwi2100/4965. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-430805 Share on other sites More sharing options...
spu Posted August 19, 2007 Share Posted August 19, 2007 Hi Jalavoui, I'd like to ask you if you have had a look at my last logs and if you have some ideas for me. Thanks a lot. spu Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-430938 Share on other sites More sharing options...
Evil_Cartman Posted August 20, 2007 Share Posted August 20, 2007 is this:Aug 17 13:14:59 localhost kernel[0]: iwi3945: MAC address: 00:13:02:33:dd:fe the right address of your card? Yes, that's my card. What kind of help can I give any more? can someone try a hack for radio on/off with this: I'd like to help but I can't understand what exactly you want us (me?) to do. Maybe that message was for developers. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-431362 Share on other sites More sharing options...
SaxMachine Posted August 20, 2007 Share Posted August 20, 2007 My log on Asus R1F tablet Intel pro Wireless W3945a/b/g Unfortnately don't work rev 482! Thanks to all for develeping Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-431538 Share on other sites More sharing options...
jalavoui Posted August 20, 2007 Author Share Posted August 20, 2007 here are my last system logs. I hope you can help me to find out why the wlan card doesn't react on the switcher and perhaps how I could get the card run again in windows. in your log: Aug 8 22:45:12 ps-computer kernel[0]: iwi2200: radio off 0x40000 = 0x40000 Aug 8 22:45:12 ps-computer kernel[0]: iwi2200: IPW_INTA_BIT_RF_KILL_DONE if you press the switcher the card should start scanning - does it? if this doesn't happen it can be a problem with the card (switcher?) what happens, in windows, when you choose enabe/disable the card in network preferences? you should not reboot to windows when you get: iwi2200: radio on 0x50000 = 0x50001 in system.log try to reboot when you get: iwi2200: radio off 0x40000 = 0x40000 before you do this go into windows and disable the card them when you boot into windows go on and enable it this should not be a problem for iwi2200 cards, but it looks that your card doesn't work fine with the 0x40001/0x50001 hack. i'll try to fix this in the future but at this point i really don't have a clue on howto do it Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-431553 Share on other sites More sharing options...
moseschrist Posted August 21, 2007 Share Posted August 21, 2007 jalavoui, i'm having a slight trouble with the wep encryption implementation. i'm stuck on this line: data_len = m->m_pkthdr.len - off; [taken from here: http://fxr.watson.org/fxr/source/net80211/...11_crypto_wep.c line 334] where m is of type mbuf_t. now, this doesn't work on our code since one of the inclusion has a forward decleration of mbuf_t and so i can't access anyting directly. so my question is this, is there another way to get the data length inside the buffer ? or even better, is there another way to get the packet header from the buffer ? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432255 Share on other sites More sharing options...
jalavoui Posted August 21, 2007 Author Share Posted August 21, 2007 i'm stuck on this line: data_len = m->m_pkthdr.len - off; check iwi2200.h the skb converted to mbuf functions are there my guess is that you can use: mbuf_t m; data_len = mbuf_pkthdr_len(m) - off; also look for mbuf functions in kernel source (kpi_mbuf.h) i'm not shure but if you're trying to use mbuf structures in nsgui you'll need to add some #include - better find another solution. iwi2100 rev 489 iwi3945 rev 490 http://code.google.com/p/iwidarwin/ version number in site are wrong - just ignore it please post logs. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432413 Share on other sites More sharing options...
moseschrist Posted August 21, 2007 Share Posted August 21, 2007 no, i'm not working on nsGUI now, i'm porting the ieee80211 linux lib with help of the ieee802111 bsd lib. almost done working on the packet encryption function. BTW, it's great to work again on this driver... Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432425 Share on other sites More sharing options...
moseschrist Posted August 21, 2007 Share Posted August 21, 2007 more mbuf "goodness" i'm looking for an equivalent to m_append and can't seem to find it, not even on kpi_mbuf.h the only thing i found is mbuf_prepend. ideas anyone ? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432454 Share on other sites More sharing options...
Evil_Cartman Posted August 22, 2007 Share Posted August 22, 2007 iwi2100 rev 489iwi3945 rev 490 please post logs. rev 490 caused kernel panic on boot, so after -x switch `getlogs` gives me just one file.Here you are: ioreg.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432753 Share on other sites More sharing options...
AkshayGenius Posted August 22, 2007 Share Posted August 22, 2007 Hi guyz, which software am I supposed to use to mount the dmg file? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432865 Share on other sites More sharing options...
SaxMachine Posted August 22, 2007 Share Posted August 22, 2007 rev 490 caused kernel panic on boot, so after -x switch `getlogs` gives me just one file.Here you are: I Have same error on Asus R1F... Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-432890 Share on other sites More sharing options...
moseschrist Posted August 22, 2007 Share Posted August 22, 2007 i think i have finished working on the ieee80211_crypt_wep.c port... i have added it to the project but still i have no idea how to make it work with the driver. jalavoui, maybe you know ? [or can shed some light on the issue] here is the file... add it to the project and it will compile... ieee80211_crypt_wep.cpp.zip Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433027 Share on other sites More sharing options...
jalavoui Posted August 22, 2007 Author Share Posted August 22, 2007 jalavoui, maybe you know ? [or can shed some light on the issue] that a look at the rx/tx functions in iwi2200.cpp. you need to add the encrypt/decrypt code there after doing this you can add IWI_LOG to get some debug on the rx/tx packets and finally find a way to send a password using nsgui. i'll try to help Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433330 Share on other sites More sharing options...
Tanob Posted August 23, 2007 Share Posted August 23, 2007 Hello, follow attached the logs testing the revision 490 for iw3945, fortunately I didn't have a kernel panic like the other guys. Follow attached also, the full debug logging for the Linux's module (linux_syslog.gz), I think that this can be very useful To generate this debug log, when you load the module with "modprobe", just pass the parameter "debug=0xffff", for example: # modprobe ipw3945 debug=0xffff but for Debian, you'll need to include this debug parameter in the /etc/modprobe.d/ipw3945d, in the line that starts with "install". Regards. dmesg.txt ioreg.txt system.txt linux_syslog.gz Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433440 Share on other sites More sharing options...
jalavoui Posted August 23, 2007 Author Share Posted August 23, 2007 iwi3945 rev 491 this should stop the kernel panic use networkselector option (1) to turn the card on/off and post the logs if someone can post it now i'd like to upload a new version http://code.google.com/p/iwidarwin/ # modprobe ipw3945 debug=0xffff can you add some code to the driver to get the radio on/off values? you'll need to add some printf of CSR_UCODE_DRV_GP1, CSR_UCODE_DRV_GP2 you're using an old version of the linux driver - can you download the latest from intel? thanks does anyone as a clue on howto grab the svn version of the .dmg file and make it show on the iwidarwin site? i don't know if it's possible to do using html? maybe java? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433765 Share on other sites More sharing options...
Evil_Cartman Posted August 23, 2007 Share Posted August 23, 2007 iwi3945 rev 491http://code.google.com/p/iwidarwin/ I've got "404 not found" on "rev 491" link. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433917 Share on other sites More sharing options...
JustJoe Posted August 23, 2007 Share Posted August 23, 2007 I've got "404 not found" on "rev 491" link.Working on it...does anyone as a clue on howto grab the svn version of the .dmg file and make it show on the iwidarwin site?i don't know if it's possible to do using html? maybe java? Well I did it, but SVN incremented the revision number when I renamed it. Here's a better way for next time: 1. Compile / create iwi3945.dmg 2. Look in SVN to see what the last version is, 234 for example. 3. Rename iwi3945.dmg to iwi3945_rev235.dmg 4. Then commit to SVN. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433933 Share on other sites More sharing options...
Tanob Posted August 23, 2007 Share Posted August 23, 2007 can you add some code to the driver to get the radio on/off values?you'll need to add some printf of CSR_UCODE_DRV_GP1, CSR_UCODE_DRV_GP2 you're using an old version of the linux driver - can you download the latest from intel? Do you want the debug statements at some specific functions? If you tell me, it turns easier for me, since I'm not familiar with the driver code. I'll work on this tonight when I'm at home. does anyone as a clue on howto grab the svn version of the .dmg file and make it show on the iwidarwin site?i don't know if it's possible to do using html? maybe java? If put the SVN's revision number in the Google Code's page is too much work, then I think that is better you just put a link to the directory with all the releases, and improve the "Makefile" (don't know how it works in XCode), with a target to release DMGs, that checks the SVN current revision number, and suffix the DMG name with that rev number, then commit. Regards. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433950 Share on other sites More sharing options...
Evil_Cartman Posted August 23, 2007 Share Posted August 23, 2007 iwi3945 rev 491this should stop the kernel panic use networkselector option (1) to turn the card on/off and post the logs Now `networkSelector` shows en3 adapter and its real mac, but `ifconfig` shows "ether 00:00:00:00:00:00" for en3. Last rev didn't provide en3 to the system - I think there is an important improvements now. There was huge time delay when I selected option (1) for the first time (just FYI). All other options still make no effect. Crossing my fingers for the future rev's. dmesg.txt ioreg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433965 Share on other sites More sharing options...
youngi Posted August 23, 2007 Share Posted August 23, 2007 good luck, we're all crossing our fingers Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-433966 Share on other sites More sharing options...
spu Posted August 23, 2007 Share Posted August 23, 2007 Hi Jalavoui, the card doesn't start when I turn the switcher. Also when I deactived it in windows before. So it seems to be a hardware problem with the switcher. I think the card is ok because I can use the nsGUI to find wlans. I wonder why it happens. Before I installed mac os it had worked perfectly in windows and linux. Do you think if it could help when I reinstall the computer completely? Thanks a lot for your help. spu Does someone else have an acer wlan switcher? Does it work for you in mac os? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-434056 Share on other sites More sharing options...
kwauhk Posted August 24, 2007 Share Posted August 24, 2007 rev 490 caused kernel panic on boot, so after -x switch `getlogs` gives me just one file.Here you are: I have some problem and message as you Using Intel PROset/Wireless 2100 rev 489 OS: Uphuck 10.4.9 V1.4i Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-434214 Share on other sites More sharing options...
moseschrist Posted August 24, 2007 Share Posted August 24, 2007 funny thing... after adding crypt and decrypt functions to the driver [2200] and trying to associate it gave me an error because the driver wasn't in "privacy mode" so i added a line which tells the driver to move to "privacy mode" when associating with secure networks. surely still we can't associate, but that's not what nsGUI says it tells me i'm associated with the network even if i'm not anyways, it's a bug which will be fixed... but hey, were getting somewhere ! Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-434323 Share on other sites More sharing options...
casamac Posted August 24, 2007 Share Posted August 24, 2007 good work moses!!! Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/106/#findComment-434579 Share on other sites More sharing options...
Recommended Posts