Jump to content

Cardbus/PCMCIA Controller ID 104C:8039 Texas Instruments PCIxx12


solu
 Share

421 posts in this topic

Recommended Posts

Hi, i don't know if this belongs here, but i've got an Acer aspire 3623 with a ene CB1410. apparently it's a "clone" of the TI1250 as seen here (http://lists.infradead.org/pipermail/linux...ber/000254.html)

+++ linux/drivers/pcmcia/yenta_socket.c

@@ -1009,6 +1009,11 @@ static struct pci_device_id yenta_table

CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1250, TI1250),

CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1410, TI1250),

 

+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1211, TI12XX),

+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1225, TI12XX),

+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1410, TI1250),

+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1420, TI1250),

 

under Knoppix 5.10, lspci -vv outputs:

06:09.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
Subsystem: Acer Incorporated [ALI] Unknown device 006a
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at b0111000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: 60000000-61fff000 (prefetchable)
Memory window 1: 64000000-65fff000
I/O window 0: 00003400-000034ff
I/O window 1: 00003800-000038ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

and lspci -n outputs:

06:09.0 0607: 1524:1410 (rev 01)

i've edited the info.plist from probono's IOPCCardFamily.kext with these values for Memory and I/O. my questions are:

  1. where in the IOPCCardFamily binary do i change the device id
  2. What device id should i use (006a? 0607? 1524? 1410?)
  3. what hex editor do you recommend?

i know this might not work due to the different chip, but i would like to know how it's done in theory and attempt it just in case.

Link to comment
Share on other sites

IOPCCardFamily supports the TI 1225, TI 1250A, TI 1251A, TI 1251B, amongst others. You yould try to replace the IDs e.g., og the 1250A with yours.

 

In your case:

1524 = ENE Technology Inc

1410 = CB1410 Cardbus Controller

 

Note that in the IOPCCardFamily binary (using any hex editor of your choice) the values need to be pairwaise reversed:

1524 must be written as 2415

1410 must be written as 1014

 

You need to search for the IDs of e.g., the TI 1250A and replace them with your IDs. See what happens.

Edited by probono
Link to comment
Share on other sites

hi, i have question and problem....! :hysterical:

 

1) why the memory range are different between Windows (see joined jpg /4 memory range) and ubuntu with lspci..(under /2 memory range)..

07:06.0 CardBus bridge: Texas Instruments Unknown device 8039

Subsystem: Toshiba America Info Systems Unknown device ff10

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

Memory at de007000 (32-bit, non-prefetchable)

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

 

2) when i put the glichman kext, edit the plist file (ADP 2,1; with 4 memory range !) , put the kext, correct security, etc....

- Sometimes kext seems to load and said "FFFFFFF unknown error", checks your setting

- sometimes kext seems to load, say "Texas Instrument PCIxx12 rev 00" and system HANG !!!

 

Does someone have an idea ? is there a difference between the past of the computer; Reboot, On, Off, XP, etc...or something else

 

3) which i have to follow Win or Linux ? why it is so strange ?

 

Thank's in advance...

post-71512-1170797343_thumb.jpg

Link to comment
Share on other sites

I have 10.4.8 running on a Thinkpad Z61m. The PCMCIA controller is Texas Instruments 104C:8039. I initially just replaced the old kext with the one in the very first post and on restart and I got the device failed to start. Then i got all the kexts from the post about what files need to be replaced to work with 10.4.8. I made all those changes, restarted, and it stalls on bootup. In verbose mode i can see that it looks like the controller was recognized... it says Texas Instruments xx12 etc... but then it stops a line or so after that. The problematic kexts seem to be IOPCCardFamily.kext and IOPCIFamily.kext. If i replace either of those with the original version it fails to start the cardbus controller, but loads the OS fine. If I have the old (i think 10.4.4 ) IOPCIFamily.kext along with the modified IOPCCardFamily.kext it detects the controller but stalls.

 

I've tried many of the perhaps different variations of the kexts posted on this forum but they all seem to produce the same general problem. It stalls just before it should print the line about the Firewire controller. I've noticed that others have posted that the firewire stops working when they get PCI working. Could this have something to do with the problem?

 

Any ideas?

Link to comment
Share on other sites

IOPCCardFamily supports the TI 1225, TI 1250A, TI 1251A, TI 1251B, amongst others. You yould try to replace the IDs e.g., og the 1250A with yours.

 

In your case:

1524 = ENE Technology Inc

1410 = CB1410 Cardbus Controller

 

Note that in the IOPCCardFamily binary (using any hex editor of your choice) the values need to be pairwaise reversed:

1524 must be written as 2415

1410 must be written as 1014

 

You need to search for the IDs of e.g., the TI 1250A and replace them with your IDs. See what happens.

 

thanks for the help, but unfortunately i get kernel panic.

i just did a find and replace in the hex editor, replacing 4c10 (Texas I:104c) with 2415(ENE: 1524) and 16ac (TI1250: ac16) with 1014 (CB1410). is that right?

Link to comment
Share on other sites

Precisely. The tricky part is that you are not allowed to replace all occurences of "4c10", but only the "right" ones.

(I don't know which these are since I never had to modify the vendor ID.)

 

Probably it's way easier to get the source and re-compile it using your IDs.

http://www.opensource.apple.com/darwinsour...odules/ti113x.h

Edited by probono
Link to comment
Share on other sites

Precisely. The tricky part is that you are not allowed to replace all occurences of "4c10", but only the "right" ones.

(I don't know which these are since I never had to modify the vendor ID.)

 

Probably it's way easier to get the source and re-compile it using your IDs.

http://www.opensource.apple.com/darwinsour...odules/ti113x.h

 

ok so i've downloaded the full tar.gz IOPCCardFamily source from http://www.opensource.apple.com/darwinsource/10.4.8.x86/, as well as the file you linked to. i've never compiled kernel modules, so if you can help me or refer a web page where i could get help, that would be great.

Edited by matt-hieu ergosteur
Link to comment
Share on other sites

opened the IOPCCardFamily.xcodeproj

edited the ti113x.h with my pci-ids. tried doing a build, but i get a build failed with 3 errors.

picture1mv9.png

they don't even seem related to my edits. any ideas?

Edited by matt-hieu ergosteur
Link to comment
Share on other sites

You need to build the entire driver, not just this one file. (Haven't done that myself yet)

 

I am rebuilding the entire driver, from the IOPCCardFamily-46.tar.gz. even without changing pci-ids, it will not build/compile. i'm using xcode 2.4.1.

Link to comment
Share on other sites

I've tried lastest Knoppix, Ubuntu and Kanotix CDs. None of them boot on my Sony BX546 laptop. Knoppix stuck at PCMCIA Cardmgr, Ubuntu gave me black screen, Kanotix could not find filesystem. In windows device manager shows PCI7411 while Sisoft Sandra reports PCIxx21/x515. Tested PCIxx21/x515 kext, not working, no pc card found in system profiler.

Link to comment
Share on other sites

hi... :thumbsup_anim:

does someone have an idea...?

Probono, do you have an idea too..?

 

Do i make a (or several) mistake(s) ? where...?

 

Why sometimes it's seem to load and the compter HANG

and

sometimes it doesn't load and the computer works...

 

please see my previous post (5 post before...Posted Feb 6 2007, 10:39 PM)

 

In my previous post i made a mistake about ADRESS.

i put some "------>" on bad ligne, (IO Adress) but i was talking about Memory windows...

 

Please give me a way to follow or an idea...

 

Toshiba A100-386

Link to comment
Share on other sites

ok I need help I have already read every single post on this topic.

 

I am using os x 10.4.8 on my gateway mx6446 laptop and have a TI xx12 pccard bus

 

Before I changed anything i did dmesg | grep PC and found this: IOPCCard info: Intel PCIC probe: not found

 

I installed Glitchmans extensions

downloaded IOPCCardFamily extension from this site

I edited it with the plist editor and modified the ADP2,1 values with the ones that I got from booting with a linux live cd. I also changed TestX86PC but i dont know if that makes a difference...

 

 

Here is the info from lspci -vv for the pccard bus

08:09.0 CardBus bridge: Texas Instruments: Unknown device 8039

Subsystem: Gateway 2000: Unknown device 0367

Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

Latency: 168, Cache Line Size 20

Interrupt: pin A routed to IRQ 20

Region 0: Memory at 40000000 (32-bit, non-prefetchable)

Bus: primary=08, secondary=09, subordinate=0c, sec-latency=176

Memory window 0: 40400000-407ff000 (prefetchable)

Memory window 1: 40800000-40bff000

I/O window 0: 00004000-000040ff

I/O window 1: 00004400-000044ff

BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+

16-bit legacy interface ports at 0001

 

and the device/vendor id is 08:09.0 Class 0607: 104c:8039

 

I edited the plist and edited the memory ranges and I/O ranges under ADP2,1

Memory Ranges

0 = <40400000-407ff000 >

1= <40800000-40bff000 >

I/O Ranges

0= <00004000 000040ff >

1= <00004400 000044ff >

 

I saved the plist, added it to the IOPCCardFamily extension, fixed permission, removed extension cache rebooted and now this is what I see:

 

IOPCCard info: Intel PCIC probe: TIxx12 rev 00

EXtension "com.apple.driver.AppleOnboardPCATA" has no kernel dependency

USB caused wake event (EHCI)

USBF: 22.512 AppleUSBOHCI[0x2e13800]::start OHCI controller will be unloaded across sleep

USBF: 22.517 AppleUSBOHCI[0x2fb8800]::start OHCI controller will be unloaded across sleep

 

At this point the system just freezes and thats it.

 

I know that 2 others have mentioned this problem in this topic but is there anything I can to do fix it ?

 

 

I have attached my IOPCCardFamily extension.

 

thanks,

IOPCCardFamily.zip

Link to comment
Share on other sites

IOPCCard info: Intel PCIC probe: TIxx12 rev 00

This means that the PCMCIA controller is recognized and the driver is being loaded.

 

Unfortunately, I do not know what causes the crash. Maybe we can find out by comparing the systems where it works with those where it doesn't.

Link to comment
Share on other sites

i have the same problem (without USB text)

i have too: IOPCCard info: "Intel PCIC probe: TIxx12 rev 00" and STOP...

 

my only way to resume is to delete iopccardfamily.kext

 

I tested it with the ioppcifamily 10.4.6 (like Bunny); doesn't work ...anymore !

Link to comment
Share on other sites

Update:

 

When OS X freezes up after I have modified IOPCCardFamily, the only way I have found that I can fix this problem is by booting the 10.4.8 DVD into the installer and choosing terminal and replacing the bad IOPCCardFamily ext with the original one.

 

The last time that I booted from the DVD after one of these freeze-ups, I kept a copy of my /var/log/system.log file so you guys can look at it and hopefully figure out what causes the boot process to freeze up.

 

This system.log is right up until the last time that it froze.

 

I've attached it below.

 

thanks,

 

JD

system.log.txt

Link to comment
Share on other sites

Update:

 

When OS X freezes up after I have modified IOPCCardFamily, the only way I have found that I can fix this problem is by booting the 10.4.8 DVD into the installer and choosing terminal and replacing the bad IOPCCardFamily ext with the original one.

 

The last time that I booted from the DVD after one of these freeze-ups, I kept a copy of my /var/log/system.log file so you guys can look at it and hopefully figure out what causes the boot process to freeze up.

 

This system.log is right up until the last time that it froze.

 

I've attached it below.

 

thanks,

 

JD

 

Hi, I have a different Texas card and have suffered the same crash on driver load on all versions 10.4.1 and above. Just tried what was suggested a few posts up, disabling Firewire (moved kext out of Extensions) and all apears good. Maybe worth a try?

Link to comment
Share on other sites

Update:

 

I remove all the Firewire related extensions and now the pcmcia bus works (some pcmcia cards like my 56k modem cause my computer to freeze but thats another story).

 

My computer also has a built in flash memory card reader thats identified as FlashMedia Controller.

 

Does anyone know how to make the FlashMediaController work ? I read on one of the posts on this site that the flashmedia controller depends on the pcmcia bus working which it now is.

 

When I pop an SD card into the slot nothing happens.

 

thanks,

 

JD

Link to comment
Share on other sites

I am rebuilding the entire driver, from the IOPCCardFamily-46.tar.gz. even without changing pci-ids, it will not build/compile. i'm using xcode 2.4.1.

 

I have that card too, and i'm trying to get it work on my as5612 10.4.8. I've downloaded the files from apple and get your same error. these error exist cause the files are for old ppc platform. I've made some mod but when the kext load gives me IOPCCardBridge::start failed error.

I'm new in osx driver programming (and generally in driver programming )... If someone can and would help...

Edited by speddish
Link to comment
Share on other sites

sorry for the lame question..

 

i have a compaq evo n1020v.. read all threads..

 

how do i put in the dev id, with the hex editor? (where do i have to write in it?)

 

and what should i write in the plist?

 

regards..

 

Hardware identifier PCI\VEN_104C&DEV_AC41&SUBSYS_00560E11&REV_02

Location 0. PCI-bus, 10. device, 0. function

PCI device Texas Instruments PCI-4410 PC Card CardBus Controller

 

deivce resources:

IRQ 10

Memory 000D7000-000D7FFF

Memory EC000000-EFFFFFFF

Memory FFBFE000-FFBFEFFF

Memory FFEFF000-FFEFFFFF

Port FD00-FDFF

Port FE00-FEFF

Edited by Sumi
Link to comment
Share on other sites

Can someone help me out with this?

 

I am trying to get this working with my HP Pavilion dv8230ca notebook running the 10.4.8 - 8.8.1 kernel from the JaS Install DVD.

 
Name: Texas Instruments PCIxx12 Cardbus Controller

Device ID: PCI\VEN_104C&DEV_8039&SUBSYS_30A5103C&REV_00\4&2EC23395&0&30F0

 

my memory ranges from XP look like this:

D2004000-02004FFF

F2BFF000-F2BFFFFF

DC000000-DFFFFFFF

 

Then I have TWO IO ranges:

FE00-FEFF

FD00-FDFF

 

Then one more memory range

000DF000-000DFFFF

 

I have already put in glitchman's extensions, I just don't know how to edit this last file.

Thanks!

Link to comment
Share on other sites

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?

 

I have problem

this is screen from My PC

My Mac didnt see IOPCCardFamily.kext

post-87663-1172751565_thumb.jpg

Link to comment
Share on other sites

Okay so after using property list editor to edit the .kext to add in my memory ranges and IO values from XP. I get this on boot.

 

IOPCCard notice: AdjustResourceInfo: Bad size Anyone know what this means?

Link to comment
Share on other sites

 Share

×
×
  • Create New...