Thanks

2007-03-29
2013-04-23
  • Just wanted to say thank you. I tried the driver on my Asus Z71V and it seems to work. Didn't have much time to test but at least I was able to mount the card and read the directory structure.

     
    • Same thing here: a big thank you to for my Dell Latitude X300 reader finally happening to work!

      I will test SVN checkouts from time to time and report progress and bugs.

       
    • did you guys use SD or MMC cards?
      as only SD cards seem to work for me so far

       
    • linuxfun
      linuxfun
      2007-03-31

      It seams the reader does not like MMC cards. At least with an MMC-plus (whatever the plus is) it works neighther in windows, nor in linux. After one week discussions with the author (thanks again!) I had the opportunity to test with windows XP and and an sd card. Well the linux driver worked with the sd card (16MB - Notebook: Asus M6700NE) and even under Windows it was not possible to access the MMC-plus card.

       
    • Doug Rael
      Doug Rael
      2007-04-08

      For me it works for both SD + MMC cards. This is on a JVC MP-XV841 running debian on a 2.6.18.3 kernel. The problem I have is changing the write permissions, "modprobe sdricoh_cs write=1" doesnt seem to work.
      However - many thanks for this driver, I've been messing with the SD/MMC slot for over a year without any luck.

       
      • Sascha Sommer
        Sascha Sommer
        2007-04-29

        You may want to try the svn version with modprobe sdricoh_cs write=1 switchlocked=1

        Some notebooks seem to have the lock flag flipped.

         
        • Tomas Kopecny
          Tomas Kopecny
          2007-05-02

          modprobe sdricoh_cs write=1 switchlocked=1  doesn't worked for me on revision 14 .. did you forget add a line to param?

          Index: sdricoh_cs.c

          --- sdricoh_cs.c        (revision 14)
          +++ sdricoh_cs.c        (working copy)
          @@ -618,6 +618,7 @@

          module_param(debug, uint, 0444);
          module_param(write, uint, 0444);
          +module_param(switchlocked, uint, 0444);

          MODULE_AUTHOR("Sascha Sommer <saschasommer@freenet.de>");
          MODULE_DESCRIPTION("Ricoh RL5c476 II Secure Digital Interface driver");

           
          • Sascha Sommer
            Sascha Sommer
            2007-05-02

            Yes. Thanks for the patch. It is in svn now.

             
    • marco martin
      marco martin
      2007-04-10

      here on an asus A3N and opensuse 10.2 works perfectly (still hadn't tried enabling writing)
      /me joins in a big THANK YOU! i had lost the hope of getting that card reader working :)

       
    • ruff
      ruff
      2007-04-12

      Works on A3L with Gentoo vanilla 2.6.19.7. Thanks.

       
    • cJ
      cJ
      2007-04-23

      Working too on an ASUS M6Ne, 2.6.21-rc6-mm1 (minor source modifications to make it compile)
      Even if the speed isn't great (230kB/s reading/50kB/s writing) it's sufficient for me, and doesn't seem to be unstable.

      Thank you

       
    • Matze
      Matze
      2007-05-24

      Thank you for this driver! My Samsung P35 is getting close to work 100% with linux. (still missing fingerprint support).

      Using your latest svn version (17) it works with a sd card. However my Kingston MMC plus (1GB) card is not working.
      See for yourself(dmesg output):
      <snip>
      pccard: PCMCIA card inserted into slot 0
      pcmcia: registering new device pcmcia0.0
      sdricoh_cs: could not reset
      sdricoh_cs: could not reset
      <snap>

      Ciao
      Kitagua

       
      • Sascha Sommer
        Sascha Sommer
        2007-05-28

        Yes, it is a known issue that some mmc cards and memory sticks are not working.

         
    • Johannes Adams
      Johannes Adams
      2007-07-04

      So I will just join in to say thank you!
      Reading and writing works fine on an MSI S260 notebook (Debian with a 2.6.21.5 kernel), compile was no problem and all. In order to write I have to use both options but until now it works fine!

      If it proves stable, I might finally use my SD card more often. Thanks a lot!

      Johannes

       
      • Michael Riess
        Michael Riess
        2007-07-22

        hi,

        many thanks too.

        it is working on my MSI S270

        and it is working with a 2GB Performance SD card from extremeMemory
        (kernel 2.6.22)

         
    • Thanks!

      Works for my Dell X300, running Debian Etch.
      Installation was as smooth as it gets.

      Awesome.

      Love,
      Marga.

       
    • Ujeen
      Ujeen
      2007-09-03

      Many thanks ! SD Cardreader in my Asus S300 start working perfectly !

       
    • Lothar Brendel
      Lothar Brendel
      2007-09-23

      Thanx also from me! Version 0.1.1 (the first I tried) works on my Samsung Q30 (Jamie) with kernel 2.6.18 (from Debian etch).

      For people unexperienced with providing a correctly set up kernel build: Install module-assistant and do a ``m-a prepare''.

      Cheers
              Lothar

       
    • shuber2
      shuber2
      2007-10-20

      Driver works for me too, thanks! I only tested reading a SD-card on:
        - Asus 3827NLP
        - suspend2-sources-2.6.22

       
    • schella
      schella
      2007-11-24

      As others have reported, my Dell X300 card internal reader works great with this module. I've tried it with only SD media, and I get at least about 1MB/s sustained. My lspci -v output is below in case you're interested.

      Thanks a bunch again - this module works just great!

      02:03.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: Dell Latitude X300 laptop
              Flags: bus master, medium devsel, latency 168, IRQ 10
              Memory at e0213000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
              Memory window 0: 30000000-33fff000 (prefetchable)
              Memory window 1: 3c000000-3ffff000
              I/O window 0: 00003000-000030ff
              I/O window 1: 00003400-000034ff
              16-bit legacy interface ports at 0001

      02:03.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: Dell Latitude X300 laptop
              Flags: bus master, medium devsel, latency 168, IRQ 10
              Memory at e0214000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
              Memory window 0: 34000000-37fff000 (prefetchable)
              Memory window 1: 40000000-43fff000
              I/O window 0: 00003800-000038ff
              I/O window 1: 00003c00-00003cff
              16-bit legacy interface ports at 0001

       
    • Anton Asche
      Anton Asche
      2007-11-30

      Another positive report with ASUS A3878GLP (alias A3G alias A3000). Tested successfully read-only mode with standard 512 MB SD-Card (no SDHC). Compiles flawless after installation of packages build-essential and linux-headers on Ubuntu 7.10 (Gutsy). Data rate from SD to harddisk: 30 MB/min.

      02:05.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: ASUSTeK Computer Inc. Unknown device 1844
              Flags: bus master, medium devsel, latency 168, IRQ 5
              Memory at ff900000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
              Memory window 0: 54000000-57fff000 (prefetchable)
              Memory window 1: 58000000-5bfff000
              I/O window 0: 0000d000-0000d0ff
              I/O window 1: 0000d400-0000d4ff
              16-bit legacy interface ports at 0001

      02:05.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: ASUSTeK Computer Inc. Unknown device 1844
              Flags: bus master, medium devsel, latency 168, IRQ 11
              Memory at ff901000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
              Memory window 0: 5c000000-5ffff000 (prefetchable)
              Memory window 1: 60000000-63fff000
              I/O window 0: 0000dc00-0000dcff
              I/O window 1: 00001400-000014ff
              16-bit legacy interface ports at 0001

       
    • prchlik
      prchlik
      2007-12-07

      Another positive report with ASUS A6G - driver 0.1.2. Tested successfully with standard 32 MB MMC-Card. Compiles flawless on OpenSUSE 10.3. Data rate from MMC to harddisk was not so high, but it works, finally. First release did not work.

      02:05.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: ASUSTeK Computer Inc. Unknown device 1894
              Flags: bus master, medium devsel, latency 168, IRQ 16
              Memory at fe800000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=03, subordinate=03, sec-latency=176
              Memory window 0: 54000000-57fff000 (prefetchable)
              Memory window 1: 58000000-5bfff000
              I/O window 0: 0000c000-0000c0ff
              I/O window 1: 0000c400-0000c4ff
              16-bit legacy interface ports at 0001

      02:05.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: ASUSTeK Computer Inc. Unknown device 1894
              Flags: bus master, medium devsel, latency 168, IRQ 17
              Memory at fe801000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=04, subordinate=07, sec-latency=176
              Memory window 0: 5c000000-5ffff000 (prefetchable)
              Memory window 1: 60000000-63fff000
              I/O window 0: 0000cc00-0000ccff
              I/O window 1: 00001000-000010ff
              16-bit legacy interface ports at 0001

      02:05.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04) (prog-if 10 [OHCI])
              Subsystem: ASUSTeK Computer Inc. Unknown device 1897
              Flags: bus master, medium devsel, latency 64, IRQ 19
              Memory at feaff000 (32-bit, non-prefetchable) [size=2K]
              Capabilities: <access denied>

       

       
    • Tried on M6N. Works fine with SD (both read+write).

      Works with RS-MMC (MMCmobile) card, however it eats CPU as mad when card is inserted and spews errors in the dmesg:

      pccard: PCMCIA card inserted into slot 0
      pcmcia: registering new device pcmcia0.0
      sdricoh_cs: Searching MMC controller for pcmcia device RICOH Bay1Controller ...
      sdricoh_cs: MMC controller found
      sdricoh_cs: read_block: timeout waiting for data
      sdricoh_cs: sdricoh_request: block transfer failed
      sdricoh_cs: read_block: timeout waiting for data
      sdricoh_cs: sdricoh_request: error waiting for transfer completion
      mmc0: unable to read EXT_CSD, performance might suffer.
      mmc0: new MMC card at address 0001
      mmcblk0: mmc0:0001 000000 62720KiB
      mmcblk0: p1
      pccard: card ejected from slot 0
      mmc0: card 0001 removed

       
      • Sascha Sommer
        Sascha Sommer
        2007-12-11

        Thanks for the reports.
        The EXT_CSD and cpu usage problems are known issues. I did not have the time to find a solution for them yet.

         
    • I also want to thank you. I'm running a ASUS Z7 laptop and now I can import my photos from my SD cards on Ubuntu Gutsy! Great :o)

      Thanks again.

       
    • Positive report with MSI M510C (CA M510C). Tested successfully read-only mode with 512MB SD Card and read-write mode with 16MB MMC. Compiles flawless after installation of packages build-essential and linux-headers on Ubuntu 7.10 (Gutsy).

      dmesg:
      [ 1657.250238] sdricoh_cs: MMC controller found
      [ 1657.269914] sdricoh_cs: switching to SD mode
      [ 1657.725433] mmcblk0: mmc0:17c0 SD512 500224KiB (ro)
      [ 1657.725499]  mmcblk0: p1
      [ 1709.962988] pccard: card ejected from slot 0

      [ 1738.946171] sdricoh_cs: MMC controller found
      [ 1739.117689] mmcblk0: mmc0:0001 16M    15680KiB
      [ 1739.117753]  mmcblk0: p1
      [ 1769.668721] pccard: card ejected from slot 0

      lspci:
      02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: Micro-Star International Co., Ltd. Unknown device 0031
              Flags: bus master, medium devsel, latency 168, IRQ 10
              Memory at ffd00000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
              Memory window 0: 50000000-53fff000 (prefetchable)
              Memory window 1: 5c000000-5ffff000
              I/O window 0: 0000c000-0000c0ff
              I/O window 1: 0000c400-0000c4ff
              16-bit legacy interface ports at 0001

      02:04.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
              Subsystem: Micro-Star International Co., Ltd. Unknown device 0031
              Flags: bus master, medium devsel, latency 168, IRQ 11
              Memory at ffd01000 (32-bit, non-prefetchable) [size=4K]
              Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
              Memory window 0: 54000000-57fff000 (prefetchable)
              Memory window 1: 60000000-63fff000
              I/O window 0: 0000cc00-0000ccff
              I/O window 1: 00001000-000010ff
              16-bit legacy interface ports at 0001

      Now all devices on my laptop works!
      Thanks, great work!

       
    • hro
      hro
      2008-05-21

      Working on Asus A6U running opensuse 10.3

      Installed from source v0.1.3, downloaded 2008-05-20.
      No errors/warnings during make.
      Automounting works
      Gets about 2 MB/s transfer rate to hard disk, nearly as fast as in Windows

      ~> uname -a
      Linux flower 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC i686 athlon i386 GNU/Linux

      ~ # lspci | grep -i ricoh
      00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
      00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
      00:0a.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)

      dmesg output for 512 MB SD card insertion/ejection:
      pccard: PCMCIA card inserted into slot 0
      cs: memory probe 0xa0000000-0xa0ffffff: clean.
      pcmcia: registering new device pcmcia0.0
      sdricoh_cs: Ricoh PCMCIA Secure Digital Interface driver
      sdricoh_cs: Copyright(c) 2006 - 2008 Sascha Sommer
      sdricoh_cs: Searching MMC controller for pcmcia device RICOH Bay1Controller ...
      sdricoh_cs: MMC controller found
      sdricoh_cs: switching to SD mode
      mmcblk0: mmc0:0002 SDC   492544KiB
      mmcblk0: p1
      pccard: card ejected from slot 0

      -------------------------------------------
      tested with SanDisk Ultra II 2.0GB  SD card
      ~ # hdparm -t /dev/mmcblk0p1
      /dev/mmcblk0p1:
      Timing buffered disk reads:    4 MB in  4.51 seconds = 907.84 kB/sec

      Same card in MSI StarReader USB multicard reader
      ~ # hdparm -t /dev/sdd
      /dev/sdd:
      Timing buffered disk reads:   20 MB in  3.28 seconds =   6.10 MB/sec

      Copy 10 files, 357 MB to hard drive with Ricoh reader
      ~> time cp /media/disk/dcim/100canon/*.avi ~/test
      real    2m50.088s
      user    0m0.016s
      sys     0m2.388

      Same with USB MSI StarReader
      ~> time cp /media/disk/dcim/100canon/*.avi ~/test
      real    1m5.666s
      user    0m0.020s
      sys     0m4.708s

      Same in Windows XP Home with Ricoh reader (output edited)
      C:\cdata>test.cmd < enter.txt
      C:\cdata>time
      12:15:46.59
      C:\cdata>xcopy F:\DCIM\100CANON\*.avi test\*.* /Q
      C:\cdata>time
      12:17:48.51

      stop  12:17:48.51
      start 12:15:46.59
      -------------------
                2:01.92 ~ 122 s

      Same with USB MSI StarReader (output edited)
      C:\cdata>test.cmd < enter.txt
      C:\cdata>time
      12:22:11.56
      C:\cdata>xcopy I:\DCIM\100CANON\*.avi test\*.* /Q
      C:\cdata>time
      12:23:16.00

      stop  12:23:16.00
      start 12:22:11.56
      -------------------
                1:04.44 ~ 64 s

       
    • hro
      hro
      2008-05-21

      Add to previous post:
      Started to test with 128 MMC card. Mounting takes more time and some tests do not work.

      from /var/log/messages:
      ------------------------------
      May 21 13:53:16 flower kernel: pccard: PCMCIA card inserted into slot 0
      May 21 13:53:16 flower kernel: pcmcia: registering new device pcmcia0.0
      May 21 13:53:16 flower kernel: sdricoh_cs: Searching MMC controller for pcmcia device RICOH Bay1Controller ...
      May 21 13:53:16 flower kernel: sdricoh_cs: MMC controller found
      May 21 13:53:17 flower kernel: mmcblk0: mmc0:0001 0128M2 125440KiB
      May 21 13:53:17 flower kernel:  mmcblk0: p1
      May 21 13:53:35 flower hald: mounted /dev/mmcblk0p1 on behalf of uid 1000

      // here started 'hdparm -t /dev/mmcblk0p1'
      // cpu% for mmcqd jumps to 99+ %
      // right click to device icon -> Safely Remove

      May 21 13:58:09 flower hald: unmounted /dev/mmcblk0p1 from '/media/disk' on behalf of uid 1000

      // rip the card from slot

      May 21 13:58:17 flower kernel: pccard: card ejected from slot 0
      -----------------------------------------

      cpu% for mmcqd still 99+ %, keyboard stuck, power off from switch.

      I could read the directory structure from the card, so the driver kind of works

       
      • Sascha Sommer
        Sascha Sommer
        2008-05-23

        Yes seem the cpu usage for mmc cards is very high. I try to create a fix somewhen. That should also fix the keyboard stuck problem.

         
    • Anton Post
      Anton Post
      2008-07-09

      I wish to add my thanks.

      I can see my card's file structure and copying seems to work fine on my Asus Z9200 which has the following card on it:
      00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
      00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
      00:0a.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)

       
    • Stefan Wagner
      Stefan Wagner
      2008-08-05

      Thank you, works for me: Asus A3G, with:
        sudo mount /dev/mmcblk0p1 /media/benq -t vfat
      dmsg | tail
      [ 7814.042826] cs: pcmcia_socket0: unable to apply power.
      [ 7815.246332] pccard: PCMCIA card inserted into slot 0
      [ 7815.246349] cs: memory probe 0xff900000-0xff9fffff: excluding 0xff900000-0xff90ffff 0xff9f0000-0xff9fffff
      [ 7815.249577] pcmcia: registering new device pcmcia0.0
      [ 2341.213232] sdricoh_cs: Ricoh PCMCIA Secure Digital Interface driver
      [ 2341.213237] sdricoh_cs: Copyright(c) 2006 - 2008 Sascha Sommer
      [ 2341.213263] sdricoh_cs: Searching MMC controller for pcmcia device RICOH Bay1Controller ...
      [ 2341.213311] sdricoh_cs: MMC controller found
      [ 2341.434872] mmc0: unable to read EXT_CSD, performance might suffer.
      [ 2341.434880] mmc0: new MMC card at address 0001
      [ 2341.454936] mmcblk0: mmc0:0001 SMI    990720KiB
      [ 2341.455139]  mmcblk0: p1

      lspci:
      02:05.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
      02:05.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)

      Card is a 1GB MMC, brand: "Formel1, MulitMedia Plus HighSpeed" - very roughly at 50k/s or 1M/min. :)

       
    • jmfv
      jmfv
      2009-05-10

      Thank you for your work. Actually, I don't need the card reader, but it feels very nice to have my Asus A3N laptop fully functional under Linux Debian stable. Good work!