Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unassigned class [ff00] Realtek RTS5209 PCI Express Card

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
1byte
Posts: 59
Joined: 2017-07-16 06:51

Unassigned class [ff00] Realtek RTS5209 PCI Express Card

#1 Post by 1byte »

I have purchased new laptop, and trying to get the SD Card Reader to work,
without any success so far.

I have installed working linux driver for Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01) from:
https://github.com/chrisnew/rts_pstor


I have as well tried according to this post
http://forums.debian.net/viewtopic.php?t=124956
blacklist "/etc/modprobe.d/blacklist.conf" "rtsx_pci"
and
add "rtsx_usb" to "/etc/modules"

but, I can not get the SD card working :(

Any help would be appreciated ....


sudo lspci

Code: Select all

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)

sudo lspci -vvv

Code: Select all

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
	Subsystem: Sony Corporation RTS5209 PCI Express Card Reader
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at f7400000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [70] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
			ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout+ NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
	Capabilities: [140 v1] Device Serial Number 00-00-00-01-00-4c-e0-00
	Kernel driver in use: rts_pstor
	Kernel modules: rtsx_pci, rts_pstor

sudo lsmod

Code: Select all

Module                  Size  Used by
fuse                   98304  3
ctr                    16384  4
ccm                    20480  2
snd_hda_codec_hdmi     49152  1
cpufreq_userspace      16384  0
cpufreq_conservative    16384  0
cpufreq_powersave      16384  0
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
hid_multitouch         20480  0
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
usbhid                 53248  0
media                  40960  2 uvcvideo,videodev
hid                   122880  2 usbhid,hid_multitouch
uas                    24576  0
usb_storage            73728  2 uas
arc4                   16384  2
nls_ascii              16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    69632  1 vfat
pn544_mei              16384  0
mei_phy                16384  1 pn544_mei
pn544                  20480  1 pn544_mei
hci                    32768  2 mei_phy,pn544
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
nfc                   110592  2 hci,pn544
kvm_intel             192512  0
kvm                   593920  1 kvm_intel
irqbypass              16384  1 kvm
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
intel_cstate           16384  0
iwlmvm                249856  0
mac80211              671744  1 iwlmvm
intel_uncore          118784  0
i915                 1257472  3
intel_rapl_perf        16384  0
snd_hda_codec_realtek    90112  1
joydev                 20480  0
iwlwifi               151552  1 iwlmvm
evdev                  24576  23
pcspkr                 16384  0
efi_pstore             16384  0
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
serio_raw              16384  0
cfg80211              589824  3 iwlmvm,iwlwifi,mac80211
efivars                20480  1 efi_pstore
snd_hda_intel          36864  4
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
drm_kms_helper        155648  1 i915
rts_pstor             389120  0
snd_hda_core           86016  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
drm                   360448  4 i915,drm_kms_helper
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              32768  1 snd_pcm
snd                    86016  16 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
mei_me                 36864  0
sg                     32768  0
i2c_algo_bit           16384  1 i915
soundcore              16384  1 snd
mei                   102400  4 mei_phy,mei_me,pn544_mei
lpc_ich                24576  0
shpchp                 36864  0
button                 16384  1 i915
sony_laptop            61440  0
battery                20480  0
ac                     16384  0
rfkill                 24576  6 nfc,sony_laptop,cfg80211
video                  40960  2 sony_laptop,i915
intel_smartconnect     16384  0
rtsx_usb               24576  0
mfd_core               16384  2 lpc_ich,rtsx_usb
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
sunrpc                344064  1
parport                49152  3 lp,parport_pc,ppdev
efivarfs               16384  1
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  2 ext4
sd_mod                 49152  6
crc32c_intel           24576  2
aesni_intel           167936  5
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
psmouse               135168  0
ahci                   36864  3
libahci                32768  1 ahci
libata                249856  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
scsi_mod              225280  6 sd_mod,usb_storage,libata,rts_pstor,uas,sg
xhci_hcd              188416  1 xhci_pci
ehci_hcd               81920  1 ehci_pci
usbcore               253952  9 uvcvideo,usbhid,usb_storage,ehci_hcd,xhci_pci,rtsx_usb,uas,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
thermal                20480  0

uname -a

Code: Select all

Linux SVP1121C5E 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

su -c 'modinfo rtsx_pci'

Code: Select all

filename:       /lib/modules/4.9.0-6-amd64/kernel/drivers/mfd/rtsx_pci.ko
description:    Realtek PCI-E Card Reader Driver
author:         Wei WANG <wei_wang@realsil.com.cn>
license:        GPL
alias:          pci:v000010ECd0000525Asv*sd*bcFFsc*i*
alias:          pci:v000010ECd0000524Asv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005286sv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005287sv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005249sv*sd*bcFFsc*i*
alias:          pci:v000010ECd0000522Asv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005227sv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005289sv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005229sv*sd*bcFFsc*i*
alias:          pci:v000010ECd00005209sv*sd*bcFFsc*i*
depends:        mfd-core
retpoline:      Y
intree:         Y
vermagic:       4.9.0-6-amd64 SMP mod_unload modversions 
parm:           msi_en:Enable MSI (bool)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Unassigned class [ff00] Realtek RTS5209 PCI Express Card

