Skip to contentSkip to conversation

Is the Ricoh R5C822 documentation available?

DISCUSSION David Härdeman 3 participants 4 messages Dec 8, 2008 – Dec 21, 2008

lore
Share & tools
lore
#0 lore raw

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...

Signature · 1 line
David Härdeman
#1 lore raw

Hi David,

Quoted 3 lines

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.

#2 lore raw

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

Quoted 5 lines
Quoted 3 lines

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...

Signature · 1 line
David Härdeman
#3 lore raw
In reply to David Härdeman
Quoted 10 lines · 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

Signature · 9 lines
     -- 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.