Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-09-2013, 08:14 AM   #1
Richard Rahl
Registered: Aug 2006
Location: Cape Breton, D'Hara
Distribution: Ubuntu, Redhat
Posts: 83

Rep: Reputation: 15
Question Linux using incorrect kernel module for Realtek 5289 SD Card Reader

Hi everyone,

I have a Realtek SD card reader, Device 5289. I just tried my first SD card in Ubuntu earlier today to discover it couldn't read the card.

After some research, I stumbed upon this:

Which seems to describe my hardware and issue perfectly (OS is Ubuntu 12.04.2 64-bit)

I followed all the steps in the ticket, installed rts_bpp, (including creating the /lib/udev/rules.d/81-udisks-realtek.rules file), but my card reader still isn't working.

I believe I've narrowed down the problem, but I'm not sure the next step. Here's my output from lspci:

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 1587
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f7800000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci
Kernel modules: rts_bpp, rtsx_pci

As you can see, the rts_bpp module seems to be installed fine (I also added it to /etc/modules), but Ubuntu keeps on insisting to use the rtsx_pci driver instead of the rts_bpp driver. I did manage to get it to use the rts_bpp driver once (by carefully unloading rtsx_pci and loading rts_bpp in the correct order), and my SD Card reader worked fine at that point (lspci reported the Kernel driver in use was rts_bpp), but then upon reboot, it went back to using the rtsx_pci driver and no longer worked.

So my question is: How do I get it to use rts_bpp instead of rtsx_pci, and stay that way upon reboot? I even tried adding rtsx_pci to /etc/modprobe.d/blacklist.conf, but alas, it just keeps loading!

If it's helpful, Linux kernel version is 3.5.0-32-generic.

Any help would be appreciated! Thanks.
Old 06-09-2013, 02:52 PM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,573

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
I have the Realtek 5139 card reader. I needed no udev rule(Slackware) and found the driver in Staging drivers in the kernel. It meant a kernel compile. Check there.

If you just want to swap the modules you mentioned, try this:
1. Check /etc/modprobe.d/blacklist for the modules & remove them if they are there.
2. grep /etc/modprobe.d/ for 'rts' - that should find them. Presuming no other entries exist, just add a line to some .conf file

install rtsx_pci /sbin/modprobe -i rts_bpp
That gives it rts_bpp when it goes looking for rts_pci. Then remove the module and install it again


hardware, sd, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek r8168 kernel module errors on kernel 3.9.4 misson20000 Linux - Hardware 1 06-09-2013 12:48 PM
[SOLVED] Realtek USB SD Card reader with Kernel 3.2.7 not working Grischuna Slackware 3 03-17-2012 12:02 PM
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 09:25 PM
RealTek RTL8019 Network Card Module rwelch Linux - Networking 1 02-28-2003 08:39 PM
kernel module for Realtek 8139 devraj Linux - Networking 2 01-03-2002 01:52 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration