You are not logged in.

#1 2015-01-04 11:40:14

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

SD card not detected

Hello,

I am trying to read a SD card (actually micro-SD with adapter) but it's no longer detected by the system.
I have an up to date (I just rebooted) archlinux on a Dell Vostro 3360.

$ uname -a
Linux mart-dell 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux
$ lsusb
...
Bus 003 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller

It works fine for the USB but when I insert a card in the slot, I get nothing with lsusb (no change from above command), fdisk or even with dmesg.

It used to work before, not sure why it stopped now (an update I guess). I have tried with two different adapter and two micro-SD, same result.

Any idea how I can get more info ?
Thanks

edit: seems that support for rts5139 was removed in 3.16, replaced by  rtsx_usb_sdmmc

I have added rtsx_usb_sdmmc in /etc/modules-load.d/sd-card.conf but still no luck

$ modinfo rtsx_usb_sdmmc
modinfo rtsx_usb_sdmmc
filename:       /lib/modules/3.17.6-1-ARCH/kernel/drivers/mmc/host/rtsx_usb_sdmmc.ko.gz
description:    Realtek USB SD/MMC Card Host Driver
author:         Roger Tseng <rogerable@realtek.com>
license:        GPL v2
alias:          platform:rtsx_usb_sdmmc
depends:        rtsx_usb,mmc_core,led-class
intree:         Y
vermagic:       3.17.6-1-ARCH SMP preempt mod_unload modversions

$ dmesg -w
... # before inserting the sd card
[   51.583681] mmc0: error -22 whilst initialising SD card
[   54.960586] mmc0: error -22 whilst initialising SD card
[   58.320230] mmc0: error -22 whilst initialising SD card 

Last edited by martvefun (2015-01-04 12:13:05)


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#2 2015-01-24 14:54:44

multipla
Member
Registered: 2015-01-24
Posts: 2

Re: SD card not detected

I can't help you but I have the same problem, my sd-card slot doesn't recognize anything. It does though when I have the sd-card inserted while booting.
I have a Dell Vostro 3560, rtsx_usb_sdmmc doesn't work here either

Offline

#3 2015-01-25 00:03:56

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Re: SD card not detected

oh also a dell vostro, strange coincidence smile
well if somebody has an idea..


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#4 2015-01-25 00:09:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: SD card not detected

martvefun wrote:

Linux mart-dell 3.17.6 ...

It used to work before, not sure why it stopped now (an update I guess).

Are you not updating very often, or are you not rebooting after kernel upgrades?  What linux version is currently installed?  If you've updated the kernel, but not rebooted, that would explain your symptoms.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-01-25 22:49:37

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Re: SD card not detected

3.18.2-2 now. I don't reboot often indeed but just did recently and still got the issue


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#6 2015-02-01 18:42:46

multipla
Member
Registered: 2015-01-24
Posts: 2

Re: SD card not detected

just a quick note: a recent update seems to have fixed this issue on my laptop, it now reliably detects sd cards

Offline

#7 2015-02-01 20:04:30

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Re: SD card not detected

I just updated to Linux 3.18.5 but still got the same results

[   89.721045] mmc0: error -22 whilst initialising SD card
[   91.494050] warning: process `unbound' used the deprecated sysctl system call with 1.40.6.
[   93.005647] mmc0: error -22 whilst initialising SD card
[   96.299262] mmc0: error -22 whilst initialising SD card

According to source code, that would be invalid argument (well not very helpful after all)

Last edited by martvefun (2015-02-01 20:53:19)


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

Board footer

Powered by FluxBB