Jump to content

Sinetek's Driver for Realtek "RTSX" SDHC Card Readers


Sinetek
335 posts in this topic

Recommended Posts

No luck in Yosemite 10.10.5: 

/System/Library/Extensions/sinetek-rtsx.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8).

My laptop:

  • Intel i5-3230M
  • DDR3L Corsair 6GB
  • iGPU Intel HD 4000
  • OSX Yosemite 10.10.5
Link to comment
Share on other sites

 

No luck in Yosemite 10.10.5: 

/System/Library/Extensions/sinetek-rtsx.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8).

My laptop:

  • Intel i5-3230M
  • DDR3L Corsair 6GB
  • iGPU Intel HD 4000
  • OSX Yosemite 10.10.5

 

I think the kext works for OSX Sierra and later.

Link to comment
Share on other sites

  • 1 month later...

Hi folks!

 

little update:

 

I'm working on the power management support, so that you call can put your laptops in suspend/resume.

Nothing is crashing but the driver is not calling my save/resume state routine, and I'm not sure why yet.

if someone wants to help with testing, here's the latest (debug) build of this thing.

let me know if you see the text "rtsx_softc::setPowerState" in the dmesg log output.

 

For the record my machine is a X240 thinkpad.

List of supported ID's:  0x520910EC 0x522710EC 0x522910EC 0x522A10EC 0x524910EC 0x528610EC 0x528710EC 0x528910EC

If yours is different try adding it manually to plist and then report.

 

thanks!

 

attachicon.gifSinetek-rtsx.kext.zip

Hi my friend... It works fine in my HP Pavilion 17 f202ns... running Sierra 10.12.6 

DivID. 5227

VenID. 10EC

Now I have a full Hack on my laptop, all work with not issues.

Thanks a lot of...

Only one question...

How I can see my card reader as default in system?

I edited info.plis from AppleUSBCardReader.kext and set External in to AppleSDCardReader/Physical Interconnect Location, I edited VenID/DevID too in Apple_Internal_SD_Card_Reader_1_00/2_00/3_00 with no result...

Any suggestion?

post-968396-0-81677300-1512262177_thumb.png

post-968396-0-56422500-1512263360_thumb.png

Link to comment
Share on other sites

Only one question...

How I can see my card reader as default in system?

I edited info.plis from AppleUSBCardReader.kext and set External in to AppleSDCardReader/Physical Interconnect Location, I edited VenID/DevID too in Apple_Internal_SD_Card_Reader_1_00/2_00/3_00 with no result...

Any suggestion?

Apple PCIe SD card readers are under AppleSDXC.kext and not AppleUSBCardReader.kext.

  • Like 1
Link to comment
Share on other sites

I've never tried it. You might edit Info.plist with this patch in config.plist -> KextsToPatch:

Name:

AppleSDXC 

Find:

3c737472 696e673e 70636931 3465342c 31366263 3c2f7374 72696e67 3e 

Replace:

3c737472 696e673e 70636931 3065632c 35323237 3c2f7374 72696e67 3e

InfoPlistPatch=true

post-1506069-0-64954000-1512334389_thumb.png

This will load AppleSDXC.kext, but i don't know if it will show you card reader in System Report.

  • Like 1
Link to comment
Share on other sites

I've never tried it. You might edit Info.plist with this patch in config.plist -> KextsToPatch:

Name:

AppleSDXC 

Find:

3c737472 696e673e 70636931 3465342c 31366263 3c2f7374 72696e67 3e 

Replace:

3c737472 696e673e 70636931 3065632c 35323237 3c2f7374 72696e67 3e

InfoPlistPatch=true

attachicon.gifSchermata 2017-12-03 alle 21.52.35.png

This will load AppleSDXC.kext, but i don't know if it will show you card reader in System Report.

Test and tell you...

