Jump to content
3992 posts in this topic

Recommended Posts

No joy on the 3945, but you're getting closer. 'Airport' now shows up in the Network Port Configuration utility, whereas it did not up to this point. I cannot select it or otherwise configure it. Built In Ethernet and Built In Firewire are both still present as well and are fully configurable. I have not tried connecting via a wired connection yet.

 

Are there logs I can post that will be helpful for diagnosis?

iwi2100 - rev 228

 

i've comment out some code...

 

http://iwidarwin.googlecode.com/svn/trunk/...100/iwi2100.dmg

iwi3945 - rev 229

 

same thing here

 

http://iwidarwin.googlecode.com/svn/trunk/...945/iwi3945.dmg

 

 

thanks for your contribution to us. Is it possible for us to hardcode the ssid into the plist file instead of having a GUI?

most ppl here should feel comfortable of editing the plist.

iwi2100 - rev 228

i've comment out some code...

 

Still no connection to my open wireless network.

My 2100 is recognized as an airport device (en1).

(Do I only have to install the new release or I need to delete stg before?)

New logs are attached.

BTW: I've removed IOBluetoothFamily.kext to disable BT - is it enough to avoid conflicts? BT icon is still there (jalavoui: you mentioned the driver manages BT as well so it's not a problem (?).

 

It is turning the wlan off but OS X doesn't know if it is on or off?

 

No.

Fn+F5 on my notebook turns on/off only BT - does not affect WLAN... in case of OSX.

So WLAN is always on with latest driver and BT can be switched if needed.

In other cases (eg. XP) this method works to turn both BT and WLAN on/off.

 

In network status window: Airport is turned on but is not connected to a network.

 

Thanks.

dmesg.txt

ifconfig.txt

ioreg.txt

system.log.txt

finally found something interesting...

as you may know i was searching for some kind of way that will enable me to take control of the driver

from the an outside application...

it seems like i found it, i'm trying to implement it now to the iwi2200 driver...

here is the link to what i'm trying to do: http://developer.apple.com/documentation/D..._section_2.html

I have just checked newest kext for 3945 and for some reason it cannot detect MAC address correctly. My notebook has wifi switch which is turned on all the time. Computer starts a bit slower, most like cause of 'MAC in deep sleep' messages popping out on screen while running with -s parameter. I've put my system.log for further developement. Hope to see working driver someday, keep up the good work :)

 

I'm using:

 

Darwin computer.local 8.8.1 Darwin Kernel Version 8.8.1: Sat Dec 9 22:18:27 AZOT 2006; semthex:/nebukadnezar/BUILD/obj/RELEASE_I386 i386 i386

system.log.txt

Edited by KrzychuG

MAC OS 10.4.7 IBM T43 iwi2200

 

1. freezes when trying to download the Photoshop CS 3 beta ( finished about 240MB)

 

2.still freezes when there is no wireless network around.

 

 

But I am very happy!!

 

 

iwi2200

 

i finally start to understand the bug when dowloading a file (memory leak at 170M)

 

i run a test with my ethernet card. apparently when downloading a file, mac os x allocates memory and doesn't release it - this causes memory to decrease until mac os freezes

 

this can be seen using activity monitor

 

i think this is a kernel bug or maybe just my os x installation

 

can someone tell me if you're getting this bug with you cable card?

 

does this happen only with 10.4.8 kernel?

 

 

it seems all of us get the problem..

iwi3945:

Mac adress is correct. Bluetooth snd Ethernet working.

Airport can't create network.

logs here. Also try to setup IPv4 Adress manually, but it still another ipv4 address... continue writing... :lol: when i'm not connected to internet (only LAN by Ethernet) it shows ipv4 - 144.3.8.0. When i try to connect (while it cheking password and login) ipv4 - 23.4.0.0. When i connected to internet it shows real ipv4 address in internet.

dmesg.txt

ioreg.txt

system.txt

Edited by reeiit
MAC OS 10.4.7 IBM T43 iwi2200

 

1. freezes when trying to download the Photoshop CS 3 beta ( finished about 240MB)

 

2.still freezes when there is no wireless network around.

But I am very happy!!

it seems all of us get the problem..

 

for the no wireless freese, d/l latest jalavoui version he posted a couple of posts back.

