Enabling passthrough USB etoken of Feitian to VM on vSphere 8.0u3

vSphere 8.0u3

The USB of Feitian etoken can not add to VM, and esxi host show passthrough disabled.

[root@ESXi-221:~] lsusb
Bus 001 Device 001: ID 0e0f:8003 VMware, Inc. Root Hub
Bus 001 Device 002: ID 1604:10c0 Tascam Dell Integrated Hub
Bus 001 Device 003: ID 1604:10c0 Tascam Dell Integrated Hub
Bus 001 Device 004: ID 1604:10c0 Tascam Dell Integrated Hub
Bus 001 Device 005: ID 096e:0305 Feitian Technologies, Inc. ePass2000Auto

[root@ESXi-221:~] esxcli hardware usb passthrough device list
Bus Dev VendorId ProductId Enabled Can Connect to VM Name
--- --- -------- --------- ------- ------------------------- ----
1 5 96e 305 false no (passthrough disabled) Feitian Technologies, Inc. ePass2000Auto

Login ESXi, setting usbCdromPassthroughEnabled=1, and then reboot ESXi.

[root@ESXi-221:~] localcli system module parameters set -p "usbCdromPassthroughEnabled=1" -m vmkusb
[root@ESXi-221:~] localcli system module parameters list --module=vmkusb
Name Type Value Description
--------------------------- ------ ----- -----------
usbBusFullScanOnBootEnabled int Enable USB Bus full scan on system boot: 0 No (Default), 1 Yes
usbCdromPassthroughEnabled int 1 Enable USB CDROM device for USB passtrough: 0 No (Default), 1 Yes
usbStorageRegisterDelaySecs int Delay to register cached USB storage device: Min: 0 second, Max: 600 seconds, Default: 10 seconds
vusb0_mac string Persist vusb0 MAC Address: xx:xx:xx:xx:xx:xx
vusb1_mac string Persist vusb1 MAC Address: xx:xx:xx:xx:xx:xx
vusb2_mac string Persist vusb2 MAC Address: xx:xx:xx:xx:xx:xx
vusb3_mac string Persist vusb3 MAC Address: xx:xx:xx:xx:xx:xx
[root@ESXi-221:~] reboot
[root@ESXi-221:~] esxcli hardware usb passthrough device list
Bus Dev VendorId ProductId Enabled Can Connect to VM Name
--- --- -------- --------- ------- ----------------- ----
1 2 96e 305 true yes Feitian Technologies, Inc. ePass2000Auto

Modify the VM vmx config file, append params of below.

[root@ESXi-221:~] vi /vmfs/volumes/G200_VMware_LUN02/DESKTOP-DL25DK7/DESKTOP-DL25DK7.vmx
usb.generic.allowCCID = "TRUE"
usb.quirks.device0 = "0x96e:0x305 skip-reset,skip-refresh,skip-setconfig"

0x96e:0x305 is the usb Bus ID.

Edit settings of virtual hardware, REMOVE CD/DVD DRIVE, and then ADD NEW DEVICE - HOST USB DEVICE.

The CD/DVD drive will conflict with Feitian etoken, the USB drive of Feitian will start failed, so remove CD/DVD drive first.

Knowledge Base

Unable to passthrough a USB smart card reader to a guest operating system in ESXi version 6.x and later.pdf |
Problems using some USB devices in a virtual machine.pdf |