Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Manoj
Hi, On Wed, Mar 30 2011, Manoj wrote: * turn on CONFIG_MMC_DEBUG and post output * see if sdhci.debug_quirks=1 helps It could be that this card does not support MMC cards, it shows up as SDHCI controller and does not mention MMC, or may be they all come up as SDHCI, I dont know enough to

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Chris Ball
Hi Manoj, On Thu, Mar 31 2011, Manoj wrote: There's no sign of life at all from the card. Have you tried another MMC card to verify that this one isn't broken? Or the quirks? Yes, tried it all, I have tried MMC, MMCplus, and quirks. I get the same result. At the same time it sees SDHCI

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Manoj
Manoj Iyer Ubuntu/Canonical Hardware Enablement On 03/31/2011 09:43 AM, Chris Ball wrote: Hi Manoj, On Thu, Mar 31 2011, Manoj wrote: There's no sign of life at all from the card. Have you tried another MMC card to verify that this one isn't broken? Or the quirks? Yes, tried it all, I

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Manoj
How about setting CONFIG_MMC_RICOH_MMC? In fact that is one of the default config settings, so even if the card reader was not present that option is always 'y' config MMC_RICOH_MMC bool Ricoh MMC Controller Disabler (EXPERIMENTAL) depends on MMC_SDHCI_PCI

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Chris Ball
Hi, On Thu, Mar 31 2011, Manoj wrote: How about setting CONFIG_MMC_RICOH_MMC? Yes Sir... that was already set. CONFIG_MMC_RICOH_MMC=y Ah, I think MMC_RICOH_MMC needs to know about this new PCI ID too. I don't know whether that code knows how to turn off the MMC controller on this model,

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Manoj
Tried your patch, also enabled CONFIG_MMC_DEBUG=y CONFIG_MMC_RICOH_MMC=y, with the same result. MMC did not mount. Here is a portion of dmesg: [1.176793] sdhci: Secure Digital Host Controller Interface driver [1.176795] sdhci: Copyright(c) Pierre Ossman [1.178043] sdhci-pci

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Chris Ball
Hi, On Thu, Mar 31 2011, Manoj wrote: Tried your patch, also enabled CONFIG_MMC_DEBUG=y CONFIG_MMC_RICOH_MMC=y, with the same result. MMC did not mount. Okay, thanks for trying. Here is a portion of dmesg: Please send all of dmesg; I want to see whether the Ricoh code ran. - Chris. --

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Chris Ball
Hi Manoj, On Thu, Mar 31 2011, Manoj wrote: Card did not mount. New dmesg is attached. Okay. There's nothing in the log about Ricoh, which probably means that it bailed out early in the function. You could add a printk to the top of ricoh_mmc_fixup_rl5c476() if you want to be really sure that

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-31 Thread Philip Langdale
On Thu, 31 Mar 2011 14:33:19 -0400, Chris Ball c...@laptop.org wrote: Hi Manoj, On Thu, Mar 31 2011, Manoj wrote: Card did not mount. New dmesg is attached. Okay. There's nothing in the log about Ricoh, which probably means that it bailed out early in the function. You could add a printk

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-30 Thread Chris Ball
Hi, (Adding linux-mmc@.) On Wed, Mar 30 2011, Manoj wrote: The ricoh SD/MMC card reader [1180:e823] is able to read SD cards, I recently submitted a patch to enable this card reader (https://lkml.org/lkml/2011/2/11/309). But it is not able to mount MMC cards. When I insert an MMC card I

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-30 Thread Manoj
* turn on CONFIG_MMC_DEBUG and post output * see if sdhci.debug_quirks=1 helps It could be that this card does not support MMC cards, it shows up as SDHCI controller and does not mention MMC, or may be they all come up as SDHCI, I dont know enough to make that assessment. Here is the

Re: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.

2011-03-30 Thread Chris Ball
Hi, On Wed, Mar 30 2011, Manoj wrote: * turn on CONFIG_MMC_DEBUG and post output * see if sdhci.debug_quirks=1 helps It could be that this card does not support MMC cards, it shows up as SDHCI controller and does not mention MMC, or may be they all come up as SDHCI, I dont know enough to