You are not logged in.
Hello,
Is anyone else facing the same problem?
My laptop stop to recognize SD cards, none of them.
The internal reader seems to be recognized as show in dmesg:
[ 7.745263] sdhci: Secure Digital Host Controller Interface driver
[ 7.745267] sdhci: Copyright(c) Pierre Ossman
(...)
[ 8.140405] sdhci-pci 0000:08:05.2: SDHCI controller found [1217:7120] (rev 2)
[ 8.140428] sdhci-pci 0000:08:05.2: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 8.140510] _regulator_get: 0000:08:05.2 supply vmmc not found, using dummy regulator
[ 8.140572] Registered led device: mmc0::
[ 8.140636] mmc0: SDHCI controller on PCI [0000:08:05.2] using DMA
lspci -k shows the reader too:
08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
Subsystem: Dell Device 0273
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci
But when I plug any SD card, nothing occurs, nothing in the logs too.
My notebook is a Dell Vostro 1510, so I tried to use Windows Vista, the card does not opens too, then I call Dell support and they told me to upgrade the BIOS, SD and chipset drivers, after that the card started to work again, just in Windows Vista... ![]()
Is there something that I can do to debug this problem?
Last edited by ricardofunke (2011-11-18 11:46:41)
Offline
Does it work if an SD card was inside during boot? If yes, you can try the trick that works on Aspire One netbooks: add this to /etc/modprobe.d/modprobe.conf
options pciehp pciehp_force=1then add pciehp to the MODULES array in /etc/rc.conf
Oh, and also add pcie_ports=native to the kernel line in grub.
Last edited by Gusar (2011-11-17 23:19:40)
Offline
No, it doesn't work if the SD card is inside during boot, but I tried that anyway and doesn't work too... ![]()
Offline
Also, nothing happens when I plug the SD with "udevadm monitor" running...
Offline
Post the output lscpi -nn, so we'll know which card reader you have. Also, check documentation for other pcie_ports values and try each of them. Probably won't work, but who knows.
Last edited by Gusar (2011-11-18 00:06:00)
Offline
# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 0c)
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
08:05.0 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02)
08:05.2 SD Host controller [0805]: O2 Micro, Inc. Integrated MMC/SD Controller [1217:7120] (rev 02)
08:05.3 Mass storage controller [0180]: O2 Micro, Inc. Integrated MS/xD Controller [1217:7130] (rev 01)
Thanks Gusar, I'll take a look for pcie_ports...
Offline
https://bugzilla.redhat.com/show_bug.cgi?id=752614 <- This says it worked with kernel 2.6.38, but not with newer kernels. So try 2.6.38, and maybe even older kernels.
Last edited by Gusar (2011-11-18 12:28:41)
Offline
I don't know if it'll work for you, but my Dell XPS 15z has a SD card reader only recognizes cards after you enter the following command:
sudo sh -c "echo 1 > /sys/bus/pci/rescan"It's effective until the next reboot.
Offline
Thanks Gusar, I commented there.
Thanks jfb3, I'll give a try.
Offline
Same problem here. No working card with Linux 3.2.5-1-ARCH #1 SMP PREEMPT
1a:00.1 SD Host controller [0805]: O2 Micro, Inc. Device [1217:8120] (rev 01)
1a:00.2 Mass storage controller [0180]: O2 Micro, Inc. Device [1217:8130] (rev 01)
Offline