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 jessie stretch buster
Posts: 1,672

Rep: Reputation: 98
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: 18,840

Rep: Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822
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 jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
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: 18,840

Rep: Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822Reputation: 2822
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 jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
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,513

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
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 jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
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,513

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
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 jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
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,513

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
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 jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
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 jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
Hya

Debian buster(amd64)

cheers
 
  


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 05:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration