Jump to content

Intel Wireless driver


jalavoui
 Share

3,992 posts in this topic

Recommended Posts

Unzip the iwi2200.kext on your desktop

 

su - change to root, then cd desktop

 

rm -R /System/Library/Extensions/iwi2200.kext - to remove the existing iwi2200.kext

 

rm -R /System/Library/Extensions.mkext - to remove the kext cache

 

rm -R /System/Library/Extensions.kextcache - to remove the kext cache

 

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 - to load kext

 

 

to remove kext

 

su - change to root

 

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

 

rm -R /System/Library/Extensions/iwi2200.kext - to remove the existing iwi2200.kext

 

rm -R /System/Library/Extensions.mkext - to remove the kext cache

 

rm -R /System/Library/Extensions.kextcache - to remove the kext cache

 

reboot

Link to comment
Share on other sites

so i have actually tried this out.

 

that's great: macos x says that there is an aiport device.

 

that's not so great: macos x says that it cannot connect to any wireless network nor does it see any networks.

 

my question: what can i send you in order to improve your driver? what can I do to make it recognize my networks?

 

i actually use mac os x 10.4.6 but i have got the same result as all the other people using 10.4.8 or 10.4.7 i really appreciate your efforts and i would love to send you what my console said but i dont't know what's the specific point of interest in terms of what my console says. and when should i copy it?? there is no specific error message besides that my network is not completely functional and that the status of the device is unknown.

 

so far so good. keep up the good work.

easyi

Link to comment
Share on other sites

I have the same result. The drivers detects then Intel Wireless hardware but can't find any wireless networks. It's a good step in the right direction though! For my specs, see signature...

 

I Noticed when I manually add my router name and WPA password I think it crashes. I get a popup with:

 

"You need to restart your computer. Hold down the Power button for serveral seconds or press the Restart button"

 

Is this a crash?

 

Also my system is feeling a lot slower with these drivers activated but maybe I'm just thinking it is...

 

Aslo: I can't turn Airport OFF (just some little 'bugs' so hopely you can fix them)

 

Great work so far! :D

Edited by pck
Link to comment
Share on other sites

Question for jalavoui and other people working on the driver.

 

What type of info would you need to help you in the development? Can you post detailed instructions on how to collect this info? Are there reasons to belive that this wouldnt work on any other but 10.4.8? (So far I belive 10.4.8 is jalavoui testing bed) Should all testers move to 10.4.8 version? About the firmware, I remember in linux I had to download the firware (apart from loading modules, etc), should we do this here also or its included in the last post by jalavoui?

 

And finally a small petition :D, If you would post more or less detailed instructions on how to setup every release that has been done it would be really good ;).

 

Sorry for so many question and THANK YOU for your effors, thank you VERY much. Ill try to help as much as posible.

 

 

 

P.D. Im running 10.4.6 on a Dell inspiron 9300, Intell Pro Wirelless 2915ABG (it worked with linux drivers on Ubuntu)

Link to comment
Share on other sites

Question for jalavoui and other people working on the driver.

 

What type of info would you need to help you in the development? Can you post detailed instructions on how to collect this info? Are there reasons to belive that this wouldnt work on any other but 10.4.8? (So far I belive 10.4.8 is jalavoui testing bed) Should all testers move to 10.4.8 version? About the firmware, I remember in linux I had to download the firware (apart from loading modules, etc), should we do this here also or its included in the last post by jalavoui?

 

