Add RealtekCardReader kexts for SD Card Reading

This commit is contained in:
2022-12-12 11:46:56 +01:00
parent aa8a049a7f
commit ff1282a595
7 changed files with 553 additions and 1 deletions

View File

@@ -0,0 +1,377 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>22A380</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>RealtekCardReader</string>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>RealtekCardReader</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>0.9.7</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>0.9.7</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>14A400</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>12.3</string>
<key>DTSDKBuild</key>
<string>21E226</string>
<key>DTSDKName</key>
<string>macosx12.3</string>
<key>DTXcode</key>
<string>1401</string>
<key>DTXcodeBuild</key>
<string>14A400</string>
<key>IOKitPersonalities</key>
<dict>
<key>IOSDBlockStorageDevice</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>Device Characteristics</key>
<dict>
<key>Product Name</key>
<string>Built In SDXC Reader</string>
<key>Vendor Name</key>
<string>Realtek</string>
</dict>
<key>IOClass</key>
<string>IOSDBlockStorageDevice</string>
<key>IOMediaIcon</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.IOSCSIArchitectureModelFamily</string>
<key>IOBundleResourceFile</key>
<string>SD.icns</string>
</dict>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOSDHostDriver</string>
</dict>
<key>RealtekRTS5129Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekUSBCardReaderController</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOUSBHostDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
<key>idProduct</key>
<integer>297</integer>
<key>idVendor</key>
<integer>3034</integer>
</dict>
<key>RealtekRTS5139Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekUSBCardReaderController</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOUSBHostDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
<key>idProduct</key>
<integer>313</integer>
<key>idVendor</key>
<integer>3034</integer>
</dict>
<key>RealtekRTS5179Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekUSBCardReaderController</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOUSBHostDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
<key>idProduct</key>
<integer>320</integer>
<key>idVendor</key>
<integer>3034</integer>
</dict>
<key>RealtekRTS5209Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5209Controller</string>
<key>IOPCIMatch</key>
<string>0x520910EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5227Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5227Controller</string>
<key>IOPCIMatch</key>
<string>0x522710EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5229Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5229Controller</string>
<key>IOPCIMatch</key>
<string>0x522910EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS522AController</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS522AController</string>
<key>IOPCIMatch</key>
<string>0x522A10EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5249Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5249Controller</string>
<key>IOPCIMatch</key>
<string>0x524910EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS524AController</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS524AController</string>
<key>IOPCIMatch</key>
<string>0x524A10EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS525AController</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS525AController</string>
<key>IOPCIMatch</key>
<string>0x525A10EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5260Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5260Controller</string>
<key>IOPCIMatch</key>
<string>0x526010EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5286Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5286Controller</string>
<key>IOPCIMatch</key>
<string>0x528610EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5287Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5287Controller</string>
<key>IOPCIMatch</key>
<string>0x528710EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
<key>RealtekRTS5289Controller</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsx</string>
<key>IOClass</key>
<string>RealtekRTS5289Controller</string>
<key>IOPCIMatch</key>
<string>0x528910EC</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Protocol Characteristics</key>
<dict>
<key>Physical Interconnect</key>
<string>Secure Digital</string>
<key>Physical Interconnect Location</key>
<string>Internal</string>
</dict>
</dict>
</dict>
<key>LSMinimumSystemVersion</key>
<string>10.14</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2021 FireWolf. All rights reserved.</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOPCIFamily</key>
<string>2.9</string>
<key>com.apple.iokit.IOStorageFamily</key>
<string>2.1</string>
<key>com.apple.iokit.IOUSBHostFamily</key>
<string>1.2</string>
<key>com.apple.kpi.iokit</key>
<string>16.4</string>
<key>com.apple.kpi.libkern</key>
<string>16.4</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2021, FireWolf @ FireWolf Pl.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>22A380</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>RealtekCardReaderFriend</string>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsf</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>RealtekCardReaderFriend</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0.4</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.0.4</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>14A400</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>12.3</string>
<key>DTSDKBuild</key>
<string>21E226</string>
<key>DTSDKName</key>
<string>macosx12.3</string>
<key>DTXcode</key>
<string>1401</string>
<key>DTXcodeBuild</key>
<string>14A400</string>
<key>IOKitPersonalities</key>
<dict>
<key>RealtekCardReaderFriend</key>
<dict>
<key>CFBundleIdentifier</key>
<string>science.firewolf.rtsf</string>
<key>IOClass</key>
<string>RealtekCardReaderFriend</string>
<key>IOMatchCategory</key>
<string>RealtekCardReaderFriend</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>LSMinimumSystemVersion</key>
<string>10.14</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.4.7</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2021, FireWolf @ FireWolf Pl.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

36
EFI/OC/config.plist Executable file → Normal file
View File

@@ -948,6 +948,42 @@
<key>PlistPath</key> <key>PlistPath</key>
<string>Contents/Info.plist</string> <string>Contents/Info.plist</string>
</dict> </dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>RealtekCardReader.kext</string>
<key>Comment</key>
<string>RealtekCardReader.kext</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/RealtekCardReader</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>RealtekCardReaderFriend.kext</string>
<key>Comment</key>
<string>RealtekCardReader.kext</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/RealtekCardReaderFriend</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
</array> </array>
<key>Block</key> <key>Block</key>
<array/> <array/>