[SOLVED] CentOS 6.7 RTS5209 PCI Express Card Reader

Issues related to hardware problems
Post Reply
User avatar
ChubaDuba
Posts: 45
Joined: 2015/08/16 06:06:41
Location: Rostov-on-Don
Contact:

[SOLVED] CentOS 6.7 RTS5209 PCI Express Card Reader

Post by ChubaDuba » 2015/08/16 06:29:41

After upgrading to CentOS 6.7 stopped working RTS5209 PCI Express Card Reader. Installing drivers from the official site Realtek result is not given. How to fix?

lspci -v

Code: Select all

05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
	Subsystem: Lenovo Device 3629
	Flags: bus master, fast devsel, latency 0, IRQ 25
	Memory at fe900000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rts_pstor, rtsx_pci
/sbin/lsmod

Code: Select all

Module                  Size  Used by
nf_conntrack_ipv6       6588  7 
nf_defrag_ipv6         16175  1 nf_conntrack_ipv6
ip6table_filter         2245  1 
ip6_tables             10301  1 ip6table_filter
nf_conntrack_ipv4       7342  6 
nf_defrag_ipv4          1039  1 nf_conntrack_ipv4
xt_state                1064  13 
nf_conntrack           65109  3 nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state
iptable_filter          2173  1 
ip_tables               9567  1 iptable_filter
michael_mic             1666  4 
arc4                    1151  2 
ecb                     1613  2 
ablk_helper             2387  0 
cryptd                  7803  1 ablk_helper
lrw                     3559  0 
xts                     2547  0 
gf128mul                7469  2 lrw,xts
aes_i586                7305  1 
aes_generic            26829  1 aes_i586
fuse                   67725  0 
autofs4                21076  3 
8021q                  16512  0 
garp                    5703  1 8021q
stp                     1626  1 garp
llc                     4226  2 garp,stp
vboxpci                14557  0 
vboxnetadp             19122  0 
vboxnetflt             17738  0 
vboxdrv               325493  3 vboxpci,vboxnetadp,vboxnetflt
cpufreq_ondemand        8320  2 
powernow_k8            16400  0 
mperf                   1253  1 powernow_k8
ipt_REJECT              1867  2 
ip6t_REJECT             3731  2 
ipv6                  270937  50 nf_conntrack_ipv6,nf_defrag_ipv6,vboxnetflt,ip6t_REJECT
ext2                   58683  1 
uinput                  6116  0 
sg                     24006  0 
rtsx_pci_sdmmc         15211  0 
mmc_core               72361  1 rtsx_pci_sdmmc
rtsx_pci_ms             7797  0 
memstick                8299  1 rtsx_pci_ms
microcode              11864  0 
serio_raw               3530  0 
rts_pstor             331214  0 
rtsx_pci               27936  2 rtsx_pci_sdmmc,rtsx_pci_ms
mfd_core                1507  1 rtsx_pci
r8169                  63274  0 
mii                     4476  1 r8169
r8192ce_pci           448287  0 
uvcvideo               54580  0 
videodev               64770  1 uvcvideo
snd_usb_audio         137440  1 
snd_usbmidi_lib        20493  1 snd_usb_audio
snd_rawmidi            19373  1 snd_usbmidi_lib
snd_hda_codec_realtek    62454  1 
snd_hda_codec_generic    54394  1 snd_hda_codec_realtek
k10temp                 2561  0 
snd_hda_intel          45473  2 
snd_hda_codec         114217  3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hwdep               5474  2 snd_usb_audio,snd_hda_codec
snd_seq                49055  0 
snd_seq_device          5689  2 snd_rawmidi,snd_seq
snd_pcm                73758  3 snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_timer              17504  2 snd_seq,snd_pcm
snd                    55156  18 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore               6390  2 snd_hda_codec,snd
snd_page_alloc          7236  2 snd_hda_intel,snd_pcm
i2c_piix4               9940  0 
fglrx               12958745  97 
ext4                  339797  2 
jbd2                   75927  1 ext4
mbcache                 6017  2 ext2,ext4
video                  17202  0 
output                  1741  1 video
sr_mod                 13154  0 
cdrom                  33416  1 sr_mod
sd_mod                 33249  5 
crc_t10dif               836  1 sd_mod
wmi                     5183  0 
ahci                   36204  4 
pata_acpi               2513  0 
ata_generic             2805  0 
pata_atiixp             3018  0 
radeon               1570326  0 
ttm                    75097  1 radeon
drm_kms_helper         76753  1 radeon
drm                   260282  4 radeon,ttm,drm_kms_helper
i2c_algo_bit            4679  1 radeon
i2c_core               23776  6 videodev,i2c_piix4,radeon,drm_kms_helper,drm,i2c_algo_bit
dm_mirror              11969  0 
dm_region_hash          9644  1 dm_mirror
dm_log                  8322  2 dm_mirror,dm_region_hash
dm_mod                 84711  2 dm_mirror,dm_log

User avatar
ChubaDuba
Posts: 45
Joined: 2015/08/16 06:06:41
Location: Rostov-on-Don
Contact:

Re: [SOLVED] CentOS 6.7 RTS5209 PCI Express Card Reader

Post by ChubaDuba » 2015/08/28 22:00:26

I solved the problem of replacing the used kernel module, so how kernel is still using the wrong driver rtsx_pci, and not the compiled rts_pstor:

Code: Select all

# modprobe -r rtsx_pci
# modprobe -r rtsx_pci_sdmmc
# modprobe -r rtsx_pci_ms
# depmod -a
# modprobe -r rts_pstor
# modprobe rts_pstor
Now blacklisted rtsx_pci:

Code: Select all

# nano /etc/modprobe.d/blacklist.conf
Add: blacklist rtsx_pci
Save the changes in the file and reboot.
Now check which module is operated:

Code: Select all

# lspci -v
Image
It works!

Post Reply