Jump to content

CardBus/PCMCIA PC Cards for Tiger


  • Please log in to reply
160 replies to this topic

#81
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
I made new version from Leo sources. It works with my 10.4.6
Sources here:
http://forum.insanel...o...0&start=333
Ready to test kext attached.
What new? Correct powerManagement

| | | "Supported Features" = {"DisplayDims"=Yes,"FileServer"=Yes,"WakeRelativeToSleep"=Yes,"WakeByCalendarDate"=Yes,"PowerRelativeToShutdown"=Yes,"Automatic Restart On Power Loss"=Yes,"PowerByCalendarDate"=Yes,"AdaptiveDimming"=Yes,"Hibernation"=Yes}



#82
fingerr

fingerr

    InsanelyMac Sage

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

I made new version from Leo sources. It works with my 10.4.6
Sources here:
http://forum.insanel...o...0&start=333
Ready to test kext attached.
What new? Correct powerManagement

Hi Slice,

for me it works like rev3 from Chun-Nan. I have to manually load IOPCCardFamily to have PCMCIA i FW.
Here are dmesgs :
with IOPCCardFamily in Extensions:
IOPCI2PCIBridge: cardbus memory range 524288 bytes @ 0xf0907000IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00USB caused wake event (EHCI)FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.IOPCCard 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.

without IOPCCardFamily (manual load):
IOPCI2PCIBridge: cardbus memory range 524288 bytes @ 0xf0907000USB caused wake event (EHCI)FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00IOPCCard 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.

Regards,
Mariusz.

#83
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
Hi Mariusz!

Can you upload the file
ioreg -l -x -w 1024 >ioregMariusz.txt
for me to compare your addresses. Plug all your devices and load all drivers as possible to see a whole tree.

If you want to load Firewire first increase it's
<key>IOProbeScore</key>
			<integer>4096</integer>
and
<key>OSBundleRequired</key>
	<string>Local-Root</string>
in the IOFirewireFamily.kext/Contents/Plugins/IOFWOHCI.kext/Contens/info.plist

And check loading order by kextstat command

#84
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
Version for Tiger without debuging
Checked with
1.
Laptop Samsung P29
Celeron M 1,3
ATI IXP 150 - work
ATI AC97 sound - work
CardBus Ricoh RL5C475 - work, tested with Adaptec SlimSCSI 1480
Firewire Ricoh R5C551 - appears as working but not tested
USB Nec - work
Radeon 9100IGP - in progress (no freeze, no crashes)
JaS 10.4.6 with ATI drivers (ATA, AC97, Radeon) and new IOPCIFamily.

2.
Core2 Duo
Gigabyte 965P-S3
PCIE, USB and SATA buses
GA nVidia 7300LE 128Mb PCIE
MacOSX Kalyway 10.4.10
All works fine

#85
fingerr

fingerr

    InsanelyMac Sage

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

Hi Mariusz!

Can you upload the file
ioreg -l -x -w 1024 >ioregMariusz.txt
for me to compare your addresses. Plug all your devices and load all drivers as possible to see a whole tree.

If you want to load Firewire first increase it's

<key>IOProbeScore</key>
			<integer>4096</integer>
and
<key>OSBundleRequired</key>
	<string>Local-Root</string>
in the IOFirewireFamily.kext/Contents/Plugins/IOFWOHCI.kext/Contens/info.plist

And check loading order by kextstat command


Hi Slice,

I've changed IOProbeScore (OSBundleRequired was set to Local-Root) and kextstat says IOFireWireFamily is loaded before IOPCCard
39	5 0x3c311000 0x32000	0x31000	com.apple.iokit.IOFireWireFamily (2.6.0) <5 4 3>
   40	0 0x3c580000 0x19000	0x18000	com.apple.driver.AppleFWOHCI (2.9.10) <39 16 6 5 4 3>
   41	0 0x3c4b1000 0x19000	0x18000	com.apple.iokit.IOPCCardFamily (1.6.3) <16 11>

but my FireWire device is listed as "unknow device".

Please find attached ioreg.

------EDIT---------
I've attached another ioreg from working PCMCIA and FW (manual load of IOPCCardFamily, single user mode)



Regards,
Mariusz.

Attached Files


Edited by Mariusz, 09 February 2008 - 04:59 PM.


#86
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
2 Mariusz
I shall be reading your information more carefully.
First I found that your model is not ADP2,1 as it tuned by IOPCCardFamily. It is a question to Chun-Nan.
Second, I found that in these two cases ethernet have different interrupt. Do you check LAN in both cases?
Do you play with BIOS:
Plug&Play OS
resources: automatically
or something else?
The hardware configuration is different, and I am not sure that it is only IOPCIFamily changes.