And finally a small petition :pirate2:, If you would post more or less detailed instructions on how to setup every release that has been done it would be really good :(.

 

Sorry for so many question and THANK YOU for your effors, thank you VERY much. Ill try to help as much as posible.

P.D. Im running 10.4.6 on a Dell inspiron 9300, Intell Pro Wirelless 2915ABG (it worked with linux drivers on Ubuntu)

 

hi TatoNo

 

i've posted the the command to load the iwi2200.kext before.

i'll paste here again

 

 

Unzip the iwi2200.kext on your desktop maybe StuffIt or other utils.

 

su - change to root, then cd desktop

 

rm -R /System/Library/Extensions/iwi2200.kext - to remove the existing iwi2200.kext

 

rm -R /System/Library/Extensions.mkext - to remove the kext cache

 

rm -R /System/Library/Extensions.kextcache - to remove the kext cache

 

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 - to load kext

 

 

to remove kext

 

su - change to root

 

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

 

rm -R /System/Library/Extensions/iwi2200.kext - to remove the existing iwi2200.kext

 

rm -R /System/Library/Extensions.mkext - to remove the kext cache

 

rm -R /System/Library/Extensions.kextcache - to remove the kext cache

 

reboot

Link to comment
Share on other sites

I am very excited about this driver! You guys have figured out how to get the wireless hardware to look like an airport device and that was a hurdle that has not been jumped. After all the wireless code is working, the actual packet/data transfer parts should be a cinch because Apple's wired networking documentation is probably very similar to the wireless documentation (in terms of data transfer, e.g., similarly named functions and return values).

 

If you have the time, could you explain how OS X sees this as an airport device? Was the Airport kext decrypted and disassembled in IDA? How'd ya'll figure it out?

Link to comment
Share on other sites

Are there reasons to belive that this wouldnt work on any other but 10.4.8? (So far I belive 10.4.8 is jalavoui testing bed) Should all testers move to 10.4.8 version? About the firmware, I remember in linux I had to download the firware (apart from loading modules, etc), should we do this here also or its included in the last post by jalavoui?

 

And finally a small petition :gun:, If you would post more or less detailed instructions on how to setup every release that has been done it would be really good :).

 

Sorry for so many question and THANK YOU for your effors, thank you VERY much. Ill try to help as much as posible.

P.D. Im running 10.4.6 on a Dell inspiron 9300, Intell Pro Wirelless 2915ABG (it worked with linux drivers on Ubuntu)

 

Hey, I have a 9300 also. It runs the patched JaS 10.4.8 pretty damn well (graphics get amazing fps scores!). I'm not a developer but I'd say 10.4.8 is worth a try. For the graphics you'll have to boot into single user mode (F8 at boot, -s option) and put the PCI ID in a couple of kext's.

Link to comment
Share on other sites

My short report. (Sorry for my ugly english level.)

I have tried 2,3,4 versions. The versions 3 and 4 both were loaded normally. I see in ifconfig my network card and i can change network parametrs. But when i switch on (button on the my laptop) wifi, 2 blinkings of a bulb and about 30 seconds, i received message from Mac OS "Sorry, you need to restart your Mac OS X."

 

I Hope, this information will be useful to someone.

Link to comment
Share on other sites

IBM Thinkpad T30 with 10.4.8 / v4 loads fine, airport is not initially seen in network list until "apply now" is chosen. no networks found - manually adding 40bit wep hex key association gives the grey screen of death (must power off / reset default apple msg)

 

uname -a:

 

Darwin matt-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

 

console.log:

 

Jan 10 15:32:40 matt-computer /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

Jan 10 15:33:07 matt-computer /Applications/Internet Connect.app/Contents/MacOS/Internet Connect: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

Jan 10 15:33:08 matt-computer /Applications/Internet Connect.app/Contents/MacOS/Internet Connect: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

 

 

system.log:

 

 

Jan 10 15:32:20 localhost kernel[0]: Intel82557: Ethernet address 00:09:6b:90:93:46

Jan 10 15:32:20 localhost kernel[0]: darwin_iwi2200: Ethernet address 00:0e:35:a2:b0:fa

Jan 10 15:32:20 localhost kernel[0]: dataLinkLayerAttachComplete

Jan 10 15:32:20 localhost kernel[0]: getSTATUS_DEV

Jan 10 15:32:20 localhost kernel[0]: ifnet_t en = 2bbaa04

Jan 10 15:32:20 localhost kernel[0]: old_mode 0

Jan 10 15:32:20 localhost kernel[0]: Radio disabled.

Jan 10 15:32:20 localhost kernel[0]: QoS is enabled

Jan 10 15:32:20 localhost kernel[0]: Hardware crypto [off]

Jan 10 15:32:20 localhost kernel[0]: : Detected Intel PRO/Wireless 2200BG Network Connection

Jan 10 15:32:20 localhost kernel[0]: boot firmware ok

Jan 10 15:32:20 localhost kernel[0]: Microcode OK, rev. 53594 (0xd15a) dev. 3 (0x3) of 11/22/04 20:27

Jan 10 15:32:20 localhost kernel[0]: bss firmware ok

Jan 10 15:32:20 localhost kernel[0]: Writing EEPROM data into SRAM

Jan 10 15:32:20 localhost kernel[0]: table 0 offset at 0x00000700, len = 67

Jan 10 15:32:20 localhost kernel[0]: table 1 offset at 0x00029600, len = 170

Jan 10 15:32:20 localhost kernel[0]: table 2 offset at 0x00029ee0, len = 6

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: Setting MAC address to 00:0e:35:a2:b0:fa

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: Configuring adapter

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: Setting RTS threshold to 2304

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: QoS: call ipw_qos_activate

Jan 10 15:32:20 localhost kernel[0]: QoS network/card mode 6

Jan 10 15:32:20 localhost kernel[0]: QoS sending IPW_CMD_QOS_PARAMETERS

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: Setting IPW_CMD_SEED_NUMBER to 305419896

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: Setting IPW_CMD_HOST_COMPLETE

Jan 10 15:32:20 localhost kernel[0]: getPOWER 199491584, 41287680 199491584 2304 305419896

Jan 10 15:32:20 localhost kernel[0]: getSSID <hidden> l:199537992

Jan 10 15:32:20 localhost kernel[0]: getCHANNEL c:0 f:0

Jan 10 15:32:20 localhost kernel[0]: getBSSID <hidden>

Jan 10 15:32:20 localhost kernel[0]: getRATE_SET 0 r0:0 f0:0

Jan 10 15:32:20 localhost kernel[0]: getSSID <hidden> l:2

Jan 10 15:32:20 localhost kernel[0]: getCHANNEL c:0 f:0

Jan 10 15:32:20 localhost kernel[0]: getBSSID <hidden>

Jan 10 15:32:20 localhost kernel[0]: getCHANNEL c:0 f:0

Jan 10 15:32:20 localhost kernel[0]: getSSID <hidden> l:0

Jan 10 15:32:20 localhost kernel[0]: ordinal = 61498

Jan 10 15:32:20 localhost kernel[0]: Reading TABLE0[58] from offset 0x000007e8

Jan 10 15:32:20 localhost kernel[0]: ordinal = 61497

Jan 10 15:32:20 localhost kernel[0]: Reading TABLE0[57] from offset 0x000007e4

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_TX_CMD_QUEUE)

Jan 10 15:32:20 localhost kernel[0]: IPW_INTA_BIT_RX_TRANSFER)

Jan 10 15:32:20 localhost kernel[0]: RxQueueIntr: hw 1 (1) -> 0

Jan 10 15:32:20 localhost kernel[0]: Packet: type=03 seq=00 bits=00

Jan 10 15:32:20 localhost kernel[0]: Notification: subtype=14 flags=A0 size=104

Jan 10 15:32:20 localhost kernel[0]: type = 20 (104 bytes)

Jan 10 15:32:20 localhost kernel[0]: TODO: Calibration

Jan 10 15:32:19 localhost mDNSResponder-108.2 (Aug 25 2006 14: 50:48)[51]: starting

Jan 10 15:32:19 localhost memberd[58]: memberd starting up

Jan 10 15:32:19 localhost lookupd[63]: lookupd (version 369.6) starting - Wed Jan 10 15:32:19 2007

Jan 10 15:32:19 localhost DirectoryService[64]: Launched version 2.1 (v353.5)

Jan 10 15:32:20 localhost configd[55]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

Jan 10 15:32:21 localhost launchd: Server 3b3f in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[63]: exited abnormally: Hangup

Jan 10 15:32:21 localhost lookupd[80]: lookupd (version 369.6) starting - Wed Jan 10 15:32:21 2007

Jan 10 15:32:21 localhost diskarbitrationd[57]: disk0s2 hfs 7625897D-B60E-3325-8137-51DD05DF92C1 MacOSX /

Jan 10 15:32:22 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started

Jan 10 15:32:22 localhost mDNSResponder: Adding browse domain local.

Jan 10 15:32:22 localhost loginwindow[85]: Login Window Started Security Agent

Jan 10 15:32:24 localhost configd[55]: Error: WirelessGetInfo2() = 88001003

Jan 10 15:32:24 localhost configd[55]: Error: getGlobalMACAddress failed.

Jan 10 15:32:25 localhost kernel[0]: setPOWER 1, 1 1 1 1

Jan 10 15:32:25 localhost kernel[0]: power on

Jan 10 15:32:25 localhost kernel[0]: getCHANNEL c:0 f:0

Jan 10 15:32:27 localhost configd[55]: Error: WirelessGetInfo() = 88001003

Jan 10 15:32:27 matt-computer configd[55]: setting hostname to "matt-computer.local"

Jan 10 15:32:27 matt-computer configd[55]: Error: WirelessGetInfo() = 88001003

Jan 10 15:32:29 matt-computer launchd: Server 0 in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[80]: exited abnormally: Hangup

Jan 10 15:32:29 matt-computer configd[55]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-network

Jan 10 15:32:29 matt-computer configd[55]: posting notification com.apple.system.config.network_change

Jan 10 15:32:29 matt-computer lookupd[102]: lookupd (version 369.6) starting - Wed Jan 10 15:32:29 2007

Jan 10 15:32:30 matt-computer configd[55]: Error: WirelessGetInfo() = 88001003

Jan 10 15:32:33 matt-computer configd[55]: target=enable-network: disabled

Jan 10 15:32:40 matt-computer /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

Jan 10 15:32:54 matt-computer kernel[0]: setPOWER 1, 0 0 0 0

Jan 10 15:32:54 matt-computer kernel[0]: power off ignored

Jan 10 15:32:59 matt-computer kernel[0]: setPOWER 1, 0 0 0 0

Jan 10 15:32:59 matt-computer kernel[0]: power off ignored

Jan 10 15:33:07 matt-computer /Applications/Internet Connect.app/Contents/MacOS/Internet Connect: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

Jan 10 15:33:08 matt-computer /Applications/Internet Connect.app/Contents/MacOS/Internet Connect: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "±^B".

Jan 10 15:33:12 matt-computer kernel[0]: setPOWER 1, 0 0 0 0

Jan 10 15:33:12 matt-computer kernel[0]: power off ignored

Link to comment
Share on other sites

My short report. (Sorry for my ugly english level.)

I have tried 2,3,4 versions. The versions 3 and 4 both were loaded normally. I see in ifconfig my network card and i can change network parametrs. But when i switch on (button on the my laptop) wifi, 2 blinkings of a bulb and about 30 seconds, i received message from Mac OS "Sorry, you need to restart your Mac OS X."

 

I Hope, this information will be useful to someone.

 

please correct me if i'm wrong.

this problem happened because of the IO80211Family.kext, jalavoui says we need to use the IO80211Family.kext from 10.4.7(8.4.1)

Link to comment
Share on other sites

please correct me if i'm wrong.

this problem happened because of the IO80211Family.kext, jalavoui says we need to use the IO80211Family.kext from 10.4.7(8.4.1)

 

I dont know, may be you right. Where i can find IO80211Family.kext for tests? Or this files must be a part of iwi2200.kext? Sorry for my questions, i using Mac OSX only 3 days.

 

P.S. By the way, my laptop - Acer TravelMate 3002WTMi. With linux drivers wi-fi works fine (for example under Gentoo).

Link to comment
Share on other sites

i tried the older IO80211.kext and Apple80211.Framework. Now clicking on 'other' does not work and I get the grey screen of death after about 5 minutes of use. It did state it found the network but was using a privately assigned address. I assigned a valid IP but no traffic could be passed.

 

I just restored my original files and will wait for a later release or further instructions.

 

 

hope that helps.

 

 

Thanks,

 

Matt

Link to comment
Share on other sites

[xkazu]

 

you seem to be using the 10.4.8 IO80211Family.kext / Apple80211.framework. they don't work with iwi2200.kext. start from the mac os x intel upgrade 10.4.5 and go to 10.4.7 only.

 

at this point the driver is stucked at the ipw_scan() routine. the linux source goes to deep and i'm having trouble in finding a way to retrieve the scan results and do the ipw_associate().

 

if you have new ideas please help. i'll submit the source code soon

 

 

I am reading new source code and have a sevaral question about your implementation .

i dont understand detail of darwin kernel and API .

  1. ipw_associate
     
    your code get inferface address via fnet_get_address_list and
    do cast it to ieee802211_network.
     
    i dont understand why you do it.
    plz teach me the reason.
     
    i seem that your code can get networks for ipw_best_network in only 802.11b(or g?).
    my environment is 11a. ipw_best_network is not currectly.
    ( recieving notification of 11a channel is succesed.)
     
    i am researching this parts...
     
  2. IOLog
     
    if prefix is added , we can see log so good.
    could you change source code following...
     
    add
     
    #define IWI_LOG IOLog("darwin_iwi2200: " __VA_ARGS__)
     
    replace IOLog -> IWI_LOG
     
     
  3. startup and enable.
     
    driver didnt initialize in ::start but initialized in ::getSTATUS_DEV
    Are there the reason?
     
    and every time I type "ifconfig en1 down && ifoconfig en1 up" to begin recieving rx notification and scanning.
     
     
  4. locking and mutex.
     
    There are not mutex or locking (examply in interrupt service routine) and
    locking is removed .
    they is not required?
    ( sorry i dont know deital of darwing kernel system and Mac OS X environment )

[for others]

 

if you cannot start to scan channel, plz restart interface.

anyone can work to ipw_best_network to 11a channel?

Link to comment
Share on other sites

glad to see progress is being made. hate it when people give up, looks like we finally have someone who's sticking to it.

 

thanks :(

 

make sure you add support for 2915 :)

Link to comment
Share on other sites

quote name='jalavoui' date='Jan 9 2007, 06:08 PM' post='271896']

 

[xkazu]

 

you seem to be using the 10.4.8 IO80211Family.kext / Apple80211.framework. they don't work with iwi2200.kext. start from the mac os x intel upgrade 10.4.5 and go to 10.4.7 only.

 

at this point the driver is stucked at the ipw_scan() routine. the linux source goes to deep and i'm having trouble in finding a way to retrieve the scan results and do the ipw_associate().

 

if you have new ideas please help. i'll submit the source code soon

 

 

 

I am reading new source code and have a sevaral question about your implementation .

i dont understand detail of darwin kernel and API .

  1. ipw_associate
     
    your code get inferface address via fnet_get_address_list and
    do cast it to ieee802211_network.
     
    i dont understand why you do it.
    plz teach me the reason.
     
    i seem that your code can get networks for ipw_best_network in only 802.11b(or g?).
    my environment is 11a. ipw_best_network is not currectly.
    ( recieving notification of 11a channel is succesed.)
     
    i am researching this parts...
     
  2. IOLog
     
    if prefix is added , we can see log so good.
    could you change source code following...
     
    add
     
    #define IWI_LOG IOLog("darwin_iwi2200: " __VA_ARGS__)
     
    replace IOLog -> IWI_LOG
     
     
  3. startup and enable.
     
    driver didnt initialize in ::start but initialized in ::getSTATUS_DEV
    Are there the reason?
     
    and every time I type "ifconfig en1 down && ifoconfig en1 up" to begin recieving rx notification and scanning.
     
     
  4. locking and mutex.
     
    There are not mutex or locking (examply in interrupt service routine) and
    locking is removed .
    they is not required?
    ( sorry i dont know deital of darwing kernel system and Mac OS X environment )

