Jump to content

CardBus/PCMCIA PC Cards for Leopard


~Eureka
 Share

1,073 posts in this topic

Recommended Posts

Hi All

 

Have use the rev5 with test4.

 

Now has an icon appears next to the icon of the sound.

And also in the system profiler.

 

But he still does not recognize my card wireless D-Link DWL-G650.

 

What I did different was to change the IOPC and not erase the Extensions.mkext. Only booted with flag -f

 

Thanks to all.

 

Hi,

Your cardbus adapter successfully recognized. You need to put PCI id for your pcmcia wireless card in AirPortAtheros's Info.plist file.

It seem your card PCI id is "pci168c,13" - from the log file.

 

You need to add your PCI id in this file:-

/System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros.kext/Contents/Info.plist

 

Add like this:-

<string>pci168c,13</string>

 

Good luck. :)

Link to comment
Share on other sites

I used the Rev5 IOPCCarFamily amd the test3 and it WORKS!!! Thank you so much my AT-T 881 is now working with Leopard which was the only thing I couldn't get working on my Gateway MX6956 I cant say thank you enough this is trully amazing! I know have a fully working Laptop with earthernet, sound, Wireless Card, the only thing is the damn intel 3495 and that will never be solved I am afraid lol...

 

Did you try with test4?

 

If so, what errors did you get? Seeing as if you tried it and went to test3 it can't have worked..

 

EqUaTe

Link to comment
Share on other sites

Hi,

Your cardbus adapter successfully recognized. You need to put PCI id for your pcmcia wireless card in AirPortAtheros's Info.plist file.

It seem your card PCI id is "pci168c,13" - from the log file.

 

You need to add your PCI id in this file:-

/System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros.kext/Contents/Info.plist

 

Add like this:-

<string>pci168c,13</string>

 

Good luck. -_-

 

Hello Kizman ... Thank you for your help.

 

Now the wireless card is recognized.

But at the airport it appears OFF.

And it is impossible to be ON.

 

Below follows a picture of how it is.

 

Thanks man.

post-170803-1200587784_thumb.png

Link to comment
Share on other sites

snam11,

I've attached a development (debug) and deployment (release) version of the kext for you.

Try the devel one first - if it works, move to the release one.

These are based on the rev5 source, with our id's edited in.

 

Chun-Nan,

I've also attached the updated o2micro.h that has the ids for myself and snam11.

 

Cheers, EqUaTe

 

IOPCCardFamily.kext.snam11_devel.zip

IOPCCardFamily.kext.snam11_deploy.zip

o2micro.h.v2.txt

 

Hello Kizman ... Thank you for your help. Now the wireless card is recognized. But at the airport it appears OFF. And it is impossible to be ON. Below follows a picture of how it is. Thanks man.

 

Was this after rebooting?

It seems to be behaving like an ethernet port - IF it is indeed recognised.

Could you paste the output of: ifconfig -a

 

Cheers,

EqUaTe

Link to comment
Share on other sites

EqUaTe

 

juniors-mac-pro:~ root# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
inet 127.0.0.1 netmask 0xff000000 
inet6 ::1 prefixlen 128 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::2a0:d1ff:fe58:1295%en0 prefixlen 64 scopeid 0x4 
inet 192.168.7.213 netmask 0xffffff00 broadcast 192.168.7.255
ether 00:a0:d1:58:12:95 
media: autoselect (100baseTX <full-duplex>) status: active
supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 100baseTX <half-duplex> 100baseTX <full-duplex>
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 494
lladdr 00:08:0d:a0:d1:58:12:95 
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
ether 00:11:95:8f:19:4a 
media: autoselect (<unknown type>)
supported media: autoselect

 

And dmesg

 

heckConfiguration(bus 7, state 0)
pciBridgeAllocateResource(bus 7, state 0)
Allocating resources on bus 7
root bridge resource MEM dc000000 len 100000
root bridge resource PFM fff00000 len 200000
root bridge resource I/O 4000 len 1000
root bridge resource BUS 7 len 1
 clipped bridge I/O range head to 4040:fc0 for 4000:40 overlap 40
 clipped bridge MEM range head to dc004000:fc000 for dc000000:4000 overlap 4000
 I/O: sub-range outside parent range: 0x4000:0x40
 MEM: sub-range outside parent range: 0xdc000000:0x4000
 MEM: 2 sub-range limited to 7cb80 each
 I/O: 1 sub-range limited to fc0 each
 BUS: 1 sub-range limited to 0 each
 MEM: allocated block dc007000:1000