#2 Post by Head_on_a_Stick »

Please run this command:

Code: Select all

# update-pciids
Then post the output of

Code: Select all

lspci -nn | grep "Card Reader"
You probably just need a newer kernel, have you tried backports?

https://backports.debian.org/Instructions/

EDIT: and the firmware!

https://packages.debian.org/stretch-bac ... re-realtek
deadbang

1byte
Posts: 59
Joined: 2017-07-16 06:51

Re: Unassigned class [ff00] Realtek RTS5209 PCI Express Card

#3 Post by 1byte »

sudo update-pciids

Code: Select all

Downloaded daily snapshot dated 2018-03-15 03:15:02

sudo lspci -nn | grep "Card Reader"

Code: Select all

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)

sudo apt-get -s install firmware-realtek

Code: Select all

firmware-realtek is already the newest version (20170823-1~bpo9+1).

sudo dpkg -s firmware-realtek

Code: Select all

Package: firmware-realtek
Status: install ok installed
Priority: optional
Section: non-free/kernel
Installed-Size: 1300
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: all
Multi-Arch: foreign
Source: firmware-nonfree
Version: 20170823-1~bpo9+1
Suggests: initramfs-tools
Description: Binary firmware for Realtek wired/wifi/BT adapters
 This package contains the binary firmware for Realtek Ethernet, wifi and
 Bluetooth adapters supported by various drivers.
 .
 Contents:
  * Realtek RTL8192E boot code (RTL8192E/boot.img)
  * Realtek RTL8192E init data (RTL8192E/data.img)
  * Realtek RTL8192E main code (RTL8192E/main.img)
  * Realtek RTL8192EE Bluetooth firmware (rtl_bt/rtl8192ee_fw.bin)
  * Realtek RTL8812AE Bluetooth firmware (rtl_bt/rtl8812ae_fw.bin)
  * Realtek RTL8761A Bluetooth firmware (rtl_bt/rtl8761a_fw.bin)
  * Realtek RTL8821A Bluetooth firmware (rtl_bt/rtl8821a_fw.bin)
  * Realtek RTL8192EU Bluetooth firmware (rtl_bt/rtl8192eu_fw.bin)
  * Realtek RTL8723AU rev A Bluetooth firmware (rtl_bt/rtl8723a_fw.bin)
  * Realtek RTL8723BU rev B Bluetooth firmware (rtl_bt/rtl8723b_fw.bin)
  * Realtek RTL8822B Bluetooth config (rtl_bt/rtl8822b_config.bin)
  * Realtek RTL8822B Bluetooth firmware (rtl_bt/rtl8822b_fw.bin)
  * Realtek RTL8105E-1 firmware (rtl_nic/rtl8105e-1.fw)
  * Realtek RTL8106E-1 firmware, version 0.0.1 (rtl_nic/rtl8106e-1.fw)
  * Realtek RTL8106E-2 firmware, version 0.0.1 (rtl_nic/rtl8106e-2.fw)
  * Realtek RTL8107E-1 firmware, version 0.0.2 (rtl_nic/rtl8107e-1.fw)
  * Realtek RTL8107E-2 firmware, version 0.0.2 (rtl_nic/rtl8107e-2.fw)
  * Realtek RTL8111D-1/RTL8168D-1 firmware (rtl_nic/rtl8168d-1.fw)
  * Realtek RTL8111D-2/RTL8168D-2 firmware (rtl_nic/rtl8168d-2.fw)
  * Realtek RTL8168E-1 firmware (rtl_nic/rtl8168e-1.fw)
  * Realtek RTL8168E-2 firmware (rtl_nic/rtl8168e-2.fw)
  * Realtek RTL8168E-3 firmware, version 0.0.4 (rtl_nic/rtl8168e-3.fw)
  * Realtek RTL8168F-1 firmware, version 0.0.5 (rtl_nic/rtl8168f-1.fw)
  * Realtek RTL8168F-2 firmware, version 0.0.4 (rtl_nic/rtl8168f-2.fw)
  * Realtek RTL8168G-1 firmware, version 0.0.3 (rtl_nic/rtl8168g-1.fw)
  * Realtek RTL8168G-2 firmware, version 0.0.1 (rtl_nic/rtl8168g-2.fw)
  * Realtek RTL8168G-3 firmware, version 0.0.1 (rtl_nic/rtl8168g-3.fw)
  * Realtek RTL8168H-1 firmware, version 0.0.2 (rtl_nic/rtl8168h-1.fw)
  * Realtek RTL8168H-2 firmware, version 0.0.2 (rtl_nic/rtl8168h-2.fw)
  * Realtek RTL8402-1 firmware, version 0.0.1 (rtl_nic/rtl8402-1.fw)
  * Realtek RTL8411-1 firmware, version 0.0.3 (rtl_nic/rtl8411-1.fw)
  * Realtek RTL8411-2 firmware, version 0.0.1 (rtl_nic/rtl8411-2.fw)
  * Realtek RTL8188EE firmware (rtlwifi/rtl8188efw.bin)
  * Realtek RTL8188EU firmware (rtlwifi/rtl8188eufw.bin)
  * Realtek RTL8192CE/RTL8188CE firmware (rtlwifi/rtl8192cfw.bin)
  * Realtek RTL8192CE/RTL8188CE B-cut firmware
    (rtlwifi/rtl8192cfwU_B.bin)
  * Realtek RTL8188CE A-cut firmware, version 4.816.2011
    (rtlwifi/rtl8192cfwU.bin)
  * Realtek RTL8192CU/RTL8188CU UMC A-cut firmware
    (rtlwifi/rtl8192cufw_A.bin)
  * Realtek RTL8192CU/RTL8188CU UMC B-cut firmware
    (rtlwifi/rtl8192cufw_B.bin)
  * Realtek RTL8192CU/RTL8188CU TMSC firmware
    (rtlwifi/rtl8192cufw_TMSC.bin)
  * Realtek RTL8192CU/RTL8188CU fallback firmware
    (rtlwifi/rtl8192cufw.bin)
  * Realtek RTL8192DE firmware (rtlwifi/rtl8192defw.bin)
  * Realtek RTL8192EE wifi firmware (rtlwifi/rtl8192eefw.bin)
  * Realtek RTl8192EU non-WoWLAN firmware (rtlwifi/rtl8192eu_nic.bin)
  * Realtek RTl8192EU WoWLAN firmware (rtlwifi/rtl8192eu_wowlan.bin)
  * Realtek RTL8192SE/RTL8191SE firmware, version 4.816.2011
    (rtlwifi/rtl8192sefw.bin)
  * Realtek RTL8192SU/RTL8712U firmware (rtlwifi/rtl8712u.bin)
  * Realtek RTL8723AU rev A wifi-with-BT firmware
    (rtlwifi/rtl8723aufw_A.bin)
  * Realtek RTL8723AU rev B wifi-with-BT firmware
    (rtlwifi/rtl8723aufw_B.bin)
  * Realtek RTL8723AU rev B wifi-only firmware
    (rtlwifi/rtl8723aufw_B_NoBT.bin)
  * Realtek RTL8723BE firmware, version 36 (rtlwifi/rtl8723befw_36.bin)
  * Realtek RTL8723BE firmware (rtlwifi/rtl8723befw.bin)
  * Realtek RTL8723BS BT firmware (rtlwifi/rtl8723bs_bt.bin)
  * Realtek RTL8723BS wifi non-WoWLAN firmware
    (rtlwifi/rtl8723bs_nic.bin)
  * Realtek RTL8723BS wifi WoWLAN firmware
    (rtlwifi/rtl8723bs_wowlan.bin)
  * Realtek RTl8723BU non-WoWLAN firmware (rtlwifi/rtl8723bu_nic.bin)
  * Realtek RTl8723BU WoWLAN firmware (rtlwifi/rtl8723bu_wowlan.bin)
  * Realtek RTL8723AE rev B firmware (rtlwifi/rtl8723fw_B.bin)
  * Realtek RTL8723AE rev A firmware (rtlwifi/rtl8723fw.bin)
  * Realtek RTL8821AE firmware, version 29 (rtlwifi/rtl8821aefw_29.bin)
  * Realtek RTL8821AE firmware (rtlwifi/rtl8821aefw_wowlan.bin)
  * Realtek RTL8821AE firmware (rtlwifi/rtl8821aefw.bin)
Homepage: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git

Can you be more specific which one to install?
https://packages.debian.org/stretch-backports/kernel/
Last edited by 1byte on 2018-03-16 06:51, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Unassigned class [ff00] Realtek RTS5209 PCI Express Card

#4 Post by Head_on_a_Stick »

1byte wrote:Can you be more specific which one to install?
https://packages.debian.org/stretch-backports/kernel/
The metapackage will ensure that you always have the latest version:

Code: Select all

# apt install linux-image-amd64/stretch-backports
EDIT: I can't find that device in WikiDevi, perhaps others will have more luck:

https://wikidevi.com/w/index.php?search ... arch&go=Go
deadbang

1byte
Posts: 59
Joined: 2017-07-16 06:51

Re: Unassigned class [ff00] Realtek RTS5209 PCI Express Card

#5 Post by 1byte »

sudo uname -a

Code: Select all

Linux SVP1121C5E 4.14.0-0.bpo.3-amd64 #1 SMP Debian 4.14.13-1~bpo9+1 (2018-01-14) x86_64 GNU/Linux
sudo lspci -nn | grep "Card Reader"

Code: Select all

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)

Any other ideas?

Post Reply