Re: Using SD-card reader? (Lenovo T61/Richo R5C822 controller/sdhci driver)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 13/10/11 09:35, Toralf Lund wrote:
> Hi
>
> I'm trying to access an SD-card using the built-in reader on a Lenovo
> T61 Laptop running CentOS 5.7. The unit is recognised by lspci:
> # lspci
> [ ... ]
> 15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
> Host Adapter (rev 21)
> 15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
> 15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
> Adapter (rev 11)
> 15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
>
> and a driver is loaded and appears to find the device  - from
> /var/log/messages:
>
> Oct 13 09:30:48 i58524 kernel: sdhci: Secure Digital Host Controller
> Interface driver, 0.12
> Oct 13 09:30:48 i58524 kernel: sdhci: Copyright(c) Pierre Ossman
> Oct 13 09:30:48 i58524 kernel: sdhci: SDHCI controller found at
> 0000:15:00.2 [1180:0822] (rev 21)
> Oct 13 09:30:48 i58524 kernel: ACPI: PCI Interrupt 0000:15:00.2[C] ->
> GSI 18 (level, low) ->  IRQ 225
> Oct 13 09:30:48 i58524 kernel: mmc0: SDHCI at 0xf8101800 irq 225 DMA
>
> But then what?? If I insert a card in the drive, nothing particular
> happens. I mean, I the status LED on the unit lights up briefly, but
> there is no automount or anything, and I get no messages in the system
> log. And I can't find any appropriate devices under /dev. The card is
> accessible when using WinXP on the same machine...
>
> Help, anyone?
>
>
> - Toralf
>

I have a similar controller in my Dell laptop:

http://wiki.centos.org/HowTos/Laptops/Dell/XPS_M1330

03:01.1 SD Host controller: 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)

and at the time I tried it (a couple years back) the device was not 
supported on el5.

Originally I tried an updated driver from elrepo.org (IIRC it was 
kmod-mmc), which almost worked - I could access the device but I seem to 
recall I still had issues writing to it.

Eventually I installed an updated mainline kernel from elrepo.org 
(kernel-ml) and would boot to that kernel on the rare occasions I wanted 
to use the device which worked flawlessly. Elrepo.org currently offer 
2.6.35 and 2.6.39 series kernels for el5 and either should provide 
support for the device. If you want to try one I'd be tempted to 
recommend the kernel-ml-2.6.35 series.

http://elrepo.org/tiki/kernel-ml

I'm a bit disappointed to learn from your post that this hardware still 
isn't working natively on el5, although I suspect such issues receive 
very little attention/feedback on a more server orientated distribution.

Hope that helps.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux