释放 SDXC UHS-I 卡的全部潜力

介绍
用于基于 Realtek PCIe/USB 的 SD 卡读卡器的非官方 macOS 内核扩展。
它使用 Linux 驱动程序作为参考实现,但从头开始编写并为 macOS 精心设计以提供最佳性能。

特征
无兼容层
支持 SDSC/HC/XC 卡
支持默认和高速模式
支持 UHS-I SDR12/25/50/104 和 DDR50 模式
可识别为内置读卡器设备*
独立于设备的 SD 主机驱动程序堆栈

v0.9.6 Beta
Short Story:
The driver is pretty stable now.
USB-based card readers should be working properly.
PCIe-based card readers should work even better than before.
Long Story:
Added support for RTS5260.
Fixed an issue that the driver is not loaded if the USB card reader is not configured and thus does not expose its host interface.
Addressed an issue that the driver fails to find the bulk endpoints of the USB card reader.
Resolved an issue that the driver fails to initialize the USB card reader properly.
Resolved an issue that the driver cannot detect whether the user has inserted/removed the card to/from the USB card reader.
Added an option to delay the initialization of the card found during the system boots.
Corrected the address of the USB-based card reader register that controls the SSC depth.
Fixed an issue that System Information does not list the USB-based card reader properly.
Resolved an issue that commands are timed out after the driver switches the bus clock of the card reader.
Resolved an issue that USB-based card readers fail to initialize UHS-I cards properly.
Pause the polling thread of the USB-based card reader when the host driver is processing a card event.
Skip setting the bus power mode if the card reader is already operating at the requested mode.
Resolved an issue that the card clock is incorrectly toggled thus fails to switch to 1.8V after the host device sends the CMD11.
Revise the design of the host driver stack to make all data structures that are related to host requests device-independent.
Optimize the host driver stack to avoid unnecessary bounce buffer allocations and data copies in card reader controllers.
Minimize the amount of time the transfer buffer is ready for DMA to reduce the pressure in the low 4GB of physical memory.
Addressed an issue that CMD17 and CMD24 fail to transfer any data from/to the card with USB-based card readers.
Switched the mode from AutoRead2 to AutoRead3 when the host device services an inbound DMA transfer request.
Resolved an issue that bulk pipes halted after the driver issued a DMA transfer request to USB-based card readers.
Revise the implementation of processing block requests to fix the regression caused by the new driver stack.
Fixed an issue that the maximum segment size for DMA transfers is incorrectly defined for PCIe-based card readers.
Fixed a race condition introduced by the polling thread that corrupts the response sent by USB-based card readers.
Addressed an issue that UHS-I cards running in SDR50/104 mode are not tuned thus send invalid responses to USB-based card readers.
Parse the SD status register value so that System Information can show the speed class of the card.
System Information now shows the information of cards inserted into USB-based card readers.

v1.0.2
Recomplie the kext with Lilu v1.5.8 to fix the kernel panic of the general protection error.

 

github:https://github.com/0xFireWolf/RealtekCardReader

github:https://github.com/0xFireWolf/RealtekCardReaderFriend/

网盘

链接: https://pan.baidu.com/s/1RFvsU4F6hggzxtR0Fu49Kw?pwd=8155 提取码: 8155

https://cloud.189.cn/web/share?code=NfaieumYn6fu

https://loadream.lanzoul.com/igGHXyd7qbg