2008-12-08 22:14:54

by David Härdeman

[permalink] [raw]
Subject: Is the Ricoh R5C822 documentation available?

The Ricoh R5C822 card reader in my laptop includes a smart card reader
(http://www.ricoh.com/LSI/product_pcif/pcc/5c821/index.html) but it
doesn't seem supported by the kernel.

So I was wondering whether the documentation for the Ricoh card reader is
available from somewhere (or is the sdhci support the result of reverse
engineering?).

Ricoh told me to ask HP and HP hasn't answered at all...

--
David H?rdeman


2008-12-08 23:25:50

by Frans Pop

[permalink] [raw]
Subject: Re: Is the Ricoh R5C822 documentation available?

Hi David,

> The Ricoh R5C822 card reader in my laptop includes a smart card reader
> (http://www.ricoh.com/LSI/product_pcif/pcc/5c821/index.html) but it
> doesn't seem supported by the kernel.

Weird. My laptop has the same device and I've successfully installed
Debian to it [1]...

02:06.2 SD Host controller [0805]: Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 21)
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci
02:06.3 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller
[1180:0843] (rev ff)
Kernel driver in use: ricoh-mmc
Kernel modules: ricoh_mmc

The function of the ricoh_mmc module is to disable the last (proprietary)
controller in favor of the first (generic) one.

Cheers,
FJP

[1] Installing to SD/MMC card is supported as of D-I Lenny RC1 for i386
and amd64.

2008-12-08 23:44:26

by David Härdeman

[permalink] [raw]
Subject: Re: Is the Ricoh R5C822 documentation available?

On Tue, Dec 09, 2008 at 12:25:35AM +0100, Frans Pop wrote:
Hey Frans,

>> The Ricoh R5C822 card reader in my laptop includes a smart card reader
>> (http://www.ricoh.com/LSI/product_pcif/pcc/5c821/index.html) but it
>> doesn't seem supported by the kernel.
>
>Weird. My laptop has the same device and I've successfully installed
>Debian to it [1]...

Sorry if I was unclear. The sdhci part of the R5C822 works as expected
(at least with a SDHC card which is the only media I've tested it with),
it's the integrated *smart card* reader which seems unsupported and
which I'm trying to find specs for...

--
David H?rdeman

2008-12-21 16:59:37

by Pierre Ossman

[permalink] [raw]
Subject: Re: Is the Ricoh R5C822 documentation available?

On Mon, 8 Dec 2008 22:54:58 +0100
David Härdeman <[email protected]> wrote:

> The Ricoh R5C822 card reader in my laptop includes a smart card reader
> (http://www.ricoh.com/LSI/product_pcif/pcc/5c821/index.html) but it
> doesn't seem supported by the kernel.
>
> So I was wondering whether the documentation for the Ricoh card reader is
> available from somewhere (or is the sdhci support the result of reverse
> engineering?).
>
> Ricoh told me to ask HP and HP hasn't answered at all...
>

In which case you've gotten further than most of us. Ricoh are not an
helpful vendor so getting their hardware up and running is always an
uphill battle.

sdhci was the result of reverse engineering yes, but that is hardly
relevant here as it is not a ricoh interface but a standardised one.
The fixes in ricoh_mmc were based on information received from an OEM,
not from Ricoh directly.

So right now I'd say reverse engineering is your only option if you
want to support that piece of hardware.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.


Attachments:
signature.asc (197.00 B)