Jump to content

CardBus/PCMCIA PC Cards for Leopard


  • Please log in to reply
1071 replies to this topic

#61
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
rev5 with test3

#62
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts
Hi Mariusz, fakedotbr, and djmastera2000,
Thanks for the test and the result. I am still working on the IOPCIFamily. I think " BUS: 1 sub-range limited to 0 each" is the key. I will let you guys know when I find the solution to it.
Chun-Nan

Hi guys,

IOPCIFamily_test is for the those who have the error message of "IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0". It is for the debug purpose and it may not work. If your pccard doesn't have that message, just use rev3 or rev5. If you choose to use rev5, please replace both IOPCIFamily and IOPCCardFamily inside the rev5 at the same time. Don't mix rev5 with rev3.

If you get the kernel panic after using rev3 or rev5, check if you have replaced the following files to make your cardbus slot working before:

AppleACPIPlatform
AppleAPIC
IOACPIFamily

If you did, you probably need to find a way to restore those files first.
If you still get kernel panic, you can take the picture of it if possible. Thanks.

Chun-Nan

#63
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
After reinstalling I tried again and no more panic but it fails to start I have the image attached.

Attached Files



#64
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

After reinstalling I tried again and no more panic but it fails to start I have the image attached.


Hi jon37325,

Do you know your vender id and device id of your pccards? (which brand and type)

Chun-Nan

#65
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
Well, lets see I am trying to get any of them to work. I have a orinocco gold abg, ubuquiti 300mw ar5006 that I would like to work, The card bus I believe is a Ricoh R/RL/5C476 on a asus v6va

#66
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

Well, lets see I am trying to get any of them to work. I have a orinocco gold abg, ubuquiti 300mw ar5006 that I would like to work, The card bus I believe is a Ricoh R/RL/5C476 on a asus v6va


Hi jon37325,

Ricoh RL5C476 (0x0476) should be supported by Leopard. Which version do you use? If you are using rev5, make sure you replace both IOPCIFamily and IOPCCardFamily inside the rev5 at the same time. If rev5 still doesn't work, try rev3.

Let me know the result.

Chun-Nan

#67
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
same issue with rev3 also.Is this correct, I copy the two kext files this way cp -R /"location"/IOPCCardFamily.kext /System/Library/Extensionscp -R /"location"/IOPCIFamily.kext /System/Library/Extensions

#68
EqUaTe

EqUaTe

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Gender:Male
  • Location:Babylon 5

same issue with rev3 also.Is this correct, I copy the two kext files this way cp -R /"location"/IOPCCardFamily.kext /System/Library/Extensionscp -R /"location"/IOPCIFamily.kext /System/Library/Extensions


Pretty much, yeah.
You also need to chown/chmod them...

chown -R root:wheel /System/Library/Extensions/IOPCIFamily.kext
chmod -R 755 /System/Library/Extensions/IOPCIFamily.kext
chown -R root:wheel /System/Library/Extentions/IOPCCardFamily.kext
chmod -R 755 /System/Library/Extentions/IOPCCardFamily.kext


And it doesn't hurt to run:
diskutil repairpermissions /

afterwards either.
Obviously these are all run as root, so either start with: sudo su -
or prefix every command with sudo

Have you made any other modifications to your install? Also, when you installed, did you erase the previous install, or just install over the top?

Cheers,
EqUaTe

#69
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

same issue with rev3 also.Is this correct, I copy the two kext files this way cp -R /"location"/IOPCCardFamily.kext /System/Library/Extensionscp -R /"location"/IOPCIFamily.kext /System/Library/Extensions


Assuming "location" is the location where you put Chun-Nan's kext file, yes it is correct. Did you remove kext cache file:-
# rm -r /System/Library/Extensions.mkext

I think it is better if you move the original kext file to another location before you copy Chun-Nan's kext file.

#70
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
I am copying these as root they should have root:wheel perms when copied. I have never had to do that with any others. The only other piece I have had to add to my install was the powermanagment bundle. thanks for the reply.Trying all responses as I type this. thanks

#71
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

I am copying these as root they should have root:wheel perms when copied. I have never had to do that with any others. The only other piece I have had to add to my install was the powermanagment bundle. thanks for the reply.Trying all responses as I type this. thanks


I agree. But I found it is necessary to remove kext cache file after installing new kext file in leopard.

#72
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
Yes the doing the remove of the cache worked so it actually booted this time, but still no card found, am I missing another driver or something? Do I need a new controller driver for the ricoh chip set?

#73
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Yes the doing the remove of the cache worked so it actually booted this time, but still no card found, am I missing another driver or something? Do I need a new controller driver for the ricoh chip set?


You mean you get "start:failed"? With both rev3 & rev5? Try to replace IOPCCardFamily kext file only & use original IOPCIFamily kext file. I use original IOPCIFamily kext file & rev3 IOPCCardFamily kext file.

#74
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts
Hi Mariusz, fakedotbr, and djmastera2000,

Here is the test4 IOPCIFamily. Try this one with IOPCCardFamily on rev5 and boot with "-s" to enter single user mode. Don't make any change on info.plist.

Let me know the result. Don't forget to backup your original file before trying it. Thanks.

Chun-Nan

Attached File  IOPCIFamily_test4.zip   50.07KB   47 downloads

#75
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
using the original IOPCIFamilty.kext and the rev3 IOPCCardFamily.kext I get a kernel panic.

#76
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

using the original IOPCIFamilty.kext and the rev3 IOPCCardFamily.kext I get a kernel panic.


Hi jon37325,

I am working on the new revision of IOPCIFamily and IOPCCardFamily.

Can you double check the chip of your pccard (vender id and device id). If they don't match correctly with the source code, it will never work.

