VMware Communities
Nekote
Contributor
Contributor

Smart card timeout whether using shared or passthrough USB config for reader

Recently replaced my smart card with a NIST SP 800-73 smart card. The new card reads on the host, but times out in my Windows 10 VM guest. I am using VMware Workstation 15.1.0 build-13591040.

I've tried forcing passthrough with the following 2 ilnes in my vmx file, but the smart card still times out:

usb.generic.allowCCID = "TRUE"

usb.ccid.disable = "TRUE"

The reader is recognized in the vmware.log as:

vmx| I125: USB: Found device [name:Realtek\ USB2.0-CRW vid:0bda pid:0169 path:1/0/0/12 speed:high family:storage,storage-bulk,smart-card virtPath:ehci:0 instanceId:USB\\VID_0BDA&PID_0169\\20070818000000000 serialnum:20070818000000000 arbRuntimeKey:15 ownerdisplay:Windows\ 10\ Pro version:3], connected to ehci port 0.

The Windows drivers for both the reader and the card are the same in the host and guest, but Windows event viewer shows the following errors when reading the card in the vm:

Error WudfUsbccidDrv Event ID 1

A Request has returned failure.

MsgType: 0x80

ICCStatus: 0x0

CmdStatus: 0x1

Error: 0xFE

SW1: 0x0

SW2: 0x0

Error WudfUsbccidDrv Event ID 11

An operation has failed (0x3, 0x3, 0x40, 0xFE).

ScCardPowerColdReset: IccPowerOnStatusError

HResult: {Device Timeout}

The specified I/O operation on %hs was not completed before the time-out period expired.

Any ideas for troubleshooting?

Guest identifies both reader and smart card

pastedImage_0.png

Reply
0 Kudos
1 Reply
Nekote
Contributor
Contributor

Update:

Installed the manufacturer's smart card reader driver into the VM and updated the device to use the manufacturer's driver instead of the generic Microsoft driver. VM detects the reader in both shared and passthrough modes, but the smart card is no longer detected by the guest.

I decided to load the VM image into VMware Workstation Player 15 out of curiosity and the smart card was detected.

I am still unable to determine why the smart card isn't able to be accessed by VMware Workstation Pro 15. Next step is to reinstall Workstation Pro 15.

Reply
0 Kudos