View previous topic :: View next topic |
Author |
Message |
Blutch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Nov 2004 Posts: 53 Location: Belgium
|
Posted: Tue Aug 01, 2006 4:34 pm Post subject: SD Card Reader on my Laptop |
|
|
Hello everybody!
I'm having some trouble to make my SD card working on my laptop (AOpen 1557GLS).
The 2 following lines, from my lspci output, identify my SD Card Reader: Code: | 02:09.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:09.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac) |
When I plug in a SD card, I can see the following lines in /var/log/messages: Code: | Jul 27 18:20:17 localhost kernel: pccard: PCMCIA card inserted into slot 0
Jul 27 18:20:17 localhost kernel: pcmcia: registering new device pcmcia0.0 |
And when my SD card is plugged in, here is the empty output of cat /proc/scsi/scsi:
And I don't have anything like /dev/sd*
Therefore, I don't have anything to mount...
I'm using a 1Gb SD Card, which works perfectly in my digital camera and under Windows (plugged into the same card reader).
By the way, I'm using a pcmcia ethernet controller which works like a charm.
I enabled SCSI and PCMCIA/Cardbus support in the kernel (2.6.17-r4): Code: | [*]
Device Drivers --->
SCSI device support --->
[*] legacy /proc/scsi/ support
<*> SCSI disk support
<*> SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> SCSI generic support
Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
PCCARD (PCMCIA/CardBus) support --->
<*> PCCard (PCMCIA/CardBus) support
<*> 16-bit PCMCIA support
[*] Load CIS updates from userspace (EXPERIMENTAL)
[*] PCMCIA control ioctl (obsolete)
<*> CardBus yenta-compatible bridge support
|
Can someone help ? What did I forget to do ? What error am I making ?
Thanks a lot,
Blutch |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrismortimore l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19354068744703907eb4d1.jpg)
Joined: 03 Dec 2005 Posts: 721 Location: Edinburgh, UK
|
Posted: Tue Aug 01, 2006 8:29 pm Post subject: |
|
|
Have you had a look in "MMC/SD Card support" in "Device Drivers"? _________________ Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asiobob Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 29 Oct 2003 Posts: 1375 Location: Bamboo Creek
|
Posted: Tue Aug 01, 2006 8:58 pm Post subject: |
|
|
You need a 2.6.17 or greater kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blutch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Nov 2004 Posts: 53 Location: Belgium
|
Posted: Wed Aug 02, 2006 9:01 pm Post subject: |
|
|
chrismortimore wrote: | Have you had a look in "MMC/SD Card support" in "Device Drivers"? | Yes it is enabled: Code: |
<*> MMC support
[ ] MMC debugging
<*> MMC block device driver
<*> Secure Digital Host Controller Interface support (EXPERIMENTAL)
< > Winbond W83L51xD SD/MMC Card Interface support
|
ASIO_BOB wrote: | You need a 2.6.17 or greater kernel | I wrote I'm using a 2.6.17-r4 kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrismortimore l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19354068744703907eb4d1.jpg)
Joined: 03 Dec 2005 Posts: 721 Location: Edinburgh, UK
|
Posted: Wed Aug 02, 2006 10:37 pm Post subject: |
|
|
Take a look at sys-apps/pcmciautils, I'm not overly sure myself what they do, but I have them installed and my pcmcia stuff works fine... _________________ Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blutch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Nov 2004 Posts: 53 Location: Belgium
|
Posted: Thu Aug 03, 2006 8:01 am Post subject: |
|
|
chrismortimore wrote: | Take a look at sys-apps/pcmciautils, I'm not overly sure myself what they do, but I have them installed and my pcmcia stuff works fine... |
That sounds interesting. I saw it uses the "udev" USE variable, maybe it'll help create the correct /dev/xxx. Do you know if I have anything to configure, or do I just have to let it act in the background for me ?
I'll give it a try tonight when i'll be back home. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lloeki Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/136433036844901a3e15da4.jpg)
Joined: 14 Jun 2006 Posts: 437 Location: France
|
Posted: Thu Aug 03, 2006 1:44 pm Post subject: |
|
|
Mine is:
Code: | $ lspci |grep Ricoh
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
02:01.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
02:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)
02:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 03)
|
I did a bit of research some time ago (3~6 months) and ended up in a dead end: pcmcia-based laptop Ricoh card readers are not documented, and Ricoh refuses to give any information. So the only way to write a driver is reverse engineer it, which has not been done TTBOMK.
It might have changed though. _________________ Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blutch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Nov 2004 Posts: 53 Location: Belgium
|
Posted: Thu Aug 03, 2006 4:13 pm Post subject: |
|
|
Lloeki wrote: | I did a bit of research some time ago (3~6 months) and ended up in a dead end: pcmcia-based laptop Ricoh card readers are not documented, and Ricoh refuses to give any information. So the only way to write a driver is reverse engineer it, which has not been done TTBOMK.
It might have changed though. |
Do you mean that if the solution hasn't changed, there is NO solution to make a Ricoh adapter work under linux ???
Doesn't a wrapper exist, that can use a windows driver (like ndis wrapper for wireless controllers) ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blutch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Nov 2004 Posts: 53 Location: Belgium
|
Posted: Mon Aug 07, 2006 4:36 pm Post subject: |
|
|
Did anyone else have any experience with a Ricoh card reader ?
I'm still open to any idea that could help make it work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
138158 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2006 Posts: 20
|
Posted: Mon Aug 07, 2006 7:10 pm Post subject: |
|
|
Hi,
the "Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter" is supported by sdhci kernel module. It's already included in vanilla kernel, but you should use a 2.6.18-rc? kernel because the driver was improved a lot.
Best regards,
Whoopie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blutch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Nov 2004 Posts: 53 Location: Belgium
|
Posted: Thu Aug 10, 2006 7:16 pm Post subject: |
|
|
Thanks a lot for your answer.
The SDHCI is already compiled in my kernel (2.6.17-r4):
Code: |
<*> Secure Digital Host Controller Interface support (EXPERIMENTAL)
|
So, in principle, it should work, shouldn't it ?
Anyway, I'll try to use it with the newer rc kernel, maybe it'll work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kilianh n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Oct 2004 Posts: 27 Location: Cape Town, South Africa
|
Posted: Thu Aug 10, 2006 9:44 pm Post subject: |
|
|
I have the exact same symptoms, I gave up trying to use my sd card reader a long time ago when I saw the new sd interface driver in the 2.6.17 kernel (my laptop is 2,5 years old).
It's just that sdhci doesn't seem to do anything at all (except loading) so I guess we will have to wait for 2.6.18 Once this works though my laptop will be 100% supported (Samsung P30) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blorby n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Aug 2006 Posts: 2
|
Posted: Wed Aug 30, 2006 12:26 pm Post subject: |
|
|
i've got an asus laptop with a Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter, a R5C592 Memory Stick Bus Host Adapter and a 2.6.17-r4 kernel
it seems that MMC + SDHCI works for SD cards and not for MS type (dont know exactly why...)
but, the mount point is not a /dev/scsi/something but more something like /dev/mmcblk0p1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lloeki Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/136433036844901a3e15da4.jpg)
Joined: 14 Jun 2006 Posts: 437 Location: France
|
Posted: Wed Aug 30, 2006 2:21 pm Post subject: |
|
|
just upgraded.
$ uname -r
2.6.17-suspend2-r4
mine (sd/mmc) works (r/w tested) with sdhci.
ms doesn't (tested), as it's obviously not sdhci-compliant.
remember that there's one slot but those are really different devices packed in one, so another driver is needed for ms/cf/xd/whatever.
you can see it in multiple places:
- windows device manager (a must-have to get info on unsupported/undetected hardware under linux)
- windows explorer (in that case, multiple drive letters => multiple devices)
- lspci _________________ Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blorby n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Aug 2006 Posts: 2
|
Posted: Wed Aug 30, 2006 3:11 pm Post subject: |
|
|
true
it seems the right driver for the MS doesnt even exist |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RushPL Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1186236738441078fd75805.png)
Joined: 25 Dec 2005 Posts: 116 Location: Poland, Gdansk
|
Posted: Wed Nov 22, 2006 7:29 pm Post subject: |
|
|
Hey, I don't want to spawn a new topic so I'll just post here ...
I owe an ASUS laptop with a a "03:01.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)".
I've followed the wiki on http://gentoo-wiki.com/HOWTO_SD_and_MMC_card_readers
I use a kernel 2.6.18-suspend2 - with every required option enabled.
My loaded(relevant) modules are:
Code: |
rushpod rush # lsmod
Module Size Used by
msdos 6912 0
vfat 9216 0
fat 38940 2 msdos,vfat
sdhci 13708 0
mmc_block 5512 0
mmc_core 17408 2 sdhci,mmc_block
|
After modprobing the 'sdhci' module I get the following messages in 'dmesg':
Code: |
sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:03:01.2 [1180:0822] (rev 17)
ACPI: PCI Interrupt 0000:03:01.2[C] -> GSI 19 (level, low) -> IRQ 20
mmc0: SDHCI at 0xfe8ff400 irq 20 DMA
|
And guess what ? I get NO DEVICE /dev/mmcblk0p1 whatsoever.
Code: |
rushpod ~ # ls /dev/mmc*
ls: cannot access /dev/mmc*: No such file or directory
|
Since it appears to be all perfectly set I humbly request for your support.
Regards,
Rush |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|