Help - Search - Members - Calendar
Full Version: Cardbus/PCMCIA Controller ID 104C:8039 Texas Instruments PCIxx12
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Other Peripheral Devices
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
solu
UPDATE: 1.6.4 of this kext (which belongs to Darwin 9/Leopard) already contains references to the xx12 chip, so it probably has been updated to include xx12 support "out of the box". See for yourself:
CODE
strings /System/Library/Extensions/IOPCCardFamily.kext/Contents/MacOS/IOPCCardFamily | grep XX
TI XX12

So the method below is probably outdated now. Simply editing the plist should be sufficient (use the computer name from the 2nd line of ioreg).

Here is a driver patching method for the Cardbus/PCMCIA Controller ID 104C:8039 Texas Instruments PCIxx12 for Darwin.

For Source Code and License, please see
http://darwinsource.opendarwin.org/Current...CCardFamily-45/

If you like this driver, please consider making a donation to a charitable organization.

How to use?
  • Backup your original IOPCCardFamily driver
  • Replace your IOPCCardFamily driver with the attached one that contains all necessary modifications
  • Reboot
  • As root, type "dmesg | grep PC"; you should see something about TI xx12 being found
How was it done?

In a nutshell:

First, identified the card under Linux (the same information can also be found in the Windows device manager)

0000:02:06.0 CardBus bridge: Texas Instruments: Unknown device 8039
Flags: bus master, medium devsel, latency 168, IRQ 201
Memory at f4200000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 40000000-41fff000 (prefetchable)
Memory window 1: 42000000-43fff000
I/O window 0: 00005000-000050ff
I/O window 1: 00005400-000054ff
16-bit legacy interface ports at 0001


Second, entered the correct values for I/O window and the Memory window into Info.plist using a plist editor (the values are Base64 encoded in the file, so a text editor is not sufficient)

Third, repaced the name of a similar TI bridge ("TI 7610"/ID "AC48" in this example) with "xx12" so that it is correctly recognized:
CODE
perl -pi -e 's|TI 7610|TI xx12|g' IOPCCardFamily


Fourth (important): Used a hex editor to edit the device ID into the binary driver. Important: device ID "8039" becomes hex "3980". In the following example, ID "AC48" will be replaced with "8039":
CODE
perl -pi -e 's|\x48\xAC\x00\x00|\x39\x80\x00\x00|g' IOPCCardFamily


Afterwards, your Cardbus slot should be working in Darwin, you should see a message during verbose boot mentioning your PCMCIA slot.
Ruud
is there a way to make this one work with the PCIxx21 from Texas Instruments as well?

This one is used in an acer 5024 series and i saw that more people are looking for this because ther built in wireless doenst work and want to use the cardbus for a wireless pcmcia card.

I also like it to use it for that purpose.


Great work by the way for the driver, many people will like it i think.

Ruud
BugsB
Hi probono,

trying to dig what you did here angel.png

QUOTE(probono @ Oct 7 2006, 04:44 AM) *
Second, entered the correct values for I/O window and the Memory window into Info.pist using a plist editor (the values are Base64 encoded in the file, so a text editor is not sufficient)
Now I am stunned a bit: for editing plist files under Windows I use Win32Pad which automatically detects the unix format of these files (should be Base64 encoding from what I know). I have the Info.plist just loaded, but cannot find ANY of the strings you mentioned (00005000-000050ff, 00005400-000054ff, 40000000-41fff000, 42000000-43fff000), not even with my hex editor. Are those lines hidden - do I need a special editor to find and edit them? Which plist editor do you use?

