Andy Vandijck
Nov 8 2008, 08:27 PM
Click to view attachment Just like the title says, an improved version of the PCI Family controller.
Compiled version is compiled specifically for Leopard, but can be compiled for Tiger too.
Enjoy.
Edit: Another new release, working fine now.
thanks go to: Slice, for that diff, I've used it and done some of my own patches along side.
The problem was my using snprintf with incorrect length.
using sprintf now instead.
Even though deprecated on Leopard, I've found this to work.
It will remain that way untill somebody figures out a way to use snprintf...
Update: New version for Mac OS X 10.5.6...
snackole
Nov 8 2008, 10:51 PM
This broke my wireless card.
mitch_de
Nov 8 2008, 10:55 PM
Hi, i tested it with my C2D, GA-EP-35-DS3 system, OS X 10.5.5, ATI HD3850 (QE/CI)
Worked (no KP

)
I can see only
one difference (to orig. 10.5.5 Apple IOPCI.... )
The Information about some of the
Monitor(QE/CI) Details in the
systemprofiler is
lost - normaly show below the other gpu information.
Means: No more details about QE/CI/Moni ... shown - but QE/CI works as before.
THANKS for beta tests !
Mad Dogg
Nov 9 2008, 04:24 AM
If somebody can provide binary build I'll be glad to test it
Thanks
mitch_de
Nov 9 2008, 07:27 AM
QUOTE (Mad Dogg @ Nov 9 2008, 05:24 AM)

If somebody can provide binary build I'll be glad to test it
Thanks
There is an build of that .kext in that dowbload.
Lot of folders , look for an
build folder, search there below the IO....kext.
Install it with kexthelper tool (rights/owners must be OK!).
mitch_de
Nov 9 2008, 07:25 PM
Hi, Andy Vandijck, can you check whats going wrong ?
Slice
Nov 9 2008, 09:42 PM
He is a diff between my sources and you. Good luck!
If anyone have a problem try
my version.
Andy Vandijck
Nov 10 2008, 09:29 AM
QUOTE (Slice @ Nov 9 2008, 10:42 PM)

He is a diff between my sources and you. Good luck!
If anyone have a problem try
my version.
Thanks Slice, I will check it out later, try to fix some errors too...
mitch_de
Nov 10 2008, 12:35 PM
QUOTE (Slice @ Nov 9 2008, 10:42 PM)

He is a diff between my sources and you. Good luck!
If anyone have a problem try
my version.
YEAH
The bug (in Andy Vandijck ones) , systemprofiler lost monitor / QE/CI values is
fixed !
Compare my screenshoot with the last one (some posts above).
Andy Vandijck
Nov 10 2008, 07:32 PM
So people, test this for me now please.
To Slice: I think you might be interested in the changes in the controller.
If you figure out a way to use snprintf, please let me know...
mitch_de
Nov 10 2008, 08:24 PM
QUOTE (Andy Vandijck @ Nov 10 2008, 08:32 PM)

So people, test this for me now please.
WHAT to test please ?
Do you have an new version / new DL link ?(i had the bug with displaying not the monitor values in systemprofiler)
Thanks
Andy Vandijck
Nov 10 2008, 08:34 PM
QUOTE (mitch_de @ Nov 10 2008, 09:24 PM)

WHAT to test please ?
Do you have an new version / new DL link ?(i had the bug with displaying not the monitor values in systemprofiler)
Thanks
yes I've had a new version.
Primary post got edited.
All should be fine now.
hoihtah
Nov 13 2008, 11:49 PM
Please excuse my newbness...
but how do i go about installing this after I download?
I have 10.5.5 (ideneb) installed on my laptop
Andy Vandijck
Nov 14 2008, 12:39 AM
QUOTE (hoihtah @ Nov 14 2008, 12:49 AM)

Please excuse my newbness...
but how do i go about installing this after I download?
I have 10.5.5 (ideneb) installed on my laptop
---- script file ----
#! /bin/bash
#
KEXTPATH=/The/Path/To/Kext
sudo mkdir /Extbackup
sudo mv /System/Library/Extensions/IOPCIFamily.kext /Extbackup/
sudo cp -Rf $KEXTPATH/IOPCIFamily.kext /System/Library/Extensions/
sudo chmod -R 755 /System/Library/Extensions/IOPCIFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOPCIFamily.kext
sudo rm -Rf /System/Library/Extensions.mkext
sudo touch /System/Library/Extensions
sudo sync
sudo reboot
---- Till here ----
hoihtah
Nov 14 2008, 10:29 PM
QUOTE (Andy Vandijck @ Nov 13 2008, 08:39 PM)

