Jump to content
InsanelyMac Forum
quinielascom

Driver for Laptop Card-Readers (Internal PCI Bus)

Recommended Posts

Yeah it doesn't seem to work with texas instruments sd controllers since I edited the two plist files and it still would not detect the sd card... Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Yeah it doesn't seem to work with texas instruments sd controllers since I edited the two plist files and it still would not detect the sd card... Any ideas?

 

I think it'll only work with JMicron and Ricoh devices. I looked at the source briefly. I got the card reader to be detected but upon card insertion my laptop hardlocked (killed the HFS+ partition map, had to rebuild that, it was loads of fun...). For those that want high-speed support/4-bit data path support I can upload the recompiled kext with those features enabled if you want to give it a whirl.

Share this post


Link to post
Share on other sites

Works well on my dell studio, thanks!

 

SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)

System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 12)

System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)

System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 12)

 

What I noticed :

i can not boot when a card is in the slot

SDHC 4GB (EMTEC class 4) doesn't work (and freeze my mouse)

SD 1GB (SanDisk Ultra II) works well

Share this post


Link to post
Share on other sites
I think it'll only work with JMicron and Ricoh devices. I looked at the source briefly. I got the card reader to be detected but upon card insertion my laptop hardlocked (killed the HFS+ partition map, had to rebuild that, it was loads of fun...). For those that want high-speed support/4-bit data path support I can upload the recompiled kext with those features enabled if you want to give it a whirl.

 

 

Yeah that would be great.Currently,as reported it is quite slow,any ideas why CPU utilization increses.

Does it use use DMA mode or PIO for I/O ?

I will also have a look at the sources to see if anything could be done in this regard.

 

Regards

aliasa

Share this post


Link to post
Share on other sites

Hi :)

on asus Z53S aka F3Sc test results:

<= 1Gb SD - works fine, but if card is removed without unmount, system after some time hangs up.

2Gb SD - system hangs up, card not detected

8Gb SDHC - not detected, not working if OSX booting with card in card reader, system hangs up on blue screen :)

 

And biggest problem - after installing drivers it takes about 5-10 minutes system to mount other HD partitions.

 

Thanks for your work! Waiting new versions ;)

Share this post


Link to post
Share on other sites

I have Acer 5580 with PCI card reader.:

 

02:09.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]

Subsystem: Acer Incorporated [ALI] Device [1025:0110]

Flags: bus master, medium devsel, latency 64, IRQ 20

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

Capabilities: [44] Power Management version 2

I had change those number in info.plist to 803b104c. SD card still can not be read in Leopard.

Share this post


Link to post
Share on other sites
Yeah that would be great.Currently,as reported it is quite slow,any ideas why CPU utilization increses.

Does it use use DMA mode or PIO for I/O ?

I will also have a look at the sources to see if anything could be done in this regard.

 

It has high CPU utilization because the driver does not use interrupts. Apparently that is on the developer's todo list. I'll check out the latest source tomorrow and upload the kext.

Share this post


Link to post
Share on other sites

I finally got it to work. I only have a 2gb wii sd card and it works perfectly. Of course you cant boot with it in the system but once you put it in after the system is up and running its perfect.

Share this post


Link to post
Share on other sites

Tried it on my wife's Acer Travelmate 4320

 

0f:06.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]

 

no success, but will look forward to further developments. :)

Share this post


Link to post
Share on other sites

thanks for trying to switch those ricoh card readers back to live !

 

i'll give a try tonight fingers crossed.

 

will i be able to read cards from my phone or my camera ?

 

gast, can't stand waiting ;-)

Share this post


Link to post
Share on other sites

Hi fellows,

 

Here my modificated Kext to read SD card in a Dell XPS M1530, the PCI adress had to change from ... to 0x08221180 thats all foks!

 

Greetings!

 

Hi fellows,

 

Here my modificated Kext to read SD card in a Dell XPS M1530, the PCI adress had to change from ... to 0x08221180 thats all foks!

 

Greetings!

IOSDHCIBlockDevice.kext_2.zip

Share this post


Link to post
Share on other sites

no working on my lenovo F31G

not detected anything...

 

05:09.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)

05:09.2 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 12)

05:09.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)

05:09.4 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 12)

Share this post


Link to post
Share on other sites

This kext works without any modification on Dell Inspiron 1525 (Vanilla Kernel 10.5.6)

 

Tested on Standard SD card (Actually a microSD card with adapter 2GB)

 

I only hope that we can make the MEMORYSTICK PRO Available also.

 

 

This driver works fine for me:

 

IOSDHCIBlockDevice.kext.zip already have changed the string value.

 

Here is the original driver:

 

http://sourceforge.net/projects/osxsdhci/

 

This driver is in alpha development phase, i only changed the Vendor & Dev ID and works fine.

Share this post


Link to post
Share on other sites

The new version (v3) works without problems (you'll have to change the id on the kext though)

 

To Do for this kext: Memory Stick/XD

 

Also with this revision, is possible to boot with with the SD Card inserted.

Share this post


Link to post
Share on other sites
I test this new release here are results:

 

1.- Minimum Processor usage (less 10%)

2.- Double speed rate (read/write)

3.- Support SDHC Cards (Still no tested)

 

I used the Xbench v1.3 Application below some screenshots

 

Attach the new release with string 0x08221180 already changed.

 

IOSDHCIBlockDevice.kext.zip

 

Thanks to all developers for this great work.

Thank you for this! Works fine!

Read ~ 1,65Gb @ 160sec Write 32Mb @ 5 sec.

I think you need to update the topic.

Share this post


Link to post
Share on other sites
Thank you for this! Works fine!

Read ~ 1,65Gb @ 160sec Write 32Mb @ 5 sec.

I think you need to update the topic.

 

 

I dont know why but it doesnt seem to work for me!!!

When i reboot after changing perm/ownerships,deleting the mkext and doing kextcache -k /S/L/E .

I find that the meaasges during verbose scroll slowly,then i get IOKitTimeouts and black screen only,i had to remove the kext.I used the kext with 0x08221180.

Am I missing something ?

 

:unsure:

Share this post


Link to post
Share on other sites

Im getting almost the same problem... I'm getting these messages:

 

class "AppleEHCIedMemoryBlock" is duplicate

Duplicate class

kmod_control/start failed for com.orByte.driver.PCGenUSBEHCI; destroying kmod

Failed to load extension com.orByte.driver.PCGenUSBEHCI.

Class "AppleEHCIedMemoryBlock" is duplicate

 

I can't find a duplicate kext, and everything seems to fail after I load the iosdhciblockdevice kext...

I have to go into -s mode, delete kext, clear extensions cache and then reboot, otherwise

I get a blue screen forever and evers. Can someone help meeee??

 

I don't know what I'm doing wrong... here is my output from lspci if it helps:

 

00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)

00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)

00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)

00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)

00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)

00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)

00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)

00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)

00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)

00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)

00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)

00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)

00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)

00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)

00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)

00:1f.0 ISA bridge [0601]: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller [8086:2811] (rev 03)

00:1f.2 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller [8086:2828] (rev 03)

00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)

03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212 802.11abg NIC [168c:1014] (rev 01)

15:00.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev ba)

15:00.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 04)

15:00.2 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 21)

15:00.3 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 11)

15:00.4 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 11)

15:00.5 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 11)

Share this post


Link to post
Share on other sites

Hi, tried it with:

 

07:06.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]

07:06.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]

07:06.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]

 

No success so far...

Share this post


Link to post
Share on other sites
class "AppleEHCIedMemoryBlock" is duplicate

Duplicate class

kmod_control/start failed for com.orByte.driver.PCGenUSBEHCI; destroying kmod

Failed to load extension com.orByte.driver.PCGenUSBEHCI.

Class "AppleEHCIedMemoryBlock" is duplicate

Don't use com.orByte.driver.PCGenUSBEHCI. It is too old! And conflict with AppleUSBEHCI.kext.

Both located in IOUSBFamily/Contents/PlugIns/

 

Hi, tried it with:

 

07:06.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]

07:06.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]

07:06.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]

 

No success so far...

This kext is not for Texas, only for Ricoh.

Share this post


Link to post
Share on other sites

Thanks!

 

I confirm it works now with SDHC (tested with 4GB EMTEC class 4)

When i boot with a card in, i can not unmount it

 

SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)

System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 12)

System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)

System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 12)

Share this post


Link to post
Share on other sites
Don't use com.orByte.driver.PCGenUSBEHCI. It is too old! And conflict with AppleUSBEHCI.kext.

Both located in IOUSBFamily/Contents/PlugIns/

 

 

This kext is not for Texas, only for Ricoh.

 

And there's no way to adapt it to Texas, right??

 

too bad...

Share this post


Link to post
Share on other sites
And there's no way to adapt it to Texas, right??

 

too bad...

 

Yeahh! Too bad.... :blink:

 

Can we add vendor & device id for Texas Instrument card reader in the source code & compile it? Or do we need know more like memory address used by the device?

 

kizwan

Share this post


Link to post
Share on other sites

this driver work with this

PCI\VEN_1180&DEV_0822&SUBSYS_01211025&REV_22
PCI\VEN_1180&DEV_0822&SUBSYS_01211025
PCI\VEN_1180&DEV_0822&CC_080500
PCI\VEN_1180&DEV_0822&CC_0805

?????

My notebook is Acer Aspire 5920G....thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



×