Chun-Nan

#77
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
I am not sure how to get the vender id and device id.

#78
fingerr

fingerr

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 260 posts
  • Gender:Male
  • Location:Poland

Hi Mariusz, fakedotbr, and djmastera2000,

Here is the test4 IOPCIFamily. Try this one with IOPCCardFamily on rev5 and boot with "-s" to enter single user mode. Don't make any change on info.plist.

Let me know the result. Don't forget to backup your original file before trying it. Thanks.

Chun-Nan

Hi Chun-Nan,

looks like card is recognized but after inserting PCMCIA USB I get some strange errors, find below dmesgs:

Before inserting adapter:

IOAPIC: Version 0x20 Vectors 64:87ACPI: System State [S0 S3 S4 S5] (S3)Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.mbinit: doneSecurity auditing service presentBSM auditing presentStarting AppleACPIPS2NubFound mouse PNP deviceAppleACPIPS2Nub startup completeExtension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.From path: "uuid", Waiting for boot volume with UUID 252724EC-A21D-3FC0-94F9-BCEC237771D7Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>    bridge bus 1:1 BUS 0001:0001    bridge bus 2:2 BUS 0002:0001    bridge bus 3:4 BUS 0003:0002    bridge bus 5:6 BUS 0005:0002    bridge bus 7:7 BUS 0007:0001    yenta bus 0:0 BUS 0000:0001    yenta bus 0:0 BUS 0000:0001pciBridgeCheckConfiguration(bus 7, state 0)pciBridgeAllocateResource(bus 7, state 0)Allocating resources on bus 7root bridge resource MEM f0900000 len 100000root bridge resource PFM fff00000 len 200000root bridge resource I/O f000 len ffff2000root bridge resource BUS 7 len 1  clipped bridge MEM range head to f0904000:fc000 for f0900000:4000 overlap 4000  MEM: sub-range outside parent range: 0xf0900000:0x4000  MEM: 2 sub-range limited to 7d380 each  I/O: 1 sub-range limited to ffff2000 each  BUS: 1 sub-range limited to 0 each  MEM: allocated block f0906000:1000pciBridgeDistributeResource(bus 7, state 2)Enabling bridge serving bus 7  Bridge Control    = 0000  Bridge Command    = 00100007Distribute resources for bus 7  BUS: total size 0, required size 1, maximize count 1  BUS: assigned block 8:1Applying config for device 7:6:3  bar 0x10 = f0905800  Device Command = 02100000  changed LT to 64 PCI clocksApplying config for device 7:6:2  bar 0x10 = f0904000  Device Command = 02100000  changed LT to 64 PCI clocksApplying config for device 7:6:1  bar 0x10 = f0905000  bar 0x14 = f0900000  Device Command = 02100000  changed LT to 64 PCI clocksApplying 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:08Enabling bridge serving bus 8  Bridge Command    = 02100000  changed LT to 64 PCI clocks  changed SEC-LT to 64 PCI clocksPCI configuration changed (bridge=0 device=3 yenta=1)IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16


and after inserting adapter:

PCI configuration changed (bridge=0 device=3 yenta=1)IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 3@3BSD root: disk0s3, major 14, minor 3IOPCCard info:   cs: cb_alloc(bus 8): vendor 0x1106, device 0x3038IOPCCard info:   cs: cb_alloc(bus 8): found 3 functionsIOCardBusDevice: binding socket 0 function 0 to card services.IOPCCard info:   cs: cb_config(bus 8)IOPCCard info:     fn 0 bar 2: mem 0xa0004000-0xa00040ffIOPCCard info:     fn 0 bar 5: io 0x120-0x13fIOPCCard info:     fn 1 bar 2: mem 0xa0003000-0xa00030ffIOPCCard info:     fn 1 bar 5: io 0x100-0x11fIOPCCard info:     fn 2 bar 1: mem 0xa0002000-0xa00020ffIOPCCard info:     fn 2 bar 2: mem 0xa0001000-0xa00010ffIOPCCard info:     irq 18IOCardBusDevice: binding socket 0 function 1 to card services.IOCardBusDevice: binding socket 0 function 2 to card services.USBF:	87.758	AppleUSBUHCI: controller reset failedUSBF:	88.902	AppleUSBUHCI: controller reset failed [u]<strong class='bbc'><-- (this message repeats over and over again)</strong>[/u]

I don't have any other PCMCIA adapter at the moment, so cannot say if this problem occurs because my USB adapter is not compatible with MacOSX.

Thanks for your good work Chun-Nan !!!

----------- EDIT -----------------
These are dev strings from windows xp for my USB adapter:

Extended host controller USB VIA
PCI\VEN_1106&DEV_3104&SUBSYS_31041106&REV_65\5&3E26BA2&0&0230F0

Universal host controller USB VIA Rev 5 or higher
PCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_62\5&3E26BA2&0&0030F0
Universal host controller USB VIA Rev 5 or higher
PCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_62\5&3E26BA2&0&0130F0


Regards,
Mariusz.

Edited by Mariusz, 17 January 2008 - 08:42 AM.


#79
macpo

macpo

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hi Chun-Nan,

I tried rev5 and still get "unable to list firewire devices" in the system profiler. I'm using stock version for AppleACPIPlatform.kext, IOACPIFamilly.kext and AppleACPI.kext. Do you know if it can be an IO or memory conflict? I don't know what to do, probably I'll have to wait till osx 10.5.2.

Anyway, thanks for all your work...

Macpo

#80
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

Hi jon37325,

I am working on the new revision of IOPCIFamily and IOPCCardFamily.

Can you double check the chip of your pccard (vender id and device id). If they don't match correctly with the source code, it will never work.

Chun-Nan


I belive this is it: 168c:0013





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy