You are not logged in.

#1 2018-02-17 08:59:16

nonZero
Member
Registered: 2015-05-17
Posts: 57

[Solved] Card Reader Does Not Recognize 16GB MiniSD

Hi!

On a Lenovo IdeaPad Z580 with Kernel 4.15.3-1 x86_64 I get the following when trying to use a card reader with MiniSD+Adapter:

[   45.469149] usb 3-1.3: USB disconnect, device number 4
[   46.475155] usb 3-1.3: new high-speed USB device number 6 using ehci-pci
[   46.554133] usb 3-1.3: New USB device found, idVendor=0bda, idProduct=0139
[   46.554139] usb 3-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   46.554142] usb 3-1.3: Product: USB2.0-CRW
[   46.554145] usb 3-1.3: Manufacturer: Generic
[   46.554148] usb 3-1.3: SerialNumber: 20100201396000000
[   48.597117] mmc0: tuning execution failed: -22
[   48.597140] mmc0: error -22 whilst initialising SD card

lsusb

Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 005: ID 0489:e042 Foxconn / Hon Hai Broadcom BCM20702 Bluetooth
Bus 003 Device 006: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 003 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f2:b2e1 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2200 (rev c4)

lsmod

Module                  Size  Used by
ccm                    20480  6
fuse                  118784  3
ipt_MASQUERADE         16384  1
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
nf_conntrack_netlink    49152  0
nfnetlink              16384  2 nf_conntrack_netlink
xfrm_user              45056  1
xfrm_algo              16384  1 xfrm_user
iptable_nat            16384  1
nf_conntrack_ipv4      16384  3
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
xt_addrtype            16384  2
iptable_filter         16384  1
xt_conntrack           16384  1
nf_nat                 36864  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack          155648  7 nf_conntrack_ipv4,ipt_MASQUERADE,nf_conntrack_netlink,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
libcrc32c              16384  2 nf_conntrack,nf_nat
crc32c_generic         16384  0
br_netfilter           24576  0
bridge                188416  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
overlay                86016  0
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   106496  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
joydev                 24576  0
mousedev               24576  0
intel_rapl             24576  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
rtsx_usb_sdmmc         28672  0
coretemp               16384  0
kvm_intel             229376  0
mmc_core              172032  1 rtsx_usb_sdmmc
rtsx_usb_ms            20480  0
memstick               16384  1 rtsx_usb_ms
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
kvm                   704512  1 kvm_intel
hid_generic            16384  0
usbhid                 57344  0
uvcvideo              102400  0
hid                   131072  3 hid_generic,usbhid
irqbypass              16384  1 kvm
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
arc4                   16384  2
videobuf2_core         45056  2 uvcvideo,videobuf2_v4l2
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
btusb                  53248  0
nls_iso8859_1          16384  1
iTCO_wdt               16384  0
ghash_clmulni_intel    16384  0
videodev              204800  3 uvcvideo,videobuf2_core,videobuf2_v4l2
btrtl                  16384  1 btusb
nls_cp437              20480  1
iwldvm                270336  0
vfat                   20480  1
btbcm                  16384  1 btusb
media                  45056  2 uvcvideo,videodev
btintel                16384  1 btusb
iTCO_vendor_support    16384  1 iTCO_wdt
mac80211              909312  1 iwldvm
fat                    77824  1 vfat
pcbc                   16384  0
i915                 1921024  33
aesni_intel           188416  4
bluetooth             634880  5 btrtl,btintel,btbcm,btusb
iwlwifi               315392  1 iwldvm
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
wmi_bmof               16384  0
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate           16384  0
ecdh_generic           24576  1 bluetooth
intel_uncore          131072  0
intel_rapl_perf        16384  0
cfg80211              741376  3 iwlwifi,mac80211,iwldvm
drm_kms_helper        200704  1 i915
input_leds             16384  0
led_class              16384  3 rtsx_usb_sdmmc,input_leds,iwldvm
psmouse               167936  0
snd_hda_intel          45056  6
drm                   466944  9 i915,drm_kms_helper
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
r8169                  94208  0
mii                    16384  1 r8169
snd_hda_core           94208  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
ideapad_laptop         32768  0
intel_gtt              24576  1 i915
snd_pcm               135168  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
sparse_keymap          16384  1 ideapad_laptop
rfkill                 28672  7 bluetooth,ideapad_laptop,cfg80211
agpgart                49152  2 intel_gtt,drm
rtc_cmos               24576  1
syscopyarea            16384  1 drm_kms_helper
snd_timer              36864  1 snd_pcm
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
mei_me                 45056  0
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 i915
snd                    98304  20 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                   106496  1 mei_me
lpc_ich                28672  0
pcspkr                 16384  0
soundcore              16384  1 snd
shpchp                 40960  0
i2c_i801               32768  0
evdev                  20480  27
mac_hid                16384  0
wmi                    28672  2 wmi_bmof,ideapad_laptop
battery                20480  0
ac                     16384  0
sch_fq_codel           20480  6
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxpci                28672  0
vboxdrv               483328  3 vboxnetadp,vboxnetflt,vboxpci
sg                     40960  0
crypto_user            16384  0
ip_tables              28672  2 iptable_filter,iptable_nat
x_tables               45056  5 ip_tables,iptable_filter,ipt_MASQUERADE,xt_addrtype,xt_conntrack
ext4                  712704  1
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
dm_mod                143360  3
sr_mod                 28672  0
sd_mod                 61440  3
cdrom                  69632  1 sr_mod
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
ahci                   40960  2
libahci                40960  1 ahci
xhci_pci               16384  0
libata                278528  2 ahci,libahci
ehci_pci               16384  0
xhci_hcd              258048  1 xhci_pci
ehci_hcd               94208  1 ehci_pci
crc32c_intel           24576  1
scsi_mod              258048  4 sd_mod,libata,sr_mod,sg
usbcore               286720  8 uvcvideo,usbhid,ehci_hcd,xhci_pci,rtsx_usb,btusb,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  32768  1 ideapad_laptop
serio                  28672  9 serio_raw,atkbd,psmouse,i8042

Any help?

Last edited by nonZero (2018-02-17 13:49:59)

Offline

#2 2018-02-17 09:51:46

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: [Solved] Card Reader Does Not Recognize 16GB MiniSD

Offline

#3 2018-02-17 13:49:31

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: [Solved] Card Reader Does Not Recognize 16GB MiniSD

Update: https://github.com/asymingt/rts5139 did solve the problem.

Offline

Board footer

Powered by FluxBB