pciBridgeDistributeResource(bus 7, state 2)
Enabling bridge serving bus 7
 Bridge Control	= 0000
 Bridge Command	= 00100007
Distribute resources for bus 7
 BUS: total size 0, required size 1, maximize count 1
 BUS: assigned block 8:1
Applying config for device 7:8:0
 bar 0x10 = dc005000
 bar 0x14 = 4000
 Device Command = 02900000
 changed LT to 64 PCI clocks
Applying config for device 7:6:3
 bar 0x10 = dc006800
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 7:6:2
 bar 0x10 = dc004000
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 7:6:1
 bar 0x10 = dc006000
 bar 0x14 = dc000000
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for bridge serving bus 8
 MEM: start/size = 00000000:00100000
 I/O: start/size = 00000000:00001000
 BUS: start/size = 00000008:00000001
 Regs:
 BUS: prim/sec/sub = 07:08:08
Enabling bridge serving bus 8
 Bridge Command	= 02100000
 changed LT to 64 PCI clocks
 changed SEC-LT to 64 PCI clocks
PCI configuration changed (bridge=0 device=4 yenta=1)
Debug driver registered: AppleUSBUHCI
IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHV2160BT PL FUJITSU MHV2160BT PL/IOFDiskPartitionScheme/Untitled 2@2
BSD root: disk0s2, major 14, minor 2
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1581295; max speed s400.
IOPCCard info:   cs: cb_alloc(bus 8): vendor 0x168c, device 0x0013
IOPCCard info:   cs: cb_alloc(bus 8): found 1 functions
IOCardBusDevice: binding socket 0 function 0 to card services.
IOPCCard info:   cs: cb_config(bus 8)
IOPCCard info:	 fn 0 bar 1: mem 0xa0010000-0xa001ffff
IOPCCard info:	 irq 18
Jettisoning kernel linker.
Resetting IOCatalogue.
GFX0: family specific matching fails
display: family specific matching fails
Matching service count = 2
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
GFX0: family specific matching fails
display: family specific matching fails
ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0x3292e00
ath_attach: devid 0x13
ath_descdma_setup: tx dd_desc_paddr = 0x55df000, length 0x46500(288000) bytes
ath_descdma_setup: beacon dd_desc_paddr = 0x3e8e000, length 0x90(144) bytes
mac 7.9 phy 4.5 radio 5.6
GFX0: family specific matching fails
display: family specific matching fails
Intel82557: Self test reports invalid ROM contents
Intel82557: Self test reports internal register failure
Intel82557: Self test reports serial subsystem failure
Intel82557: Self test failed
ALCinject: Starting.
ALCinject: Setting built-in=<data not shown>
ALCinject: Setting layout-id=<data not shown>
ApplePS2Trackpad: Synaptics TouchPad v6.2
display: family specific matching fails
GFX0: family specific matching fails
GFX0: family specific matching fails
dsmos: Initializing...
dsmos: Hook and decryption contexts set!
dsmos: Starting...
Intel82557: Ethernet address 00:a0:d1:58:12:95
AirPort_Athr5424ab: Ethernet address 00:11:95:8f:19:4a
GFX0: match category IOFramebuffer exists
NTFS driver 2.0 [Flags: R/O].
display: Not usable
NTFS volume name , version 3.1.

 

 

Thanks man

Link to comment
Share on other sites

Hello Kizman ... Thank you for your help.

 

Now the wireless card is recognized.

But at the airport it appears OFF.

And it is impossible to be ON.

 

Below follows a picture of how it is.

 

Thanks man.

 

Hi,

en0 should be your ethernet card right? So your new airport should be en1 right? If it is yes, try remove AirPort from the list. There is "+" & "-" at the bottom left of your Network preference window.

1) Click AirPort and click "-" button to remove it. Click Apply button.

2) After that click "+" button to add it back. Click Apply button

 

Try to turn it on again. This has happen to me before, that is why I suggest this. If it is still cannot turn on, reboot with your cardbus wireless card inserted in the slot.

Link to comment
Share on other sites

Hi,

en0 should be your ethernet card right? So your new airport should be en1 right? If it is yes, try remove AirPort from the list. There is "+" & "-" at the bottom left of your Network preference window.

1) Click AirPort and click "-" button to remove it. Click Apply button.

2) After that click "+" button to add it back. Click Apply button

 

Try to turn it on again. This has happen to me before, that is why I suggest this. If it is still cannot turn on, reboot with your cardbus wireless card inserted in the slot.

 

Yes.. en0 is ethernet port and en1 is wireless.

 

But.. I tried it, but without success.

 

Thanks man.. very very thanks

Link to comment
Share on other sites

Hi,

en0 should be your ethernet card right? So your new airport should be en1 right? If it is yes, try remove AirPort from the list. There is "+" & "-" at the bottom left of your Network preference window.

1) Click AirPort and click "-" button to remove it. Click Apply button.

2) After that click "+" button to add it back. Click Apply button

 

Try to turn it on again. This has happen to me before, that is why I suggest this. If it is still cannot turn on, reboot with your cardbus wireless card inserted in the slot.

... and if it fail, try to enable it in windows/linux ther reboot into OSX. My Bluetooth and WiFi (both on board) works that way. They have to be activated in other system then I can use them under OSX.

 

I know this is not onboard device but it's worth to try ;)

 

Regards,

Mariusz

Link to comment
Share on other sites

Yes.. en0 is ethernet port and en1 is wireless.

 

But.. I tried it, but without success.

 

Thanks man.. very very thanks

 

Ok. Try change en1 to en2. Edit this file:-

/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

Just change at two places (mark as bold):-

<dict>

<key>Active</key>

<true/>

<key>BSD Name</key>

<string>en1</string>

<key>IOBuiltin</key>

<true/>

<key>IOInterfaceType</key>

<integer>6</integer>

<key>IOInterfaceUnit</key>

<integer>1</integer>

<key>IOMACAddress</key>

<data>

ABpwcQ2Q

</data>

<key>IOPathMatch</key>

<string>IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge/pci104c,8039@9/IOPCCardBridge/pci14e4,4318@0/AirPort_Brcm43xx/AirPor

t_Brcm43xxInterface</string>

<key>SCNetworkInterfaceType</key>

<string>IEEE80211</string>

</dict>

 

change to :-

 

<dict>

<key>Active</key>

<true/>

<key>BSD Name</key>

<string>en2</string>

<key>IOBuiltin</key>

<true/>

<key>IOInterfaceType</key>

<integer>6</integer>

<key>IOInterfaceUnit</key>

<integer>2</integer>

<key>IOMACAddress</key>

<data>

ABpwcQ2Q

</data>

<key>IOPathMatch</key>

<string>IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge/pci104c,8039@9/IOPCCardBridge/pci14e4,4318@0/AirPort_Brcm43xx/AirPor

t_Brcm43xxInterface</string>

<key>SCNetworkInterfaceType</key>

<string>IEEE80211</string>

</dict>

 

and reboot.

 

Try & try & try again. It should work. ;)

Link to comment
Share on other sites

Did you try with test4?

 

If so, what errors did you get? Seeing as if you tried it and went to test3 it can't have worked..

 

EqUaTe

 

I used the IOPCCardFamily.kext V5 and edited the info.plist to my I/O and Memory ranges and used the Test3 IOPCIfamily.kext and it started right up then downloaded the Mac Serai wireless tool and now have a fully working AT-T 881 broadband 3G card working perfectly. My laptop also has a card reader that does not work however but I am happy enough with the AT-T card working to forget about that for now. Now that it works I don't see the need to change it.

Link to comment
Share on other sites

It is an 3G Quad, Fusion or Globetrotter, UMTS Card...

 

...you have an idea?

 

 

I'd need to know exactly what kind.. And the make.

As I said, I have a huawei 3g umts usb card.

I know a reasonable amount about getting the huawei's to work as a result.

 

 

EqUaTe

Link to comment
Share on other sites

Did you try with test4?

 

If so, what errors did you get? Seeing as if you tried it and went to test3 it can't have worked..

 

EqUaTe

 

I used the IOPCCardFamily.kext V5 and edited the info.plist to my I/O and Memory ranges and used the Test3 IOPCIfamily.kext and it started right up then downloaded the Mac Serai wireless tool and now have a fully working AT-T 881 broadband 3G card working perfectly. My laptop also has a card reader that does not work however but I am happy enough with the AT-T card working to forget about that for now. Now that it works I don't see the need to change it.

 

Mac Serai wireless tool?

 

The card reader is handled elsewhere (we think).

 

You shouldn't need to edit the info.plist at all - can you try Test4 IOPCIFamily with the STOCK IOPCCardFamily rev5 Info.plist?

 

Thanks

EqUaTe

Link to comment
Share on other sites

snam11,

I've attached a development (debug) and deployment (release) version of the kext for you.

Try the devel one first - if it works, move to the release one.

These are based on the rev5 source, with our id's edited in.

 

Cheers,

EqUaTe

 

hi equate,

i've tested your versions, both works but still kernel panic sometimes (picture attacched).

as you can see in the deployment dump, my o2micro is detected and is working, but i still get an error.

i've used a firewire 800 pcmcia card (ti compatible chipset).

 

regards

iopccar_devel.txt

iopccard_deploy.txt

post-38685-1200607410_thumb.jpg

Link to comment
Share on other sites

equate, which o2micro controller do you have? mine is 1217:7134do you have also smartcard reader on same pcmcia controller?chun-nan:my pcmcia and express slot worked fine with ver3 of kext with card readers/wifi/firewire but i get often kernel panic using the slot, and i cannot solve internal firewire memory error problem (pcmcia bus is linked or shared with firewire somehow).darwin boot also gives me 1 slot enabled and 1 with "!IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0" or "bad bridge mapping at 0xd0401000 (the memory location change sometimes)do you think the error is linked to the smartcard reader? (my pcmcia has 1 pcmcia slot, 1 express slot, 1 smartcard reader).i was thinking maybe memory error of firewire can be solved fixing the pcmcia slot.can you also add my device into iopccardfamily so i don't have to hex edit every time i need to test it or mod something into?ripped from dmesg of a boot with a pcmcia firewire800 plugged in:Firewire OHCI: start - unable to get device memoryFirewire OHCI: start - unable to get device memoryIOPCCard info: Intel PCIC probe: IOPCCard notice: Bad bridge mapping at 0xd0401000!not found.IOPCCardBridge::start failedIOPCCard info: Intel PCIC probe: O2Micro OZ711M1 rev 21IOPCCard info: cs: cb_alloc(bus 11): vendor 0x104c, device 0x8025IOCardBusDevice: binding socket 0 function 0 to card services.IOPCCard info: cs: cb_config(bus 11)IOPCCard info: fn 0 bar 1: mem 0xdc004000-0xdc0047ffIOPCCard info: fn 0 bar 2: mem 0xdc000000-0xdc003fffIOPCCard info: irq 20FireWire (OHCI) TI ID 8025 CardBus now active, GUID 000108000000fbf8; max speed s800.
Hi snam11,The eorror message is new to me. Please try rev6 and let me know the result.Chun-Nan
It is an 3G Quad, Fusion or Globetrotter, UMTS Card......you have an idea?
Hi djmastera2000,try rev6 and let me know the result.Chun-Nan
Link to comment
Share on other sites

great work chun-nan!!!

your new set of kext detect whole o2micro pcmcia bus and devices...

the ochi firewire error is gone (so as i thought the pcmcia bus is linked with firewire and card reader), but i still have some firewire issues.

i still can't capture or use any firewire device (if i use the o2micro integrated firewire port, the pcmcia slot with firewire device works fine)

 

i've attacched the dump.

 

as you can see i have this strange error:

ERROR: FireWire unable to determine security-mode; defaulting to full-secure.

iopccardv6.txt

Link to comment
Share on other sites

hi equate,

i've tested your versions, both works but still kernel panic sometimes (picture attacched).

as you can see in the deployment dump, my o2micro is detected and is working, but i still get an error.

i've used a firewire 800 pcmcia card (ti compatible chipset).

 

