Coder Social home page Coder Social logo

ljmf00 / rts5139 Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 9.0 292 KB

Linux kernel drivers module backport for RTS5129/RTS5139 USB MMC card reader

License: GNU General Public License v2.0

Makefile 0.29% C 99.69% Shell 0.03%
linux kernel drivers module kernel-module rts5129 realtek mmc card-reader usb

rts5139's Introduction

RTS5129/RTS5139

Overview

This is a temporary fix for RTS5129/RTS5139 USB MMC card reader on Linux 3.16+ kernels.

This ocurred during a transition from 3.15 to 3.16 kernel, as a result of the staging/rts5139 driver (which worked with the RTS5129/RTS5139) being replaced by the newer rtsx driver (which does not work with the RTS5129/RTS5139). This project reverts back to the old drivers as a temporary measure to get things up and running again.

Requirements

  • make
  • gcc
  • linux-headers

Building

  1. Checkout, build and install the replacement driver.
cd /tmp
git clone https://github.com/aurorafossorg/rts5139.git
cd rts5139
make
sudo make install
  1. Blacklist the problematic modules by adding blacklist-rts5139.conf, blacklist-rts5139-dkms.conf, or this to /etc/modprobe.d/:
blacklist rtsx_usb_sdmmc
blacklist rtsx_usb_ms
blacklist rtsx_usb
  1. Then, make sure you generate modules.dep and map files.
sudo depmod -a
  1. Finally, disable module autoloading (and, optionally, also in the initial RAM filesystem)

  2. Blacklist rtsx mmc modules via kernel parameters.

  3. If wanted/needed, update the initramfs.

  4. Reboot, and check to see if the card reader works.

License

GNU General Public License - Version 2, June 1991

rts5139's People

Contributors

asymingt avatar citronalco avatar hydride0 avatar ljmf00 avatar psiyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.