You are not logged in.

#1 2008-04-12 15:56:26

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Ricoh card reader not working

Hi, I'm trying to get photos from my SD card. I plugged in SD card and looked into /dev for some device. Nothing there.
My ASUS F3JC has this card reader:

[dante4d ~]$ lspci | grep -i ricoh
06:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
06:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
06:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
06:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)

Modules are loaded:

[dante4d ~]$ lsmod | egrep 'mmc|ricoh|sdhci'
mmc_block              10372  0 
sdhci                  15364  0 
mmc_core               43524  2 mmc_block,sdhci
ricoh_mmc               3328  0

Later, I found this in dmesg:

[dante4d ~]$ dmesg | cat -n | sed -n '507,519p' -
   507    ricoh-mmc: Ricoh MMC Controller disabling driver
   508    ricoh-mmc: Copyright(c) Philip Langdale
   509    ricoh-mmc: Ricoh MMC controller found at 0000:06:01.2 [1180:0843] (rev 1)
   510    ricoh-mmc: Controller is now disabled.
   511    ACPI: PCI Interrupt 0000:06:01.0[A] -> GSI 16 (level, low) -> IRQ 16
   512    ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[16]  MMIO=[feaff800-feafffff]  Max Packet=[2048]  IR/IT contexts=[4/4]
   513    sdhci: Secure Digital Host Controller Interface driver
   514    sdhci: Copyright(c) Pierre Ossman
   515    sdhci: SDHCI controller found at 0000:06:01.1 [1180:0822] (rev 19)
   516    ACPI: PCI Interrupt 0000:06:01.1[b] -> GSI 17 (level, low) -> IRQ 17
   517    sdhci:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
   518    mmc0: SDHCI at 0xfeaff400 irq 17 DMA
   519    ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e01800036e5c3c]

I googled this, wondering what mmc controler disabled means. Is card driver unfinished or broken? What can I do to get it working?

Any help appreciated
David

Offline

#2 2008-04-12 21:33:19

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Ricoh card reader not working

I have the same controller. SD cards work perfectly here. I never tried MMC, but I have a little explanation: There are two readers, one for SD and one for MMC. The SD reader is capable of reading MMC, however: As soon as the SD reader notices that the MMC reader is present, it passes the card to the MMC reader, which is unsupported by Linux. The MMC disabler driver is meant to prevent that, so that the working reader handles the MMC card, not the unsupported one (confusing, I know). So theoretically, MMC should work, too.

However, the MSPro and xD readers do not work, as there are no drivers for them.

Offline

#3 2008-04-14 12:55:40

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: Ricoh card reader not working

works perfect here.

i get the following:

lsmod | egrep 'mmc|ricoh|sdhci'                            (14-04-08 14:52)
sdhci                  15492  0 
mmc_core               43396  1 sdhci
ricoh_mmc               3328  0

so try to unload mmc_block

mfg iggy


sorry for my bad english smile

Offline

#4 2008-04-14 13:04:02

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Ricoh card reader not working

Easy to say... Do you have the same hardware as the topic starter?

I have run into the same problem, and the ricoh mmc blocking driver doesn't help a lot here either (unloading it doesn't help either tongue).

My hardware details:

[stijn@hermes ~]$ lspci | grep -i ricoh
09:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
09:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
09:04.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)
09:04.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)

Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2008-04-14 20:07:53

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: Ricoh card reader not working

Quoting Gentoo's HOWTO SD and MMC card readers wiki:

My main problem was that I build modules whereas it seems necessary to build the driver into the kernel. I guess this will change with later kernels. 2.6.17-r4 still has this bug for me.

I haven't tried this, as I'm not familiar with custom kernel building. I have the same hardware as the author, so... It can be the same issue. I just did 'pacman -Syu', so let's see if that helps... No, it didn't help tongue. So I'll have to try and roll my own kernel with driver compiled in...

Last edited by dante4d (2008-04-14 20:18:41)

Offline

#6 2008-04-15 01:37:09

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Ricoh card reader not working

I am running 2.6.25-rc9 here, didn't try to build them in statically though. MIght be an idea.

Edit: just recompiled the kernel, but building them in statically does not help in any way. I bumped into the SD Ricoh CS driver, but that seems to be unable to handle the Memory Sticks for the moment. If anyone could give it a shot (I have no SD cards)?

Last edited by B (2008-04-15 07:18:32)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2008-04-15 15:01:18

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: Ricoh card reader not working

B wrote:

I am running 2.6.25-rc9 here, didn't try to build them in statically though. MIght be an idea.

Edit: just recompiled the kernel, but building them in statically does not help in any way. I bumped into the SD Ricoh CS driver, but that seems to be unable to handle the Memory Sticks for the moment. If anyone could give it a shot (I have no SD cards)?

SourceForge.net: sdricoh_cs:

sdricoh_cs is a Linux driver for Ricoh Secure Digital and MMC Card Readers that announce themselves as Ricoh Bay1Controller pcmcia device.

That looks like a different hardware to me - than what I have.

I couldn't get my custom kernel running yet, there's something with mkinitcpio going nuts... Someone tried built in drivers already?

Offline

#8 2008-04-15 15:29:34

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Ricoh card reader not working

Did you read my post? I just did roll roll


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2008-04-15 16:50:38

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: Ricoh card reader not working

B wrote:

Did you read my post? I just did roll roll

Sorry big_smile. Anyway, it didn't help, so... What now...

Edit: So looks like I'm on my own here...

Last edited by dante4d (2008-04-18 15:12:54)

Offline

#10 2008-05-22 10:09:54

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: Ricoh card reader not working

Hi dante!

How's in the south?;)

My lspci:

[miky@ghoulie ~]$ lspci | grep Ric
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)

So I have a similar hardware..

As for loaded modules:

[miky@ghoulie ~]$ lsmod | egrep -i 'mmc|sd|ricoh'
mmc_block              10372  0 
sdhci                  15492  0 
mmc_core               43396  2 mmc_block,sdhci
sd_mod                 23168  5

Don't know what sd_mod is nor whether it is relevant. But there's no 'ricoh' module there. No special modules in the rc.conf MODULES array either.

Module mmc_block gets auto-loaded when a card is inserted (afaik - have a card inserted permanentely smile ). Device created in /dev is called mmcblk0 and partitions are mmcblk0pX..

Try to blacklist the ricoh module, maybe it will help..

-miky


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#11 2008-06-08 09:54:17

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: Ricoh card reader not working

mr.MikyMaus wrote:

Hi dante!
How's in the south?;)

Heh, missed this one smile. It's raining now.. Finally...

Ok I'll try this... Anyways, I've been to Prague and the Metallica gig was perfect wink.

dante

Offline

Board footer

Powered by FluxBB