#87
fingerr

fingerr

    InsanelyMac Sage

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

2 Mariusz
I shall be reading your information more carefully.
First I found that your model is not ADP2,1 as it tuned by IOPCCardFamily. It is a question to Chun-Nan.
Second, I found that in these two cases ethernet have different interrupt. Do you check LAN in both cases?
Do you play with BIOS:
Plug&Play OS
resources: automatically
or something else?
The hardware configuration is different, and I am not sure that it is only IOPCIFamily changes.

Hi Slice,

I don't use LAN, I have WiFi network, but previuosly LAN was working.
My bios does not list these options.

Regards,
Mariusz.

#88
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
So what is happen if you disable ethernet adapter?

#89
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
Now I have AGPGart compatible with IOPCIFamily 2.4.2 but not with IOPCCardFamily.
For testing go to my thread
New AGPGart

#90
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

I have a Sony Vaio Vgn-N11m with a Texas Instruments PCIxx12 integrated flash media controller. ID 104C:803B
and have been going nuts trying to get my SD-card reader to work. I don't know if you can help but Ill give you what i got.
I tried your latest driver and altho it does not send my system into a panic my SD-card reader is still not working.
and to be honest i don't even know if the card slot is working.

I'm on OSX 10.4.8 by the way. Any help would be much appreciated as I,m very confused.


Hi bronxboyXXX,

As far as I know, IOPCCardFamily is only for pccard controller, not for flash media controller. You need extra driver to make your card reader work.

Chun-Nan

#91
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

I figured that but i also realized that it's the IOPCIFamily.kext file thats the card reader driver. so i guess its just a matter of figuring out if my PCMCIA controller is even working and then moving on to hack that file. I think I understand how to edit the Plist files so at the moment my biggest problem is figuring out how to edit the Device ids using the Hex editor. any advice?


Hi bronxboyXXX,

As far as I know, IOPCIFamily just help the computer know how many devices or bridges the computer has and then allocate the resources (memory, i/o or bus numbering) for those devices and bridges. Once the IOPCIFamily finishes the allocations, the drivers will take over.

However, different controllers have different registers/settings and use different ways to function. That is why different controllers need different drivers.

Chun-Nan

#92
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts
Hi all,

Here is the beta IOPCIFamily for 10.4.11. In this edition, IOPCIFamily will try to fix devices/bridges misconfigured by BIOS, including pccards, ethernet, etc.

It doesn't require assigning computer name, memory ranges, or i/o ranges on IOPCCardFamily. IOPCIFamily will try to assign resources automatically.

Please help test it and post the result under singleuser mode if possible. Again, don't forget to backup your original file before trying it. Also, double check the file permissions before rebooting. Thanks a lot.

Chun-Nan

P.S. If your pccard originally is supported by Apple, you don't have to replace IOPCCardFamily. If it isn't, you have to replace both IOPCIFamily and IOPCCardFamily.

Attached File  IOPCIFamily.10.4.11.beta.zip   954.18KB   182 downloads

#93
fingerr

fingerr

    InsanelyMac Sage

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

Hi all,

Here is the beta IOPCIFamily for 10.4.11. In this edition, IOPCIFamily will try to fix devices/bridges misconfigured by BIOS, including pccards, ethernet, etc.

It doesn't require assigning computer name, memory ranges, or i/o ranges on IOPCCardFamily. IOPCIFamily will try to assign resources automatically.

Please help test it and post the result under singleuser mode if possible. Again, don't forget to backup your original file before trying it. Also, double check the file permissions before rebooting. Thanks a lot.

Chun-Nan

P.S. If your pccard originally is supported by Apple, you don't have to replace IOPCCardFamily. If it isn't, you have to replace both IOPCIFamily and IOPCCardFamily.

Attached File  IOPCIFamily.10.4.11.beta.zip   954.18KB   182 downloads


Hi Chun-Nan,

here is dmesg from beta IOPCI and IOPCCard (vanilla IOPCCards causes kernel panic):
1989, 1991, 1993	The Regents of the University of California. All rights reserved.using 10485 buffer headers and 4096 cluster IO buffer headersEnabling XMM register save/restore and SSE/SSE2 opcodesStarted CPU 01IOAPIC: Version 0x20 Vectors 64:87ACPI: System State [S0 S3 S4 S5] (S3)pciBridgeAllocateResource(bus 0, state 0)Allocating resources on bus 0root bridge resource MEM 80000000 len 7ec00000root bridge resource MEM d8000 len 4000root bridge resource MEM d4000 len 4000root bridge resource MEM a0000 len 20000root bridge resource I/O d00 len f300root bridge resource I/O 0 len cf8root bridge resource BUS 0 len 100  clipped bridge I/O range head to 400:8f8 for 0:400 overlap 400  MEM: 1 sub-range limited to 6e223c00 each  I/O: 6 sub-range limited to 1f39 each  BUS: 1 sub-range limited to f9 each  I/O: allocated block 400:8  I/O: allocated block 408:4  I/O: allocated block 410:8  I/O: allocated block 40c:4  I/O: allocated block 420:10  MEM: allocated block 80000000:200000  I/O: allocated block 6000:1000  BUS: allocated block 7:2pciBridgeAllocateResource(bus 7, state 3)Allocating resources on bus 7  MEM: sub-range outside parent range: 0xf0905800:0x100  MEM: sub-range outside parent range: 0xf0904000:0x1000  MEM: sub-range outside parent range: 0xf0905000:0x800  MEM: sub-range outside parent range: 0xf0900000:0x4000  MEM: 2 sub-range limited to 100000 each  I/O: 1 sub-range limited to 1000 each  BUS: 1 sub-range limited to 1 each  MEM: allocated block 80000000:1000  MEM: allocated block 80100000:100000  I/O: allocated block 6000:1000  BUS: allocated block 8:1pciBridgeAllocateResource(bus 5, state 3)pciBridgeAllocateResource(bus 3, state 3)pciBridgeAllocateResource(bus 2, state 3)pciBridgeAllocateResource(bus 1, state 3)Security auditing service presentBSM auditing presentdisabledFrom path: "uuid", Waiting for boot volume with UUID B682126F-86CF-38CA-95BF-F6AF0061BE18Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>Allocating resources on bus 1  MEM: 2 sub-range limited to 80000 each  PFM: 1 sub-range limited to 10000000 each  I/O: 1 sub-range limited to 1000 each  PFM: allocated block d0000000:10000000  I/O: allocated block 2000:100  MEM: allocated block cfe00000:10000  MEM: allocated block cfe20000:20000pciBridgeAllocateResource(bus 8, state 3)PCI configuration changed (bridge=1 device=14 yenta=1)USB caused wake event (EHCI)IOPCCard info:   Mac OS X PCMCIA Card Services 3.1.22IOPCCard info:     options:  [pci] [cardbus] [pnp]IOPCCard info:   Intel PCIC probe: IOPCCard info:     TI XX12 rev 00 PCI-to-CardBus phys mem 0x80104000 virt mem 0x3c658000IOPCCard info:       host opts [0]: [serial pci & irq] [pci irq 18] [lat 64/176] [bus 8/8]IOPCCard info:       PCI card interrupts, PCI status changesFireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.IOPCCard 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 0x80004000-0x800040ffIOPCCard info:     fn 0 bar 5: io 0x6020-0x603fIOPCCard info:     fn 1 bar 2: mem 0x80003000-0x800030ffIOPCCard info:     fn 1 bar 5: io 0x6000-0x601fIOPCCard info:     fn 2 bar 1: mem 0x80002000-0x800020ffIOPCCard info:     fn 2 bar 2: mem 0x80001000-0x800010ffIOPCCard info:     irq 18IOCardBusDevice: binding socket 0 function 1 to card services.IOCardBusDevice: binding socket 0 function 2 to card services.Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 4@4BSD root: disk0s4, major 14, minor 4Extension "com.apple.driver.iTunesPhoneDriver" has no kernel dependency.

My PCMICA USB adapter works. Tomorrow I will try to check if FireWire works together with PCMCIA.

Regards,
Mariusz.

#94
barbie

barbie

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

Hi all,

Here is the beta IOPCIFamily for 10.4.11. In this edition, IOPCIFamily will try to fix devices/bridges misconfigured by BIOS, including pccards, ethernet, etc.

It doesn't require assigning computer name, memory ranges, or i/o ranges on IOPCCardFamily. IOPCIFamily will try to assign resources automatically.

Please help test it and post the result under singleuser mode if possible. Again, don't forget to backup your original file before trying it. Also, double check the file permissions before rebooting. Thanks a lot.

Chun-Nan


hi Cun-Nan,

this is what i get when installing yr beta IOPCIFamily for 10.4.11.
pcccard didn't work and displaying the famous "checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0" error
pciBridgeAllocateResource(bus 0, state 0)Allocating resources on bus 0root bridge resource MEM 20000000 len dec00000root bridge resource MEM c8000 len 18000root bridge resource MEM a0000 len 20000root bridge resource I/O d00 len f300root bridge resource I/O 0 len cf8root bridge resource BUS 0 len 100  clipped bridge I/O range head to 400:8f8 for 0:400 overlap 400  MEM: 1 sub-range limited to cb437c00 each  I/O: 5 sub-range limited to 2beb each  I/O: allocated block 400:8  I/O: allocated block 408:4  I/O: allocated block 410:8  I/O: allocated block 40c:4  I/O: allocated block 420:10  MEM: allocated block a0000:400pciBridgeAllocateResource(bus 2, state 3)Allocating resources on bus 2  clipped bridge MEM range head to dc010000:17f0000 for dc000000:10000 overlap 10000  MEM: sub-range outside parent range: 0xdc000000:0x10000  MEM: 6 sub-range limited to 3fd555 each  I/O: 3 sub-range limited to a52 each  BUS: 1 sub-range limited to 0 each  MEM: allocated block dc010000:1000  MEM: allocated block dc100000:100000  I/O: allocated block a000:100  MEM: allocated block dc011000:100  MEM: allocated block dc020000:10000  I/O: allocated block a100:100  MEM: allocated block dc011100:100  MEM: allocated block dc030000:10000pciBridgeAllocateResource(bus 1, state 3)pciBridgeAllocateResource(bus 0, state 3)PCI configuration changed (bridge=0 device=11 yenta=0)IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0

regards

Barbie

#95
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

hi Cun-Nan,

this is what i get when installing yr beta IOPCIFamily for 10.4.11.
pcccard didn't work and displaying the famous "checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0" error

.....

regards

Barbie


Hi barbie,

Thanks for testing and the valuable result. I have been busy with school and I will check it maybe on the weekend. Thanks.

Chun-Nan

#96
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany

FIX FOR--Texas Instruments 6 in 1 PCIxx21 flash media reader on Linux without a driver

If you have a texas instruments integrated flash media card reader that doesn't work. Here's a way to get it going. .....

You can add this one line in your rc.local so it happens on boot. To toggle the register type setpci -s 06.3 4c=0x22. If you already have your card installed you should see it recognized immediately. If not insert it and a nice little box comes up asking if you would like to import your photos, also a desktop icon should appear for the card. I'm using FC6 with a toshiba laptop but this should work for other distro's as well. After you test it don't forget to add it to your /etc/rc.local so it will happen at bootup and be ready whenever you need it. Below is the card in my laptop. Good luck!

lspci
05:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
05:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
05:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
05:06.4 Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

lspci -n
05:06.0 0607: 104c:8031
05:06.2 0c00: 104c:8032
05:06.3 0180: 104c:8033
05:06.4 0805: 104c:8034

Ps: i very much appreciate your hard work its truly a quality driver.


Hi , where are that commands ( or where can i download them) ?
lspci , setpci gives command not found (OS X 10.5.2)

#97
fingerr

fingerr

    InsanelyMac Sage

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

Hi , where are that commands ( or where can i download them) ?
lspci , setpci gives command not found (OS X 10.5.2)

Please, read posts more carefully! This commands are from linux machine, and points how the problem was solved under linux.

Regards,
Mariusz.

#98
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,879 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Please, read posts more carefully! This commands are from linux machine, and points how the problem was solved under linux.

Regards,
Mariusz.


Sorry , you are a bit wrong.
Right that tools come from linux.
But they are now ported to OS X.
Can somebody upload them .
I know they are within ATKOS R3 Patch, but i dont have R2 iso file.

Thanks

#99
fingerr

fingerr

    InsanelyMac Sage

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

Sorry , you are a bit wrong.
Right that tools come from linux.
But they are now ported to OS X.
Can somebody upload them .
I know they are within ATKOS R3 Patch, but i dont have R2 iso file.

Thanks

Maybe they are now, but no one mentioned that this method worked under OSX.... and I think first person who will succeed under OSX will report it immedaitely to this forum :( Be patient and stay tuned ...

Regards,
Mariusz.

#100
Jim Fish

Jim Fish

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Brighton, UK
Hi All,

Anybody know where I can download the files that are mentioned in the first post. I get an error stating "files are missing". Thanks in advance. I am hoping they will get my PCMCIA wireless card working on my IBM X31 running 10.5.2.

Cheers. Jim





0 user(s) are reading this topic

0 members, 0 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