Help - Search - Members - Calendar
Full Version: [Solved?] ENE CB1410 -Building IOPCCardFamily.kext... (or porting pcmcia-cs) help?
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Other Peripheral Devices
matthieu/ergosteur
Apparently the ENE CB1410 is working in Leopard and Tiger. see here:
Leopard:
http://forum.insanelymac.com/index.php?showtopic=81036


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

http://forum.insanelymac.com/index.php?sho...id=515566&#
QUOTE(barbie)
for those who have cardbus with ene cb1410 or its clone, i'd like to inform you that finally i am able to make that cardbus run under hackintosh thanks to TS and matt-hieu ergosteur for the required info.
QUOTE(matt-hieu ergosteur @ Feb 5 2007, 06:13 AM) ... ene CB1410. apparently it's a "clone" of the TI1250 ...

here what have i done,

i follow TS steps as on the first post (i didn't do the third step though) and for the fourth step i do the replacement of the ID of the TI1250 with ENE CB1410 which is pairwise reversed
4C 10 16 AC with 24 15 10 14 (there will be only one replacement)

then VIOLA the card will be recognized ( i dont care it recognized as TI1250, the important thing is, it worked!!)

Here is the driver that works for me...
Attached File(s) IOPCCardFamily.kext.ene.cb1410.barbie.zip ( 152.79K )





hi
i was wondering if anyone has had any success in building IOPCCardFamily.kext with Xcode 2.4.1. when I try (without any modification) i get this error:

i'm using the source from http://www.opensource.apple.com/darwinsource/10.4.8.x86/

help please? i'm trying to get an ENE CB1410 to work.

alternatively, i'm trying to port the pcmcia-cs driver (http://pcmcia-cs.sourceforge.net), which already has ENE CB working.
matthieu/ergosteur
bump!

by the way, i noticed i didn't include a screenshot. i get 3 build errors, something to do with a timer not being defined. has anyone compiled the iopccardfamily before?
carterj
hi!
have you made any progress on the ene 1410? i have got one too... if you need any help drop me a private message, maybe i can help.. i'd surely like to tongue.gif
matthieu/ergosteur
QUOTE(matt-hieu ergosteur @ Feb 24 2007, 08:16 PM) *
bump!

by the way, i noticed i didn't include a screenshot. i get 3 build errors, something to do with a timer not being defined. has anyone compiled the iopccardfamily before?

the build errors screenshot:
Click to view attachment


QUOTE(carterj @ Feb 25 2007, 03:46 PM) *
hi!
have you made any progress on the ene 1410? i have got one too... if you need any help drop me a private message, maybe i can help.. i'd surely like to tongue.gif

so as I said in my PM, you could help by trying to build Apple's driver from the URL in the first post. I don't know if you might have more experience in C or Xcode or maybe just better luck so please try it and see if you get the same errors.
Ill try and build the driver on my friend's macbook, incase it won't build because of the modified kernel.
speddish
Hi matt-hieu ergosteur I've got it compiled but the kext wouldn't work... the problem with compile (i think) is that the IOPCCARD is built on old libraries(i think those for ppc)...
Coffee_Bean
We can't be the only people who want this driver to work!?

I saw some options that just needed memory and io addresses in PCCardFamily to be updated, but they didn't work for me, or I got it wrong!

I'm watching this thread for the ENE 1410!
gogetta
Hi

I succed compiled IPCCard to try make my O2Micro cardBus working
So here are my modifications:

void
IOPCCardAddTimer(struct timer_list * timer)
{
uint64_t deadline;

clock_interval_to_deadline(timer->expires, NSEC_PER_SEC / HZ, &deadline);
//thread_call_func_delayed(timerFunnel, (void *)timer, deadline);
thread_call_enter1_delayed(thread_call_allocate((thread_call_func_t)timerFunnel,
thread_call_param_t)NULL), (void *)timer, deadline);
}

int
IOPCCardDeleteTimer(struct timer_list * timer)
{
return (int)thread_call_cancel(thread_call_allocate((thread_call_func_t)timerFunnel,(th
ead_call_param_t)NULL));
}


with this, it compile but my O2micro donc work anymore..
matthieu/ergosteur
QUOTE(gogetta @ Mar 23 2007, 04:53 AM) *
Hi

I succed compiled IPCCard to try make my O2Micro cardBus working


Doesn't O2micro work natively in OSX 10.4.8 without modifications? if you look at the IOPCCardFamily source, there is already a o2micro module (http://www.opensource.apple.com/darwinsource/10.4.8.x86/IOPCCardFamily-46/modules/o2micro.h). For those of us with ENE, however, there is no ene.c module. (there is an ene.c in pcmcia-cs source). Would anyone know how to add that one extra module to the IOPCCardFamily driver?

also one odd thing i found:
the version of o2micro.h in IOPCCardfamily is
* o2micro.h 1.17 2000/06/12 21:29:37

in the last pcmcia-cs, it is
* o2micro.h 1.20 2002/03/03 14:16:57

the ene.h version in pcmcia-cs is:
* ene.h 1.2 2001/08/24 12:15:33

and as for ti113x.h it's:
* ti113x.h 1.32 2003/02/13 06:28:09
in BOTH IOPCCardFamily and pcmcia-cs

so Apple deliberately put in an old version of o2micro.h, and deliberately removed the ene.h. why?

gogetta, maybe you could try replacing the o2micro.h from IOPCCardFamily with the one from pcmcia-cs, then building the kext. if you try it, please tell us if it works
mobile2go
Hi,

Any progress?

I too have a ene card bus on my acer 5610Z (ENE 712/714/810) please let me know if you are able to get it to work.

Thanks!
bombuzal
Hehe, I wish I had time to look into it - I found my WiFi card was supported, then realised my cardbus controller wasn't, haha. I hope a nice person publically releases any driver builds they've completed at some point :]
deamobile
I would love to contribute in this project.
The IOPCCard is the only thing giving me a kernel panic when i enable both cores.
When i delete the kext, there's no problem at all.
Now i believe this kext is the one that makes the cardreader work. (Correct me if i'm wrong)
I don't know much about coding, but pointing me in the right direction will do.
rumdog
Im on an HP ZD7000 laptop and have a CB710 ENE spec cardbus controller.. It works perfectly under Debian arch GNU linux, but I just cant seem to make this thing works in JaS OS. I too would like to contribute anything I can to this project... please keep this string alive.
matthieu/ergosteur
well, for me this project is temporarily on hold, because I've got exams in two weeks. i'll probably be back at work on it during the last week of may. everyone else, please keep it up, and post results!
-M
matthieu/ergosteur
I've asked daemones for some help, as i've noticed he/she has written drivers before.
stevebrush
When I try to compile it in 10.4.9 (same source) and get the same errors...
0xdeadbeef
QUOTE(gogetta @ Mar 23 2007, 10:53 AM) *
Hi

I succed compiled IPCCard to try make my O2Micro cardBus working
So here are my modifications:

void
IOPCCardAddTimer(struct timer_list * timer)
{
uint64_t deadline;

clock_interval_to_deadline(timer->expires, NSEC_PER_SEC / HZ, &deadline);
//thread_call_func_delayed(timerFunnel, (void *)timer, deadline);
thread_call_enter1_delayed(thread_call_allocate((thread_call_func_t)timerFunnel,
thread_call_param_t)NULL), (void *)timer, deadline);
}

int
IOPCCardDeleteTimer(struct timer_list * timer)
{
return (int)thread_call_cancel(thread_call_allocate((thread_call_func_t)timerFunnel,(th
ead_call_param_t)NULL));
}


with this, it compile but my O2micro donc work anymore..



Have you tried perhaps,

CODE
void
IOPCCardAddTimer(struct timer_list * timer)
{
     uint64_t            deadline;

     clock_interval_to_deadline(timer->expires, NSEC_PER_SEC / HZ, &deadline);
thread_call_enter1_delayed(thread_call_allocate((thread_call_func_t)timerFunnel,(thread_call_param_t)timer),NULL, deadline);
}

int
IOPCCardDeleteTimer(struct timer_list * timer)
{
     return (int)thread_call_cancel(thread_call_allocate((thread_call_func_t)timerFunnel,(thread_call_param_t)timer));
}



the thread entry function timerFunnel() takes two parameters, but only uses the first.
bob2600
for those getting kernel panics with any pcmcia kext try disabling all of the kexts for firewire and try booting then because on some systems the resources for pcmcia and firewire are shared
quarbe
Iīve the same problem on my Toshiba A30-714.

If insert Belking G+ nothings happens.

I think thatīs the cardbus CB1410.

I canīte believe there is not a fix yet... Toshiba, acer, etc has been using this chipset...

... and in linux work perfect! (pcmcia-cs).

Cheers to all programmers!
matthieu/ergosteur
check this out:
http://forum.insanelymac.com/index.php?showtopic=52549

dunno if it helps, but....
Pacha71
QUOTE(mobile2go @ Mar 25 2007, 03:21 AM) *
Hi,
Any progress?
I too have a ene card bus on my acer 5610Z (ENE 712/714/810) please let me know if you are able to get it to work.
Thanks!



I have the same cardbus in my Fujitsu AmiloPro.

Do anybody have any news about progress ?

Thanks
kocoman
bump. not work yet..

Have Aspire 3620 with ENE Cardbus 1410 too
snam11
same problem here... acer travelmate 8215wlhi.
o2micro controller has pcmcia bus and firewire shared. (this notebook has 1 standard pcmcia slot and 1 express card)
so no firewire and pcmcia working.
has some1 a working kext to use at least pcmcia bus (maybe disabling firewire)?

regards
WARK1970
QUOTE(matt-hieu ergosteur @ Feb 25 2007, 03:16 AM) *
bump!

