← Back to team overview

sony-vaio-z-series team mailing list archive

Re: SD-Card-Slot works 100% on Lucyd Lynx with 2.6.32-2-generic

 

On Mi, 11 Nov 2009, Raphael Gradenwitz wrote:
> All of us have made a lot of different experiences with the SD-Card slot
> before; it did never realy work in a way that it satisfied... until I
> upgraded my Karmic to Lucid Lynx, the newest development branch from
> Ubuntu. It comes with Kernel 2.6.32.2 (at present) and SD-Card-slot
> works works works and works! You can boot without Card, hot mounting
> everything. Realy great!

Raphael?!?! How many times did I post the necessary patch for that???
;-))))))))

I don't know exactely in which release it was included, but your kernel
does not exists, 2.6.32.2 is not existing, we are still in the 2.6.32-rc
series.

There is a simple patch that has been included in some distribution 
kernels, but not in an unpatched kernel. Now it is included, and since
that patch I never had any problems (and I had *many* problems before).

I attach the patch again, you might put it up somewhere for those using
older kernel.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining                                        Associate Professor
JAIST Japan Advanced Institute of Science and Technology   preining@xxxxxxxxxxx
Vienna University of Technology                               preining@xxxxxxxx
Debian Developer (Debian TeX Task Force)                    preining@xxxxxxxxxx
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SCREGGAN (n. banking)
The crossed-out bit caused by people putting the wrong year on their
cheques all through January.
			--- Douglas Adams, The Meaning of Liff
From: Chris Ball <cjb@xxxxxxxxxx>
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 <cjb@xxxxxxxxxx>
Cc: Pierre Ossman <pierre@xxxxxxxxx> 

---
 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;

Follow ups

References