Re: tifm_7xx1: SD card is ignored

From: Alex Dubov
Date: Sun Apr 27 2008 - 11:48:15 EST



--- Kim Hansen <kimhanse@xxxxxxxxx> wrote:

> I have the problem that the SD card slot does not work on my Toshiba
> Protege M400 with my current kernel (2.6.24), it worked for me with
> 2.6.18 but has been broken at least since 2.6.22.
>
> The problem is that nothing happens, dmesg is silent and I guess the
> cause is that the driver does not see the hardware.
>
> How should I start debugging this?
>

First, there's an option in the kernel config enabling debugging print-outs
(called "MMC Debugging" under MMC). Enable it, recompile the modules and you'll
get plenty of dmesg noise.

Second, the fact modules are loaded means that driver sees the hardware all
right. There can be some sort of interplay between sdhci and tifm_sd as they
use the same chip. I think you should blacklist one of them. Which one -
depends on the settings in you flashmedia chip's eeprom (some vendors disable
sdhci interface and some flashmedia one).

You need an mmc_block module loaded too.

In the worst case, you can always blame the TI. Some TI guy notified me that my
driver contains errors affecting 803b series controllers (I myself have a
8033). He, however, had not told me what they are. Very nice, indeed.



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
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/