Jump to content
3992 posts in this topic

Recommended Posts

Mar 22 05:43:36 agile-developers-computer kernel[0]: IOBluetoothHCIController::terminateWL .. done
Mar 22 05:43:43 agile-developers-computer kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped
Mar 22 05:43:44 agile-developers-computer kernel[0]: IOBluetoothHCIController::configurePM Start Idle Timer
Mar 22 05:43:44 agile-developers-computer kernel[0]: Registering For 802.11 Events
Mar 22 05:43:44 agile-developers-computer kernel[0]: [HCIController][setupHardware] AFH Is Supported
Mar 22 06:09:09 agile-developers-computer kernel[0]: iwi3945: Radio Frequency Kill Switch is On:
Mar 22 06:09:09 agile-developers-computer kernel[0]: Kill switch must be turned off for wireless networking to work.

 

 

note: just off/on the wireless switch

Strange! after 25 minute system.log got new iwi related lines

Here's my logs.

Used last iwi3945.kext on 10.4.8.

Also I have 3945 with Hardware switch, not button.

when i boot mac os after windows XP hibernation, bluetooth and Wifi not work. :ninja:

But if I reboot, Bluetooth working , and Airport detected (with old iwi3945.kext)

Sorry, can you explain, how can I try to find any networks??

dmesg.txt

ioreg.txt

system.txt

Here's my logs.

Used last iwi3945.kext on 10.4.8.

Also I have 3945 with Hardware switch, not button.

when i boot mac os after windows XP hibernation, bluetooth and Wifi not work. :(

Sorry, can you explain, how can I try to find any networks??

 

There's a terminal app "networkselector", but it's still work in progress.

For the iwi3945, it doesn't work yet. But looks like it will be soon :)

Hi all

 

Thanks for the work!!!

 

anyway, I installed the latest build for iwi3945... and it still not working... I don't get any choice of "press 1" or something likr that... I have a wirless button and it was turned on...

 

here are my logs,

hope it will work somehow... :)

 

:P

ioreg.txt

dmesg.txt

system.txt

I'm having it after pressing one 1 time.

But i'm off aswell, good luck and keep up the good work.

Make me smile in the morning :D

 

deamobile, i see that you have ||Realtek ALC861 || Works || working and was wondering how you did this. i have a toshiba satellite with the same configuration but can't get mine to work.

 

many thanks, pablo(2) ;)

deamobile, i see that you have ||Realtek ALC861 || Works || working and was wondering how you did this. i have a toshiba satellite with the same configuration but can't get mine to work.

 

many thanks, pablo(2) ;)

I used the AppleAzaliaAudio method, only output, and no control of the volume, still waiting for the AppleHDA sollution :D

it drives me crazy...

 

you need to check this:

 

int configureConnection(kern_ctl_ref ctlref, u_int unit, void *userdata, int opt, void *data, size_t len)

{

int i=*((int*)data);

if (i==2) //user requested to de-associate from network.

clone->ipw_disassociate(clone->priv);

if (i==1) //start/stop the nic

{

if (clone->priv->status & (STATUS_RF_KILL_SW | STATUS_RF_KILL_HW)) // off -> on

{

 

clone->priv->status &= ~STATUS_RF_KILL_HW;

clone->priv->status &= ~STATUS_RF_KILL_SW;

clone->priv->status &= ~(STATUS_ASSOCIATED | STATUS_ASSOCIATING);

if (clone->rf_kill_active(clone->priv)) clone->ipw_write32( 0x30, 0x50000);

//clone->queue_te(3,OSMemberFunctionCast(thread_call_func_t,clone,&darwin_iwi2200::ipw_rf_kill),clone->priv,NULL,true);

IWI_LOG("radio on\n");

}

else

{

clone->priv->status |= STATUS_RF_KILL_HW;

clone->priv->status &= ~STATUS_RF_KILL_SW;

clone->priv->status &= ~(STATUS_ASSOCIATED | STATUS_ASSOCIATING);

if ((clone->fNetif->getFlags() & IFF_RUNNING)) clone->ipw_link_down(clone->priv); else clone->ipw_led_link_off(clone->priv);

if (!(clone->rf_kill_active(clone->priv))) clone->ipw_write32( 0x30, 0x40000);

clone->queue_te(3,OSMemberFunctionCast(thread_call_func_t,clone,&darwin_iwi2200::ipw_rf_kill),clone->priv,NULL,true);

IWI_LOG("radio off\n");

}

}

 

 

this is for iwi2200

 

the problem i get here is clone->ipw_write32( 0x30, 0x50000);

 

i can't write this value to 0x30. if you can fix this the card will turn the radio on/off

 

i get this values 0x40000 and 0x50000 from the wireless button

 

0x40000 = radio off

 

 

in iwi3945 the STATUS_RF_KILL_HW

 

is controled by CARD_STATE_NOTIFICATION (check this)

 

so it's easier than iwi2200

 

 

in iwi2100 the STATUS_RF_KILL_HW

 

is set in rf_kill_active()...

 

it's more complicated than iwi2200. but can use a similar procedure

 

 

i think all drivers can use the configureConnection() that switchs radio on/off - just need to find out how to fix this

 

it would be nice to have in networkSelector a function that read the status from iwi and post the message "turn radio on" or "turn radio off" according to priv->status.

 

i'll not commit nothing to svn until you finish your changes in the code

 

the sendNetworkList()

 

i think that if networkSelector receives the full priv->ieee->network_list structure it will be easy to handle data. in future the app will need to work on received data instead of just displaying results

 

need to create some functions in networkSelector:

- ipw_best_network2() this will allow to filter invalid nets and add it to a network_exclude list. network_include list will get the "good" nets

 

but to do this networkSelector need to be prepared for iwi2100, iwi2200 and iwi3945 priv struct.

this will give some work but, i think is the best way

 

but first things first.

first we need to make the radio on/off work for all iwi

 

then... something else :thumbsup_anim:

*download the networkSelector file and place it in you Desktop

*goto applications->utility->open console application -> press logs icon -> select system.log from left pane

*goto applications->utility->terminal

cd Desktop
sudo dmesg > dmesg.txt 
sudo ioreg > ioreg.txt

this will create 2 log files in your Desktop you can then upload them here

 

now choose whatever option

also from console application you can see what happen underground

 

hope this is clear for all nob who wants to join iwi testers

 

Thanks jalavoui and all other hidden efforts

 

 

Thanks SDSL for the info. I'll try to look into it once I get done studying for my exam..

jalavoui, i did some more testing on the iwi3945 (rev 236) that you posted on march 19. this time i turned off and then on the wireless connection switch on my laptop and you can see that the driver is "seeing" this action. i saw some earlier postings about "pressing 1" but i am not sure where this action should be made.

 

hope this helps ;)

 

