Page 1 of 1

VB won't detect SD card reader

Posted: 10. Jul 2013, 20:16
by Bucic
VB won't detect my laptop SD card reader. I recall it used to be visible as a USB device under Settings > USB. Now it's not. What can I do to fix this? Notably the reader works fine under the linux host system.

Fedora 19 x86_64

Code: Select all

~$ uname -r
3.9.9-301.fc19.x86_64


 ~$  lspci |grep Ricoh
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
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)


 ~$ dmesg |egrep -i 'card|ricoh|sdhc|mmc'
[    0.053633] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000)
[    0.053636] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820
[    0.109748] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.116319] pci 0000:15:00.0: proprietary Ricoh MMC controller disabled (via cardbus function)
[    0.116321] pci 0000:15:00.0: MMC cards are now supported by standard SDHCI controller
[    0.200951] pci 0000:15:00.0: CardBus bridge to [bus 16-17]
[    1.340715] yenta_cardbus 0000:15:00.0: CardBus bridge found [17aa:20c6]
[    1.462837] yenta_cardbus 0000:15:00.0: ISA IRQ mask 0x0cb8, PCI irq 16
[    1.462840] yenta_cardbus 0000:15:00.0: Socket status: 30000820
[    1.462848] yenta_cardbus 0000:15:00.0: pcmcia: parent PCI bridge window: [io  0x4000-0x7fff]
[    1.462850] yenta_cardbus 0000:15:00.0: pcmcia: parent PCI bridge window: [mem 0xf4800000-0xf7ffffff]
[    1.462863] yenta_cardbus 0000:15:00.0: pcmcia: parent PCI bridge window: [mem 0xf0000000-0xf3ffffff 64bit pref]
[    1.516070] firewire_ohci 0000:15:00.1: added OHCI v1.10 device as card 0, 4 IR + 4 IT contexts, quirks 0x11
[    2.339027] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
[    2.898666] sdhci: Secure Digital Host Controller Interface driver
[    2.898670] sdhci: Copyright(c) Pierre Ossman
[    2.954384] sdhci-pci 0000:15:00.2: SDHCI controller found [1180:0822] (rev 21)
[    2.955484] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[    2.962327] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[    2.989373] mmc0: SDHCI controller on PCI [0000:15:00.2] using DMA
[    3.079991] mmc0: error -110 whilst initialising SD card
[    3.083007] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[    3.150004] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[    3.280777] input: HDA Intel Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    3.315470] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    3.318195] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    3.318306] input: HDA Intel Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    3.442631] mmc0: SD Status: Invalid Allocation Unit size.
[    3.442707] mmc0: new SD card at address dd2b
[    3.711984] mmcblk0: mmc0:dd2b SD01G 982 MiB 
[    3.713303]  mmcblk0: p1
[   16.830231] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  117.235421] mmc0: card dd2b removed
[  117.240012] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[  117.298625] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[  117.358131] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[  117.415466] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[  117.472751] sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully claim to support it.
[  121.396091] mmc0: SD Status: Invalid Allocation Unit size.
[  121.396240] mmc0: new SD card at address dd2b
[  121.397850] mmcblk0: mmc0:dd2b SD01G 982 MiB 
[  121.401549]  mmcblk0: p1
[  121.666268] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Re: VB won't detect SD card reader

Posted: 11. Jul 2013, 11:31
by mpack
Install the extension pack. Add a USB filter.

Re: VB won't detect SD card reader

Posted: 11. Jul 2013, 11:49
by Bucic
Could it be that the extension pack uninstalled during Linux update process?

Re: VB won't detect SD card reader

Posted: 11. Jul 2013, 12:12
by mpack
Many things are possible.

Re: VB won't detect SD card reader

Posted: 11. Jul 2013, 22:11
by Bucic
It did not help. Only fingerprint sensor is available under USB. Also if I connect my pendrive it is visible there immediately, even if inserted while the settings window of VirtualBox is already opened. It's just the SD card reader.

Re: VB won't detect SD card reader

Posted: 12. Jul 2013, 11:30
by mpack
Do you actually have an sdcard in the sdcard reader?

Re: VB won't detect SD card reader

Posted: 12. Jul 2013, 18:53
by Bucic
mpack wrote:Do you actually have an sdcard in the sdcard reader?
Yes, I do. I even tried adding the filter while having the sd card contents actually displayed in the file manager. I've also tried with two different SD cards.

Re: VB won't detect SD card reader

Posted: 13. Jul 2013, 12:05
by mpack
Reading back... can you please clarify that this is a USB device? Your first post is rather tentative on this point, and the grep output shows mention of CardBus and direct SD Host Controller - but nothing about USB mass storage.

VirtualBox certainly can't access it directly if it isn't USB. However if it's visible to the host as a hard disk then accessing the disk as a shared folder should be possible.

Re: VB won't detect SD card reader

Posted: 13. Jul 2013, 21:28
by Bucic
OK, I think what happened is that I confused my built-in card reader with my other, USB card reader. I'm sorry :oops:

Re: VB won't detect SD card reader

Posted: 14. Jul 2013, 11:55
by mpack
No problem, at least it got cleared up.