No luck... :(

But don´t worry, I´m happy with my new full hack with no issues... :thumbsup_anim:

100% OSx Sierra...

post-968396-0-01346900-1512337278_thumb.png

Link to comment
Share on other sites

I tried on my laptop. I don't know if System Report look only for AppleSDXC.kext but i can see many differences between my ioreg and an actual iMac14,1 ioreg (with PCIe card reader). Maybe we just need more properties to be injected.

Hack:

post-1506069-0-97285700-1512388960_thumb.png

iMac14,1:

post-1506069-0-43145800-1512388971.png

Link to comment
Share on other sites

rtsx is not AppleSDXC, obviously the classes in IORegistryExplorer will look different. Injecting properties for AppleSDXC won't do anything useful.


I tried on my laptop. I don't know if System Report look only for AppleSDXC.kext but i can see many differences between my ioreg and an actual iMac14,1 ioreg (with PCIe card reader).

 

This is what I said in #158. SPCardReaderReporter (component that updates the Card Reader section in System Information) only looks for AppleSDXC and com_apple_driver_AppleUSBCardReaderSBC:

  v3 = kIOMasterPortDefault;
  v4 = IOServiceMatching("AppleSDXC");
  if ( !(unsigned int)IOServiceGetMatchingServices(v3, v4, &v43) )
  {
    v33 = v3;
    v5 = IOIteratorNext(v43);
    if ( v5 )
    {
      ...

  v17 = IOServiceMatching("com_apple_driver_AppleUSBCardReaderSBC");
  if ( !(unsigned int)IOServiceGetMatchingServices(v3, v17, &v43) )
  {
    v18 = IOIteratorNext(v43);
    if ( v18 )
    {
      ...
  • Like 1
Link to comment
Share on other sites

Thanks a lot! Great work!

I have Lenovo K29 with 10ec:5229. I'm using your driver you posted in Floor#43. It's working good.

 

I tried to follow and folk your driver in your GitHub page, but I found the source is older than your post in Floor#43.

That's weird.

I'm looking forward to helping you test new drivers.

Thanks again!

Link to comment
Share on other sites

Hey guys, could someone post an example of the code that needs to be added to the config.plist so I can edit it for the 9560 SD card reader?

 

Thanks.  It would be the icing on the cake to get this working for the Dell 9560 (Vendor/Device ID: 10EC 525A - Realtek RTS525A).

 

 

 


just realized, you'll need to edit the plist to add your pci id, mine is  5227, that's the only one i bothered to add in.
report back if the driver loads on your hardware after that. thx


For more information just see the OpenBSD man page for rtsx, since that's what the driver is based from.

Link to comment
Share on other sites

Has anyone had any success with getting Vendor/Device ID: 10EC 525A - Realtek RTS525A Working ?

 

​I added VID/PID to the kext's info.plist but it still doesn't work for me .. Running MacOS Sierra 10.12.6

Am hopeful that now OpenBSD has RTS525A support we might see a working kext for this device.

 

Cheers

Jay

Link to comment
Share on other sites

Thanks for the reply @foskvs.  It looks like the plist might already be configured for the 9560 (which is reported as Vendor/Device ID: 10EC 525A - Realtek RTS525Aalready after looking at the text:

<dict>

<key>rtsx_softc</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.sinet3k.Sinetek-rtsx</string>
<key>IOClass</key>
<string>rtsx_softc</string>
<key>IOKitDebug</key>
<integer>65535</integer>
<key>IOPCIMatch</key>
<string>0x525a10EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
 
... unless there's something else that has to be changed in the plist?
 
So assuming the plist is already configured for the 9560, maybe I'm missing a step in the installation progress.  I used kext utility to install the kext to S/L/E.  Does it need to go somewhere else or maybe an entry needs to be made in clover's config.plist?  Sorry I'm not as experienced as some in the forum.
 
@Jay - if I get it working I"ll let you know as we both have the same machine.
 

Right click on the kext -> Show package content -> open Info.plist -> add your id or change one of the ids already there.

Link to comment
Share on other sites

 

@Jay - if I get it working I"ll let you know as we both have the same machine.

 

 

@Gorelander,

 

I tried building maz-1's modified sources that includes the new OpenBSD RTS525A driver on my OSX 10.12.6 system but no luck ...

Unfortunately its still broken .. see the last three posts here for more details :-

 

https://github.com/ZombieTheBest/XPS9350-10.13-HighSierra/issues/11

 

Cheers

Jay

Link to comment
Share on other sites

@Gorelander,

 

I tried building maz-1's modified sources that includes the new OpenBSD RTS525A driver on my OSX 10.12.6 system but no luck ...

Unfortunately its still broken .. see the last three posts here for more details :-

 

https://github.com/ZombieTheBest/XPS9350-10.13-HighSierra/issues/11

 

Cheers

Jay

 

@jaymonkey

 

Jay, I read that you installed it under S/L/E,maybe try EFI/CLOVER/KEXT/OTHER as per what KNNSpeed said today:

 

"don’t use S/L/E; I just load everything with Clover/kexts/other. Have had 0 kext loading-related issues this way, so I can’t really troubleshoot that."

Link to comment
Share on other sites

×
×
  • Create New...