[for others]

 

if you cannot start to scan channel, plz restart interface.

anyone can work to ipw_best_network to 11a channel?

Link to comment
Share on other sites

i've been looking at the linux source code for ipw2100-1.2.1

 

i don't have none of these cards but i'd like to help to make the driver.

 

the ipw2100 supports the following cards:

 

#define IPW2100_DEV_ID(x) { PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, x }

static struct pci_device_id ipw2100_pci_id_table[] __devinitdata = {

IPW2100_DEV_ID(0x2520), /* IN 2100A mPCI 3A */

IPW2100_DEV_ID(0x2521), /* IN 2100A mPCI 3B */

IPW2100_DEV_ID(0x2524), /* IN 2100A mPCI 3B */

IPW2100_DEV_ID(0x2525), /* IN 2100A mPCI 3B */

IPW2100_DEV_ID(0x2526), /* IN 2100A mPCI Gen A3 */

IPW2100_DEV_ID(0x2522), /* IN 2100 mPCI 3B */

IPW2100_DEV_ID(0x2523), /* IN 2100 mPCI 3A */

IPW2100_DEV_ID(0x2527), /* IN 2100 mPCI 3B */

IPW2100_DEV_ID(0x2528), /* IN 2100 mPCI 3B */

IPW2100_DEV_ID(0x2529), /* IN 2100 mPCI 3B */

IPW2100_DEV_ID(0x252B), /* IN 2100 mPCI 3A */

IPW2100_DEV_ID(0x252C), /* IN 2100 mPCI 3A */

IPW2100_DEV_ID(0x252D), /* IN 2100 mPCI 3A */

 

IPW2100_DEV_ID(0x2550), /* IB 2100A mPCI 3B */

IPW2100_DEV_ID(0x2551), /* IB 2100 mPCI 3B */

IPW2100_DEV_ID(0x2553), /* IB 2100 mPCI 3B */

IPW2100_DEV_ID(0x2554), /* IB 2100 mPCI 3B */

IPW2100_DEV_ID(0x2555), /* IB 2100 mPCI 3B */

 

IPW2100_DEV_ID(0x2560), /* DE 2100A mPCI 3A */

IPW2100_DEV_ID(0x2562), /* DE 2100A mPCI 3A */

IPW2100_DEV_ID(0x2563), /* DE 2100A mPCI 3A */

IPW2100_DEV_ID(0x2561), /* DE 2100 mPCI 3A */

IPW2100_DEV_ID(0x2565), /* DE 2100 mPCI 3A */

IPW2100_DEV_ID(0x2566), /* DE 2100 mPCI 3A */

IPW2100_DEV_ID(0x2567), /* DE 2100 mPCI 3A */

 

IPW2100_DEV_ID(0x2570), /* GA 2100 mPCI 3B */

 

IPW2100_DEV_ID(0x2580), /* TO 2100A mPCI 3B */

IPW2100_DEV_ID(0x2582), /* TO 2100A mPCI 3B */

IPW2100_DEV_ID(0x2583), /* TO 2100A mPCI 3B */

IPW2100_DEV_ID(0x2581), /* TO 2100 mPCI 3B */

IPW2100_DEV_ID(0x2585), /* TO 2100 mPCI 3B */

IPW2100_DEV_ID(0x2586), /* TO 2100 mPCI 3B */

IPW2100_DEV_ID(0x2587), /* TO 2100 mPCI 3B */

 

IPW2100_DEV_ID(0x2590), /* SO 2100A mPCI 3B */

IPW2100_DEV_ID(0x2592), /* SO 2100A mPCI 3B */

IPW2100_DEV_ID(0x2591), /* SO 2100 mPCI 3B */

IPW2100_DEV_ID(0x2593), /* SO 2100 mPCI 3B */

IPW2100_DEV_ID(0x2596), /* SO 2100 mPCI 3B */

IPW2100_DEV_ID(0x2598), /* SO 2100 mPCI 3B */

 

IPW2100_DEV_ID(0x25A0), /* HP 2100 mPCI 3B */

{0,},

};

Link to comment
Share on other sites

the ipw3945-1.2.0 support the cards:

 

static struct pci_device_id card_ids[] __devinitdata = {

{0x8086, 0x4222, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},

{0x8086, 0x4227, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},

{0}

};

 

 

 

the ipw2200-1.2.1 support:

 

static struct pci_device_id card_ids[] = {

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2701, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2702, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2711, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2712, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2721, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2722, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2731, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2732, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2741, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x103c, 0x2741, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2742, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2751, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2752, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2753, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2754, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2761, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2762, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x104f, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},

{PCI_VENDOR_ID_INTEL, 0x4220, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* BG */

{PCI_VENDOR_ID_INTEL, 0x4221, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* BG */

{PCI_VENDOR_ID_INTEL, 0x4223, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* ABG */

{PCI_VENDOR_ID_INTEL, 0x4224, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* ABG */

 

 

some of the code in iwi2200.kext might work in other drivers (the ipw2110 seems to load the firmware in a similiar way)

Link to comment
Share on other sites

I am reading new source code and have a sevaral question about your implementation .

i dont understand detail of darwin kernel and API .

[*] ipw_associate

 

your code get inferface address via fnet_get_address_list and

do cast it to ieee802211_network.

 

i dont understand why you do it.

plz teach me the reason.

 

the functions used in linux code must be ported to mac os x. in ipw_associate() you have

 

list_for_each_entry(network, &priv->ieee->network_list, list)

ipw_best_network(priv, &match, network, 0);

 

i still haven't find a decent way to do this in mac os x. i'm only testing the macos if_net functions. this is a hard step and i will apreciate any help. [banane] has told me that the cards returned from fnet_get_address_list are valid

 

 

i seem that your code can get networks for ipw_best_network in only 802.11b(or g?).

my environment is 11a. ipw_best_network is not currectly.

( recieving notification of 11a channel is succesed.)

 

i am researching this parts...

 

in ipw_scan() i'm testing ipw_request_direct_scan() and ipw_request_scan_helper() this might be the reason for the bugs you are getting.

i think the ipw_wx_get_scan() will be to hard to port, so i should find some other way. (the previous linux ipw2200 versions don't use this function)

 

[*] IOLog

 

if prefix is added , we can see log so good.

could you change source code following...

 

add

 

#define IWI_LOG IOLog("darwin_iwi2200: " __VA_ARGS__)

 

replace IOLog -> IWI_LOG

 

this is a very good idea. the logs get to confuse without the darwin_iwi2200: ID

 

[*] startup and enable.

 

driver didnt initialize in ::start but initialized in ::getSTATUS_DEV

Are there the reason?

 

this should go away soon. i've used to check if the interface could be set up and don't go away. i'd should be disable to allow ipw_associate() to work

 

and every time I type "ifconfig en1 down && ifoconfig en1 up" to begin recieving rx notification and scanning.

 

i have to force ipw_up() to load only once because of previous firmware bugs and because the IO80211Controller keep turning the interface off. i'll have to change the enable(), disable() and ipw_up() to make ifconfing en1 up/down work correctly. can you help?

 

*] locking and mutex.

 

There are not mutex or locking (examply in interrupt service routine) and

locking is removed .

they is not required?

( sorry i dont know deital of darwing kernel system and Mac OS X environment )

 

i've tried to use them. i get to many bugs, so i'll ignore them for now

 

if you change v4 code, submitt a new v5 of iwi2200.kext. there are lots of peple willing to test new versions

Link to comment
Share on other sites

I hope, this is usefull:

 

About ID-chanege, eprom write...

 

http://forums1.itrc.hp.com/service/forums/...571009+28353475

 

 

I have a solution thanks to whiteheat and druid cz from x1000 forums that allows you to use any Intel Pro Wireless 2200BG card inside your HP laptop.

 

Before, I received the error 104: unsupported wireless card, now my NC8000 laptop will boot perfectly. Now you can buy your card for < £25.00 instead of HP's £60 + vat + p&p.

 

First off if you don't have linux installed you will need to go to www.knoppix.org and download KNOPPIX_V3.8.2-2005-05-05-EN.iso, then burn the cd

 

You need to have the card install during the boot sequence so, have your laptop open and bootup, when you see the boot:_ line insert the card then press enter. Knoppix will autodetect the card & the bios wont complain.

 

Once knoppix has booted:

 

Click on the penguin on the taskbar and select "Root Shell", then the following command (from now on any line that begins with a # is a command to be typed at the Root prompt:

#iwconfig

You will get a list of ethernet adapters, eth0, eth1 etc. The wireless one should be quite obvious from the text displayed after it with all the wireless parameters!

#ethtool -e ethX

Obviously replace the 'X' with the index of your wireless card you found above.

You will get a hex dump of the 256 bytes of EEPROM data.

Note: There is nothing dangerous in the above steps at all.

 

If you want to writing to your EEPROM (You can seriously screw your card up so be careful ):

 

#mkdir /usr/tmp

#cd /usr/tmp

#wget http://www.geocities.com/sonyirclib/ipw2200.tar.gz

 

N.B. This file has already been patched to allow writing to the eeprom

 

#tar xvzf ipw2200.tar.gz

#cd ipw2200-1.0.3

#sh unload

#sh load

 

Now all that you need to do is write to the eeprom. If your card is from Europe:

 

#ethtool -E eth0 magic 0x2200 offset 0x8 value 0xf6

#ethtool -E eth0 magic 0x2200 offset 0x9 value 0x12

#ethtool -E eth0 magic 0x2200 offset 0xa value 0x3c

#ethtool -E eth0 magic 0x2200 offset 0xb value 0x10

 

If it is from the US:

 

ethtool -E eth0 magic 0x2200 offset 0x8 value 0xf5

ethtool -E eth0 magic 0x2200 offset 0x9 value 0x12

ethtool -E eth0 magic 0x2200 offset 0xa value 0x3c

ethtool -E eth0 magic 0x2200 offset 0xb value 0x10

 

N.B. the -E must be uppercase for writing to work.

 

Now reboot your computer and you should no longer get the error 104...!

 

For more details see: http://www.x1000forums.com/index.php?showtopic=8737

 

Regards

Link to comment
Share on other sites

Javaloui,I began to write code to handle IWI_HDR_TYPE_FRAME in RxQueueIntr.

but this is not for handling data_packet.

 

i found if ipw_associate ( and list for ipw_best_network ) dont work fine in

because ipw_handle_mgmt_packet dont be called.

 

i will define ipw_handle_mgmt_packet method and paste code of ieee80211_rx_frame_mgmt into it .

 

 

do you have problem about it?

Link to comment
Share on other sites

Javaloui,I began to write code to handle IWI_HDR_TYPE_FRAME in RxQueueIntr.

but this is not for handling data_packet.

 

i found if ipw_associate ( and list for ipw_best_network ) dont work fine in

because ipw_handle_mgmt_packet dont be called.

 

i will define ipw_handle_mgmt_packet method and paste code of ieee80211_rx_frame_mgmt into it .

 

 

that's ok for me. i think the implementation of IWI_HDR_TYPE_FRAME in RxQueueIntr() will help

 

i've tested today the ifnet_get_address_list on an unprotected network. and get no results. this function seems to get the mac-addresses of attached networks, but doesn't get the mac-addresses list that should return from ipw_scan(). i've done a test that ignores ipw_associate_network() and ipw_best_network() and uses kpi_interface.h functions. i'm uploading the source code - check the p_mode=1 (IBSS) first.

iwi2200_diff_source.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...