by the way, i noticed i didn't include a screenshot. i get 3 build errors, something to do with a timer not being defined. has anyone compiled the iopccardfamily before?


I have been trying the same, but my programming skills are too much lacking in order to be of any real use.
Would be nice to get that pcmcia working as 'native' airport with Linksys cards would be in store.

I was lucky enough to get my 2200 Wifi working with the Wifi driver though.
kocoman
I ended up using USB and abandon cardbus... too bad
barbie
ENE CB1410 works...
check this out...
http://forum.insanelymac.com/index.php?sho...id=515566&#
vitalyk
Hi everyone!
I'm using 10.4.9 by Uphuk on my Acer TM 2410. I used IOPCCardFamily.kext.ene.cb1410.barbie.zip
and get this:

XXX-computer:~ root# dmesg | grep PC
AppleIntelPIIXPATA: Secondary PCI IDE channel is disabled
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PATA@1F,1/AppleIntelPIIXATARoot/PRID@0/AppleIntelPIIXPATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/ST9120822A Media/IOFDiskPartitionScheme/Untitled 4@4

Any ideas? PLEASE HELP ME!!!!!!!!!
barbie
QUOTE(vitalyk @ Dec 15 2007, 03:01 AM) *
Hi everyone!
...snif...
and get this:

XXX-computer:~ root# dmesg | grep PC
...
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
...


seems like it happens due to other kext doesn get along with the pccard kext, have you try to use
IOPCIFamily.kext from 10.4.5
or maybe other glitchman's kext (except for the IOPCCardFamily.kext) ?

good luck!
vitalyk
IOPCIFamily.kext from 10.4.5 or maybe other glitchman's kext (except for the IOPCCardFamily.kext) ?

Hi, dear Barbie.
First of all, thanks for your reply. But, unfortunately, all this kext doesnt work. I'd like to ask you - What kind of MacOS X you're using (by whom)? And also I have Acer TM 2410. Maybe you can give your working kext? Will be very grateful to you.

P.S. Sorry for my English.
mr_brightside
i have the same problem with my acer 3623, everything working out of the box except for that pcmcia slot, so no connect card sad.gif
Trolav
Success!
ENE CB1410 Working i Leopard!

iATKOS v1.0i with PC_EFI v8
SpeedStep kernel, dual core working!
Acer TravelMate 6292 (Identified as Mac Pro)

After searcing the forums, and a lot of trial and error I finally got it working using kernel extensions from 10.4.8 (JaS), and editing IOPCCardFamily.kext.

Extensions replaced: AppleACPIPlatform, AppleAPIC, IOACPIFamily, IOPCIFamily, and IOPCCardFamily.

Unless your lspci output matches the one below, you will have to modify IOPCCardFamily for your system.
Check out this post for instructions how to...

Sometimes I get this failure during boot:
CODE

IOPCCard info: Intel PCIC probe:
IOPCCard notice: Bad bridge mapping at 0xf0407000!
IOPCCardBridge::start failed

,but 95% of the time itīs working like a charm.

Hardware info (Linux command: lspci -nn -vvv):
CODE

0a:01.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus Controller [1524:1410] (rev 01)
Subsystem: Acer Incorporated [ALI] Unknown device [1025:011b]
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 f0404000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=0a, secondary=0b, subordinate=0e, sec-latency=176
Memory window 0: 88000000-8bfff000 (prefetchable)
Memory window 1: 90000000-93fff000
I/O window 0: 00002000-000020ff
I/O window 1: 00002400-000024ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001


Note: Attached IOPCCardFamily is modified for this exact controller (memory, I/O and PCI ID).
Note2: Replacing these extensions also gave me back the battery icon on my laptop smile.gif
Slice
My PCMCI Picoh R5C475 didn't work in 10.4.6 with the same message
QUOTE
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0

...
until I replace IOPCIFamily.kext from v2.0 to v1.7!
Now my PCMCI works rolleyes.gif
bombuzal
Nice to know that people are getting somewhere with this smile.gif

I upgraded my laptop at the new year, and to my surprise - it has an ExpressCard slot rather than cardbus/PCMCIA noexpression.gif (Great, another hurdle to get over! tongue.gif)

I still have the Acer, but my partner uses that now so.. smile.gif
EqUaTe
Hey folks,

You might want to have a look at Chun-Nans work in this thread:http://forum.insanelymac.com/index.php?showtopic=81036


He's just added ENE devices - if you could try it and let us know if it works, that would be great.
Please post any replies in that thread.

Cheers,
EqUaTe
mr_brightside
QUOTE(EqUaTe @ Jan 17 2008, 11:43 PM) *
Hey folks,

You might want to have a look at Chun-Nans work in this thread:http://forum.insanelymac.com/index.php?showtopic=81036
He's just added ENE devices - if you could try it and let us know if it works, that would be great.
Please post any replies in that thread.

Cheers,
EqUaTe



Thanks, now my ene cardbus is working!!!! Thank you Chun-Nans!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.