[Bug 202490] Re: [Feature Request] Provide a driver for Ricoh R5C822 xD card reader

alx5000 alx5000 at alx5000.net
Thu Jun 3 16:27:44 UTC 2010


Maxim, thank you for all your work and your attention to this thread and the
people waiting for this feature.

On Thu, Jun 3, 2010 at 6:13 PM, Maxim Levitsky
<maximlevitsky at gmail.com>wrote:

> Due to unexpected turn of events (sometimes it pays to ask a question) I
> was told that mmc controller that ricoh-mmc disables in fact is almost
> standard sdhci controller.
>
> Therefore I patched the sdhci kernel driver and now it binds to both
> sdhci and mmc devices and therefore allows you to use sd,sdhi,mmc and xD
> cards at same time.
>
> The driver modified to compile under 10.4 kernel is attached.
>
> To use first unload the ricoh-mmc (if you didn't already)
>
> $ sudo modprobe -r ricoh_mmc
>
> To make this permanent blacklist it (if you didn't already)
> to do so:
>
> $ echo ricoh_mmc | sudo tee /etc/modprobe.d/blacklist_ricoh_mmc.conf
>
> Now compile & install:
>
> $ make
> $ sudo make install
>
> Unload current driver:
> $  modprobe  -r sdhci_pci
> $ modprobe  -r sdhci
>
>
> assure that new driver is seen
> to do so ensure that you see the 'extra':
>
> $ modinfo sdhci-pci | grep filename
> filename:       /lib/modules/2.6.32-18-generic/extra/sdhci-pci.ko
>
>
> Now load patched driver: (on next boot it will be loaded automaticly)
> $  modprobe  -r sdhci_pci
> $  modprobe  -r sdhci
>
>
> note that due to bug (you probably seen it) don't try to suspend the system
> while sd/sdhc/mmc card is in slot
> This just hands the system
> I know the cause, but fix is far from trivial.
> (Its not my fault)
>
>
> ** Attachment added: "mmc-sd-sdhci.tar.gz"
>   http://launchpadlibrarian.net/49613807/mmc-sd-sdhci.tar.gz
>
> --
> [Feature Request] Provide a driver for Ricoh R5C822 xD card reader
> https://bugs.launchpad.net/bugs/202490
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Dell Project: Won't Fix
> Status in “linux” package in Ubuntu: Confirmed
> Status in “linux” package in Debian: Confirmed
>
> Bug description:
> *** NOTE: this is a *wishlist* item - a request for new functionality.  At
> present, and perhaps forever, xD support on linux is extremely limited.
>  This issue is a request to have xD support added for a specific, and
> somewhat popular, chipset.  Please do not add "me, too" items.  We know that
> it doesn't work.  If you want, please add yourself as a subscriber, and
> click on link to indicate that "This bug effects me, too"  In the meantime,
> there are two xD readers known to work with linux, so if you simply must
> have xD support, those would be your options.
>
> Now there is an xD driver for this chip.
> Supports kernel from 3.6.31.
> (http://launchpadlibrarian.net/44373795/ricoh_xd_3.tar.bz2)
>
> To install please do ./make && sudo make install && sudo make load
>
> Note that this package installs several kernel modules, similar to
> compat-wireless
> So, make sure that there is no conflict between existing mtd modules and
> these.
>
> *NOTE* If you use kernel lower that 2.6.34, please be sure to unload the
> ricoh-mmc driver.
> It conflicts with this driver.
> This does meant that on this kernel you *can't* use both xD and MMC cards
> To be sure that ricoh-mmc is not loaded, you should see the following
> output:
>
> 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
>
> and NOT:
>
> 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev FF)
>
> ------------------------------------------------
>
> On multi-format card readers such as:
>
> > lspci | grep Ricoh
> 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev
> 05)
> 03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
> SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
> 03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
> 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
> Adapter (rev 12)
> 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
>
> SD and MMC cards work, but Xd cards do not.  This appears to be due to a
> lack of driver support for the Xd reader.
>
> There is no need to comment confirming this issue on more laptops.  Every
> laptop with a similar type of reader will be affected.
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/dell/+bug/202490/+subscribe
>

-- 
[Feature Request] Provide a driver for Ricoh R5C822 xD card reader
https://bugs.launchpad.net/bugs/202490
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list