LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 05-29-2017, 06:25 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Rep: Reputation: 108Reputation: 108
RealTek RTS5286 PCI Express Card Reader trouble


Hya

A card reader on my laptop (Debian testing amd64 4.9.6-r1t) does not work. I remember this card reader worked quite a while ago. There is not much trouble with this module with web search.

lspci says
Code:
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader (rev 01)
Its driver is rtsx_pci, which is built in.
lshw reads:
Code:
description: Unassigned class
product: RTS5286 PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: driver=rtsx_pci latency=0
resources: irq:26 memory:f7400000-f740ffff
syslog reads:
Code:
May 29 19:45:44 Pen15guin kernel: [    1.243097] rtsx_pci 0000:03:00.0: rtsx_pci_acquire_irq: pcr->msi_en = 1, pci->irq = 26
But nothing happens when card is inserted. (dmesg stays quiet!!)

Other usb ports work well (mouse, memory stick)

I guess that a correct kernel module recognizes hardware, and has irq assigned.

Why nothing happens? Could this be hardware failure??

I appreciate any suggestion.

Thanks in advance
 
Old 05-29-2017, 03:29 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Supposed to be in these kernels. https://cateee.net/lkddb/web-lkddb/MFD_RTSX_PCI.html
That doesn't mean your kernel has it or is using it correctly. See what modprobe command shows. May have to blacklist or add in.

Just for grin's I'd try a few live media booted distro's to see what they do. We tend to assume the card reader is OK and the sd card is OK but not proven yet.

Last edited by jefro; 05-29-2017 at 03:30 PM.
 
Old 05-29-2017, 07:08 PM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Thanks for your reply.

With 4.9.6-rt1,
I have tried both kernel-built-in and module. None of them works. modprobe says irq message only (shown in message #1), no error.

I also tried with kernel 4.8.11-rt5 without success.

I will update.

cheers
 
Old 05-29-2017, 08:19 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Better info.

http://www.thegeekstuff.com/2010/11/...mand-examples/

https://unix.stackexchange.com/quest...-with-modprobe

Last edited by jefro; 05-29-2017 at 08:21 PM.
 
Old 06-12-2017, 01:25 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Apology for delay.

I followed the links. Not much progress.
Using rts_pstor (from github) did not resolve. (compiled well, no error on load. But did not work with the reader.)

I will update

cheers.
 
Old 06-13-2017, 10:39 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Some of the Realtek card readers are in "staging drivers" in the kernel config, and may not be enabled by default.
 
Old 06-14-2017, 02:08 AM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Thanks for your post.

I checked the one under staging driver (rts5208) without success.

I also checked old kernels, 3.16.7-ckt11 4.8.11-rt5, without success.

I will update,

cheers
 
Old 06-15-2017, 07:43 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Here it's in staging: http://cateee.net/lkddb/web-lkddb/RTS5208.html

Try
Code:
$ grep 5208 /boot/config-kernel_version
and see if it's enabled.
 
Old 06-19-2017, 06:39 AM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Thanks for your post.

Yes, it was there. When I modprobe'd the module, a message saying that something like "use rtsx_pci" appeared.
 
Old 06-19-2017, 03:33 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
OK, good. We're getting closer.
 
Old 02-11-2019, 06:36 AM   #11
ibico74
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Anyone found a solution for this problem?

I got the same issue with the same sd card on my Dell latitude 7490 running Debian Buster

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
Subsystem: Dell RTS525A PCI Express Card Reader
Flags: bus master, fast devsel, latency 0, IRQ 122
Memory at ec100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci


[237795.943201] mmc0: error -110 whilst initialising SD card
[237797.287292] mmc0: error -110 whilst initialising SD card
[237798.631138] mmc0: error -110 whilst initialising SD card
[238571.451304] mmc0: error -110 whilst initialising SD card
[238572.791318] mmc0: error -110 whilst initialising SD card
[238574.147231] mmc0: error -110 whilst initialising SD card
[241374.559189] mmc0: error -110 whilst initialising SD card
[241375.903203] mmc0: error -110 whilst initialising SD card
[241377.247141] mmc0: error -110 whilst initialising SD card
 
Old 02-12-2019, 02:12 AM   #12
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

For some reason, (after several system upgrades), the card reader works, if rtsx_pci is loaded. (need to modprobe rtsx_pci when not loaded)

Even when precompiled image is used, situation is same.

My penguin does not complain as yours, (-110... SD card).

cheers
 
Old 02-12-2019, 05:02 AM   #13
ibico74
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by kaz2100 View Post
Hya,

For some reason, (after several system upgrades), the card reader works, if rtsx_pci is loaded. (need to modprobe rtsx_pci when not loaded)

Even when precompiled image is used, situation is same.

My penguin does not complain as yours, (-110... SD card).

cheers
What distro do you use? I run Debian Buster non-free
 
Old 02-13-2019, 01:39 AM   #14
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Debian buster(amd64)

cheers
 
Old 10-19-2021, 09:36 PM   #15
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,849

Original Poster
Rep: Reputation: 108Reputation: 108
After a long interval, the card slot is dead again.

Current system, Debian testing, kernel 5.10

Even when rtsx_pci is loaded, nothing happens, (no trace in syslog, messges, kern.log...)
 
  


Reply

Tags
cardreaded, pci, realtek, rtsx


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
PCI Express 3.0 video card on PCI Express 2.0 motherboard, will it work? Compatibles? nando321 Linux - Hardware 2 02-09-2013 01:37 AM
Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller morphynoman Slackware 31 07-18-2011 11:50 AM
Installation trouble Realtek RTL-8185 Wireless PCI card EoinMcC Linux - Wireless Networking 1 11-16-2008 04:04 PM
Graphics Card: PCI Express x16 Detected as PCI Express Link width: 4X deepclutch Linux - Hardware 3 06-09-2007 10:10 AM
PCI-X Raid card wont fit in motherboards PCI Express x16 slot???? abefroman Linux - Hardware 4 12-01-2006 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:21 AM.

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