overdue-scratch

Author Topic: [ VoodooSDHC ] 32/64 bit build  (Read 71770 times)

0 Members and 1 Guest are viewing this topic.

Jaymonkey

  • Observer
  • Posts: 10
Re: [ VoodooSDHC ] 32/64 bit build
« Reply #30 on: November 07, 2013, 11:23:16 PM »
Hi,

I have a Sony SE Laptop, which has a RealTeK RTS5209 PCIe SD Reader, but there are many other types and brands of laptops that have the same type of SD reader such as the entire Sony ‘S’ range and the HP DV6 6020.
.
Its great to see some independent development and a  framework evolving for a Voodooo SD driver.

Hardware ID: 10ec:5209 = Realtek Semiconductor Co, RTS5209 PCI Express Card Reader Chip Set

So the big problem here is that the device is PCIe based, Apple have never used a PCIe based card reader, they have always used a USB bus based device thus there is no existing driver.

Getting any info on the Realtek 5209 chipset has proven difficult, I cant even find it on RealTek’s own site, but some specs can be found here :-

http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3&GetDown=false

The important thing to note is that it is compliant with the SDIO Spec V2, which is essentially an API for card readers.

On the RealTek download site there is a Unix/Linux Driver available here: -

http://www.realtek.com.tw/Downloads/dow ... Down=false

This Linux Driver is now just about supported by all flavors of Linux including Ubuntu and Fedora. The Driver is known as RTS_PSTOR and if not included in your Linux Distro you can download the sources and compile it. The package includes a make file .. etc so its reasonable straight forward to install.

I’ve tested RTS_PSTOR under Ubuntu and Fedora and it works great.

So we have Linux based driver with sources that work.

The next problem is to start to figure out how to port it to OSX.

After much research and hunting in various forums in addition to this devlopment I I found that JMicron also manufacture a PCIe based card reader chipset known as the JMB38X and it like the RealTek chip is available in several versions but the one that is most interesting is the JMB385 this is essentially almost the same device as the Realtek RTS5209. The Device summary for the JMB385 can be viewed here: -

http://www.jmicron.com/Product_JMB385.htm

Like the RealTek device it to is compliant with the SDIO V2 Spec and like the Realtek device, JMicron have a Linux driver available, the exciting news about this device is that the Linux Driver has been successfully ported to OSX. The project can be reviewed along with the OSX sources here: -

http://www.insanelymac.com/forum/topic/132679-driver-for-laptop-card-readers-internal-pci-bus/

I wonder if it would be possible to combine the two above projects in to this project which seems the most well developed. Unfortunately this is beyond my OSX programming capabilities, I know its possible to port linux to OSX but it involves rewriting the hardware I/O something I have no experience with.

I just wondered if the above sources could be of benefit to this development, I use the linux driver every day and it works perfect so underlying code is good. I’m happy to be an apprentice if any of the more experienced device-driver programmer’s want to take lead and I am open to everyone’s advice and guidance on this proposal.

Cheers
Jay

Note: I first posted this a year ago on TyonyMac_X86 over a year ago so apologies if everybody already knows about this.

http://www.tonymacx86.com/lion-laptop-support/51039-realteck-pcie-card-reader-10ec-5209-osx-driver-project.html#post326148
« Last Edit: November 07, 2013, 11:26:49 PM by Jaymonkey »

jruschme

  • Entrant
  • Posts: 1
Re: [ VoodooSDHC ] 32/64 bit build
« Reply #31 on: January 07, 2014, 09:12:21 PM »
I have a Dell Precision M4400 running 10.9.1 with a Ricoh controller at the default location. I installed the driver to /E/E and, at reboot, the card reader is recognized. As soon as I insert a card, though, I lose USB and the system appears to slow considerably.

From what I've seen, this is a known issue, but does anyone have any advice?

Thanks...
John

lvs1974

  • Entrant
  • Posts: 1
Re: [ VoodooSDHC ] 32/64 bit build
« Reply #32 on: June 29, 2014, 10:09:14 AM »
Hi!
Could you try an alternative version of driver (see attachment)?
I had the same problem and seems I have fixed it.

I have a Dell Precision M4400 running 10.9.1 with a Ricoh controller at the default location. I installed the driver to /E/E and, at reboot, the card reader is recognized. As soon as I insert a card, though, I lose USB and the system appears to slow considerably.

From what I've seen, this is a known issue, but does anyone have any advice?

Thanks...
John
« Last Edit: June 29, 2014, 10:39:24 AM by lvs1974 »