Jump to content

Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn


jalavoui
 Share

3,411 posts in this topic

Recommended Posts

Hey, yeah will be nice when 3945 is done, but any idea about IntelPro 1000 PL (cabled built one) for my Acer 9810 lappy ?rab :D)again :)sorry wrong card have too many of them here, Marvel Yukon88E8055 PCI it was.

Link to comment
Share on other sites

Can I ask a really stupid question today? Not that I am actually stupid, However dumb this question is. It seems to me that the code you seek first off, is not in linux. It is however a Bsd as in FreeBsd background. Second has anyone looked at the old kexts, or patches for FreeBsd (Unix), and tried to add them into the static list of the new kexts that have airport drivers, and add the line to the static area within the new format of the 10.5.1+ kext. Then rebuild the kexts (compile). I have been used to patching this way in FreeBsd since 94. And also did that for a few things i will not mention here in 10.4.4 on up. Just a thought. Probably a stupid thought, but nevertheless a thought to think about. Anyways

I have a xps m170 with intel pro 2915. I will give a hand in testing and rebuilding the kext from scratch if needed. But i will first try the patch method first. I just installed 10.5.2 (from intel combo update) today. I will try it out within a few days. Thanks for the time in reading this.

Best of luck to all, I will report back in a few. Until then If someone can get Get the FReebsd patch for 2915 or higher. If you can not find them let me know i will look for them. But i rather focus on testing on 10.5.2. I can devote 10 hours a day for the next few weeks on this. As i am on a holiday.

Link to comment
Share on other sites

hello,

I'm french and I've succeded to install mac os X on my dell vostro 1700 thanks to this forum!

Actually, I've a 4965agn on my laptop and I have any idea how to install the driver for it in mac os x.

 

Could you explain me step by step how to do please because I don't understand exactly what are kext etc...

 

Thank you

Link to comment
Share on other sites

Hi all!

 

It's for saying that the developement of the driver is NOT stopped at all ,

I corrected the error when the driver send a command, but it has a KP,

I will corrected that tomorow(I will have a day off and the week end is coming ;D ).

 

For proof I give you my current version ,

I you have time , can you post photo with the log of the driver (when you are lauching the driver , in an other terminal start a command "dmesg" ), that will help me .

 

Bye.

 

 

EDIT: Some explication about the 4965 for Yeye.

 

Salut Yeye ,

 

Alors bienvenue sur le topic , donc je vais essayer d'expliquer la situation , le driver pour 4965 n'existe pas encore dans

sa version stable .

Mais avec les avancements sur le driver 3945 ,normalement le driver pour ta carte devrait arrivait bientôt , je n'ai pas la date , ni l'heure biensur.

 

à bientôt

iwi3945_loadable.kext.zip

Link to comment
Share on other sites

will it ever be possible for the 2200 to be detected as an airport?? Or will we always have to use it as nsGUI??

 

Yes that's possible , but I can't do that because I don't have an 2200 card and at this moment we don't know how to

show the scan result.

 

But maybe when the 3945 will be finshed , I going to start this.

 

:D

Link to comment
Share on other sites

Yes that's possible , but I can't to that because I don't have an 2200 card and at this moment we don't know how to

show the scan result.

 

But maybe when the 3945 will be finshed , I going to start this.

 

:)

 

Thx for a fast and straight answer!!

Link to comment
Share on other sites

Hi ,

This new version has no more KP , and seems to be fine .

 

Now the card is waiting for scan , associating ,... I will start this now.

The Powersave seems to work ( that fine ).

 

I need your help :

 

