Re: 2.6.24 not recognizing 2G MMC card?

From: Tom Spink
Date: Thu May 22 2008 - 14:27:25 EST


2008/5/22 J. Bruce Fields <bfields@xxxxxxxxxxxx>:
> On Thu, May 22, 2008 at 07:10:22PM +0100, Tom Spink wrote:
>> 2008/5/22 J. Bruce Fields <bfields@xxxxxxxxxxxx>:
>> > On Wed, May 21, 2008 at 07:01:10PM +0100, Tom Spink wrote:
>> >> 2008/5/21 J. Bruce Fields <bfields@xxxxxxxxxxxx>:
>> >> > Please forgive a somewhat naive question--I'm not sure how to go about
>> >> > debugging this kind of thing:
>> >> >
>> >> > I have a Dell 1420n with card readers reported by lspci as:
>> >> >
>> >> > 03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
>> >> > 03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
>> >> >
>> >> > I have a 512MB MicroSD card which seems to be recognized fine, but a 2GB
>> >> > MMC card is not.
>> >> >
>> >> > I'm using a stock Ubuntu 8.04 kernel, which reports itself as
>> >> > 2.6.24-16-generic.
>> >> >
>> >> > Skimming through commits to drivers/mmc,
>> >> > 5ae70296c85f96a9969891d9de3410ebdf210b71 "mmc: Disabler for Ricoh MMC
>> >> > controller", looks relevant, but seems to be included in 2.6.24.
>> >> >
>> >> > Anything I should try? Thanks in advance for any suggestions.
>> >> >
>> >> > --b.
>> >>
>> >> Hi,
>> >>
>> >> What does: lsmod | grep ricoh, give you? Anything?
>> >
>> > root@pig:/home/bfields# lsmod | grep ricoh
>> > ricoh_mmc 4352 0
>> >
>> > --b.
>> >
>>
>> So does the MMC card work on other card readers, i.e. it's not
>> damaged?
>
> I use it in a Nokia 770, and it works there.
>
> It needs an adapter for the laptop which it doesn't need for the 770;
> googling around.... Something that looks like this:
>
> http://www.globemaster.com.tw/data/rs mmc adapter.jpg
>
> So I suppose the adapter could be broken. Seems unlikely,
> though--doesn't look like it does anything more than make the card
> fit physically in the slot.

Hmm. It is worth a check, given your next response...

>
>> When you plug the card into the reader, can you check dmesg
>> and see if there's any relevant information in there, and post it
>> here?
>
> It doesn't trigger any dmesg output at all.

Interesting. I'd expect to see something appearing about the card.
I'm afraid I'm not sure what to suggest next, if there's no debug
output.

>
> --b.
>

--
Tom Spink
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/