From: heavytull on
does anyone knows how to use mmc driver to read or write in mmc and sd
cards?

my card reader is a TI that seems to be supported under linux.

From: Helmut Hullen on
Hallo, heavytull,

Du meintest am 27.01.08:

> does anyone know how to use mmc driver to read or write in mmc and
> sd cards?

Linux should recognize them as scsi devices. Mount them - that's nearly
all.

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".

From: Richard James on
On Sun, 27 Jan 2008 22:21:50 +0000, heavytull wrote:

> does anyone knows how to use mmc driver to read or write in mmc and sd
> cards?
>
> my card reader is a TI that seems to be supported under linux.

I don't understand your question. I have a multi-card reader and each
card is accessed via USB(SCSI interface), because the multi-card reader
is USB, it uses the USB mass storage driver. Do you have some other sort
of reader? If so can you point to a product description page?

Richard James
From: Carlos Corbacho on
heavytull wrote:

> does anyone knows how to use mmc driver to read or write in mmc and sd
> cards?
>
> my card reader is a TI that seems to be supported under linux.

The relevant block devices for MMC/SD will be /dev/mmcblkXX (where XX is a
number of some sort).

You will need the following modules loaded, IIRC:

tifm_7xx1
tifm_sd
mmc_block
mmc_core

-Carlos
--
E-Mail: carlos(a)strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
From: Carlos Corbacho on
Richard James wrote:
> I don't understand your question. I have a multi-card reader and each
> card is accessed via USB(SCSI interface), because the multi-card reader
> is USB, it uses the USB mass storage driver. Do you have some other sort
> of reader? If so can you point to a product description page?

heavytull likely has a card reader built into a laptop - in the case of the
TI chip[1], the card reader has completely proprietary interface (usually
integrated in a TI CardBus/ IEEE1394 chip as an added "bonus"") - there's
no nice firmware or such to make this card appear as a USB mass storage
device. And TI have refused to release any specifications.

So in this case, the current Linux driver developer for this card[2] has had
to:

A) Reverse engineer the proprietary TI host interface

B) In the case of non MMC cards, the card protocols (MemoryStick and xD)
must be reverse engineered, since their respective owners are close lipped
on any specifications for the cards.

So for external card readers, they are usually USB mass storage. And for
some built in card readers, they also identify as USB mass storage devices.
For many of us with these very popular TI chips, we are reliant on a
reverse engineered driver (with reasonable MMC/ SD support, and MemoryStick
support is in the process of being added, with xD somewhere off in the
distance).

-Carlos

[1] http://focus.ti.com/docs/prod/folders/print/pci7421.html
[2] http://tifmxx.berlios.de
--
E-Mail: carlos(a)strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D