Jump to content

Intel Wireless driver


jalavoui
 Share

3,992 posts in this topic

Recommended Posts

Yeah the 3945 is being worked on, im currently doing firmware loading. But it would be good to work together on one project. I was wondering if we ould get together and maybe do the 2200BG before starting the 3945 together. I dunno, just a thought.

 

 

Edit: Also when u release ur code, i'll give it a look over and see if there is anything i can use in the 3945 kext, if that is ok with you?

Link to comment
Share on other sites

Yeah the 3945 is being worked on, im currently doing firmware loading. But it would be good to work together on one project. I was wondering if we ould get together and maybe do the 2200BG before starting the 3945 together. I dunno, just a thought

 

If you two do end up working together, PLEASE be cooperative and selfless!!!! That has been the downfall of nearly every team here in the past! Good luck to both of you!

Link to comment
Share on other sites

i agree... another important thing is also support from the forum users... previous attempts at the driver fail because of some think-they-are-so-damn-freaking-smart people who criticise the people who put in effort....

 

i believe as forum users, and people who desperately need their drivers, we should be patient and 100% supportive of their tireless effort and work... :(

Link to comment
Share on other sites

Interresting project you guys got running up here, i would like to thank you all already for the efforts and i'm looking forward for future developments :P

Link to comment
Share on other sites

this release is made for the 10.4.8 kernel.

 

i've added 3 module parameters (see Info.plist in iwi2200.kext.):

 

p_disable - prevents card from auto-starting

 

p_led - enable/disable led

 

p_mode - 0=IW_MODE_INFRA 1=IW_MODE_ADHOC 2= IW_MODE_MONITOR

 

changing any of this parameters requires deleting Extensions.kextcache and Extensions.mkext from System/Library (and reboot) to prevent kernel cache to ignore them.

 

don't use the IO80211Family.kext / Apple80211.framework from 10.4.8 (upgrade to 10.4.7 only)

 

 

i'll do a install script one of these days...

 

please post console logs

iwi2200_v3.kext.zip

Link to comment
Share on other sites

i've changed the driver and run it in linux with the latest firmware (3.0) and get this logs (i added code to get the firmware module sizes)

 

i can use help on splitting this files. i'll have to build 2 files for each mode and a boot file.

 

eg: mode bss will have

 

-ipw_bss.fw.h

-ipw_ucode_bss.fw.h

 

this should be done for other intel drivers as a start. next step is to upload the firmware

 

 

 

 

 

ipw2200: Intel® PRO/Wireless 2200/2915 Network Driver, 1.2.0mpr

ipw2200: Copyright© 2003-2006 Intel Corporation

ipw2200: U ipw_pci_probe pci_resource_len = 0x00001000

ipw2200: U ipw_pci_probe pci_resource_base = e047c000

ipw2200: U ipw_sw_reset Hardware crypto [off]

ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

ipw2200: U ipw_get_fw Read firmware 'ipw2200-bss.fw' image v3.0 (191126 bytes)

ipw2200: U ipw_load boot firmware: 6464

ipw2200: U ipw_load initial device response after 10ms

ipw2200: U ipw_stop_master stop master 0ms

ipw2200: U ipw_load_ucode Microcode OK, rev. 53594 (0xd15a) dev. 3 (0x3) of 11/22/04 20:27

ipw2200: U ipw_load microcode : 16326

ipw2200: U ipw_load firmware : 168336

ipw2200: U ipw_load device response after 50ms

ipw2200: U ipw_eeprom_init_sram Writing EEPROM data into SRAM

 

ipw2200: Intel® PRO/Wireless 2200/2915 Network Driver, 1.2.0mpr

ipw2200: Copyright© 2003-2006 Intel Corporation

ipw2200: U ipw_pci_probe pci_resource_len = 0x00001000

ipw2200: U ipw_pci_probe pci_resource_base = e047c000

ipw2200: U ipw_sw_reset Hardware crypto [off]

ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

ipw2200: U ipw_get_fw Read firmware 'ipw2200-ibss.fw' image v3.0 (185644 bytes)

ipw2200: U ipw_load boot firmware: 6464

ipw2200: U ipw_load initial device response after 10ms

ipw2200: U ipw_stop_master stop master 0ms

ipw2200: U ipw_load_ucode Microcode OK, rev. 53594 (0xd15a) dev. 3 (0x3) of 11/22/04 20:27

ipw2200: U ipw_load microcode : 16304

ipw2200: U ipw_load firmware : 162876

ipw2200: U ipw_load device response after 50ms

ipw2200: U ipw_eeprom_init_sram Writing EEPROM data into SRAM

 

ipw2200: Intel® PRO/Wireless 2200/2915 Network Driver, 1.2.0mpr

ipw2200: Copyright© 2003-2006 Intel Corporation

ipw2200: U ipw_pci_probe pci_resource_len = 0x00001000

ipw2200: U ipw_pci_probe pci_resource_base = e047c000

ipw2200: U ipw_sw_reset Hardware crypto [off]

ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

ipw2200: U ipw_get_fw Read firmware 'ipw2200-sniffer.fw' image v3.0 (187820 bytes)

ipw2200: U ipw_load boot firmware: 6464

ipw2200: U ipw_load initial device response after 10ms

ipw2200: U ipw_stop_master stop master 0ms

ipw2200: U ipw_load_ucode Microcode OK, rev. 53593 (0xd159) dev. 3 (0x3) of 01/21/05 21:16

ipw2200: U ipw_load microcode : 16336

ipw2200: U ipw_load firmware : 165020

ipw2200: U ipw_load device response after 50ms

ipw2200: U ipw_eeprom_init_sram Writing EEPROM data into SRAM

Link to comment
Share on other sites

darwin_iwi2200 iomemory length: 0x1000 @ 0xdfdfe000

darwin_iwi2200 virt: 0x194eb000 physical: 0xdfdfe000

darwin_iwi2200 IRQ: 11, Vendor ID: 8086, Product ID: 4220

setPowerState to 2

configureInterface

darwin_iwi2200: Ethernet address 00:0e:35:a2:61:52

getSTATUS_DEV

ifnet_t en = 1c19e04

old_mode 0

Radio disabled.

QoS is enabled

Hardware crypto [off]

: Detected Intel PRO/Wireless 2200BG Network Connection

boot firmware ok

Microcode OK, rev. 53594 (0xd15a) dev. 3 (0x3) of 11/22/04 20:27

bss firmware ok

Writing EEPROM data into SRAM

getPOWER 0, 3984 424587264 32 77307904

getRATE_SET 0 r0:0 f0:0

getCHANNEL c:0 f:0

getSSID <hidden> l:0

getCHANNEL c:0 f:0

getCHANNEL c:0 f:0

 

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

inet6 fe80::20e:35ff:fea2:6152%en1 prefixlen 64 scopeid 0x5

inet 169.254.230.77 netmask 0xffff0000 broadcast 169.254.255.255

ether 00:0e:35:a2:61:52

media: autoselect status: active

supported media: none autoselect DS1 DS2 DS5 DS11 autoselect <unknown type>

 

Toshiba Portégé R100 JaS 10.4.8 SSE2 Intel

Link to comment
Share on other sites

folllowing is log in my machine .

and v3 dont connect to AP yet.

my chip is 2915ABG.

 

to jalavoui

do you post v3 source code?

(if v3 source code is not work , it is no problem because i want to help you )

I may help your hacking because I have experience of writing patch of ipw2200 in linux

iwi2200 crash in getOutputQeueue() when I made v2 sources .

so i comment out "break" code , if fTransmitQueue == NULL ...

but ipw_up is not called and iwi2200 dont connect to AP with infrastructure mode.

(i seem that ipw_up dont called in my env.)

 

darwin_iwi2200 iomemory length: 0x1000 @ 0xe0200000

darwin_iwi2200 virt: 0x31988000 physical: 0xe0200000

darwin_iwi2200 IRQ: 7, Vendor ID: 8086, Product ID: 4223

setPowerState to 2

getCARD_CAPABILITIES 72

darwin_iwi2200: Ethernet address 00:0e:35:ac:06:95

dataLinkLayerAttachComplete

getSTATUS_DEV

ifnet_t en = 3557804

old_mode 0

Radio disabled.

QoS is enabled

Hardware crypto [off]

: Detected Intel PRO/Wireless 2915ABG Network Connection

boot firmware ok

Microcode OK, rev. 53594 (0xd15a) dev. 3 (0x3) of 11/22/04 20:27

bss firmware ok

Writing EEPROM data into SRAM

getPOWER 0, 3984 832077824 32 203624448

getSSID <hidden> l:342865224

getCHANNEL c:0 f:0

getBSSID <hidden>

getRATE_SET 0 r0:0 f0:0

getSSID <hidden> l:2

getCHANNEL c:0 f:0

getBSSID <hidden>

getCHANNEL c:0 f:0

getSSID <hidden> l:0

display: Not usable

setPOWER 1, 0 0 0 0

power off ignored

Link to comment
Share on other sites

i tried changing the flag p_disabled from 1 to 0, then reboot....

 

it gave me a kernel panic when it was scanning all the channels at boot time.....

 

i'll try to recreate the whole situation and post a screen shot... apparently, the error was not logged....

 

edit: recreated the error, happens all the time with any version of beta 9 kernel and any IO80211.kext and Apple80211.framework...... the only allowable mode currently is p_disable = 1, as 0 will give kernel panics....

 

the p_led option does not work.. i tried changing the values between 1 and 0 countless times, and the led refuses to light up....

 

have yet to try the p_mode yet, but its quite pointless as p_disable is not working and i cant scan for any AP....

 

attached is a screenshot of the point of error.... cant find the error from within my system logs.... not sure why it wasnt logged in....

post-14789-1168145346_thumb.jpg

Edited by rathalos
Link to comment
Share on other sites

here is my log

 

Jan 7 13:21:45 Darren-Mac kernel[0]: disable 0 led 1 mode 0

Jan 7 13:21:45 Darren-Mac kernel[0]: darwin_iwi2200 iomemory length: 0x1000 @ 0xb0106000

Jan 7 13:21:45 Darren-Mac kernel[0]: darwin_iwi2200 virt: 0x3a04f000 physical: 0xb0106000

Jan 7 13:21:45 Darren-Mac kernel[0]: darwin_iwi2200 IRQ: 20, Vendor ID: 8086, Product ID: 4220

Jan 7 13:21:45 Darren-Mac kernel[0]: setPowerState to 2

Jan 7 13:21:45 Darren-Mac kernel[0]: configureInterface

Jan 7 13:21:45 Darren-Mac kernel[0]: darwin_iwi2200: Ethernet address 00:15:00:4f:b0:ee

Jan 7 13:21:45 Darren-Mac kernel[0]: getSTATUS_DEV

Jan 7 13:21:45 Darren-Mac kernel[0]: ifnet_t en = 3a56004

Jan 7 13:21:45 Darren-Mac kernel[0]: old_mode 0

Jan 7 13:21:45 Darren-Mac kernel[0]: QoS is enabled

Jan 7 13:21:45 Darren-Mac kernel[0]: Hardware crypto [off]

Jan 7 13:21:45 Darren-Mac kernel[0]: : Detected Intel PRO/Wireless 2200BG Network Connection

Jan 7 13:21:45 Darren-Mac kernel[0]: boot firmware ok

Jan 7 13:21:45 Darren-Mac kernel[0]: Microcode OK, rev. 53594 (0xd15a) dev. 3 (0x3) of 11/22/04 20:27

Jan 7 13:21:45 Darren-Mac kernel[0]: bss firmware ok

Jan 7 13:21:45 Darren-Mac configd[59]: Error: WirelessGetInfo2() = 88001003

Jan 7 13:21:45 Darren-Mac kernel[0]: Writing EEPROM data into SRAM

Jan 7 13:21:45 Darren-Mac kernel[0]: getPOWER 0, 3984 973402112 32 447873024

Jan 7 13:21:45 Darren-Mac kernel[0]: kIO80211NetworkLinkDown: linkDowning supplicant

Jan 7 13:21:45 Darren-Mac kernel[0]: getRATE 612218748

Jan 7 13:21:45 Darren-Mac kernel[0]: getSSID <hidden> l:1

Jan 7 13:21:45 Darren-Mac configd[59]: Error: getGlobalMACAddress failed.

Jan 7 13:21:45 Darren-Mac configd[59]: Error: WirelessConfigure() = 88001003

Jan 7 13:21:45 Darren-Mac configd[59]: Error: initCardWithStoredPrefs failed.

Jan 7 13:23:13 Darren-Mac configd[59]: Error: WirelessGetInfo() = 88001003

Jan 7 13:23:14 Darren-Mac configd[59]: Error: WirelessGetInfo() = 88001003

Link to comment
Share on other sites

just to share with you all the command i used to load and unload the kext

 

su

 

cp -R iwi2200.kext /System/Library/Extensions/iwi2200.kext

 

chmod -R 755 /System/Library/Extensions/iwi2200.kext

 

chown -R root:wheel /System/Library/Extensions/iwi2200.kext

 

kextload -t /System/Library/Extensions/iwi2200.kext

 

kextunload -p /System/Library/Extensions/iwi2200.kext

Link to comment
Share on other sites

I installed the v3 kext and it said ipw2200.kext could not resolve kernel dependencies or something like that.

 

Nothing detected or anything. Didn't seem to load at all. Could be because I'm using a 2915 card. Maybe can't find the PCIMatch address? I was under the impression that the two (2200 and 2915) drivers were interchangeable. Correct me if I'm wrong.

 

Running 10.4.8, 8.8.1 beta9 kernel

Using the suggested 10.4.7 kext and framework.

Edited by TaterSalad77
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...