Jump to content
3992 posts in this topic

Recommended Posts

dmesg3945.rtfdmesg3945.rtf Hi to all!

 

Developers:

 

I've already installed the iwi3945 using the dmg on Google on my Toshiba Satellite M115 S3094 with a Intel 3945abg and Switch (not button). The results: nothing happened. I also tried with manual installation (thanks to SDSL to teachme how) but the results is the same, nothing happened. In System preferences->Networks only appears the Ethernet and Firewire but no the wireless or another thing.

 

I post my dmesg and another stuff that I'm locked on the system properties. I expect this will help you to make anything, if you need more information just tell me.

Sorry to say...

 

but latest iwi2200 driver do not work for me. very unstable.

crash OS very soon, even without massive downloads.

 

better was last xkazu's driver. more stable even if the

memory leak was not solved.

 

of course, this not change you are making excellent work.

i'm supporting you guys.

 

p.s. i believe it's time to split threads for iwi2220 and iwi3945

all fine to me and the only problem i have is the memory leak.

 

Latest iwi2200 kext is very stable and no problem here.

 

Wireless control key is working corretily now and with new version no more kernel panics.

 

Greater work guys.

 

 

Mac OS X 10.4.9 and kernel Senthex 8.8.1.

 

:)

 

 

One question i have in my mind ...

 

 

xKazu, where are you bro ??????

 

