You are not logged in.

#1 2014-10-02 17:30:11

Sokac
Member
Registered: 2009-04-05
Posts: 14
Website

SD card reader doesn't work - mmc0: Controller never released inhibit

I noticed SD card reader doesn't work anymore on ThinkPad T431s. When I remove module sdhci_pci and shdci and add them back, I get following errors in dmesg log:
https://gist.github.com/sokac/e0e010b03ce9d59737b0

Commands I use to remove module/add back.
rmmod sdhci_pci sdhci
modprobe sdhci_pci sdhci

It's the same behavior when laptop is plugged in AC.

ThinkPad T431s
Linux 3.16.3-1-ARCH

02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07) (prog-if 01)
    Subsystem: Lenovo Device 2208
    Flags: bus master, fast devsel, latency 0, IRQ 16
    [virtual] Memory at f0d00000 (32-bit, non-prefetchable) [size=256]
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Power Management version 3
    Capabilities: [80] Express Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Capabilities: [800] Advanced Error Reporting
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci_pci

Offline

#2 2014-10-03 21:15:05

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: SD card reader doesn't work - mmc0: Controller never released inhibit

I think that somehow the PCI/VEN number gets changed under certain circumstances. This causes the device not to be recognized. I have experienced this problem already on my X220 using Windows 7. I had to edit a driver file for the Ricoh SD card reader to work.

See if the following bug report offers any solutions or workarounds.
https://bugs.launchpad.net/ubuntu/+sour … bug/965280

EDIT: I wasn't using arch when I posted the above. I booted my laptop with arch just now, and the Ricoh SD card reader is working as expected here on my ThinkPad X220. I don't normally use my SD card reader in arch.

See if the following info from www.thinkwiki.org is any help: http://www.thinkwiki.org/wiki/How_to_ge … rd_working

FTR, I do have both "/dev/disk/by-label/KODAK" and "/dev/mmcblk0p1" on my system. Of course, KODAK being the label of the SD card I am using at the moment. I am able to browse the files on the SD card with my file manager, Thunar.

Last edited by David Batson (2014-10-04 03:01:28)

Offline

Board footer

Powered by FluxBB