Thanks for the driver,
Bugs (don't have a PCMCIA card at hand so cannot test it right now ..)
BugsB
[EDIT] me stupid - you translated the values, right?:

I/O Port Ranges: 00005000-000050ff & 00005400-000054ff --> AD/AAAA//8 & AAD+AAAA/v8

Memory Ranges: 40000000-41fff000 & 42000000-43fff000 --> 9CAAAPQgD/8 & /+/wAP/v//8 & 3AAAAN////8 & AA3wAAAN//8=

couple of questions:

1. why are there 4 Memory ranges in the info.plist?

2a. which program do you use to translate the ranges from one format into the other, and what are these formats called?
2b. do you know of a platform independent web interface that can do that?
BugsB
QUOTE(probono @ Oct 7 2006, 04:44 AM) *
As root, type "dmesg | PC"; you should see something about TI xx12 being found
--> -sh: PC: command not found

dmesg

--> IOPCCardBridge::start failed sad.gif

however, in System Profiler: IOPCCardFamily: Dependencies satisfied

In terminal I did everything correctly before reboot:
CODE
sudo -s

(give password and hit ENTER; if your password is blank then just hit ENTER)

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

diskutil repairpermissions /

rm /System/Library/Extensions.mkext /System/Library/Extensions.kextcache

kextcache -k /System/Library/Extensions/

reboot

My Toshiba Laptop does have the Cardbus/PCMCIA Controller ID 104C:8039 Texas Instruments PCIxx12. I'll boot into Windows again later on to compare all the ranges you mentioned.
nethak
Thanks for your hard work to get the TI xx12 up and running. It definitely works for me and my Acer Aspire 3680. The only problem I'm having is that after I sleep the notebook, the PC Card slots are dead until next reboot. Since this is the ONLY problem I experience when sleeping my notebook, I'm wondering if the problem lies with the xx12 driver or my ACPI files?
Ruud
QUOTE(nethak @ Oct 10 2006, 07:20 PM) *
Thanks for your hard work to get the TI xx12 up and running. It definitely works for me and my Acer Aspire 3680. The only problem I'm having is that after I sleep the notebook, the PC Card slots are dead until next reboot. Since this is the ONLY problem I experience when sleeping my notebook, I'm wondering if the problem lies with the xx12 driver or my ACPI files?


This is because of the acpi files, i have this problem with usb also.



QUOTE(probono @ Oct 10 2006, 10:00 AM) *
First step would be to find out the information about the card from Linux. Boot a Linux Live CD (such as Knoppix), and use the command "lspci -v". Then, post the output of the relevant block (should be very similar to above).



I wil take a look at it tomorrow, have to download the live cd first.

Ruud
BugsB
hi probono,

here are the specs from my Laptop. In Windows PCMCIA is split up in controller and device, and the values are definitely different, too:
CODE
Class: PCMCIA adapters | Device: Generic CardBus Controller
Device ID: PCI\VEN_104C&DEV_8039&SUBSYS_FF311179&REV_00\4&6B16D5B&0&20F0
IRQ: [00000017]
MEM: [000DB000 - 000DBFFF]
MEM: [D0000000 - D3FFFFFF]
MEM: [F2BF9000 - F2BF9FFF]
MEM: [F2BFA000 - F2BFAFFF]
IO: [0000FA00 - 0000FAFF]
IO: [0000FD00 - 0000FDFF]

---------------

Class: PCMCIA and Flash memory devices | Device: Texas Instruments PCIxx12 Integrated FlashMedia Controller
Device ID: PCI\VEN_104C&DEV_803B&SUBSYS_FF311179&REV_00\4&6B16D5B&0&22F0
IRQ: [00000017]
MEM: [F2BF8000 - F2BF8FFF]


sad.gif

what to do now? I would really like to use a 108 Mbit PCMCIA WLAN Card from Netgear ..

Greetz,
Bugs.
BugsB
I see. Right now the SD memory card slot does not have any priority. What bugs me is that NONE of the values from my machine matches your IDs.

How can we make them match (either you or, if you tell me how to, me) smile.gif ?
BugsB
QUOTE(probono @ Oct 11 2006, 05:37 PM) *
Your ranges indeed are different, maybe you have the PCIxx21 rather than the PCIxx12?
Nope wink.gif :
QUOTE
Device: Texas Instruments PCIxx12 Integrated FlashMedia Controller
Device ID: PCI\VEN_104C&DEV_803B&SUBSYS_FF311179&REV_00\4&6B16D5B&0&22F0
IRQ: [00000017]
MEM: [F2BF8000 - F2BF8FFF]
QUOTE(probono @ Oct 11 2006, 05:37 PM) *
There is a free download from Apple called XCode and Developer Tools which contains a little utility for editing plist files (very similar to regedit on Windows). This utility automatically takes care of converting the values in the right way. Use this to enter your memory ranges.
I have XCode 2.4 from the Leopard Pre-DVD, can I use that? Can you tell me the name of the "little utility for editing plist files" once I have XCode 2.x installed? Oh BTW, for editing Plist files I have been using PlistEdit Pro - do you have any idea if that tool can do the translation, too?

Thanks for your input so far, I should be able to get your driver going, shouldn't I wink.gif !!
hyde
Hi everyone

First of all, thank you Probono for your work.

I've got a Pavillion zd8000 with PCIxx21.

My output when I boot on Knoppix and use the command "lspci -v" is :

0000:0b:00.0 CardBus bridge: Texas Instruments: Unknown device 8031
Subsystem: Hewlett-Packard Company: Unknown device 3082
Flags: bus master, medium devsel, latency 168, IRQ 16
Memory at 40000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=0b, secondary=0c, subordinate=0f, sec-latency=176
Memory window 0: 40400000-407ff000 (prefetchable)
Memory window 1: 40800000-40bff000
I/O window 0: 00005400-000054ff
I/O window 1: 00005800-000058ff
16-bit legacy interface ports at 0001


As you said, it's quite similar except the second line.

I've got some questions:

- Should I take device id 8031 or 3082 ?

- Which is the file where I have to put my device id ?

- Could someone tell us exactly which program to use to translate the ranges from one format into the other to enter the correct values for I/O window and the Memory window into Info.plist ?

Thanks for the answer
Ruud
QUOTE(hyde @ Oct 11 2006, 06:43 PM) *
Hi everyone

First of all, thank you Probono for your work.

I've got a Pavillion zd8000 with PCIxx21.

My output when I boot on Knoppix and use the command "lspci -v" is :

0000:0b:00.0 CardBus bridge: Texas Instruments: Unknown device 8031
Subsystem: Hewlett-Packard Company: Unknown device 3082
Flags: bus master, medium devsel, latency 168, IRQ 16
Memory at 40000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=0b, secondary=0c, subordinate=0f, sec-latency=176
Memory window 0: 40400000-407ff000 (prefetchable)
Memory window 1: 40800000-40bff000
I/O window 0: 00005400-000054ff
I/O window 1: 00005800-000058ff
16-bit legacy interface ports at 0001
As you said, it's quite similar except the second line.

I've got some questions:

- Should I take device id 8031 or 3082 ?

- Which is the file where I have to put my device id ?

- Could someone tell us exactly which program to use to translate the ranges from one format into the other to enter the correct values for I/O window and the Memory window into Info.plist ?

Thanks for the answer



I have the same ti device ( now i dont have do download de knoppix cd :biggrin.gif )
If someony could help with making this driver it would be awesome.


Ruud
hyde
Maybe it's possible to put a range for the Memory window and I/O window values instead of the values for only one device.

If we can do that there will be no problem if people have the same device id but differents values for Memory window and I/O window.
BugsB
Check out this thread, there is some interesting information about ranges. However it is not exactly about memory ranges ..
MikhaiL
Hi i have a toshiba a100 sk9 with the same device and vendor id for my cardbus controller , but when i type in dmesg | grep PC - i get errors and nothing is loading. Is there anything i can do to fix that?
BugsB
QUOTE(MikhaiL @ Oct 12 2006, 02:35 AM) *
Hi i have a toshiba a100 sk9 with the same device and vendor id for my cardbus controller , but when i type in dmesg | grep PC - i get errors and nothing is loading. Is there anything i can do to fix that?
.. verify (as we had to do, too) that the ranges of your controller are the same, too (as explained in probono's first posting) ..
Mariusz
Hi all,

I have Tecra A7 and Windows reports VEN_104 and DEV_8039, so I've made changes (except hexedit binary file) but I got message during startup:

IOPPCard info: Intel PCIC probe: TI xx12 rev 00

and my system hangs after that.

Anyone know such a situation?

p.s.
Where/How can I find string that should be hexedited in binary file? (I use HexEdit)

Thanks in advance and best regards!
BugsB
@ Mariusz : inside the IOPCCardFamily.kext (/Contents/MacOS) there are two files: IOPCCardFamily~ and IOPCCardFamily. The first one is the unedited original. Just compare these two files in your hex app (I use Hex Workshop 4.23), that way you will find the two instances that have to be edited.

Good luck :-) !
Mariusz
@BugsBunny

Thanks for info Bugs.

So it means that IOPCCardFamily is suitable for my device.

Still waiting for someone who solved problem similiar to mine.
MikhaiL
um, in device manager, i looked and found 4 different memory ranges, so, could you help me which go where. and where would i insert them in plist?
MikhaiL
Well, i tried inputting things by myself and i ran into some problems.
First, Plist editor pro opened the files, i found the submenu called Test X86PC and started editing the memory and i/o values, well, it didnt go so well. First of all, as i was trying to input the values for i/o ranges, in windows i had 4-4 values, but corrct input had there had 8 8 structure, so i added 4 0's before the hex part and the program was automatically changing my inputs into something wired as you can see on the screenshot.

secondly, i was able to input all memory range values cuz i had 4 to choose from as you can see, but for i/o - i only found 2 from device manager and the plist says that there are 3 places to edit, so i left the third one unedited. -

tell me, am i doing anything right at all? (something tells me i am totally lost)
BugsB
I am pretty much groping in the dark, too. Maybe depicting what I have been trying might answer some of you guys questions.

Tried to open the Info.plist from within the kext in the Extensions folder, that didn't work because of missing privileges. Copied the Info.plist to my Desktop and opened it with PlistEdit Pro. Also found the Submenu Test X86PC but figured that my machine does not appear in System Profiler as Test X86PC but as ADP2,1 so went into that submenu. Don't remember anymore how many lines there were for I/O and Memory Ranges, but from what I remember the amount of entries was not correct so I dublicated and also deleted in the trees (right mouse click). Then I edited the ranges which look like this: 00000000 0000FFFF with double click. So I entered my values in the same scheme, with a blank between the two blocks. But entering 0000FA00 0000FAFF would immediately turn into 000000FA 0000FFFA (which is not even what is written in the plist if you open it with e.g. Textedit). I thought "what the heck, maybe that's correct". Copied the Info.plist back into the extension, confirmed "yes, replace" and let my one-click automated permissions-script run (see attachment), rebooted - on reboot I saw the same message again: IOPCCard load failed.

So I went ahead and edited the Info.plist in Apple's Property List Editor v. 2.1 instead (also attached). That one displays the values a bit different: <0000fa00 0000faff > mind the blank before the > at the end. Entered my values and look-a-there, they remained the way I entered them! Copied the Info.Plist back into the kext, ran permissions script, rebooted - same error.

That's where I am right now - and going to sleep..

@ probono: it is correct to edit the ADP2,1 section, isn't it?

@ Mariusz: you're half a step further since your card has actually been recognized by Mac OS x86

Just tried to boot of the Knoppix 5.0 CDto see what values Linux gives me - maybe they are not the same as in Windows Device Manager because of Windows ACPI ...

.. it hangs right at the beginning after the kernel loads with: "PCMCIA found, starting cardmgr" ..

Booting Knoppix with NOACPI NOAPIC ("for bad BIOS") gets me accross the PCMCIA card. Here are the values:
QUOTE
0000:0a:04.0 CardBus bridge: Texas Instruments: Unknown device 8039
Subsystem: Toshiba America Info Systems: Unknown device ff31
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at b3200000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 52000000-53fff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001
Without ACPI they look different than the ones in Windows ..

There are three more Texas Instruments Unknown devices underneath (803a, b and c) but I think those are not important.

Entered the Values from Knoppix into the Info.plist (section ADP2,1) with Apple's tool [...], reboot - same error:
noname:~ root# dmesg | grep PC
IOPCCardBridge::start failed

sad.gif probono I need help now, this is as far as I can go by myself .. sad.gif. Could you check my Info.Plist if I edited the range values correctly? I attached it, too.

Thank you very much,
Bugs.
Mariusz
QUOTE(BugsBunny @ Oct 12 2006, 10:41 PM) *
....

Just tried to boot of the Knoppix 5.0 CDto see what values Linux gives me - maybe they are not the same as in Windows Device Manager because of Windows ACPI ...

.. it hangs right at the beginning after the kernel loads with: "PCMCIA found, starting cardmgr" ..

.....


Hi Bugs,
I've had the same problem with PCMCIA under linux, system were hanging after starting PCMCIA services (kernel 2.6.17). I've compiled 2.6.18 kernel and the problem disapeared. I've tried pcnet_cs compatible network card and it working fine.

Today I tried to boot my linux but it hangs in other part:
Setting up ICE socket directory....
BugsB
QUOTE(Mariusz @ Oct 13 2006, 09:42 AM) *
Hi Bugs,
I've had the same problem with PCMCIA under linux, system were hanging after starting PCMCIA services (kernel 2.6.17). I've compiled 2.6.18 kernel and the problem disapeared.
I am not that desperate yet .. biggrin.gif .Other than that, glad to hear this is a Linux Kernel bug. I have other Linux live CDs from which I could boot, gonna check if they have the new Kernel and boot through with ACPI enabled to get ACPI-ranges under Linux.
QUOTE(Mariusz @ Oct 13 2006, 09:42 AM) *
I've tried pcnet_cs compatible network card and it working fine.
what's that - a PCMCIA card? And is it now working in Linux or in Mac OS x86?
QUOTE(Mariusz @ Oct 13 2006, 09:42 AM) *
Today I tried to boot my linux but it hangs in other part: Setting up ICE socket directory....
I am geting lost now ..

Cheers,
Bugs.
Mariusz
Hi Bugs,
pcnet_cs is kernel module for linux PCMCIA ne2000 compatible network card.

MacOS still hangs as described before sad.gif

p.s.
If you have built-in card reader, you may find this interesting:
http://prdownload.berlios.de/tifmxx/tifm-0.6b.tar.bz2
this is linux kernel modules for card reader. Now it supports SD cards, but they are working on other card types.
hyde
Hi everyone

I've got a question for probono :

My device is PCIxx21 so I've got to replaced "xx12" by "xx21" in IOPCCardFamily.

Is it exact ?
BugsB
QUOTE(probono @ Oct 13 2006, 06:32 PM) *
You need to edit the portion that matches the machine you are running, of course. E.g., if your System Profiler shows your machine is a "ADP2,1" then you need to edit that section.
idea.gif
QUOTE(probono @ Oct 13 2006, 06:32 PM) *
If you have more or less memory ranges than are in the file, you can add or remove "siblings" or "branches" in the file using the GUI tools.
yep, did that.

QUOTE(probono @ Oct 13 2006, 06:32 PM) *
Since Macs are running in ACPI mode, it would seem logical that you need to take the values from Linux running ACPI or it won't work. If not even Linux supports your chipset... then good luck ;-)
like Mariusz said Knoppix not booting was a bug in the Linux Kernel on the latest CD. Linux with the most recent Kernel is supposed to boot just fine even past the PCMCIA card, at least Mariusz got rid of the clog-up during boot on his machine by replacing the kernel. I'll give that a shot on the weekend.

QUOTE(probono @ Oct 13 2006, 06:32 PM) *
Again, since Apple simply used the source code of Linux PCMCIA it shouldn't be too hard to take the newer Linux sourcecode and compile a new Mac driver with it. Someone just needs to do it.
someone who knows how to. You just edited the existing driver but didn't compile it new, right?

Cheers,
Bugs.
Mariusz
@Probono

Thanks for your reply.

Which section should I modify if my system shows "2x1,66 Unknown" ? smile.gif
MikhaiL
I am downloading Knopix live 5.1 dvd now, could you please tell me where to look to find my memory ranges and stuff? (i never used linux before in my life) sorry if i am difficult

By the way - great thanks for your effort and the link for property list editor and many others - i am very optimistic that my toshiba will soon have wireless!
BugsB
QUOTE(MikhaiL @ Oct 14 2006, 05:54 AM) *
I am downloading Knopix live 5.1 dvd now
there is no 5.1, the latest version is 5.0.1 .. Also, why don't you donwload the CD verison, it is more than sufficient ..
QUOTE(MikhaiL @ Oct 14 2006, 05:54 AM) *
could you please tell me where to look to find my memory ranges and stuff? (i never used linux before in my life) sorry if i am difficult
find the shortcut to terminal in the start menu (you will find that) and enter the command there.
QUOTE(MikhaiL @ Oct 14 2006, 05:54 AM) *
By the way - great thanks for your effort and the link for property list editor and many others - i am very optimistic that my toshiba will soon have wireless!
You mean wireless via a PCMCIA card? Which one are you planning to use?
MikhaiL
DWL g630

From D-Link wiht Atheros chip in it (apparently) H/W version C2

By the way, this is not related, i have T2500 core duo and when i install JaS 10.4.8, my CPU name isnt recognized properly in the About this Mac" window - it says 2Ghz of unknown. where in 10.4.6 and 7 it was displayed properly. I am saying this cuz you seem to have T2400 which is similar processor
BugsB
oh don't be mislead by my sig, for testing stuff like this I am running my test Sys with Mac OS 10.4.7. However, important is what System Profiler says in the first window, not the little "About this Mac" window (most likely).
wondergod
Freakin Awesome thanks....I edited the plist and driver with the info for my xx21 and its working perfect...finally I can use my Verizon EVDO card!!! I have a hp dv1520us....

Heres the info from my lspci -v off a ubuntu live cd...Notice the device is shown as 3080 however in windows device manager my deviceid shows 8031 but next to it you see a subsystem section that shows 3080

0000:06:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Hewlett-Packard Company: Unknown device 3080
Flags: bus master, medium devsel, latency 168, IRQ 169
Memory at b0109000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 34000000-35fff000
I/O window 0: 00003400-000034ff
I/O window 1: 00003800-000038ff
16-bit legacy interface ports at 0001

so if your info matches this you can use my kext at the bottom.

EDIT: This also fixed my firewire...it seems the firewire uses the same controller...I noticed it did say something when I did the dmesg command about firewire ohci.....and so I checked and my firewire is now loaded in sys profiler...I just tested it with a video camera I have which didn't work before....thanks so much!
tyre777
wondergod- i tested out ur kext, and wow- it loads up just fine on my lappy, will be testing it out later just to be sure, finally another step closer to an almost osx perfect machine!! tnx mate.. smile.gif
BugsB
!! S U C C E S S !! biggrin.gif

noname:~ root# dmesg | grep PC
IOPCCard info: Intel PCIC probe: TI xx12 rev 00


so here's how I did it:

- since Knoppix does not boot correctly on my Laptop as it does not contain the most recent Linux kernel with full ACPI support I downloaded the latest Debian KANOTIX distribution (which contains the most recent Linux kernel)
- ran lspci -v in terminal, and look-a-there: as pretty much expected with ACPI properly loaded the values displayed are not the same as without ACPI (the second memory window range was different):

0a:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
Subsystem: Toshiba America Info Systems Unknown device ff31
Flags: bus master, medium devsel, latency 168, IRQ 177
Memory at b3200000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 54000000-55fff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001


Went back into Mac OS, edited the plist which I had copied to my desktop with Apple's Property List Editor 2.1, copied the edited Info.plist from my desktop back into the IOPCCardFamily.kext in the Extensions folder, ran my lil permissions script app, rebooted - and got a little bit different error now:

IOPCCard notice: AdjustResourceInfo: Unknown error code 0xffffffff

.. so something is happening .. wink.gif. Searched for that error in the board of this great community and found this solution from Jeva Hose and did as he said: Replaced the IOPCIFamily.kext, ran my permissions app, rebooted - BINGO [color=#006600]!!

So attached you find both, the IOPCIFamily.kext 1.8 from Mac OS 10.4.4 and the IOPCCardFamily.kext which works for the Toshiba Satellite P100-102.

THANKS probono for getting all of this rolling smile.gif !!

With the new/old IOPCIFamily.kext I will next try to get my soundcard and my LAN card going .. smile.gif

Cheers,
Bugs.

[EDIT] The modified kext might also work for other (Toshiba) Laptops, so just give it a try - and please report back for which Laptop it works and for which it does not work smile.gif
mentorek
Hi BugsBunny!

Glad to hear that you've made PCMCIA Controller working. I'll try to get mine to work later today and hope that other hardware will work (Lan && Sound).

Cheers,
Mik
BugsB
QUOTE(mentorek @ Oct 15 2006, 04:36 PM) *
hope that other hardware will work (Lan && Sound).
Nope .. sad.gif
MikhaiL
Bugs
By the way, your kext did not work for my toshiba

I loaded Katonix with everything "on" and in terminal , after a command, i got these values:

QUOTE
CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller

Subsystem: Toshiba America Info Systems Unknown device ff10

Flags: bus master, medium devsel, latency 168, IRQ 185

Memory at de007000 (32-bit, non-prefetchable) [size=4K]

Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176

Memory window 0: 50000000 51fff000 (prefetchable)

Memory window 1: 52000000 53fff000

I/O window 0: 00005400 000054ff

I/O window 1: 00005800 000058ff

16-bit legacy interface ports at 0001


Edited kext with plist editor 2.1 and did everything i had to with replacement and permissions and i still get same error in terminal:
QUOTE
root# dmesg | grep PC
IOPCI2PCIBridge: bad bridge bus numbering, no room to fix, bailing out!
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1424cec; max speed s400.
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1234GSX Media/IOFDiskPartitionScheme/Untitled 4@4


What else could i do? please take a look at my attached kext, maybe i edited it wrong or smth?
Mariusz
@Bugs

Great news. I've tried this one, but I still get hangup during startup. I think the problem is related to previous bug in linux PCCard implementation (It was hanging before I upgraded kernel to 2.6.18). Maybe new code will be applied in the next release of Mac OS X.

Bugs, could you do me a favour and adjust PCCard kext for me? Maybe I'm doing something wrong ...

Here is my lspci output:

07:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 168, IRQ 18
Memory at dc106000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 52000000-53fff000
I/O window 0: 00006000-000060ff
I/O window 1: 00006400-000064ff
16-bit legacy interface ports at 0001

Thanks in advance.
BugsB
QUOTE(MikhaiL @ Oct 16 2006, 02:07 AM) *
maybe i edited it wrong or smth?
yes you did. The sections that has to edited is ADP2,1 'cause that's how our iHacks appear in System Profiler. To make sure open System Profiler first Windows, it needs to say ADP2,1. If not you need to rename the section ADP2,1 with plist editor to what your system profiler displays.

In the section the two surplus memory ranges have to be deleted because this TI PCMCIA controller is merely using two memory ranges.

Also you did not mention the driver ID. You see that in Windows Device Manager as explained before, for this kext it needs to be 8039, otherwise you need to hexedit the driver.

kexts are attached, first zip for MikhaiL' and the SECOND for Mariusz. Don't forget that you also need the IOPCIFamily.kext 1.8 for this to work.
Turbo50t
Bugs,

Can you help with mine, at boot it gives me the found xx21 and when I stick my card in the slot it shows as an unknown Vendor, USB Controller, Power Off Card at the top but won't use it. I am using a Verizon V620 Merlin EVDO Card and have the Apple drivers installed, but it does not see the card. The card is getting power, because the green lite is flashing.

Here is my lspci -v from linux:
CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Hewlett Packard Company Unknown device 3082
Flags: bus master, medium devsel, latency 168, IRQ 18
Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 52000000-53fff000
I/O window 0: 00005400-000054ff
I/O window 1: 00005400-000058ff
16-bit legacy interface ports at 0001

Click to view attachment

Oh and thanks for the cool diskutil tool that's great!
BugsB
Sorry Turbo50t but I don't know how to help you with that .. :-(

Things you can try is using different installs (Mac OS 10.4.4/5/6 ..) + the kexts.

Good luck,
Bugs
Mariusz
@Buggs

Thanks for your efforts Bugs, but it's definately bug in the code. I tried posted kext and my system still hangs druging startup (after PCCard probe).

Maybe someone of you have enough knowledge to put code from latest linux kernel source (2.6.18) to this kext and compile it (I have no idea if its even posibble)?

Thanks in advance.
brad37
Alright, I have tried everything , and I'm sure I have done something wrong. I have a toshiba a105-s4034, with the pcixx12 controller. Here is my device read out from kanotix.

07:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 168, IRQ 185
Memory at dc007000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 52000000-53fff000
I/O window 0: 00004400-000044ff
I/O window 1: 00004800-000048ff
16-bit legacy interface ports at 0001
I have edited these values in using plistedit pro. When I run dmesg | greppc, I just get
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
I have seen some people have needed to replace there iopcifamily.kext as well but all the downloads I can find for it will not open. If anyone could please lend a hand it would be much appecitated. I have my alc861 sound and intel pro 100/ve network up and running, and with this i can get wireless. Thanks again
wondergod
QUOTE(Turbo50t @ Oct 16 2006, 10:02 PM) *
Bugs,

Can you help with mine, at boot it gives me the found xx21 and when I stick my card in the slot it shows as an unknown Vendor, USB Controller, Power Off Card at the top but won't use it. I am using a Verizon V620 Merlin EVDO Card and have the Apple drivers installed, but it does not see the card. The card is getting power, because the green lite is flashing.

Here is my lspci -v from linux:
CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Hewlett Packard Company Unknown device 3082
Flags: bus master, medium devsel, latency 168, IRQ 18
Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 52000000-53fff000
I/O window 0: 00005400-000054ff
I/O window 1: 00005400-000058ff
16-bit legacy interface ports at 0001

Click to view attachment

Oh and thanks for the cool diskutil tool that's great!



turbo try the file attached below...also check your private messages....
BugsB
QUOTE(brad37 @ Oct 17 2006, 06:13 PM) *
I have seen some people have needed to replace there iopcifamily.kext as well but all the downloads I can find for it will not open.
Brad if your install does not even mount dmgs correctly you have a problem there which you ought to solve prior to any more messing with kexts. Normally that occurs after doing the wrong kind of update from Mac OS 10.4.x to 10.4.x+ resulting in a non-comaptible kernel.framework. But maybe you just have an old Mac OS install like 10.4.1 or .3? I cannot tell because you don't have a signature yet being new here. But maybe it's just 'cause you're using an old version of Disk Utility - well here's a new one. Please apply this first before continuing. Then open the new Disk Utility (the old one you need to delete before that and empty the trash!!) and run "repair permissions" and best reboot.

Which Mac OS install are you running?
brad37
Hey buggs thanks for the quick reply
I'm running jas 10.4.6, as far as the disk utility goes I have no idea. Whatever came with the install is what I have. I can tell you this I just reloaded and have not changed my kexts at all, and when I run the dmesg I get the same thing. Any suggestions you have would be great.
Thanks again
brad37
Ohh ya when I did the install I used the customize option and put in the 10.4.6 combo update, sse2,sse3, and wireless networking. Not sure if thats usefull but you lost me on the whole dmesg thing not mounting, and that being a problem with my kernal framework. So I figured I would take a shot in the dark. Once again thank you for your help, and to this wonderfull site as well, without it my hacked mac would have no sound or ethernet.
velcomrob
im trying to get this to work also

where exactly do i enter the device id? mine is 006c

do i use a hex editor to edit tge IOPCCardFamily? if so what do i search for in there.what hex editor do you use

do i need to convert 006c to hex?

thanks
velcomrob
i got it to work..but now my pc locks up

screw it.. i give up on this stuff for now smile.gif

back to windows i go..peace out all
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.