Jump to content

Sinetek

Sinetek

Member Since 13 Aug 2005
Offline Last Active May 19 2017 05:19 AM
*****

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

Posted by Sinetek on 04 April 2017 - 06:08 PM

Hello, I'm afraid my kext won't load either. At first I had an error telling me about a kext signature validation error and dependency failures, but I went to the Info.plist and changed (com.apple.kpi.bsd, com.apple.kpi.iokit, com.apple.kpi.libkern, and com.apple.kpi.mach), their values from 16.4 to 15.0 and that was resolved. But I still have the kext signature validation error (Code -67030). Please, can someone lend a hand? I have also checked if I have disabled SIP, I did.ah good catch, I should probably relax those values. the signature validation error is not something that should matter on a hackintosh, you should have the SIP disabled and the OS will load the kext (but still whine that I'm too lazy to get a signature) I have Intel Pcie sd host controller can you make it with your kext?No. That might be taken care of by quinielascom's driver, however.

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

Posted by Sinetek on 02 April 2017 - 06:39 PM

Sinetek, Thanks for the great job. I found patch for my SD reader Vendor ID: 10EC (VID); Device ID: 525A (PID), but I don`t know Xcode well and can`t apply this part of code to your project.Can somebody help me with this job?Thanks in advancethat's for Linux. I can't do much until the openbsd or netbsd driver is updated to support your chip.

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

Posted by Sinetek on 31 March 2017 - 08:38 AM

Thanks for the kind words, I appreciate it since it takes a lot of energy to make it happen, and I've been busy with an NVME driver. I love open source and every driver we release for hackintoshes are a step in this direction, perhaps. Insanelymac has a good community though from what I see. I'll see what I can do for your chip. Maybe I can take some of the extra support that has been added in NetBSD and include them, since I'm using a base of OpenBSD for the driver and SDMMC core. Apple's OS itself has no conception of SD cards since they use exclusively USB abstraction chips to do that work.   And here's the sources:  https://github.com/s...ek/Sinetek-rtsx It's a bit messy and not in the state I would like it to be, but that's nothing unfixable

#2389133 I got banned on tonyMacx86, what do I do?

Posted by Sinetek on 22 March 2017 - 05:20 AM

Congrats!

#2382834 Patch for using NVMe under macOS Sierra is ready.

Posted by Sinetek on 12 March 2017 - 09:06 AM

Thanks. sorry for asking some stupid questions but you know im newbie so somethings are strange with me. 10.12 DP1 -  could you tell me what does it mean ?  im using 10.13.3 but why got this problem ? click on the 10.12.3 version text, you will see the build number. it has to match whatever you're trying to use

#2382404 Patch for using NVMe under macOS Sierra is ready.

Posted by Sinetek on 11 March 2017 - 11:02 AM

The Plextor M8Pe does not support 4096 blocks; only 512-byte blocks are. https://gist.github....031f5b4c8283b5e

#2382392 Patch for using NVMe under macOS Sierra is ready.

Posted by Sinetek on 11 March 2017 - 09:22 AM

Please refer to Post#963 hereAlso please test the attached file which worked at 10.11.6 (15G31 & 15G1418)That worked on my 15G31/Plextor M8Pe 256! :thumbsup_anim:
  • jsl likes this

#2377961 [RYZEN] macOS 10.12.x (Sierra) Kernel Research&Development Thread

Posted by Sinetek on 04 March 2017 - 02:56 PM

Hi folks. In light of the news, and my past success with AMD chips, I thought I'd go ahead and create this thread. We'll be waiting for someone with access to this fabled platform to report back.  --- Sinetek

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

Posted by Sinetek on 04 March 2017 - 12:44 PM

Thanks for your work, but this kext not work for me. 0x520910ECstrange, should work out of the box. switch (device_id) { case PCI_PRODUCT_REALTEK_RTS5209: flags = RTSX_F_5209; break;I tried out your newest version.  I am not getting any messages in Console regarding the rtsx_soft power state.  The kext works just as good as before but it still does not work after I wake my laptop from sleep.  After wake from sleep, I can see the device in IORegExplorer but not the SD card and not the IOBlockStorageDriver entry I see when the device is working.  Also, any attempt to unload the kext produces instant KP.Yeah I don't understand why my power saving states don't power save. What happens is that the chip loses all context when you put it to sleep (cut power). I think it's quite close, i'll be looking at intelmausi and other projects tonight to see how they do it

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

Posted by Sinetek on 02 March 2017 - 12:41 PM

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 0x528910ECIf yours is different try adding it manually to plist and then report. thanks!  Sinetek-rtsx.kext.zip 35.82KB 212 downloads

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

Posted by Sinetek on 27 February 2017 - 01:07 PM

This worked for me.  Thank you!!! 0x522910EC Installed to S/L/E.  No KP when ejected in the OS.  It does stop working after my laptop wakes from sleep.Can you actually put the machine to sleep? The sleep issues can be worked out, it's not a lot of work but I have to read more on the sleep/resume path and then call the rtsx_suspend and such, then it should work. I still need to make the driver use the proper work queue for block I/O so it will stop crashing so damn much. But other than that, I added all y'all's PCI ID's to the driver already. Thanks for patience and testing, we'll get there One more bug to report... The driver appears to break after sleep/wake. If the machine wakes from sleep with the card still inserted, it'll initially seem as if you can access it, but it just hangs when you try to do anything with it. If the machines wakes from sleep without the card inserted, the card isn't recognised when it's put back in and you have to reboot...

#2374511 Patch for using NVMe under macOS Sierra is ready.

Posted by Sinetek on 27 February 2017 - 12:50 PM

Awesome awesome. I can't test for the upcoming week but here's the bit that stands out. I might have overlooked the rest of the function. Block size -> 0x10 to 0x01 seems to make sense, but then I'm not sure what the other offsets in the structure mean.  -0000000000009188 testb $0x10, %cl+0000000000009188 testb $0x1, %cl 000000000000918b jne 0x91f8 000000000000918d andb $0xf, %cl 0000000000009190 movzbl %cl, %ecx 0000000000009193 movzbl 0x82(%rax,%rcx,4), %ecx-000000000000919b cmpl $0xc, %ecx+000000000000919b cmpl $0x9, %ecx 000000000000919e jne 0x91f8-00000000000091a0 movl $0x1000, 0xa4(%r14)+00000000000091a0 movl $0x200, 0xa4(%r14)
  • jsl likes this

#2374482 Patch for using NVMe under macOS Sierra is ready.

Posted by Sinetek on 27 February 2017 - 12:11 PM

Alright. I think we may need some additional hacks. Try to enable debugging mode? But I shall have no ability to help on this. Feel really sorry.  :(We need a debug kext from a beta version of macOS (I believe the 10.12.4 one would do as well). With some additional kexts you can get the 10.12 one *loading* but for reasons unknown it does not fully work on 10.11. Anyway. I began work on an open source NVMe driver that would be a lot easier to use for everybody, (NVMe is supposed to be universal after all, it's a standardized protocol), but right now I'm not sure that I can work on it very much in the short term, although I wish to. @jsl  I'm curious now, you say you have the Plextor M8Pe working under 10.11? Can you confirm this?

#2368748 Patch for using NVMe under macOS Sierra is ready.

Posted by Sinetek on 16 February 2017 - 10:03 AM

Yes, I have the same Plextor M8Pe 256GB & 512GB M.2 devices which worked perfectly at 10.12.x.However not working at 10.11.6 yet with either Piker's patches by Clover's config.plist, RehabMan's HackNVMeFamity.kext, or IONVMeFamilyBorg.kext.Hope someone can help for this issue.Maybe the kext from 12.whatever can load under 11? I can't load the 12 kext on 11. Two possibilities: either get the newer IOBlockStorageDevice in place on the system, or find a way to hack the vtable import? I believe there's only one additional virtual function that was added, something about provisions I don't quite understand. Or the third possibility: I go out and write a driver for these nvme drives using FreeBSD code like the NVMeGeneric one, and fix power management. I think the easiest would be first:  just add the IOBlockStorageDevice from 10.12 to SLE then test it. System might bomb though.
  • jsl likes this

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

Posted by Sinetek on 12 February 2017 - 02:34 PM

Sorry folks, this is only for PCI/PCIe chips! the good news for USB is that it's a generic mass storage chip, so it should work out of the box with the proper matching injection. I can't help with that much, don't have the hardware

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy