Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ljmf00/rts5139
Linux kernel drivers module backport for RTS5129/RTS5139 USB MMC card reader
https://github.com/ljmf00/rts5139
card-reader drivers kernel kernel-module linux mmc module realtek rts5129 usb
Last synced: about 1 month ago
JSON representation
Linux kernel drivers module backport for RTS5129/RTS5139 USB MMC card reader
- Host: GitHub
- URL: https://github.com/ljmf00/rts5139
- Owner: ljmf00
- License: gpl-2.0
- Created: 2019-04-28T00:49:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T03:15:41.000Z (over 1 year ago)
- Last Synced: 2024-12-03T00:51:22.367Z (about 2 months ago)
- Topics: card-reader, drivers, kernel, kernel-module, linux, mmc, module, realtek, rts5129, usb
- Language: C
- Homepage:
- Size: 285 KB
- Stars: 9
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# 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
```2. 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
```3. Then, make sure you generate modules.dep and map files.
```
sudo depmod -a
```4. Finally, disable module autoloading (and, optionally, also in the initial RAM filesystem)
5. Blacklist rtsx mmc modules via kernel parameters.
6. If wanted/needed, update the initramfs.
7. Reboot, and check to see if the card reader works.
## License
GNU General Public License - Version 2, June 1991