Internal SdCard reader not recognized in Virtualbox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Xavierx2
Posts: 4
Joined: 14. Apr 2020, 13:43

Internal SdCard reader not recognized in Virtualbox

Post by Xavierx2 »

Hello everyone,

I Have a Win 10 / 64 PC with an internal SDCard reader.
I would like to launch a software on a virtual machine with Win 7 / 32 bits. To run the software, I need the key which is on the SDCard.
Does anybody know how to read the Internal SDCard reader from the virtual machine?
Thank you in advance for your help.
Xavier
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Internal SdCard reader not recognized in Virtualbox

Post by scottgus1 »

From searching the PDF of the manual, found in the install folder of the Virtualbox on the PC:
8.8.8 USB Card Reader Settings
The following setting defines access to a USB Card Reader by the guest environment. USB card
readers are typically used for accessing data on memory cards such as CompactFlash (CF), Secure
Digital (SD), or MultiMediaCard (MMC).
• --usbcardreader on|off: Enables and disables the USB card reader interface.
The full command would be, on a Windows host:

cd "drive:\path\to\Virtualbox\install\folder"
vboxmanage modifyvm "vmname" --usbcardreader on

The guest probably has to be fully shut-down, not save-stated.
Xavierx2
Posts: 4
Joined: 14. Apr 2020, 13:43

Re: Internal SdCard reader not recognized in Virtualbox

Post by Xavierx2 »

Thank you @scottgus1 for your response. I tried this unfortunately my sd card is not accessible on VM only on the host.
As it is an internal Card reader of the laptop, maybe it is not detectable on the host. At least i don't see it when i am on the VM Computer
Image1.gif
Image1.gif (7.63 KiB) Viewed 7364 times
Image2.gif
Image2.gif (9.08 KiB) Viewed 7364 times
Image3.PNG
Image3.PNG (18.68 KiB) Viewed 7364 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Internal SdCard reader not recognized in Virtualbox

Post by scottgus1 »

I have not tried this myself either. Please start the guest from full power off, not save-state. Run until you see the problem happen, then shut down the guest from within the guest OS if possible. If not possible, close the Virtualbox window for the guest with the Power Off option set.

Please zip and post a guest vbox.log and the guest's .vbox file, using the forum's Upload Attachment tab.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Internal SdCard reader not recognized in Virtualbox

Post by fth0 »

Just in case no one has noticed: An USB SD Card Reader and an USB Smart Card Reader are two totally different things, as are SD cards and smart cards. ;)
Xavierx2
Posts: 4
Joined: 14. Apr 2020, 13:43

Re: Internal SdCard reader not recognized in Virtualbox

Post by Xavierx2 »

Hi scottgus1,
The thing is that i see the device on the host as the image shows you but i cannot access it.
The Vbox is too big to be uploaded. The image i sent you were on the guest win 7 32bit.
On the host i see the SD card reader and i can access it but not on the VM.
Screen Shot 04-16-20 at 08.05 AM.PNG
Screen Shot 04-16-20 at 08.05 AM.PNG (12.82 KiB) Viewed 7327 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Internal SdCard reader not recognized in Virtualbox

Post by scottgus1 »

Very good point, fth0! 'Tis a smart card reader.

Xavierx2, I'm not certain this device will be usable in a guest. Your device appears to be a smart card reader, not an SD card reader, per your attached image, posting.php?mode=reply&f=6&t=97669#pr473896 So the vboxmanage SD card command is probably not going to help.

USB devices can be passed into a guest under certain circumstances, most likely when the device is unpluggable from the host and when a USB filter can be set up for it via USB basics and troubleshooting. If you cannot unplug this device then you probably are not going to be able to use it. An external smart-card reader attaching via USB might work though.

Re uploading files:
Xavierx2 wrote:The Vbox is too big to be uploaded.
scottgus1 wrote:Please zip and post a guest vbox.log and the guest's .vbox file
Xavierx2
Posts: 4
Joined: 14. Apr 2020, 13:43

Re: Internal SdCard reader not recognized in Virtualbox

Post by Xavierx2 »

It is an internal microSDHC reader that i have.
Yes with an external USB reader it works but i wanted to avoid having a USB key on my laptop and use the MicroSDHC reader.
I learnt that it works on VMWARE.

If it is not possible i can understand that.

Thank you for your help.

I will have to buy an external USB Microsd card reader
Post Reply