regards

 

If you're meaning about the security mode, ignore it.

 

It's irrelevant, afaik.

 

 

As for the panic - I plan to look into that.

 

 

In the meantime, update to rev6 - it should support your chipset.

Best to all be on the same platform :rolleyes:

 

 

EqUaTe

Link to comment
Share on other sites

I'd need to know exactly what kind.. And the make.

As I said, I have a huawei 3g umts usb card.

I know a reasonable amount about getting the huawei's to work as a result.

EqUaTe

 

It is OPTION Globetrotter 3G QUAD. What do you need? I don't have anything for this card except drivers for win lol

Link to comment
Share on other sites

hi chun-nan,

i did several test with my firewire devices (integrated and pcmcia slot)

seems the system hangs somehow, is slowest than before, but the activity monitor doesn't show up any problems.

the integrated firewire (o2micro) works, but it has strange behaviours. if i plug any firewire/dv hdd, it can browse any folder, but is so slow that it's impossible to copy any files, alto small ones.

if i connect a dv camera i can only remote it if a tape is inserted. No video at all.

 

i've noticed also same problems on the pcmcia slot.

it works fine but slowest than before. i did same test with my pcmcia firewire 400/800.

dvcam works fine and can remote/capture files.

if i plug firewire 800 hdd the device delay is really too much. i can't play video files without frame drops, the disk seems too slow (but it isn't for sure, is a brand new 1 tera firewire 800 disk with raid0).

 

p.s. the pcmcia with earliest version of iopccardfamily seems faster/powerull

 

btw, you did a wonderfoul job, no more kernel panic, and most important thing, you've enabled whole o2micro devices.i guess this is only a tweaking problem

 

regards

Link to comment
Share on other sites

It is OPTION Globetrotter 3G QUAD. What do you need? I don't have anything for this card except drivers for win lol

 

Hm. Do you have a linux install? Or a LiveCD? (NOT gparted)

It might be better if we take this to PM for now - feel free to pm me in response to this.

 

Hi guys,

 

I also updated rev1 of IOPCIFamily and IOPCCardFamily.

http://forum.insanelymac.com/index.php?showtopic=81048

 

Welcome to try it if you have Tiger installed and let me know the result. Thanks.

Chun-Nan

 

Great news ;) I shall be trying this out on a work-colleagues laptop that runs tiger now (thanks to me). It has a TI or Ricoh chipset - I forget which. It wasn't supported by the Tiger kext OOTB though - hopefully it will be by yours!

I'd say I'd try it tomorrow, but I don't expect to be at work.. So probably on Monday.

 

hi chun-nan,

i did several test with my firewire devices (integrated and pcmcia slot)

seems the system hangs somehow, is slowest than before, but the activity monitor doesn't show up any problems.

the integrated firewire (o2micro) works, but it has strange behaviours. if i plug any firewire/dv hdd, it can browse any folder, but is so slow that it's impossible to copy any files, alto small ones.

if i connect a dv camera i can only remote it if a tape is inserted. No video at all.

 

i've noticed also same problems on the pcmcia slot.

it works fine but slowest than before. i did same test with my pcmcia firewire 400/800.

dvcam works fine and can remote/capture files.

if i plug firewire 800 hdd the device delay is really too much. i can't play video files without frame drops, the disk seems too slow (but it isn't for sure, is a brand new 1 tera firewire 800 disk with raid0).

 

p.s. the pcmcia with earliest version of iopccardfamily seems faster/powerull

 

btw, you did a wonderfoul job, no more kernel panic, and most important thing, you've enabled whole o2micro devices.i guess this is only a tweaking problem

 

regards

 

Do you see any debug messages with these kexts? If you see any, then this is probably the cause of the slowdowns..

 

In fact - debug messages from ANY kext can cause slowdowns.

 

I'm glad the panics are gone - this is a great sign :)

 

 

 

Chun-Nan,

 

Further to the above - I'll be moving to rev6 shortly - been busy using the connection tonight, so haven't had the chance :P

But again, thanks for all your hard work! It's great to have people like you in the community :D

 

Cheers,

EqUaTe

Link to comment
Share on other sites

 Share

×
×
  • Create New...