Internal Smart Card reader issue

Discussions related to using VirtualBox on Windows hosts.
Post Reply
andrew681
Posts: 4
Joined: 28. Jul 2017, 22:33

Internal Smart Card reader issue

Post by andrew681 »

Hi there.
Host: Windows 10 64 bit
Guest: Windows 7 32 bit
VBox version 5.1.24 r117012
Extension pack installed, same version

Having trouble getting VM to recognize my smart card reader.
Is an internal Smart Card reader considered a USB device? I assumed yes, and so trying to follow the USB Filters FAQ / troubleshooting thread, but may as well start from ground zero.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Internal Smart Card reader issue

Post by socratis »

Well, if you followed the whole series of posts, do as the last post dictates. But please, read it once more...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
andrew681
Posts: 4
Joined: 28. Jul 2017, 22:33

Re: Internal Smart Card reader issue

Post by andrew681 »

OK.
Attached the VBoxManager output.
I'm not sure I have the correct filter parameters; I don't see anything in the reference list (from step 3)that matches my smart card reader. But I'm not sure I'm looking in the right place for the Vendor/Product ID. On the host, I right click the smart card reader to get properties and details, and I see this for hardware ID: USB\Vid_80EE&Pid_CAFE&MI_01
For some reason I thought it should be the Broadcom Corp device
Attachments
VBoxManage output.zip
(2.58 KiB) Downloaded 65 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Internal Smart Card reader issue

Post by socratis »