---- script file ----
#! /bin/bash
#
KEXTPATH=/The/Path/To/Kext
sudo mkdir /Extbackup
sudo mv /System/Library/Extensions/IOPCIFamily.kext /Extbackup/
sudo cp -Rf $KEXTPATH/IOPCIFamily.kext /System/Library/Extensions/
sudo chmod -R 755 /System/Library/Extensions/IOPCIFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOPCIFamily.kext
sudo rm -Rf /System/Library/Extensions.mkext
sudo touch /System/Library/Extensions
sudo sync
sudo reboot
---- Till here ----
Thanks Andy for your reply.
But again, please excuse my newbness here.
Could you explain the steps a bit more in detail?
Do I need to create a script and run it?
What is "KEXTPATH=/The/Path/To/Kext"?
When I extract the file that I downloaded, it gives me bunch of files and folders but none seems to have .kext extension.
I'm a bit lost here.
I'd appreciate any help you could throw at my way.
sama7896
Nov 14 2008, 11:42 PM
QUOTE
Could you explain the steps a bit more in detail?
drag and drop kext in kexthelper insert password and hit install .. what's not clear about it ? The kext is located inside build/deployment
Anyway, installed it too and i see no difference... What exactly is it supposed to fix ?
hoihtah
Nov 15 2008, 12:58 AM
QUOTE (sama7896 @ Nov 14 2008, 07:42 PM)

drag and drop kext in kexthelper insert password and hit install .. what's not clear about it ? The kext is located inside build/deployment
Anyway, installed it too and i see no difference... What exactly is it supposed to fix ?
thanks sama.
i installed it and am wondering the same thing now. what does it fix?
Slice
Nov 15 2008, 06:02 PM
QUOTE (Andy Vandijck @ Nov 10 2008, 10:32 PM)

To Slice: I think you might be interested in the changes in the controller.
If you figure out a way to use snprintf, please let me know...
Glad to cooperate with you. About snprintf I didn't understand the question. Sorry?
QUOTE (sama7896 @ Nov 15 2008, 02:42 AM)

Anyway, installed it too and i see no difference... What exactly is it supposed to fix ?
QUOTE (hoihtah @ Nov 15 2008, 03:58 AM)

i installed it and am wondering the same thing now. what does it fix?
The primary purpose of the fix is to make CardBus working (PCMCI). The same purpose as Chun-Nan's kext. But Chun-Nan used quite another method then I and Andy. I am not agree with him but sometimes his kext works too.
Another effect of this kext is system speed improvement. Why? Because of more correct interrupt chain.
Andy Vandijck
Nov 17 2008, 05:08 PM
QUOTE (Slice @ Nov 15 2008, 07:02 PM)

Glad to cooperate with you. About snprintf I didn't understand the question. Sorry?
The primary purpose of the fix is to make CardBus working (PCMCI). The same purpose as Chun-Nan's kext. But Chun-Nan used quite another method then I and Andy. I am not agree with him but sometimes his kext works too.
Another effect of this kext is system speed improvement. Why? Because of more correct interrupt chain.
I see, thx for the info.
about snprintf -> instead of sprintf, sprintf is deprecated on Leopard and snprintf works in general a bit better.
mitch_de
Nov 18 2008, 09:25 AM
QUOTE (Slice @ Nov 15 2008, 07:02 PM)

I am not agree with him but sometimes his kext works too.
Another effect of this kext is system speed improvement. Why? Because of more correct interrupt chain.
Hi, do you mean that more theoretical or do you have some experience with CPU/Memory Benches, SATA HD
Transferspeedup or PCI-e Transferspeedup (CPU>GPU-VRAM Transferspeed) ?
Also i read somewhere here that there are some bootproblems (i dont know if DFE/Boot132 Mode only problem) using AV IOPCI.kext.
THANKS, ist very interesting getting background infos (why, what, how) here !!!
Slice
Nov 18 2008, 01:09 PM
QUOTE (Andy Vandijck @ Nov 17 2008, 08:08 PM)

