Jump to content

CardBus/PCMCIA PC Cards for Leopard


  • Please log in to reply
1071 replies to this topic

#81
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 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

Hi macpo,It happened to me before. What I did is turn Airport off and turn it on again, then it works. How did you install those two kexts? Did you use Kext helper or copy those files manually?Chun-Nan

Hi Chun-Nan,looks like card is recognized but after inserting PCMCIA USB I get some strange errors, find below dmesgs:........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 VIAPCI\VEN_1106&DEV_3104&SUBSYS_31041106&REV_65\5&3E26BA2&0&0230F0Universal host controller USB VIA Rev 5 or higherPCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_62\5&3E26BA2&0&0030F0Universal host controller USB VIA Rev 5 or higherPCI\VEN_1106&DEV_3038&SUBSYS_30381106&REV_62\5&3E26BA2&0&0130F0Regards,Mariusz.

Hi Mariusz,Let's wait till fakedotbr or djmastera2000 report their result.Chun-Nan

#82
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Hi Chun-Nan,

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


Hi Mariusz,
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 18
I think your cardbus adapter/controller successfully recognized. You should see some info in System Profiler. But your pcmcia/cardbus card is the one not properly start/recognized by OS X. Since your card is pcmcia usb card, I think it has to do with IOUSBFamily kext file. Go to here:-
Generic USB2.0 (EHCI) Driver, Based on 256.4.2

Good luck. :)

#83
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

I belive this is it: 168c:0013


Hi jon37325,

I meant the vender id and device id of the pccard slot/chip.

Chun-Nan

#84
fingerr

fingerr

    InsanelyMac Sage

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

Hi macpo,It happened to me before. What I did is turn Airport off and turn it on again, then it works. How did you install those two kexts? Did you use Kext helper or copy those files manually?Chun-NanHi Mariusz,Let's wait till fakedotbr or djmastera2000 report their result.Chun-Nan

For sure, yes my Lord :(

So far I'm very thankful for your work, Its the first time my PCMCIA is beeing recognized :)

Regards,
Mariusz.

#85
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

Hi jon37325,

I meant the vender id and device id of the pccard slot/chip.

Chun-Nan


this is what lspci gave me for it:
0607: 1180:0476 (rev b3)

#86
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

this is what lspci gave me for it:
0607: 1180:0476 (rev b3)


Hi jon37325,

Try test4 IOPCIFamily and rev5 IOPCCardFamily and let me know the result. Thanks.

Chun-Nan

#87
bory27

bory27

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
hi Chun Nan,

does your driver work with ENE CB-714 Cardbus controller?
can you suggest me trying rev5 first or test4 first or any other?
i have PCMCIA firewire need to activate in iatKos Leopard...can u pls help?
thank you!

i have these ranges:

Class: PCMCIA adapters
Device: ENE CB-712/714/810 Cardbus Controller
Resource:
IRQ: [00000016]
MEM: [000DB000 - 000DBFFF]
MEM: [D2000000 - D2000FFF]
MEM: [F6BFF000 - FABFEFFF]
MEM: [FABFF000 - FABFFFFF]
IO: [0000FA00 - 0000FAFF]
IO: [0000FD00 - 0000FDFF]

And the firewire PCMCIA:

Class: IEEE 1394 Bus host controller
Device: VIA OHCI Compliant IEEE 1394 Host Controller
Resource:
IRQ: [00000016]
MEM: [FABFF700 - FABFF7FF]
MEM: [FABFF800 - FABFFFFF]
IO: [0000FD80 - 0000FDFF]

#88
fingerr

fingerr

    InsanelyMac Sage

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

Hi Mariusz,

I think your cardbus adapter/controller successfully recognized. You should see some info in System Profiler. But your pcmcia/cardbus card is the one not properly start/recognized by OS X. Since your card is pcmcia usb card, I think it has to do with IOUSBFamily kext file. Go to here:-
Generic USB2.0 (EHCI) Driver, Based on 256.4.2

Good luck. :)


Hi Chun-Nan, Kizwan,

you guys ROCKS !!

It's working now!!!

Now my system can access USB stick connected to PCMCIA USB adapter. WiFi is working, FireWire is shown in system profiler.
I've lost my BlueTooth but sometimes it happens, and I have to reboot into Linux/Windows, enable it and then reboot into MacOS again.

AppleUSBUHCI was the culprit. When I removed it from IOUSBfamily.kext/Contents/Plugins I have no USB reset message in terminal.

Card is regonized either with AppleUSBEHCI or with Generic USB2.0 (EHCI) Driver, Based on 256.4.2.

Big thanks you for you great job Chun-Nan!!!

Thanks for the tip with new driver Kizwan.

Best regards,
Mariusz.

Edited by Mariusz, 17 January 2008 - 09:58 AM.


#89
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

hi Chun Nan,

does your driver work with ENE CB-714 Cardbus controller?
can you suggest me trying rev5 first or test4 first or any other?
i have PCMCIA firewire need to activate in iatKos Leopard...can u pls help?
thank you!

i have these ranges:

Class: PCMCIA adapters
Device: ENE CB-712/714/810 Cardbus Controller
Resource:
IRQ: [00000016]
MEM: [000DB000 - 000DBFFF]
MEM: [D2000000 - D2000FFF]
MEM: [F6BFF000 - FABFEFFF]
MEM: [FABFF000 - FABFFFFF]
IO: [0000FA00 - 0000FAFF]
IO: [0000FD00 - 0000FDFF]

And the firewire PCMCIA:

Class: IEEE 1394 Bus host controller
Device: VIA OHCI Compliant IEEE 1394 Host Controller
Resource:
IRQ: [00000016]
MEM: [FABFF700 - FABFF7FF]
MEM: [FABFF800 - FABFFFFF]
IO: [0000FD80 - 0000FDFF]


Hi bory27,

So far ENE is not supported according to the source code. Do you have exact vendor id and device id of your ENE pccard?

Chun-Nan

#90
EqUaTe

EqUaTe

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Gender:Male
  • Location:Babylon 5
Chun-Nan, bory27,

It's worth noting that someone (I believe barbie) on this forum got one or two ENE cards working with the tiger kext using hexediting.
This implies that all we need to do is to get ene.h from pcmcia-cs source and link it into IOPCCardFamily.kext (ideally at least).


Cheers,
EqUaTe

#91
jon37325

jon37325

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
Chun-Nan,

Everything is now working GREAT! Thank you so much! If you need any information from my install let me know.

Jon37325

#92
EqUaTe

EqUaTe

    InsanelyMac Geek

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

Chun-Nan,

Everything is now working GREAT! Thank you so much! If you need any information from my install let me know.

Jon37325


Great news Jon :)

You should keep an eye on this thread though - what you're using now is development stuff (with debug info turned on).

Things are definitely moving forward at one heck of a pace though! :D


*hail Chun-Nan!*

#93
~Eureka

~Eureka

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 400 posts

Great news Jon :D

You should keep an eye on this thread though - what you're using now is development stuff (with debug info turned on).

Things are definitely moving forward at one heck of a pace though! :D


*hail Chun-Nan!*


Hi EqUaTe,

Yes, I am waiting for the test result from fakedotbr and djmastera2000. If everything is ok, I will upload another revision file and source code of both IOPCIFamily and IOPCCardFamily. Also, I will add your device id to the next revision, too. :)

Chun-Nan

[EDIT]
I will also include ene.h from pcmcia-cs-3.2.8.
#define ENE_PCIC_INFO \
{ "ENE 1211", IS_TI|IS_CARDBUS, ID(ENE, 1211) }, \
{ "ENE 1225", IS_TI|IS_CARDBUS, ID(ENE, 1225) }, \
{ "ENE 1410", IS_TI|IS_CARDBUS, ID(ENE, 1410) }, \
{ "ENE 1420", IS_TI|IS_CARDBUS, ID(ENE, 1420) }

If anyone's ENE card is working under linux, I can try to add it to the file. However, I need the exact device id.

#94
EqUaTe

EqUaTe

    InsanelyMac Geek

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

Hi EqUaTe,

Yes, I am waiting for the test result from fakedotbr and djmastera2000. If everything is ok, I will upload another revision file and source code of both IOPCIFamily and IOPCCardFamily. Also, I will add your device id to the next revision, too. :)

Chun-Nan



Glad to hear it, though I would like to get you the sum of the o2micro.h differences between IOPCCardFamily and the latest pcmcia-cs before you do - I should be attaching the diff in the next few minutes :D

Cheers,
EqUaTe

#95
bory27

bory27

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

Hi bory27,

So far ENE is not supported according to the source code. Do you have exact vendor id and device id of your ENE pccard?

Chun-Nan

Hi Chun Nan,
TheDevice&Vendorid of ENE cb-714 is:
PCI\VEN_1524&DEV_1412&SUBSYS_002014C0&REV_10\4&6B16D5B&0&20F0

The firewire PCMCIA card is:
PCI\VEN_1106&DEV_3044&SUBSYS_30441106&REV_46


Thanks.

#96
fingerr

fingerr

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 260 posts
  • Gender:Male
  • Location:Poland
Hi all,

I've checked my Bluetooth (looks like it's bluetooth ver 1.x device), and it seems that AppleUSBEHCI conflicts with AppleUSBUHCI when PCCard is inserted.
I thinks it's stuff for another topic but I would like to share it if someone will have the same problem.

My ioreg (part related to Bluetooth):
[codebox]
| | +-o USB1@1D <class IOPCIDevice, registered, matched, active, busy 0, retain 9>
| | | +-o AppleUSBUHCI <class AppleUSBUHCI, registered, matched, active, busy 0, retain 9>
| | | +-o UHCI Root Hub Simulation@1D <class IOUSBRootHubDevice, registered, matched, active, busy 0, retain 10>
| | | | +-o AppleUSBHub <class AppleUSBHub, !registered, !matched, active, busy 0, retain 7>
| | | | +-o IOUSBInterface@0 <class IOUSBInterface, !registered, !matched, active, busy 0, retain 6>
| | | +-o IOUSBWirelessControllerDevice@1d100000 <class IOUSBDevice, registered, matched, active, busy 0, retain 10>
| | | +-o AppleUSBBluetoothHCIController <class AppleUSBBluetoothHCIController, registered, matched, active, busy 0,$
| | | +-o IOUSBInterface@0 <class IOUSBInterface, !registered, !matched, active, busy 0, retain 5>
| | | +-o IOUSBInterface@1 <class IOUSBInterface, !registered, !matched, active, busy 0, retain 5>
| | | +-o IOUSBInterface@2 <class IOUSBInterface, !registered, !matched, active, busy 0, retain 5>

[/codebox]

and dmesg (after inserting USB adapter):

[codebox]
IOPCCard info: cs: cb_alloc(bus 8): vendor 0x1106, device 0x3038
IOPCCard info: cs: cb_alloc(bus 8): found 3 functions
IOCardBusDevice: binding socket 0 function 0 to card services.
IOPCCard info: cs: cb_config(bus 8)
IOPCCard info: fn 0 bar 2: mem 0xa0004000-0xa00040ff
IOPCCard info: fn 0 bar 5: io 0x120-0x13f
IOPCCard info: fn 1 bar 2: mem 0xa0003000-0xa00030ff
IOPCCard info: fn 1 bar 5: io 0x100-0x11f
IOPCCard info: fn 2 bar 1: mem 0xa0002000-0xa00020ff
IOPCCard info: fn 2 bar 2: mem 0xa0001000-0xa00010ff
IOPCCard info: irq 18
IOCardBusDevice: binding socket 0 function 1 to card services.
IOCardBusDevice: binding socket 0 function 2 to card services.
USBF: 167.240 Attempting to get EHCI Controller from BIOS
USBF: 167.268 USBLEGCTLSTS value c0000000
USBF: 167.294 Found USBLEGSUP_ID - value 0x1 - writing OSOwned
USBF: 167.321 acquireOSOwnership done - value 0x1000001
USBF: 167.425 AppleUSBUHCI: controller reset failed
USBF: 167.449 AppleUSBUHCI: controller reset failed
................................................................................
...
................................................................................
...
................................................................................
...
USBF: 172. 92 AppleUSBUHCI: controller reset failed
................................................................................
...
................................................................................
...
[/codebox]

Regards,
Mariusz.

#97
EqUaTe

EqUaTe

    InsanelyMac Geek

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

Hi all,

I've checked my Bluetooth (looks like it's bluetooth ver 1.x device), and it seems that AppleUSBEHCI conflicts with AppleUSBUHCI when PCCard is inserted.
I thinks it's stuff for another topic but I would like to share it if someone will have the same problem.

Regards,
Mariusz.


Mariusz,

That's probably because the two tend to be mutually exclusive - you generally have one or the other, not both.
Also, Apple will only ever have one themselves - they always use Intel chipsets. At least so far anyway :)

This is probably a bug in the EHCI kext though (I could be wrong, it could be that apple supports both!).
Does BT work w/o the pcmcia usb card?


EqUaTe

#98
macpo

macpo

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hi Chun-Nan I'll try the airport thing. I install all the kext using the chmod and chown thing. I didn't use the kext helper, do you thing it will make a difference?

thanks,

Macpo

#99
fingerr

fingerr

    InsanelyMac Sage

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

Mariusz,

That's probably because the two tend to be mutually exclusive - you generally have one or the other, not both.
Also, Apple will only ever have one themselves - they always use Intel chipsets. At least so far anyway :)

This is probably a bug in the EHCI kext though (I could be wrong, it could be that apple supports both!).
Does BT work w/o the pcmcia usb card?
EqUaTe

Hi EqUaTe,

I've just checked it and I can see that PCMCIA is working together with Bluetooth mouse.
But I can see 'kernel USBF: 255.743 AppleUSBUHCI: controller reset failed' and 'kernel USBF: 303.308 AppleUSBUHCI[0x4587000]::UIMCheckForTimeouts - Host controller halted, resetting' messages in the log continue to display...
Maybe its a warning/info message ...

p.s.
USB stick connected to PCMCIA adapter works with high speed.
Regards,
Mariusz.

#100
EqUaTe

EqUaTe

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Gender:Male
  • Location:Babylon 5
Hi Chun-Nan,

With test4 and my custom-compiled rev5, I have working PCMCIA!
Even better, my pcmcia wifi card works OOTB :D


I've attached my system.log for the current boot, with said files (both should be debug versions).



I was planning to attach a diff for o2micro.h, but it seems pcmcia-cs 3.2.8 doesn't have my device there either (yet it's working in Linux). I'm going to have to investigate that further.

Instead, I'm attaching my modified o2micro.h .

I've also attached ene.h - the ONLY reference in pcmcia-cs 3.2.8 to this header is in modules/i82365.c: #include "ene.h"
Hopefully this will help expand the usable devices! :)


Cheers,
EqUaTe


Attached File  system.log.txt   23.43KB   26 downloads
Attached File  o2micro.h.equate.txt   6.23KB   18 downloads
Attached File  ene.h.txt   2.09KB   10 downloads





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