Jump to content
3992 posts in this topic

Recommended Posts

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.

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.

My log on Asus R1F tablet

 

Intel pro Wireless W3945a/b/g

 

Unfortnately don't work rev 482!

 

Thanks to all for develeping

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

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 ?

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.

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

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

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 :)

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

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?

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.

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.

iwi3945 rev 491

this 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

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?

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 !

Guest
This topic is now closed to further replies.
×
×
  • Create New...