0xFireWolf / RealtekCardReader

An unofficial Realtek PCIe/USB-based SD card reader driver for macOS
BSD 3-Clause "New" or "Revised" License
182 stars 18 forks source link

525a driver problem #7

Closed jxweb closed 3 years ago

jxweb commented 3 years ago

Hello: At present, there is a problem with the 525a, that is, if the SD card is inserted into the computer before booting, it cannot be driven. I don't know if this is the case for me alone?

0xFireWolf commented 3 years ago

Please follow the FAQs and attach your kernel log. Bug reports without any details and logs will be closed and left unanswered.

jxweb commented 3 years ago

Sorry, this is the log file。 rtsx.log

0xFireWolf commented 3 years ago

Your kernel log is incomplete.

Please carefully read the FAQs and ensure that the log is complete before uploading it.

jxweb commented 3 years ago

Hello, added the boot argument msgbuf=10485760, this is related log thanks! rtsx1.log 793B3606-5B2D-491E-B44D-248ECFE55348 QQ20210727-155454

jxweb commented 3 years ago

The previous log is incomplete. Now I have added a complete log. Could you please see what's the problem? rtsx.log [ 2.545096]: RTSX: virtual bool RealtekPCICardReaderController::start(IOService ) DInfo: =================================================== [ 2.545100]: RTSX: virtual bool RealtekPCICardReaderController::start(IOService ) DInfo: Starting the Realtek PCIe card reader controller... [ 2.545102]: RTSX: virtual bool RealtekPCICardReaderController::start(IOService ) DInfo: =================================================== [ 2.545121]: RTSX: virtual bool RealtekCardReaderController::start(IOService ) DInfo: ======================================================= [ 2.545123]: RTSX: virtual bool RealtekCardReaderController::start(IOService ) DInfo: Starting the Realtek PCIe/USB card reader controller... [ 2.545125]: RTSX: virtual bool RealtekCardReaderController::start(IOService ) DInfo: =======================================================

0xFireWolf commented 3 years ago

Your card does not respond to the initial ACMD41 while the system is booting, but I was not able to reproduce your issue with my cards.

I added a boot argument rtsxdcib=100 to delay a certain amount of time in milliseconds before the driver initializes the card found at boot time. Please try the attached driver and adjust the value (100) if necessary.

If it still does not work, please insert the card after the system boots. I do not plan to investigate this issue further. Thank you for testing the driver.

RealtekCardReader_0.9.6_851ede2_DEBUG.zip