pablo(2)

dmesg_rev236_20070322.txt

ioreg_rev236_20070322.txt

system_rev236_20070322.txt

you need to check this:

 

int configureConnection(kern_ctl_ref ctlref, u_int unit, void *userdata, int opt, void *data, size_t len)

{

int i=*((int*)data);

if (i==2) //user requested to de-associate from network.

clone->ipw_disassociate(clone->priv);

if (i==1) //start/stop the nic

{

if (clone->priv->status & (STATUS_RF_KILL_SW | STATUS_RF_KILL_HW)) // off -> on

{

 

clone->priv->status &= ~STATUS_RF_KILL_HW;

clone->priv->status &= ~STATUS_RF_KILL_SW;

clone->priv->status &= ~(STATUS_ASSOCIATED | STATUS_ASSOCIATING);

if (clone->rf_kill_active(clone->priv)) clone->ipw_write32( 0x30, 0x50000);

//clone->queue_te(3,OSMemberFunctionCast(thread_call_func_t,clone,&darwin_iwi2200::ipw_rf_kill),clone->priv,NULL,true);

IWI_LOG("radio on\n");

}

else

{

clone->priv->status |= STATUS_RF_KILL_HW;

clone->priv->status &= ~STATUS_RF_KILL_SW;

clone->priv->status &= ~(STATUS_ASSOCIATED | STATUS_ASSOCIATING);

if ((clone->fNetif->getFlags() & IFF_RUNNING)) clone->ipw_link_down(clone->priv); else clone->ipw_led_link_off(clone->priv);

if (!(clone->rf_kill_active(clone->priv))) clone->ipw_write32( 0x30, 0x40000);

clone->queue_te(3,OSMemberFunctionCast(thread_call_func_t,clone,&darwin_iwi2200::ipw_rf_kill),clone->priv,NULL,true);

IWI_LOG("radio off\n");

}

}

this is for iwi2200

 

the problem i get here is clone->ipw_write32( 0x30, 0x50000);

 

i can't write this value to 0x30. if you can fix this the card will turn the radio on/off

 

i get this values 0x40000 and 0x50000 from the wireless button

 

0x40000 = radio off

in iwi3945 the STATUS_RF_KILL_HW

 

is controled by CARD_STATE_NOTIFICATION (check this)

 

so it's easier than iwi2200

in iwi2100 the STATUS_RF_KILL_HW

 

is set in rf_kill_active()...

 

it's more complicated than iwi2200. but can use a similar procedure

i think all drivers can use the configureConnection() that switchs radio on/off - just need to find out how to fix this

 

it would be nice to have in networkSelector a function that read the status from iwi and post the message "turn radio on" or "turn radio off" according to priv->status.

 

i'll not commit nothing to svn until you finish your changes in the code

 

the sendNetworkList()

 

i think that if networkSelector receives the full priv->ieee->network_list structure it will be easy to handle data. in future the app will need to work on received data instead of just displaying results

 

need to create some functions in networkSelector:

- ipw_best_network2() this will allow to filter invalid nets and add it to a network_exclude list. network_include list will get the "good" nets

 

but to do this networkSelector need to be prepared for iwi2100, iwi2200 and iwi3945 priv struct.

this will give some work but, i think is the best way

 

but first things first.

first we need to make the radio on/off work for all iwi

 

then... something else ;)

 

 

 

hmmm well about the first part... already changed to code to do startup for iwi2200 (still no 3945 & 2100)

the code has changed a bit, i need to change a setting in driver to disable auto so it will not reconnect after

i tell it to disconnect from the network, if you have any pointers about that it would be great.

 

i am now writing the code that should enable me to select a network to attach to, but it requires the driver to not automaticly reconnect after disconnection.

 

about changes to networkselector...

i'm actually working on a design now (not graphical design, software :) ) that will enable the user to connect to every network, even encrypted (the driver currently supports WPA & WEP right ? just cant due to the lack of software interface... ? )

 

the selectnet function in the driver is useless... we can't use it (or at least i don't know how)

instead i will use the the "send network list" don't be distracted by their names. they can pretty much do

everything you need to do in the driver since they have access to every part of the iwiclass even protected and private functions and other members.

 

about filtering networks...

what kind of networks exactly should be filtered ?

 

 

i think i should rename the functions to a more "generic" names... ones that wouldn't confuse other developers who wish to extend them, because as pointed, they can do anything you want...

basicly i could have done everything in just three functinos: connect, disconnect & sendnetworks.

 

the only diffrent in send networks & configure connection is in the void* pointer. while in "send..." it is a regular void* in "configure.." it is a const void*

 

and now for the 3945... i'll check what you wanted and see if i can get anywhere...

I'm very newer user.

 

I use the iwi3945.dmg. It was installed on my laptop. But It still don't active. Then I edit along these forum.

 

sudo -s

chmod -R 755 /System/Library/Extensions

chown -R root:wheel /System/Library/Extensions

touch /System/Library/Extensions

 

 

nano -w iwi3945.kext/Contents/Info.plist

 

search for p_disable

the line underneath, change the value from 1 to 0

CTRL-O to save

CTRL-W to exit

rm /System/Library/Extensions.*

 

Nothing!!! happened.

 

 

AND how the "network selector" install in my osx86? Please give me some tutorial. Thank.

-------------------------------------------------------------

Acer Aspire 5583

intel 945 core 2 duo

intel wireless pro 3945BG

AND how the "network selector" install in my osx86? Please give me some tutorial.

 

please download this file from here jalavoui post then extract it to your desktop

 

open your terminal then

cd Desktop

./networkSelector

 

 

you can go back to my post to know how to make log files

 

moseschrist will make new interface for this networkSelector utility so, just follow up this topic

ipw3945:

new version for the driver, hopefully this one will start using networkSelector.

 

networkSelector & ipw3945.kext

 

installation of the kext file is just like installing any kext file.

to use networkSelector, open terminal, cd to the folder it is in, and type ./networkSelector

 

currently we are trying to solve the startup problem of the driver, so only try option 1 (start the NIC)

 

post logs here (after using networkSelector).

 

if the link above doesn't work, use this:

Archive.zip

Hi

 

Ok I tried the lastest build of moseschrist - I have the PPPoe (something likr that) sign on th menu bar - the network control panel recognized the PCI somthing <_< I open the "NetworkSelector" and I pressed 1 - but it seems that it doesn't work - I have a wirless buton on my Vaio Laptop but the green led doesn't turn on...

It's seems that the PCI {censored} is on en1...

 

I attached my logs.

 

p.s. BGU is #1 ;-)

dmesg.txt

ioreg.txt

system.txt

can not find any network and networkSelector can not quit, no mac address, dmesg out is here

thanks..

 

iwi3945: Removing STA ID 24: ff:ff:ff:ff:ff:ff

iwi3945: Adding STA ID 24: ff:ff:ff:ff:ff:ff

iwi3945: Select G mode rate scale

darwin_iwi3945: Ethernet address 00:00:00:00:00:00

iwi3945: ifnet_t en3 = 32b7604

iwi3945: ifconfig up

iwi3945: ifconfig going up

IONetworkController::enable

connectiwi3945: Radio Frequency Kill Switch is On:

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

ipw3945:

new version for the driver, hopefully this one will start using networkSelector.

 

networkSelector & ipw3945.kext

 

installation of the kext file is just like installing any kext file.

to use networkSelector, open terminal, cd to the folder it is in, and type ./networkSelector

 

currently we are trying to solve the startup problem of the driver, so only try option 1 (start the NIC)

 

post logs here (after using networkSelector).

 

if the link above doesn't work, use this:

Well, now i get an error on boot :(

 

 

And Uphuck, stop spamming!

 

Nothing happening, atleast, nothing is different ad before :/

dmesg.txt

ioreg.txt

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.

That didn't work, i have to uninstall the last driver version, and install the first one to add this reply.

any suggestion moseschrist?

 

thanx

Thanks, I download the new Archive.zip from this forum. And replace the iwi3945.kext. Removing any extensions.*. Reboot

 

But after system boot, it show this pop-up error message and when I start ./networkSelector, it show

"Could not get ID for kernel control. 2" in terminal.

 

Any Idea?

dmesg.txt

ioreg.txt

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