On Di, 15 Sep 2009, Tom Fisher wrote: > in the meantime, a quicker solution someone mentioned a while back which > 'works for me' in 2.6.30 is to suspend (echo mem > /sys/power/state) and > resume. > upon resume i get the device back as /dev/mmcblk0
But only for one operation. Ejecting the sd card and re-inserting is problematic. The fix is trivial and attached. Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <prein...@logic.at> Vienna University of Technology Debian Developer <prein...@debian.org> Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- SILESIA (n. medical) The inability to remember, at the critical moment, which is the better side of a boat to be seasick off. --- Douglas Adams, The Meaning of Liff
From: Chris Ball <c...@laptop.org> Date: Thu, 13 Aug 2009 16:13:37 -0400 Subject: [PATCH] Add no-reset-no-card quirk for Ricoh R5C822 on Sony laptops. As reported here, card insertion detection is broken without this quirk on a Sony Vaio Z11: http://marc.info/?l=linux-mmc&r=1&b=200908&w=2 Signed-off-by: Chris Ball <c...@laptop.org> Cc: Pierre Ossman <pie...@ossman.eu> --- drivers/mmc/host/sdhci-pci.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 2f15cc1..63b9d2a 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -83,7 +83,8 @@ static int ricoh_probe(struct sdhci_pci_chip *chip) if (chip->pdev->subsystem_vendor == PCI_VENDOR_ID_IBM) chip->quirks |= SDHCI_QUIRK_CLOCK_BEFORE_RESET; - if (chip->pdev->subsystem_vendor == PCI_VENDOR_ID_SAMSUNG) + if (chip->pdev->subsystem_vendor == PCI_VENDOR_ID_SAMSUNG || + chip->pdev->subsystem_vendor == PCI_VENDOR_ID_SONY) chip->quirks |= SDHCI_QUIRK_NO_CARD_NO_RESET; return 0;
_______________________________________________ Mailing list: https://launchpad.net/~sony-vaio-z-series Post to : sony-vaio-z-series@lists.launchpad.net Unsubscribe : https://launchpad.net/~sony-vaio-z-series More help : https://help.launchpad.net/ListHelp