about snprintf -> instead of sprintf, sprintf is deprecated on Leopard and snprintf works in general a bit better.
OK! Now I read that it is new function since c99 a bit safely. Did you correct the whole project for the function?
QUOTE (mitch_de @ Nov 18 2008, 12:25 PM)

Hi, do you mean that more theoretical or do you have some experience with CPU/Memory Benches, SATA HD
Transferspeedup or PCI-e Transferspeedup (CPU>GPU-VRAM Transferspeed) ?
Also i read somewhere here that there are some bootproblems (i dont know if DFE/Boot132 Mode only problem) using AV IOPCI.kext.
THANKS, ist very interesting getting background infos (why, what, how) here !!!

I saw improvements in OpenMark when I move mouse over OpenGL screen.
Boot problem is usual problem if user didn't clear kexts cache. In case of IOPCIFamily, IOACPIFamily or AppleACPIPlatform it leads to kernel panic.
Slice
Nov 20 2008, 11:54 AM
If you have
CODE
sprintf(s, "comment %d", val)
you can rewrite as follows
CODE
snprintf(s, sizeof(s), "comment %d", val)
Regards!
Andy Vandijck
Nov 22 2008, 09:29 AM
QUOTE (Slice @ Nov 20 2008, 12:54 PM)

If you have
CODE
sprintf(s, "comment %d", val)
you can rewrite as follows
CODE
snprintf(s, sizeof(s), "comment %d", val)
Regards!
Thanks a lot Slice, I've been looking for something like that a long time.
I was trying something a lot more complicated.
Thanks again for this simple solution, I'll try it.
mitch_de
Nov 23 2008, 07:01 AM
QUOTE (Andy Vandijck @ Nov 22 2008, 10:29 AM)

Thanks a lot Slice, I've been looking for something like that a long time.
I was trying something a lot more complicated.
Thanks again for this simple solution, I'll try it.
Would that give an new build of this .kext or it is more for future (new) great work of you ?
Slice
Nov 25 2008, 07:50 AM
QUOTE (mitch_de @ Nov 23 2008, 10:01 AM)

Would that give an new build of this .kext or it is more for future (new) great work of you ?
It is for future. Do you have some problems?
mitch_de
Nov 25 2008, 01:16 PM
QUOTE (Slice @ Nov 25 2008, 08:50 AM)

It is for future. Do you have some problems?
No lastest .kext works without any problems (OK, i have desktop pc, not the problematic pc-card usage).
C2D, GA-EP35.
aliasa_anderson
Dec 21 2008, 07:09 AM
Slice and Andy,
Why is it that osx is not able to scan hardware devices on PCI bus even though the devices are attached to
it and even working.
For e.g.- the system profiler does not showany "PCI devices" even though ioreg show they are[PCI2PCIBridge]
Currently I use the method described here to get the PCI devices displayed in system profiler:
http://forum.insanelymac.com/lofiversion/i...hp/t134842.htmlDoes this have anything to do with the IOPCIFamily kext ? or SMBIOS kext.
I also noted another kext in 10.5.6 "SMBUSPCI" can that be used in this scenario ?
Andy Vandijck
Dec 26 2008, 07:00 PM
Did anybody try my new IOPCIFamily driver?
I've tested it and I'm very pleased with the Mac OS X 10.5.6 version.
Works great as far as I know.
Right now it also uses that snprintf function right...
Enjoy...
mitch_de
Dec 26 2008, 07:36 PM
I will sure try this tonight and report you back the results !
Thanks for always updating your code !
kizwan
Dec 27 2008, 07:16 AM
QUOTE (Slice @ Nov 16 2008, 02:02 AM)

Glad to cooperate with you. About snprintf I didn't understand the question. Sorry?
The primary purpose of the fix is to make CardBus working (PCMCI). The same purpose as Chun-Nan's kext. But Chun-Nan used quite another method then I and Andy. I am not agree with him but sometimes his kext works too.
Another effect of this kext is system speed improvement. Why? Because of more correct interrupt chain.
Hi Slice,
If it is possible, can you explain a bit more what is the difference (method) between you & Chun-Nan? I just like to learn.

Hi Andy,
Great works. Did not try your version yet, right now I'm using Chun-Nan's kext. Which file do I need to compare if I want to compare between Chun-Nan's source code & yours?
kizwan
Slice
Dec 27 2008, 07:30 AM
QUOTE (kizwan @ Dec 27 2008, 10:16 AM)

Hi Slice,
If it is possible, can you explain a bit more what is the difference (method) between you & Chun-Nan? I just like to learn.

One word.
I made bus renumeration according previous Apple's method only for yenta-bridges while Chun-Nan makes entire renumerations of PCI bus AFAIK. Not sure I am right because I saw only first his versions. AnV is exactly the same as me.
p_noch
Dec 27 2008, 11:20 AM
AnV thanks for your works
but newest release break my AirPort Extreme (0x14E4, 0x88)
so i'm going back to chun-nan 10.5.6
Thanks anyway
mitch_de
Dec 27 2008, 02:47 PM
Hi ANDY !
Question:
I didnt get AppleHPET.kext loaded by the system, but loaded manual by kextload.
kextstat didnt show AppleHPET.kext in the load list.
HPET device is enabled and also seen in dsdt.txt
It is not seen by IORegistryExploerer - i am 100% sure it was there past weeks.
What does make this registry tree (IORgeisterExplorer shows).
In the last week i installed:
Chameleon + dsdt and Apple ID patch bootloader ( i only used the boot copied in /, rest like boot0 is chameleon V 11)
IOPCIFamily AnV
AppleSMBios V1.1.1 AnV
Does on of them perhaps disable HPET (maybe some users have problems with) ?
Which of them could be a problem to register my HPET in OS X (i had that with 10.5.5)
The 10.5.6 AppleHPET.kext can be loaded with success by kextload, so i think its not an problem of the .kext.
I dont have an disabler.kext.
Thanks
clemsyn
Dec 27 2008, 04:04 PM
How do you install this? I can't find a kext file. Please advise a n00b...oopps never mind, found it
mitch_de
Dec 27 2008, 09:43 PM
QUOTE (clemsyn @ Dec 27 2008, 05:04 PM)

How do you install this? I can't find a kext file. Please advise a n00b.
Mostly all DLs of AnV have some folder structure. You must go down the folders to find the .kext !
look at screenshoot.
I recommend to use an kext install helper or OSXTools to install third party .kext - better for setting rights ok.
clemsyn
Dec 29 2008, 03:23 AM
looks like it also broke my builtin wireless.
looks like it also broke my builtin wireless.
sdonner
Jan 4 2009, 10:11 AM
QUOTE (Slice @ Nov 9 2008, 09:42 PM)

He is a diff between my sources and you. Good luck!
If anyone have a problem try
my version.
hey. I tried your IOPCIFamily.kext included in iPC's 10.5.6 installer but always get the same error.
(tried a ton of different combinations of kexts, with and without pcmcia adapter etc...)
any idea how to fix that?
here my system specs:
Gigabyte GA-P35-DS3 (Rev2) - P35 + ICH9
Q6600, 4GB Ram, 8600GT, PCMCIA Card with Ricoh chip
500GB SATA HDD and SATA DVD connected to ICH9 south bridge
djmastera2000
Jan 6 2009, 10:39 AM
Sorry, but this broke my internal wireless too, and no cardbus

I have vanilla install
Andy Vandijck
Jan 10 2009, 10:21 AM
QUOTE (sdonner @ Jan 4 2009, 11:11 AM)

hey. I tried your IOPCIFamily.kext included in iPC's 10.5.6 installer but always get the same error.
(tried a ton of different combinations of kexts, with and without pcmcia adapter etc...)
any idea how to fix that?
here my system specs:
Gigabyte GA-P35-DS3 (Rev2) - P35 + ICH9
Q6600, 4GB Ram, 8600GT, PCMCIA Card with Ricoh chip
500GB SATA HDD and SATA DVD connected to ICH9 south bridge
I know exactly why this happens.
First move the original IOPCIFamily.kext to /Backup/ or something.
Make sure there isn't one left under /System/Library/Extensions.
Then install the .kext.
Otherwise it will make them duplicate...
This causes them both to load apparently and then neither work.
sdonner
Jan 10 2009, 04:30 PM
just tried that. didn't change anything, sry.
SLV
Jan 12 2009, 01:24 PM
sdonner
I had the same problem. Try booting with -f -v flags. That worked for me.
throttlemeister
Jan 20 2009, 05:58 AM
I have a similar problem as sdonner. I am running 10.5.5, and I need a different IOPCIfamily to detect my wireless. However, most of the time it just stops loading. Using AnV's kext it boots, but it still don't detect my card. Very annoying, and I really need wireless working or I might as well forget about OSX all together.
System is a Acer TravelMate 7730G, C2D, PM45 chipset, 4GB RAM. Wireless is a BCM4328.
Any suggestions here? I am not getting anywhere with Chan Nun's kexts