andrew681 wrote:I don't see anything in the reference list (from step 3) that matches my smart card reader.
There is nothing in step 3 that should match your device. Are you sure we're talking about the same USB basics and troubleshooting guide?
andrew681 wrote:I see this for hardware ID: USB\Vid_80EE&Pid_CAFE&MI_01. For some reason I thought it should be the Broadcom Corp device
That's VirtualBox itself. So that's definitely not the correct place that you're looking at. According to the "VBoxManage list usbhost" command you have the following (I summarized the output):
[color=#800080]VBoxManage list usbhost[/color] wrote:
VendorId    ProductId   Name
------------------------------------
0x8087      0x0a2b      Intel Corp.
0x1bcf      0x2b91      Sunplus Innovation Technology Inc.
0x0a5c      0x5832      Broadcom Corp, 5880
0x0a5c      0x5832      Broadcom Corp, 5880
0x046d      0xc402      Logitech, USB-PS/2 Trackball
0x045e      0x00db      Microsoft, Natural® Ergonomic Keyboard 4000
Which one do you think it might be? Another thing that you could do is to remove all unnecessary USB devices from the host, or start plugging/unplugging and identify each and every device. The funny thing is that VirtualBox sees two of these devices. No clue why this is happening.
[color=#800080]VBoxManage showvminfo Win7x32[/color] wrote:
USB:             disabled
EHCI:            disabled
XHCI:            enabled
You enabled USB3 for a Win7 VM. 1) why? and 2) did you install the Intel drivers as you were directed to do in the guide?
[color=#800080]VBoxManage showvminfo Win7x32[/color] wrote:
Index:            2
Active:           yes
Name:             Broadcom Corp.  [0101]
VendorId:         0a5c
ProductId:        5832
Revision:         0101
Again, once more, this is the third sign that you didn't actually read the USB basics and troubleshooting guide.

Finally, and I hate to point the fact that it is in the guide, make sure that your Smart Card Reader is not a device that belongs to the "Uncapturable" category.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
andrew681
Posts: 4
Joined: 28. Jul 2017, 22:33

Re: Internal Smart Card reader issue

Post by andrew681 »

Thank you for the response. Maybe you should read the last note first in this response first?

Sorry, I was referring to Linux link in step 3 in the "Fix List" that shows up in various posts, like this one: viewtopic.php?f=2&t=79254#p370047. Step 3: 3.Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID. Check also http://www.linux-usb.org/usb.ids to make sure that you have the numbers correct.

I'm not sure which one of the Broadcom devices is correct. From inside the VM, going to Devices/USB/USB Settings and leaving my pointer on each one - one shows a serial number in the pop-up window, one does not)

I enabled USB3 on the host because I confused the host/guest guidelines in #4: USB Filters. I have installed USB2 on the guest and switched the host to USB2.

My best guess is that my device falls into the Uncapturable category. I cannot physically unplug or eject (eg., like an external drive by right clicking the device and choosing 'eject' from pop up menu) the device, I can only disable / uninstall it. So I tried disabling it, starting the VM, then enabling it on the host, then trying to capture it on-the-fly in the guest - but not sure that is the correct approach or even makes sense if the device is Uncapturable.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Internal Smart Card reader issue

Post by socratis »

andrew681 wrote:My best guess is that my device falls into the Uncapturable category.
Mine too. Which means that something else is grabbing the device during boot time, most probably a service. I don't have the list of services that are running in your computer in front of me, so you'll have to go through that and see which service looks "suspicious" and set it to start "Manually" or "Disabled". It's a trial and error process I'm afraid...
andrew681 wrote:Maybe you should read the last note first in this response first?
I did read your first post, but I'm not sure which part you're referring to. Could you clarify?
andrew681 wrote:Is an internal Smart Card reader considered a USB device? I assumed yes, and so trying to follow the USB Filters FAQ / troubleshooting thread, but may as well start from ground zero.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
andrew681
Posts: 4
Joined: 28. Jul 2017, 22:33

Re: Internal Smart Card reader issue

Post by andrew681 »

Ok, I will try stopping/starting some the services that are set to start automatically and report back any success.

Some are unstoppable, in particular, one that has a dependency with the Smartcard reader...Service name: Windows Driver Foundation - User-mode Driver Framework.
Description: Creates and manages user-mode driver processes. This service cannot be stopped.
However, there are Startup options (eg, disable) for the above service. Maybe I'll try that.
I did read your first post, but I'm not sure which part you're r.eferring to. Could you clarify?
I meant my answer to your last question (is my device uncapturable?) may be more relevant or useful to you at this point than my answers to your other questions.
Radoslav
Posts: 5
Joined: 21. Feb 2018, 09:28
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win10 64bit, Win10 32bit, Ubuntu 64bit

Re: Internal Smart Card reader issue

Post by Radoslav »

Hello,
I'm trying too use internal smartcard reader in guest OS.
Host OS: Win10 64bit
Guest OS: Win10 32bit

It is Broadcom 0a5c:5801 device. I can connect it correctly, it is visible in guest system, but when I plugin smart card, reader can't see it.
To verify, I use certutil -scinfo

Code: Select all

The Microsoft Smart Card Resource Manager is running.
Current reader/card status:
Readers: 6
  0: AKS ifdh 0
  1: AKS ifdh 1
  2: AKS VR 0
  3: Broadcom Corp Contacted SmartCard 0
  4: Rainbow Technologies iKeyVirtualReader 0
  5: Rainbow Technologies iKeyVirtualReader 1
--- Reader: AKS ifdh 0
--- Status: SCARD_STATE_EMPTY
--- Status: No card.
---   Card:
--- Reader: AKS ifdh 1
--- Status: SCARD_STATE_EMPTY
--- Status: No card.
---   Card:
--- Reader: AKS VR 0
--- Status: SCARD_STATE_EMPTY
--- Status: No card.
---   Card:
--- Reader: Broadcom Corp Contacted SmartCard 0
--- Status: SCARD_STATE_EMPTY
--- Status: No card.
---   Card:
--- Reader: Rainbow Technologies iKeyVirtualReader 0
--- Status: SCARD_STATE_EMPTY
--- Status: No card.
---   Card:
--- Reader: Rainbow Technologies iKeyVirtualReader 1
--- Status: SCARD_STATE_EMPTY
--- Status: No card.
---   Card:
I have tried disable SmartCard reader services, on host, restart, etc, but can't get it work. I'm attaching guest log, and other requested informations.

VBoxManage list usbhost

Code: Select all

Host USB Devices:

UUID:               17736cb5-548f-4418-9cfb-95d41e3b5a4d
VendorId:           0x413c (413C)
ProductId:          0x8197 (8197)
Revision:           1.18 (0118)
Port:               4
USB version/speed:  2/High
Manufacturer:       Dell Computer Corp.
Address:            {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}\0000
Current State:      Busy

UUID:               21a78105-91cc-4b80-86f5-8193557bbc78
VendorId:           0x413c (413C)
ProductId:          0x818e (818E)
Revision:           0.0 (0000)
Port:               6
USB version/speed:  2/High
Manufacturer:       Dell
Product:            DW5560
SerialNumber:       0DFAE1C1CABF8CM0
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0011
Current State:      Busy

UUID:               fb2abec4-afea-4a24-85c1-98a740fc8acc
VendorId:           0x0c45 (0C45)
ProductId:          0x643f (643F)
Revision:           40.6 (4006)
Port:               5
USB version/speed:  2/High
Manufacturer:       Microdia
Product:            Dell Integrated HD Webcam
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0008
Current State:      Busy

UUID:               f914aae0-4295-49c6-adfa-2788c6e9f3b7
VendorId:           0x0a5c (0A5C)
ProductId:          0x5801 (5801)
Revision:           1.1 (0101)
Port:               8
USB version/speed:  1/Full
Manufacturer:       Broadcom Corp
Product:            5880
SerialNumber:       0123456789ABCD
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0010
Current State:      Busy

UUID:               849da2da-68c3-485d-b3dd-e3b39cfcaa41
VendorId:           0x046d (046D)
ProductId:          0xc52b (C52B)
Revision:           18.5 (1805)
Port:               2
USB version/speed:  2/High
Manufacturer:       Logitech
Product:            USB Receiver
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0007
Current State:      Busy

VBoxManage list extpacks

Code: Select all

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.2.6
Revision:     120293
Edition:
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:
VBoxManage list usbfilters

Code: Select all

Global USB Device Filters:

<none>
Win10_32bit-2018-02-21-08-24-27.zip
Vbox.log
(34.96 KiB) Downloaded 11 times
Is there solution for this reader type ? It is possible to use it in Guest OS ?

Thank You.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Internal Smart Card reader issue

Post by socratis »

Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply