A Lilu plugin that makes System Information recognize your Realtek card reader as a native one

Overview

Realtek Card Reader Driver Friend

Introduction

A Lilu plugin that makes System Information recognize your Realtek card reader as a native one.

Supported Systems

  • macOS Big Sur
  • macOS Catalina
  • macOS Mojave

Notes:

  • Other systems are not tested yet.

Dependencies

Notes:

  • If your have a builtin USB card reader that works out of box but does not show up in System Information, you may try the other Lilu plugin GenericCardReaderFriend. In other words, your card reader is powered by neither AppleUSBCardReader.kext nor RealtekCardReader.kext.

Support

If you would like to support my work, please consider a donation.

Donate

Boot Arguments

  • -rtsfoff (or -liluoff) to disable
  • -rtsfdbg (or -liludbgall) to enable verbose logging (in DEBUG builds)
  • -rtsfbeta (or -lilubetaall) to enable on macOS newer than 12

Credits

License

This project is licensed under BSD-3-Clause.
Copyright (C) 2021 FireWolf @ FireWolf Pl. All Rights Reserved.

You might also like...
It creates a random word by mixing two English common words into a single one, each one with the first character in capital letter. It also allow you to scroll down infinitely without repeating the same word twice.

startup_namer A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Visual Studio native debugger extension to help debug native applications using Mono.
Visual Studio native debugger extension to help debug native applications using Mono.

Unity Mixed Callstack UnityMixedCallstack is a Visual Studio 2017/2019 extension to help debug native applications embedding Mono, like Unity. If you

Schedule Reader but it's written by C++

Schedule Reader 2.0 Automatically convert your excel schedule from your teacher to an iCalendar file that you can import into services like Google Cal

 ESP32 Based ePub Reader
ESP32 Based ePub Reader

ESP32 Based ePub Reader

gu, Gefertean Union reader

