Awesome
Realtek Card Reader Driver for macOS
Unleash the full potential of your SDXC UHS-I cards
Introduction
An unofficial macOS kernel extension for Realtek PCIe/USB-based SD card readers.
It uses the Linux driver as a reference implementation but is written from scratch and carefully designed for macOS to deliver the best performance.
Features
- No compatibility layer
- Supports SDSC/HC/XC cards
- Supports the default and the high speed modes
- Supports UHS-I SDR12/25/50/104 and DDR50 modes
- Recognizable as a built-in card reader device*
- Device-independent SD host driver stack
Notes:
- RealtekCardReaderFriend is required to enable this feature as of v0.9.5.
Limitations
- MMC cards are not supported
- SD Express cards are not supported
Current Status
- Last Updated: Oct 25, 2022
- Reference: Linux Kernel 5.11
- Driver Status: Pre-1.0 Beta (v0.9.7)
- USB-based RTS5129, 5139 and 5179 card readers are now supported and should be working properly.
- I/O performance and the overall driver stability are of the most concern at this moment.
- Known Issues: Link
Supported Systems
- macOS Monterey
- macOS Big Sur
- macOS Catalina
- macOS Mojave
Notes:
- Other systems are not tested yet.
Supported Devices
Notes:
- By design, all listed devices are supported, and devices that have the same series share most of the controller code.
- RTS525A has the highest priority than other chips, because that's the only chip available for me to test the driver.
- If a device's support status is "Not Yet", its controller is not implemented yet.
- Other Realtek USB card readers (e.g., RTS5138) conform to the USB Attached SCSI (UAS) protocol and therefore may be supported by the native driver.
Downloads
- Stable Releases (Recommended)
- Nightly Builds (Artifacts under each workflow run)
Boot Arguments
Please refer to this dedicated page to see all boot arguments.
Questions, Issues and Documentation
Users
Please read FAQs and Known Issues carefully before asking any questions.
Please use the issue template before submitting any code-level issues.
Please clearly indicate your chip model, device ID and revision number and attach the kernel log in your issue.
Please make sure that your kernel log is complete. Issues without any details will be closed and left unanswered.
Developers
You are welcome to submit pull requests to improve this driver.
Please read the code documentation to understand how each class/function is related to the Linux driver code and how to add support for other listed devices.
A detailed port note will be available later.
Discussion
A discussion thread is available on InsanelyMac.
Support
Writing a driver from scratch is hard and time consuming.
If you would like to support my work, please consider a donation.
References
Credits
- Acidanthera for MacKernelSDK
- Realtek for the Linux RTSX PCI/USB driver
- FireWolf for developing the card reader driver for macOS
Acknowledgements
I would like to acknowledge the following beta testers without whom support for USB-based card readers won't be available.
- m0d16l14n1 for testing unstable, experimental builds to capture and fix a large number of issues.
- Sherlocks for testing early builds to debug the timeout issues.
- whatnameisit for testing early builds to debug the hardware initialization issues.
- gnpaone for providing multiple comprehensive bug reports.
License
This project is licensed under BSD-3-Clause.
Copyright (C) 2021 FireWolf @ FireWolf Pl. All Rights Reserved.