Comment 61 for bug 258446

Revision history for this message
tonikasius (tonikasius) wrote : Re: JMicron internal card reader recognizes SD only when inserted at startup

I think I have found a workaround, though I have only tested it on debian.

I have done the following.

1. Create a file /etc/modprobe.d/aspire-fix-sd-slots.conf with the following contents:

options pciehp pciehp_force=1 pciehp_slot_with_bus=1
install sdhci for i in 2381 2382 2383 2384; do /usr/bin/setpci -d 197b:$i AE=47; done; /sbin/modprobe --ignore-install sdhci

2. Then add the following lines to /etc/modules:

pciehp
acpiphp

3. Modify the following line from /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

so the result is this:

GRUB_CMDLINE_LINUX_DEFAULT="pciehp.pciehp_force=1 elavator=noop quiet splash"

4. Then issue an update-grub as superuser (eg: sudo)

My system is:

alex@io:~$ uname -a
Linux io 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux

I know that pciehp loading at boot time gives an error with pciehp_slot_with_bus=1

pciehp: Unknown parameter `pciehp_slot_with_bus'

but perhaps it is due to my system and this option is available on other systems.

Hope it works as well on Ubuntu systems!