gu gu, Gefertean Union reader based on Freud and Totem external requirements: libcurl (for curl4cpp) elite (for build) c++ compiler (c++17 or higher

Buffer reader/builder for C

ubuf ubuf is a simple interface for reading/writing binary data. It handles automatically expanding the buffer and byte order for you, but that's abou

This is the source code for for the Plugin GAS Associate, that is supposed to make your life easier while using Unreal's Gameplay Ability System.

GASAssociate Description: This is the source code for for the Plugin GAS Associate, that is supposed to make your life easier while using Unreal's Gam

A handy little system information monitor using and ESP32 + ILI9488 TFT. Receives data over Serial Bluetooth.
A handy little system information monitor using and ESP32 + ILI9488 TFT. Receives data over Serial Bluetooth.

Bluetooth-System-Monitor A handy little system information monitor using and ESP32 + ILI9488 TFT. Receives data over Serial Bluetooth and thus giving

Information on my chord-based typing system

taipo A chord-based typing system: only needs 10 keys per hand (2 keys per finger) optimized to reduce finger usage, travel distance, and awkward patt

Comments
  • [RealtekCardReader] compatibility with 0x0BDA 0x0177

    [RealtekCardReader] compatibility with 0x0BDA 0x0177

    Hi there, first of all I'd like to thank you a lot for the effort you're putting onto the development of the main kext as well as the companion one. I have a Dell Inspiron 5370 with a USB-based Realtek microSD card reader (0x0BDA 0x0177). It works fine on macOS but I'd like to know if RealtekCardReaderFriend can support it. Greetings dreamwhite

    opened by dreamwhite 4
  • Kernel panic on 10.15.7

    Kernel panic on 10.15.7

    Hi, I get a kernel panic on booting up, with Lilu 1.5.8 and RealtekCardReaderFriend 1.0.2/master.

    panic(cpu 4 caller 0xffffff800a448baa): Kernel trap at 0xffffff800a8b8796, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xfffffa4a652c6820, CR3: 0x000000028ed23002, CR4: 0x00000000003626e0
    RAX: 0x0000000000000000, RBX: 0xffffff802bce6600, RCX: 0xfffffeb28e5b8000, RDX: 0x0000000000002000
    RSP: 0xffffff81f746b118, RBP: 0xffffff81f746b120, RSI: 0xffffff802bbe6820, RDI: 0xffffff802bce6600
    R8:  0x0000000000001000, R9:  0xffffff81f746b5b4, R10: 0x0000000000000000, R11: 0xffffff81f746b848
    R12: 0x0000000000001000, R13: 0x0000000000002000, R14: 0x0000000000001000, R15: 0xfffffeb28e5b8000
    RFL: 0x0000000000010246, RIP: 0xffffff800a8b8796, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0xfffffa4a652c6820, Error code: 0x0000000000000002, Fault CPU: 0x4, PL: 0, VF: 1
    
    Backtrace (CPU 4), Frame : Return Address
    0xffffff81f746ab70 : 0xffffff800a31c50d mach_kernel : _handle_debugger_trap + 0x49d
    0xffffff81f746abc0 : 0xffffff800a456c75 mach_kernel : _kdp_i386_trap + 0x155
    0xffffff81f746ac00 : 0xffffff800a4487fe mach_kernel : _kernel_trap + 0x4ee
    0xffffff81f746ac50 : 0xffffff800a2c2a40 mach_kernel : _return_from_trap + 0xe0
    0xffffff81f746ac70 : 0xffffff800a31bbd7 mach_kernel : _DebuggerTrapWithState + 0x17
    0xffffff81f746ad70 : 0xffffff800a31bfc7 mach_kernel : _panic_trap_to_debugger + 0x227
    0xffffff81f746adc0 : 0xffffff800aac0e4c mach_kernel : _panic + 0x54
    0xffffff81f746ae30 : 0xffffff800a448baa mach_kernel : _sync_iss_to_iks + 0x2aa
    0xffffff81f746afb0 : 0xffffff800a4488a8 mach_kernel : _kernel_trap + 0x598
    0xffffff81f746b000 : 0xffffff800a2c2a40 mach_kernel : _return_from_trap + 0xe0
    0xffffff81f746b020 : 0xffffff800a8b8796 mach_kernel : _cs_validate_range + 0x6
    0xffffff81f746b120 : 0xffffff7f8e7f95f4 science.firewolf.rtsf : __ZL19wrapCSValidateRangeP5vnodeP8ipc_portyPKvmPj + 0x72
    0xffffff81f746b570 : 0xffffff7f8e34d056 as.vit9696.Lilu : __ZN11UserPatcher14injectRestrictEP8ipc_port + 0x526
    0xffffff81f746b5a0 : 0xffffff800a3a98a5 mach_kernel : _vm_page_validate_cs_mapped_slow + 0x85
    0xffffff81f746b5c0 : 0xffffff800a3a9743 mach_kernel : _vm_page_validate_cs + 0x103
    0xffffff81f746b5f0 : 0xffffff800a3a852f mach_kernel : _vm_fault_enter + 0x2ef
    0xffffff81f746b740 : 0xffffff800a3ab664 mach_kernel : _vm_pre_fault + 0x1d84
    0xffffff81f746b9a0 : 0xffffff800a85f368 mach_kernel : _kctl_fill_socketinfo + 0x2828
    0xffffff81f746bd70 : 0xffffff800a86568e mach_kernel : _posix_spawn + 0x3efe
    0xffffff81f746bdf0 : 0xffffff800a866822 mach_kernel : ___mac_execve + 0x372
    0xffffff81f746be90 : 0xffffff800a866dbb mach_kernel : _load_init_program + 0x1db
    0xffffff81f746bf00 : 0xffffff800a82badd mach_kernel : _bsdinit_task + 0x6d
    0xffffff81f746bf20 : 0xffffff800a313e59 mach_kernel : _ast_taken_user + 0x119
    0xffffff81f746bf60 : 0xffffff800a2c2a0c mach_kernel : _return_from_trap + 0xac
          Kernel Extensions in backtrace:
             as.vit9696.Lilu(1.5.8)[3E44E561-C07C-31E8-B2D7-0F31B5266E45]@0xffffff7f8e33b000->0xffffff7f8e365fff
             science.firewolf.rtsf(1.0.2)[BFE35DFB-310C-37F1-9032-3548D1004C7D]@0xffffff7f8e7f8000->0xffffff7f8e800fff
                dependency: as.vit9696.Lilu(1.5.8)[3E44E561-C07C-31E8-B2D7-0F31B5266E45]@0xffffff7f8e33b000
    
    BSD process name corresponding to current thread: init
    Boot args: -v keepsyms=1 debug=0x100 darkwake=0 ps2rst=0 brcmfx-country=#a igfxfw=2
    
    Mac OS version:
    Not yet set
    
    Kernel version:
    Darwin Kernel Version 19.6.0: Tue Oct 12 18:34:05 PDT 2021; root:xnu-6153.141.43~1/RELEASE_X86_64
    Kernel UUID: 4B98EE82-CC78-38C9-949B-100413F93A04
    Kernel slide:     0x000000000a000000
    Kernel text base: 0xffffff800a200000
    __HIB  text base: 0xffffff800a100000
    System model name: MacBookPro15,3 (Mac-1E7E29AD0135F9BC)
    System shutdown begun: NO
    Panic diags file available: NO (0xe00002d8)
    
    System uptime in nanoseconds: 4687527954
    

    I tried it several times, one of which stated it is a double fault issue.

    Seems like the panic happens when invoking the original _cs_validate_range function according to the backtrace above, and I also verified that by commenting out the other parts in wrapCSValidateRange().

    https://github.com/0xFireWolf/RealtekCardReaderFriend/blob/7f6639a64194a723651aad2fdfd09c1181f519c1/RealtekCardReaderFriend/RealtekCardReaderFriend.cpp#L147

    opened by Goshin 2
  • Kernel Panic in Catalina for Realtek RTS5229

    Kernel Panic in Catalina for Realtek RTS5229

    I got kernel panic with

    1. Latest Release Lilu.kext + RealtekCardReader.kext
    2. Latest commit Lilu.kext + Latest Commit RealtekCardReader.kext

    Card reader is Realtek RTS5229

    I upload this screenshot

    image

    opened by andreszerocross 1
  • macOS 12.0.1 RC 2 won't boot w/ friend kext.

    macOS 12.0.1 RC 2 won't boot w/ friend kext.

    RealtekCardReader works just fine on Monterey, thank you!

    But I cannot get the friend kext working, Monterey just ends up not booting as it should.

    Is Monterey unsupported or is there something I'm missing? RTS525A btw, if that matters. Lilu and RealtekCardReader kexts are updated.

    opened by sky3k 0
Releases(v1.0.3)
Owner
FireWolf
FireWolf
An unofficial Realtek PCIe/USB-based SD card reader driver for macOS

Realtek Card Reader Driver for macOS Unleash the full potential of your SDXC UHS-I cards Introduction An unofficial macOS kernel extension for Realtek

FireWolf 136 Oct 3, 2022
Recognize stairs with lidar. Project the laser points to X-Z plane and use least squares for linear fitting.

stairs_recogniton Recognize stairs with lidar. Project the laser points to X-Z plane and use least squares for linear fitting. Dependencies PCL 1.8 Ei

Junyi Ma 11 Jul 27, 2022
Read file to console, automatically recognize file encoding, include ansi, utf16le, utf16be, utf8. Currently output ansi as gbk for chinese text search.

rgpre A tool for rg --pre. Read file to console, automatically recognize file encoding, include ansi, utf16le, utf16be, utf8. Currently output ansi as

null 3 Mar 18, 2022
A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.

system_tray A Flutter package that that enables support for system tray menu for desktop flutter apps. on Windows, macOS and Linux. Features: - Modify

AnTler 127 Oct 2, 2022
Sloth 🦥 is a coverage guided fuzzing framework for fuzzing Android Native libraries that makes use of libFuzzer and QEMU user-mode emulation

Sloth ?? Sloth is a fuzzing setup that makes use of libFuzzer and QEMU’s user-mode emulation (qemu/linux-user) on x86_64/aarch64 host to emulate aarch

Chaithu 78 Sep 18, 2022
Plays native alert sound and shows native dialogs/alerts in your Flutter app.

flutter_platform_alert 2021 © Weizhong Yang a.k.a zonble. A simple plugin to present native alerts, including playing alert sounds and showing alert d

Weizhong Yang a.k.a zonble 57 Sep 27, 2022
Flutter app where you can find your information about your Favorite Super Cars ⚡❤

Super Cars App (Flutter) ⚡ Now you can freely discover and browse your Favourite Super Cars ❤ . Speed! ?? Getting Started This project is a starting p

Shehroz Ali 4 Apr 13, 2022
See your system information on LCD with Arduino!

Nodejs Arduino System Info See your system information on LCD with Arduino! You can see RAM usage, and CPU usage. Requipments: An Arduino Board. [ You

Akif9748 4 Jan 14, 2022
This is the ti.to checkin and identity card system.

tito-integegration-hackaway This is the ti.to checkin and identity card system. enjoy the psuedo-javadoc comments Setup This program is designed to ru

RHUL Computing Society 1 Dec 24, 2021
A plugin that can display player information overhead

A plugin that can display player information overhead Config File At plugins/HeadShow/config.json { "updateTick":60,

HuoHua 0 Jun 17, 2022