The latest version of iwi2200 don't work for me, i can't connect to any network, and when ive uninstalled the driver and installed the old version (kazu) i couldn't connect to any network too. I had to reinstall everything.

 

 

If was an error of my, please let me know.

The latest version of iwi2200 don't work for me, i can't connect to any network, and when ive uninstalled the driver and installed the old version (kazu) i couldn't connect to any network too. I had to reinstall everything.

If was an error of my, please let me know.

 

jalavoui`s version usually come with default setting to turn off the wireless, it is intended to laptops with hardware button to turn on/off the wireless card.

i guess that your card doesn't have one, so in that case do this:

open terminal.

write: sudo nano /System/Library/Extensions/iwi2200.kext/Contents/Info.plist

go down to the P_Disable key, and change it from 0 to 1, exit, reboot and it should work.

biiiiiiiiiiiiiiiiiiiiiig biiiiiiiiiiiiiiiiiiiiig step !!!

i managed to execute a function from the driver using a custom app i wrote.

 

basicly, i wrote all the"app-driver connection" functions (inside the driver) so they would print "hello world" once they are triggred.

check this out:

 

taken out of dmesg:

 

Mar 19 19:44:33 asaf-algawis-computer kernel[0]: iwi2200: no network found

Mar 19 19:44:37 asaf-algawis-computer kernel[0]: iwi2200: Scan completed: 172 type 11, 11 channels, 1 status

Mar 19 19:44:37 asaf-algawis-computer kernel[0]: iwi2200: no network found

Mar 19 19:44:40 asaf-algawis-computer kernel[0]: iwi2200: Scan completed: 173 type 11, 11 channels, 1 status

Mar 19 19:44:40 asaf-algawis-computer kernel[0]: iwi2200: no network found

Mar 19 19:44:43 asaf-algawis-computer kernel[0]: iwi2200: Scan completed: 174 type 11, 11 channels, 1 status

Mar 19 19:44:43 asaf-algawis-computer kernel[0]: iwi2200: no network found

Mar 19 19:44:45 asaf-algawis-computer kernel[0]: hello worldhello world

Mar 19 19:44:46 asaf-algawis-computer kernel[0]: iwi2200: Scan completed: 175 type 11, 11 channels, 1 status

Mar 19 19:44:46 asaf-algawis-computer kernel[0]: iwi2200: no network found

 

 

i caused the driver to write this to the kernel logs !

 

the current problem is as following:

in order for this thing to work, i had to write the new functions as "friend" functions.

a "friend" is a function which is not a member of the class, so it doesn't have direct access to the class functions. but, if it recieves the class, it has FULL access to it. but i have to figure out, where exactly is the driver class inside it's variables, if it is there ofcourse.

 

jalavoui, do you have any idea how do i initilize the class "darwin_iwi2200" inside a function and make so it is a mirror of the real one running inside the kernel ?

 

update: i think i solved that problem, by using a static variable of the driver class defined at the top of the file and set it's value to the the running driver pointer location, so the new functions have access to it.

it is a solution of 3rd grader at his first programming class, but hey, if it will work :tomato:

Edited by moseschrist
iwi3945:

Mac adress is correct. Bluetooth snd Ethernet working.

Airport can't create network.

logs here. Also try to setup IPv4 Adress manually, but it still another ipv4 address... continue writing... :mellow: when i'm not connected to internet (only LAN by Ethernet) it shows ipv4 - 144.3.8.0. When i try to connect (while it cheking password and login) ipv4 - 23.4.0.0. When i connected to internet it shows real ipv4 address in internet.

 

you have a nice log

 

iwi3945: Radio Frequency Kill Switch is On:

Kill switch must be turned off for wireless networking to work.

 

this line means that you have to press the "wireless button" to turn the card on and begin scan.

 

also remove your IOBluetoothHCIController extension - it can interfere with iwi3945

 

i don't understand why other are getting logs different from this

 

 

iwi2100 - rev 230

 

no longer uses airport frameworks :P

 

http://iwidarwin.googlecode.com/svn/trunk/...100/iwi2100.dmg

 

 

iwi3945 - rev 230

 

same thing

 

http://iwidarwin.googlecode.com/svn/trunk/...945/iwi3945.dmg

 

 

delete the airport device from system preferences if you have it

 

the current problem is as following:

in order for this thing to work, i had to write the new functions as "friend" functions.

a "friend" is a function which is not a member of the class, so it doesn't have direct access to the class functions. but, if it recieves the class, it has FULL access to it. but i have to figure out, where exactly is the driver class inside it's variables, if it is there ofcourse.

 

jalavoui, do you have any idea how do i initilize the class "darwin_iwi2200" inside a function and make so it is a mirror of the real one running inside the kernel ?

 

update: i think i solved that problem, by using a static variable of the driver class defined at the top of the file and set it's value to the the running driver pointer location, so the new functions have access to it.

it is a solution of 3rd grader at his first programming class, but hey, if it will work :)

 

you can run a test to grab the scan result from iwi and add it to your interface (a tableview or even text input)

 

then let the user choose wich network to associate

 

to do this the iwi driver must have in init() associate = 0; - must check if this does prevents auto-associate

 

if you manage to do this i think the hard work will be done

 

next is to create a nice interface or a aiport menu for iwi cards

 

MAC OS 10.4.7 IBM T43 iwi2200

 

1. freezes when trying to download the Photoshop CS 3 beta ( finished about 240MB)

 

2.still freezes when there is no wireless network around.

But I am very happy!!

it seems all of us get the problem..

 

 

the download bug is really anoying me...

 

the scan bug - scanning when there's no wireless arround is fixed - do you still get a crash on this?

that is exactly what i was thinking...

the kext control api enables the user to send and recieve data from and to the driver.

and the data is moved via void* pointers so basicly i can send any data structure i want.

ofcourse the easyest is a long char* with line breaks and the user will send an int* to the driver with his/hers network selection.

 

now, if i understand correctly, the network list is in: darwin_iwi2200->priv->ieee->networks[]

 

am i correct ?

 

 

ohhh and on a side note, driver development is a b*tch, i only wrote (mostly copied from apple, but keep it between us) severl lines of code and fought my way with doesn of kernel panics to get this working... no to mention the need to reboot everytime. it's a b*tch, but what won't you do for a working wireless connection.

Thanks, Jalavoui!

Guys, can anyone test the iwi3945 on ad-hoc mode (p_mode = 1)?

It doesn't work for me.

 

i'm not shure but i think that only iwi2200 work in adhoc (p_mode =1) and monitor (2) modes

 

both iwi2100/3945 haven't reached the get scan results

 

it just takes time

I everybody, I downloaded the last iwi3945, here's my log to help development.

 

Since I installed the pack the Bluetooth was detected by OSX, but it's not what I hoped lol.

 

 

The 3945ABG is now reconized has an ethernet logement pci pci8086,4222.

 

No ipv6 adresse but the mac adresse is correct.

 

 

Hope I'de help you, sorry for my bad english and good job :whistle:

dmesg.txt

ioreg.txt

system.txt

now, if i understand correctly, the network list is in: darwin_iwi2200->priv->ieee->networks[]

 

first sorry fot the iwi code - it's the worst code in the world - but - it sometimes work...

 

 

you can try

 

- get the network(s) name / bssid from priv->ieee->networks into the application

 

- call ipw_associate_network() to associate user choice

 

this could be a problem - maybe it's possible to write a new function in iwi to do this from the application

 

or call ipw_associate() with the user network choice and var associate=1?

 

 

i think there's several ways to do this - you just have to try one that works

 

 

 

maybe it's just easyer if you use

 

struct ieee80211_network

 

in iwi/application as you need

i will, once i get the segmentation faults fixed, i'm having some trouble to get a network lists as it always keep on crashing when i call it from the applictaion. i guess it is since there are no wifi networks around... but ofcourse this bug should be fixed, so once i get it done i'll move in to the associating business.

i will, once i get the segmentation faults fixed

 

try to test it with p_mode=1. in adoc_mode iwi2200 creates a fake network called "iwi2200". it gives a 169.254.xxx.yyy ip

 

pay attention to iwi status var - (priv->status & STATUS_SCANNING)

you'll need to deal with priv->status before try to get scan results

 

this will happen for other things:

 

- turn the card on/off

- do a background scan (while associated)

 

so i think that the data get/send from the application must allways check the status before do anything

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