Realtek SD Card Reader RTS5227

Issues related to hardware problems
User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Realtek SD Card Reader RTS5227

Post by TrevorH » 2014/10/20 12:19:31

I don't have that card reader so I cannot see what else needs to be loaded from that POV but my mmc slot does work and my machine has mmc_core, sdhci, sdhci_pci, sd_mod and sg loaded. I don't see any other modules that look like they might be involved. Are those all listed in lsmod?

I see on my machine that /dev/mmcblk0 is only created when there is a card in the slot.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

plobb
Posts: 12
Joined: 2014/10/17 08:37:44

Re: Realtek SD Card Reader RTS5227

Post by plobb » 2014/10/21 08:03:13

The following modules are listed with lsmod "mmc_core, rtsx_pci, rtsx_pci_sdmmc, sg, rtsx_pci_ms".
The two modules "sdhci" and "sdhci_pci" are missing, could this be the problem?

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Realtek SD Card Reader RTS5227

Post by TrevorH » 2014/10/21 09:43:35

No idea, try modprobe'ing them and see if it helps.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

plobb
Posts: 12
Joined: 2014/10/17 08:37:44

Re: Realtek SD Card Reader RTS5227

Post by plobb » 2014/10/21 19:20:32

found a "working" module with other distri live cd.
i used "mmc_block", now there is something in messages while inserting a card.

Code: Select all

Oct 21 21:14:36 bumfbook kernel: mmc0: cannot verify signal voltage switch
Oct 21 21:14:36 bumfbook kernel: mmc0: error -95 whilst initialising SD card
any ideas for the new failure?

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Realtek SD Card Reader RTS5227

Post by TrevorH » 2014/10/21 21:14:11

No, sorry, rings no bells here.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

plobb
Posts: 12
Joined: 2014/10/17 08:37:44

Re: Realtek SD Card Reader RTS5227

Post by plobb » 2014/12/01 22:07:24

The slot is still not working...is anyone out there how can help me?

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Realtek SD Card Reader RTS5227

Post by AlanBartlett » 2014/12/01 22:28:14

Please show just the relevant lines for the device as output by --

lspci -nn

I would like to see the device's Vendor:Device ID pairing.
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

plobb
Posts: 12
Joined: 2014/10/17 08:37:44

Re: Realtek SD Card Reader RTS5227

Post by plobb » 2014/12/01 22:49:09

Hi, thanks for your reply. Found the "solution/problem" a few seconds ago.
Updating to 3.17.4-2.el7.elrepo.x86_64 fixed the problem for me at the moment.

The line you wanted..

Code: Select all

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
I need to use the kernel 3.10 for other applications, so let me know any solutions.

Thx

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Realtek SD Card Reader RTS5227

Post by AlanBartlett » 2014/12/02 00:38:17

You have pre-empted what would have been my suggestion, once I had sight of the device's Vendor:Device ID pairing! :D

Using the "double grep" technique, I see --

Code: Select all

[Duo1 ~]$ grep -i 10ec /lib/modules/*/modules.alias | grep 5227
/lib/modules/3.10.0-123.9.3.el7.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
/lib/modules/3.17.4-2.el7.elrepo.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
/lib/modules/3.18.0-0.rc7.el7.elrepo.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
[Duo1 ~]$
If you intend to continue to use the kernel-ml package, I would advise that you --

(1) edit the /etc/sysconfig/kernel file so that its last line reads DEFAULTKERNEL=kernel-ml
(2) subscrube to the ELRepo Users' mailing list (a low traffic list) so that you receive notifications of each new kernel release
Image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

plobb
Posts: 12
Joined: 2014/10/17 08:37:44

Re: Realtek SD Card Reader RTS5227

Post by plobb » 2014/12/02 18:49:01

The output is...

Code: Select all

/lib/modules/3.10.0-123.8.1.el7.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
/lib/modules/3.10.0-123.9.2.el7.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
/lib/modules/3.10.0-123.9.3.el7.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
/lib/modules/3.10.0-123.el7.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
/lib/modules/3.17.4-2.el7.elrepo.x86_64/modules.alias:alias pci:v000010ECd00005227sv*sd*bcFFsc*i* rtsx_pci
when using the new kernel-ml, i'll run into new problems, like compiling virtualbox modules etc. :(
so i will try to fix the problem with the kernel delivered with centos first.

or you can tell me the location of kernel-ml-headers, there is nothing in /usr/src/kernel

Post Reply