6

My Dell Vostro 1510 has an internal SD card reader that works well under Windows XP, but it is not recognised by Ubuntu. ls /dev/sd* only fetches lines related to the HDD, same for commands fd and fdisk. The following is the output of lspci:

08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02) (prog-if 01)
    Subsystem: Dell Integrated MMC/SD Controller
    Flags: bus master, slow devsel, latency 32, IRQ 22
    Memory at f8202800 (32-bit, non-prefetchable) [size=256]
    Capabilities: <access denied>
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci_pci

Rebooting with a SD card inserted does not help. Dell does not supply any device driver for Linux. How can I fix this?

David
  • 3,487

1 Answers1

4

Run into the same problem today – and found the solution on another page.

There was a Kernel-change, that opened a Bug with the SD Module. To fix it, it is necessary to change some options of the Kernel Module. First of all, test the setting by executing these commands on the terminal:

sudo rmmod sdhci_pci sdhci_acpi sdhci
sudo modprobe sdhci debug_quirks2="0x10000"
sudo modprobe sdhci_pci

First line unloads the sdhci module and dependents, the second line is setting the needed option and the third line reloads the modules.

Now test, if your system recognizes inserted SD cards. My system instantly did.

If all succeeded till now, we have to push the option as a default – therefor execute this command as su:

echo "options sdhci debug_quirks2=0x10000" >> /etc/modprobe.d/sdhci.conf

Cheers =)