:):(

amazing jalavoui, you have managed to write those bits !

how did you got them to write ? (PS works here too, turn on & turn off)

 

 

now to implement on iwi3945 & 2100

 

BTW this one should be much stabler, since most of the builds i released are ones i toyd around with bits and bytes to make them to what i need, this one is jalavoui`s one... :) (if not clear, this is iwi2200)

selector___driver.zip

with this kext and network selector there is just a pci card recognized ... not the airport. with older versions of the kext it worked. and i get a seg fault when i press 2.

 

keep up the good work, guys!

dmesg.txt

ioreg.txt

netSel_crash.log.txt

system.log.txt

amazing jalavoui, you have managed to write those bits !

 

I found out more 0x30 bugs...

 

if you reboot into mac os with radio off previous code fails to turn radio off - i fixed it with this

 

 

if (clone->rf_kill_active(clone->priv))

{

UInt32 r1=0;

while ((clone->ipw_read32(0x30) & 0x10000)==0 || clone->ipw_read32(0x30)!=0x50000)

{

clone->ipw_write32(0x30, clone->ipw_read32(0x30) + 0x1);

r1++;

if (r1==5000000) return 0;

}

}

 

you might need to press (1) several times because the firmware gets some bugs before the card starts

 

this works but puts invalid values in 0x30

 

can you test this and try a fix?

post my systemlog.txt.

 

seems that the networkSelector works as you, developers, intended to

though currently iwi3945 requires the Selector to be runned for its connection

like daemon, implicated by disconect log when menu 3 close choosed.

 

by the way,

 

keep going as what you have done well.

systemlog.txt

Hi :)

 

Could anyone make me a summary about how to get and install the iwi2200 drivers please please ? there are so many post :((

 

Thanks a LOTTTTT :)

2nd time today, people read some post's, you only need to go one page back!!!!!

http://iwidarwin.wordpress.com/installation/

 

Its not exactly hard, all you do is run it.

great stuff. I downloaded the 2200 from here ..Everything went fine.

Next I change the /System/Library/Extentions/iwi2200.kext/Contents/Info.plist file to set the p_disabled value to '0'. Reboot and go online...it works fine ..didn't try downloading files yet but browsing right now.

i think kazu has this card - he made it work

 

try iwi2200 - change p_disable=0 in info.plist (check last post on howto)

 

the iwi2200 firmeware/eprom should work for your card

 

can you help on networkSelector? - your card is good for testing the radio power on/off issue

 

 

jalavoui: I will try to help. I have just installed a clean copy of Jas 10.4.8 and the only modifications are the battery meter for ACPI bundle and the broadcom 570x driver. I assume I should use the version you linked in your post?

jalavoui: I installed the driver that was attached to the post you directed to me on page 74. I rebooted and the 2915abg was detected as onboard ethernet. I ran the utility included and ran the power on / power off a few times without receiving an error.

 

What exactly would you like me to try to help with your testing? I have not configured the card in any way or tried to connect to a wireless network yet.

 

I also tried the "network list" command and got

 

hello world: send network list

Segmentation fault

logout

[Process completed]

I've installed the drivers and in the Network Utility, I can see my card as 2200 BG. There seems to be a bit of confusion on this page of the thread and people's sig. One or two of the posts I read that are quite recent claims that they can go online and a few of the member's sig has their Intel 2200 stated as working. So does this card actually work? WEP/WPA supported yet? If so, how do I get mine to work? And what's this selector___driver thing?

about the segmentation fault on the network list i know what is causing it.

 

the thing causing it is us trying to access memory running in kernel mode (driver) while we are in user mode (software)

 

we can't just copy the clone->priv to the data pointer, we need to do "real" copying not just pointing to the same memory block.

jalavoui: I installed the driver that was attached to the post you directed to me on page 74. I rebooted and the 2915abg was detected as onboard ethernet. I ran the utility included and ran the power on / power off a few times without receiving an error.

 

since 2915abg doesn't have a "wireless button" to turn radio on/off the only way to change this is using networkSelector (option 1)

 

if you can get xcode and make it work for your card - specially the 0x30 bug (in iwi2200.c) - it will be a great help

 

 

 

we can't just copy the clone->priv to the data pointer, we need to do "real" copying not just pointing to the same memory block.

 

looks like the data pointer as to be initiated in networkselector - then memcpy from iwi should work better. or memcpy in iwi need to be made by steps (first priv, then priv->ieee, etc) - can you check this?

 

i'm checking:

 

clone->fInterruptSrc->interruptOccurred(NULL, clone, 0x465260);

 

this will send an interrupt that will turn radio on/off (instead of writing to 0x30)

 

it's not working but can be a way out to fix this - can you check it?

 

add IWI_LOG("interruptOccurred 0x%x 0x%x 0x%x 0x%x\n",owner,src,nub,source); to see the values in interruptOccurred()

 

all fine to me and the only problem i have is the memory leak.

 

can you try netstat -m in terminal?

 

when downloading a big file type netstat -m from time to time (1 minute interval)

 

looks like mac os keep allocating mbufs and don't release the finished ones. this is what i get in my system - can you post the netstat log here?

 

I've installed iwi2100.dmg. But airport didnt see my Wireless card.

 

all iwi drivers are no longer detected as airport (read some posts back)

 

they are detected as pci,xxx devices

 

iwi2100 as some bugs - i'll fix them and post a new build version

since 2915abg doesn't have a "wireless button" to turn radio on/off the only way to change this is using networkSelector (option 1)

 

if you can get xcode and make it work for your card - specially the 0x30 bug (in iwi2200.c) - it will be a great help

I assume you mean an external switch on the laptop? Because I have an option in my bios to specify either hardware control or software+hardware control. I thought hardware control referred to function f2 but maybe its only the bios option for on/off?

 

I have no experience with Xcode but I will try to download it. If you could give more specific information I will be your remote hands.

 

I used to have a 1.52ghz PPC Mac Mini and a Titanium laptop. At the time I found some software that for 29.99 would allow you to use "any" wireless card. Ill try to find that software again because it might help us figure this all out. I tried searching on google and found some similar suites:

 

http://www.ioxperts.com/devices_80211b.html

http://www.orangeware.com/endusers/wirelessformac.html

 

I found what seems to be an adandoned project on soureforge for porting iwi2200 drivers to OSX http://sourceforge.net/projects/iwi2200 Is their anything useful?

So I installed xcode and compiled the kext on my machine to see if i could get any results. compiled no problems on the first run. as usual kext gives "map is zero" error. looking at these lines of code:

if ( super::start(provider) == 0) {
		IOLog("%s ERR: super::start failed\n", getName());
		break;
	}

	if ( (fPCIDevice = OSDynamicCast(IOPCIDevice, provider)) == 0) {
		IOLog("%s ERR: fPCIDevice == 0 \n", getName());
		break;
	}

	fPCIDevice->retain();

	if (fPCIDevice->open(this) == 0) {
		IOLog("%s ERR: fPCIDevice->open(this) failed\n", getName());
		break;
	}

	// Request domain power.
       	// Without this, the PCIDevice may be in state 0, and the
       	// PCI config space may be invalid if the machine has been
      		// sleeping.
	if (fPCIDevice->requestPowerDomainState(kIOPMPowerOn, 
		(IOPowerConnection *) getParentEntry(gIOPowerPlane),
		IOPMLowestState ) != IOPMNoErr) {
			IOLog("%s Power thingi failed\n", getName());
			break;
      		}

so assuming the above code does it's job, if the card wasn't initialized before being mapped to the register it should halt before reaching

"map = fPCIDevice->mapDeviceMemoryWithRegister(kIOPCIConfigBaseAddress0, kIOMapInhibitCache);"

no?

That the card gets this far means it must be 'up' and doesn't need to be turned on in the bios(acer bios are {censored} so this isn't an option) or initialized later.

In this case, the next place the problem could be is here:

fPCIDevice->setBusMasterEnable(true);
	fPCIDevice->setMemoryEnable(true);
	//fPCIDevice->setIOEnable(true);

	irqNumber = fPCIDevice->configRead8(kIOPCIConfigInterruptLine);
	vendorID = fPCIDevice->configRead16(kIOPCIConfigVendorID);
	deviceID = fPCIDevice->configRead16(kIOPCIConfigDeviceID);		
	pciReg = fPCIDevice->configRead16(kIOPCIConfigRevisionID);

 

in order to test this out can i just hard code the values for irq, vendor, device, etc. with the ones i get from the windows device manager? if so how would i format the data and what would the code look like? i would think manual entry of these values would avoid the problem of any device conflicts.

as usual kext gives "map is zero" error.

 

in previous post i find out that this bug is caused by a hardware conflict

 

edit info.plist and add your id/vendor card - remove other ids

 

 

 

moseschrist,

 

this is my final hack for 0x30

 

the hack makes the "wireless button" fails under certain conditions

 

when rebooting with the radio off need to press (1) several times to make the card turns on

 

rebooting with the card on gives no problems

 

since i've no better ideas on howto write this hack - better to use this code than nothing

 

can you post the build versions here for testing?

 

I assume you mean an external switch on the laptop? Because I have an option in my bios to specify either hardware control or software+hardware control. I thought hardware control referred to function f2 but maybe its only the bios option for on/off?

 

yes - if your card doesn't have a external switch you need to use networkSelector to turn it on/off

 

lots of users have this problem with their cards

 

if you can help making networkSelector work for you card maybe we can learn how to fix this for all cards

 

thanks for the links - we have some more in iwidarwin

 

i've no idea on how the bios options works - you'll have to test them

 

i have tried initilizing the pointer in NS using malloc and it won't do the trick.

 

maybe the priv in networkSelector need to have the same initiation found in iwi

 

the problem is that some struct in networkSelector are hacked (for instance the mbuf_t type)

 

will try to find out how to fix this

configureConnection.rtf

yes - if your card doesn't have a external switch you need to use networkSelector to turn it on/off

 

lots of users have this problem with their cards

 

if you can help making networkSelector work for you card maybe we can learn how to fix this for all cards

 

thanks for the links - we have some more in iwidarwin

 

i've no idea on how the bios options works - you'll have to test them

 

Alright I was able to associate with an open 802.11b/g acccess point. I ran a continious ping to a host on the internet and then ran the network selector. Turning the card off stops the ping (as it should). Once I instruct the application to turn the card back on it takes aproximately 12 seconds before the ping works again. Seems that the power control is working perfectly on my card!

 

Can you tell the location of any log files I should post to verify my findings?

 

edit: I want to note any modifications to my system in case they effect the testing. I rewrote the eeprom of the 2915ABG to change the vendor ID and subsystem ID from an IBM OEM spefications to an Intel Retail spec

(its pretty easy to rewrite the eeprom of the 2200 and 2915 btw). My laptop model is a latitude d800 but I forced it to run the Precision M60 bios version a09. I have removed the original AppleBCM5701Ethernet.kext from /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/ and replaced it with a modified AppleBCM5751Ethernet.kext

 

 

edit2: When I set the bios option to power on the wireless card OSX is able to auto associate with the open wireless network. If I tell the bios to power down the wireless then sometimes OSX will have a self assigned IP on EN0 (the 2915abg) and other times it ignores it and works fine. When the card has a self assigned address I run network selector and it thinks the card is still powered on. I tell it to turn the card off then on again and it is then able to associate and get the right IP address. Seems like setting the bios to turn power to the wireless card off by default can cause an issue. The option in the bios to allow configuration by either FN+F2/Application and only application seems to have no effect on OSX or NetworkSelector.

 

I suggest that everyone turn their wireless card to ON in the bios to avoid any strange issues like I saw.

 

Edit3: I am unable to auto associate with my 802.11A unsecured wireless network. How can I tell which wireless networks the card can see? My 802.11a network has an SNR of 61 while the 802.11b has an SNR of 56

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