Jump to content

[Solved?] ENE CB1410 -Building IOPCCardFamily.kext... (or porting pcmcia-cs) help?


  • Please log in to reply
33 replies to this topic

#1
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada
Apparently the ENE CB1410 is working in Leopard and Tiger. see here:
Leopard:
http://forum.insanel...showtopic=81036


Tiger:
http://forum.insanel...showtopic=81048

http://forum.insanel...o...id=515566

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) Posted Image... 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) Posted Image 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:
Posted Image
i'm using the source from http://www.opensourc...rce/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.

Edited by ergosteur, 24 January 2008 - 03:55 PM.


#2
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada
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?

Edited by matt-hieu ergosteur, 25 February 2007 - 01:21 AM.


#3
battle_clown

battle_clown

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:nowhere
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 :D

#4
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada

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:
Attached File  iopccard_build_error.png   82.83KB   75 downloads


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 :D

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.

#5
speddish

speddish

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
  • Location:Italy
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)...

#6
Coffee_Bean

Coffee_Bean

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
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!

#7
gogetta

gogetta

    InsanelyMac Protégé

  • Members
  • Pip
  • 48 posts
  • Location:France
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..

#8
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada

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.opensourc...dules/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

Edited by matt-hieu ergosteur, 25 March 2007 - 06:15 PM.


#9
mobile2go

mobile2go

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
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!

#10
bombuzal

bombuzal

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
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 :]

#11
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
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.

#12
rumdog

rumdog

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
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.

#13
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada
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

#14
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada
I've asked daemones for some help, as i've noticed he/she has written drivers before.

#15
stevebrush

stevebrush

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
When I try to compile it in 10.4.9 (same source) and get the same errors...

#16
0xdeadbeef

0xdeadbeef

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
  • Location:Svealand

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,

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.

#17
bob2600

bob2600

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
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

#18
quarbe

quarbe

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Ive the same problem on my Toshiba A30-714.

If insert Belking G+ nothings happens.

I think thats the cardbus CB1410.

I cante 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!

#19
ergosteur

ergosteur

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
  • Location:Brampton, Ontario, Canada
check this out:
http://forum.insanel...showtopic=52549

dunno if it helps, but....

#20
Pacha71

Pacha71

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

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





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