I have a problem with IOMallocContiguous (DMAallocMemory doesn't work too), so the driver is working 50% of the time .

It's a surprise , surprise XD.

 

For instance (Bad lauch):

 

 error iwl3945: U iwl3945_enqueue_hcmd Sending command POWER_TABLE_CMD (#77), seq: 0x0400, 36 bytes at 0[0]:4
Wait POWER_TABLE_CMD Condition: 0ms left
error iwl3945: Error sending POWER_TABLE_CMD: time out after 50ms.

 

 

Can you post your log of the new driver ?

 

Thank's and Bye !

iwi3945_loadable.kext.zip

Link to comment
Share on other sites

Test under 10.4.11

 

Greyjuice:/ root# kextload iwi3945-loadable.kext/

kextload: cannot resolve dependencies for kernel extension iwi3945-loadable.kext/

Greyjuice:/ root# uname -a

Darwin Greyjuice.local 8.10.1 Darwin Kernel Version 8.10.1: Thu Nov 1 16:59:12 SCT 2007; Made by ToH:xnu-792.22.5/BUILD/obj/RELEASE_I386 i386 i386

Greyjuice:/ root#

 

It looks like Tiger users will have to migrate to 10.5...

Link to comment
Share on other sites

log from new iwi3945 -- test system: leopard 10.5.2

 

U iwl3945_irq_tasklet TASKLET : inta 0x80000008, enabled 0x00000000, fh 0x00010000
error iwl3945: U iwl3945_rx_reply_alive Alive ucode status 0x00000001 revision 0x1 0x0
error iwl3945: U iwl3945_rx_reply_alive Runtime Alive received.
error iwl3945: U iwl3945_irq_tasklet TASKLET : inta 0x00000001, enabled 0x00000000, fh 0x00000000
error iwl3945: U iwl3945_irq_tasklet Alive interrupt
__ IN iwl3945_alive_start __
error iwl3945: U iwl3945_alive_start Runtime Alive received.
error iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 900
error iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 2668
error iwl3945: U iwl3945_verify_inst_sparse ucode inst image size is 80524
error iwl3945: U iwl3945_verify_ucode Runtime uCode is good in inst SRAM
error iwl3945: U iwl3945_alive_start RFKILL status: 0x1
error iwl3945: U iwl3945_init_channel_map Initializing regulatory info from EEPROM
error iwl3945: U iwl3945_init_channel_map Parsing data for 56 channels.
IOPCCard info:   iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
error iwl3945: U iwl3945_update_power_cmd Flags value = 0x00000008
error iwl3945: U iwl3945_update_power_cmd Tx timeout = 0
error iwl3945: U iwl3945_update_power_cmd Rx timeout = 0
error iwl3945: U iwl3945_update_power_cmd Sleep interval vector = { 0 , 0 , 0 , 0 , 0 }
error iwl3945: U iwl3945_enqueue_hcmd Sending command POWER_TABLE_CMD (#77), seq: 0x0400, 36 bytes at 0[0]:4
error iwl3945: U iwl3945_irq_tasklet TASKLET : inta 0x82000008, enabled 0x00000000, fh 0x00010000
error iwl3945: Microcode SW error detected.  Restarting 0x82000008.
error iwl3945: Start IWL Error Log Dump:
error iwl3945: Status: 0x00010132, Config: 00000000 count: 1
error iwl3945: Desc	   Time	   asrtPC  blink2 ilink1  nmiPC   Line
error iwl3945: SYSASSERT	 (#5) 0000013316 0x0089A 0x00FE0 0x00304 0x00000 57

error iwl3945: Start IWL Event Log Dump: display count 8, wraps 0
error iwl3945: 0000000000	0x000000d5	0117
error iwl3945: 0000000000	0x000000be	0118
error iwl3945: 0000002108	0x00000000	0651
error iwl3945: 0000002129	0xffffff23	0454
error iwl3945: 0000002130	0x00000000	0472
error iwl3945: 0000002151	0x000000c5	0104
error iwl3945: 0000013315	0x00003ffd	0401
error iwl3945: 0000013318	0x00000100	0125
error iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG:
error iwl3945: U iwl3945_print_rx_config_cmd u16 channel: 0x0
error iwl3945: U iwl3945_print_rx_config_cmd u32 flags: 0x00000000
error iwl3945: U iwl3945_print_rx_config_cmd u32 filter_flags: 0x00000000
error iwl3945: U iwl3945_print_rx_config_cmd u8 dev_type: 0x0
error iwl3945: U iwl3945_print_rx_config_cmd u8 ofdm_basic_rates: 0x00
error iwl3945: U iwl3945_print_rx_config_cmd u8 cck_basic_rates: 0x00
error iwl3945: U iwl3945_print_rx_config_cmd u8[6] node_addr: 00:00:00:00:00:00
error iwl3945: U iwl3945_print_rx_config_cmd u8[6] bssid_addr: 00:00:00:00:00:00
error iwl3945: U iwl3945_print_rx_config_cmd u16 assoc_id: 0x0
error iwl3945: U iwl3945_irq_handle_error Restarting adapter due to uCode error.
error iwl3945: Error Reply type 0xerror iwl3945: 00000000 cmd UNKNOWN (0xFD) seq 0x0000 ser 0x000000FD
U __iwl3945_down iwl3945 is going down
Wait POWER_TABLE_CMD Condition: 49ms left
error iwl3945: U iwl3945_send_cmd_sync Command POWER_TABLE_CMD failed: FW Error
error iwl3945: U iwl3945_enqueue_hcmd Sending command REPLY_BT_CONFIG (#9b), seq: 0x0401, 16 bytes at 1[1]:4
Wait REPLY_BT_CONFIG Condition: 0ms left
error iwl3945: Error sending REPLY_BT_CONFIG: time out after 50ms.
error iwl3945: U iwl3945_alive_start ALIVE processing complete.
__ OUT iwl3945_alive_start __
Wait START_ALIVE Condition: 118ms left
error iwl3945: U iwl3945_mac_open leave
error iwl3945: U iwl3945_mac_add_interface enter: id 3, type 2
error iwl3945: U iwl3945_mac_add_interface Set: 31:32:31:32:31:32
error iwl3945: U iwl3945_mac_add_interface leave
IOPCCard debug:  : Does not support passive scan, disabled
error iwl3945: Can't stop Rx DMA.
error iwl3945: U iwl3945_clear_free_frames 0 frames on pre-allocated heap on clear.
error iwl3945: Failed to get channel info for channel 0 [3]

Link to comment
Share on other sites

It's an error about IOMallocContiguous , and I think therre is no hope to use this (IOMallocContiguous)...

 

We need two 2 segments of memory contiguous with a page-size of 16K but OSX have trouble to alloc a page-size over 4k.

Link to comment
Share on other sites

Hello guys!

I have installed the iwi2200 and now the wireless seems to be detected, but when i "set the power on" on the nsGUY the OS hangs and it's not responding....yuo have experienced this problem?

I have an Acer 5504WXMi laptop.

Thnx!!

Link to comment
Share on other sites

It's an error about IOMallocContiguous , and I think therre is no hope to use this (IOMallocContiguous)...

 

We need two 2 segments of memory contiguous with a page-size of 16K but OSX have trouble to alloc a page-size over 4k.

 

I assume you already read the source for IOMallocContiguous and it may not help much. But it seems page-size is a pre-defined const, what do you mean 16k and 4k here for page-size? Sorry if it's a newbie question.

Link to comment
Share on other sites

It's an error about IOMallocContiguous , and I think therre is no hope to use this (IOMallocContiguous)...

We need two 2 segments of memory contiguous with a page-size of 16K but OSX have trouble to alloc a page-size over 4k.

 

i don't know if you changed pci_alloc_consistent() but you should changed it to:

 

void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size, int pagesize,

dma_addr_t *dma_handle) {

return IOMallocContiguous(size, pagesize, dma_handle);

}

 

and need to change all calls to this function with the right pagesize value otherwise it will never work

 

in iwi2200 i use MemoryDmaAlloc() for firmware memory allocations and IOMallocContiguous() for tx init

take a look and try it in iwi3945

 

maybe this work fine in 10.5 - you need to test it:

//gOSMallocTag = OSMalloc_Tagalloc("insanelymac.iwidarwin.control", OSMT_DEFAULT);// OSMT_PAGEABLE

 

if the iwl3945_send_power_mode() is giving fw errors - remove it. i was unable to use this in iwi2200

 

About posting logs

 

please use this

http://iwidarwin.googlecode.com/files/getlogs3.command.zip

to post logs

 

we need logs for iwi2200 and iwi3945

 

i'd like to help more writing code but my imac just won't let me :)

Link to comment
Share on other sites

I assume you already read the source for IOMallocContiguous and it may not help much. But it seems page-size is a pre-defined const, what do you mean 16k and 4k here for page-size? Sorry if it's a newbie question.

 

In the source , look at the parameter "aligment" , it isn't pre-defined.

 

 

 

MemoryDmaAlloc uses kIOMemoryPhysicallyContiguous and the method member inTaskWithOptions of IOBufferMemoryDescriptor uses IOMallocContiguous.

I'll take a look at OSMalloc_Tagalloc.

 

The question is how can I have 16k of memory with contiguous physical adresse ?

Maybe with DART?

 

Many thank's !!!

 

Herre the log of the new driver when it loads ;)

Good_log.rtf

Link to comment
Share on other sites

This is my log, iwi3945 on 10.5.2:

 

error detected.  Restarting 0x82000008.

error iwl3945: Start IWL Error Log Dump:

error iwl3945: Status: 0x00010132, Config: 00000000 count: 1

error iwl3945: Desc       Time       asrtPC  blink2 ilink1  nmiPC   Line

error iwl3945: SYSASSERT     (#5) 0000013230 0x0089A 0x00FE0 0x00304 0x00000 57


error iwl3945: Start IWL Event Log Dump: display count 8, wraps 0

error iwl3945: 0000000000 0x000000d5 0117

error iwl3945: 0000000000 0x000000be 0118

error iwl3945: 0000002107 0x00000000 0651

error iwl3945: 0000002128 0xffffff5a 0454

error iwl3945: 0000002129 0x00000000 0472

error iwl3945: 0000002150 0x000000c5 0104

error iwl3945: 0000013228 0x00000000 0401

error iwl3945: 0000013231 0x00000100 0125

error iwl3945: U iwl3945_print_rx_config_cmd RX CONFIG:

error iwl3945: U iwl3945_print_rx_config_cmd u16 channel: 0x0

error iwl3945: U iwl3945_print_rx_config_cmd u32 flags: 0x00000000

error iwl3945: U iwl3945_print_rx_config_cmd u32 filter_flags: 0x00000000

error iwl3945: U iwl3945_print_rx_config_cmd u8 dev_type: 0x0

error iwl3945: U iwl3945_print_rx_config_cmd u8 ofdm_basic_rates: 0x00

error iwl3945: U iwl3945_print_rx_config_cmd u8 cck_basic_rates: 0x00

error iwl3945: U iwl3945_print_rx_config_cmd u8[6] node_addr: 00:00:00:00:00:00

error iwl3945: U iwl3945_print_rx_config_cmd u8[6] bssid_addr: 00:00:00:00:00:00

error iwl3945: U iwl3945_print_rx_config_cmd u16 assoc_id: 0x0

error iwl3945: U iwl3945_irq_handle_error Restarting adapter due to uCode error.

error iwl3945: Error Reply teyrror iwl3945: pe 0U x_0000000_iwl3940 cm5_dd owUn NKiwNOWl394N (0x500 is)  goseq 0xin0g down

000 ser 0x00000000

Wait POWER_TABLE_CMD Condition: 49ms left

error iwl3945: U iwl3945_send_cmd_sync Command POWER_TABLE_CMD failed: FW Error

error iwl3945: No space for Tx

error iwl3945: Error sending REPLY_BT_CONFIG: iwl3945_enqueue_hcmd failed: -28

error iwl3945: U iwl3945_alive_start ALIVE processing complete.

__ OUT iwl3945_alive_start __

Wait START_ALIVE Condition: 170ms left

error iwl3945: U iwl3945_mac_open leave

error iwl3945: U iwl3945_mac_add_interface enter: id 3, type 2

error iwl3945: U iwl3945_mac_add_interface Set: 31:32:31:32:31:32

error iwl3945: U iwl3945_mac_add_interface leave

 

hope can be useful

Link to comment
Share on other sites

My logs from a Samsung Q45 laptop. Hope I've done this right. I'm a complete newcomer to OS X.

 

Thanks for all the hard work :thumbsup_anim:

 

Incidentally, my hangs on the first occurrence of the line containing mDNSResponder in the console log unless I boot with the -x safe mode flag. Is this because of the network drivers or some other reason?

dmesg.txt

ioreg.txt

system.txt

Link to comment
Share on other sites

i Have never made logs before... after i do this:

 

open Terminal

% sudo -s

% cd ~/Desktop

% dmesg > dmesg.txt

% cat /var/log/system.log > system.txt

% ioreg -w 0 > ioreg.txt

 

Now you have 3 log files; dmesg.txt, system.txt and ioreg.txt you can find them on the desktop

 

and i have the 3 log files on my desktop, do i just post them or do i have to do something else??

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...