(detect, hang during boot)
Andy Vandijck
Jan 20 2009, 10:14 PM
QUOTE (throttlemeister @ Jan 20 2009, 06:58 AM)

I have a similar problem as sdonner. I am running 10.5.5, and I need a different IOPCIfamily to detect my wireless. However, most of the time it just stops loading. Using AnV's kext it boots, but it still don't detect my card. Very annoying, and I really need wireless working or I might as well forget about OSX all together.
System is a Acer TravelMate 7730G, C2D, PM45 chipset, 4GB RAM. Wireless is a BCM4328.
Any suggestions here? I am not getting anywhere with Chan Nun's kexts

(detect, hang during boot)
Could you upload me your wireless driver .kext zipped?
I'll look into this...
throttlemeister
Jan 21 2009, 06:50 AM
Andy, I used the standard Broadcom Airport driver as it is contained in the IO80211Family.kext from OSX 10.5.5. You need me to send that? Can do that tonight if you want.
Last night I tried intstalling iPC 10.5.6, but that won't boot at all after install, hangs at the same place. With or without modified IOPCIFamily.kext as per install options.
Andy Vandijck
Jan 21 2009, 09:34 AM
QUOTE (throttlemeister @ Jan 21 2009, 07:50 AM)

Andy, I used the standard Broadcom Airport driver as it is contained in the IO80211Family.kext from OSX 10.5.5. You need me to send that? Can do that tonight if you want.
Last night I tried intstalling iPC 10.5.6, but that won't boot at all after install, hangs at the same place. With or without modified IOPCIFamily.kext as per install options.
If you boot with -v boot argument what does the kernel throw at you?
If it doesn't boot it probably shows a xnu kernel dump.
I would like an image of that dump if possible.
I'll help if I can so...
throttlemeister
Jan 21 2009, 01:12 PM
It just stops... no error.
See
http://www.sport-touring.eu/images/090118-img_0900.JPGThis (picture) was using Chan Nun's kext btw. Using yours, it boots but doesn't detect the card either.
macita
Jan 21 2009, 05:32 PM
same here using the Travelmate 6410 , iv back to vanilla 10.5.6 kext but nothing to do ...wireless (dell 1390) wont back to work!
FIXED with the 254 rel that iv found in SLICE signature
download it here:
http://forum.insanelymac.com/index.php?act...st&id=40552
throttlemeister
Jan 22 2009, 07:47 AM
iPC 10.5.6 will do this (hang at boot) regardless of what choices I make during install. Can't even get it to boot the first time. I had already seen the 254, but unfortunately on my system with 10.5.5 this will cause a kernel panic in the broadcom driver.
Anyway, I am now typing this on OSX using a USB ethernet adapter (wee!), and later this week I should get both an Apple branded Dell 1505 card (different broadcom chip as the 4328) and a Apple branded Atheros AR5 card. Hopefully I can get one of these working with a different driver, but this is getting a real pain in the butt.
But at least I can do something with USB wifi.
djfirefox
Feb 17 2009, 05:49 PM
Hi guys, I used slices pcifamily kext provided in this post, it gives me firewire but not card bus here is what i found on startup
IOPCI2PCIBridge: cardbus memory range 524288 bytes @ 0xd2102000
IOPCI2PCIBridge: cardbus I/O range 4096 bytes at 0x00004000
Couldn't alloc class "EHCISleepEnabler"
IOPCCardBridge::getOFConfigurationSettings: failed to configure the machine
FireWire (OHCI) VendorID 1106 ID 3044 PCI now active, GUID 00023f699340036c; max speed s400.
any ideas folks
Wils
Feb 23 2009, 05:14 AM
My PCI wireless card doesn't work with this kext. It is not detected.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.