VMware Communities
letrois
Contributor
Contributor

Need help with sharing USB from Linux host to Win10 guest

Host: Ubuntu 20.04, Guest:Win10 professional Just switched from Virtualbox to VMware. Basically no problem. But here is one particular USB device, as "Bus 003 device 005" shown in lsusb result in host Ubuntu. ----------------------------------------------------------------------------------- > lsusb (# "SHOWN"/"NOT SHOWN" added by myself as remark) Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 004: ID 0bda:4852 Realtek Semiconductor Corp. Bluetooth Radio (SHOWN) Bus 003 Device 003: ID 27c6:5503 Shenzhen Goodix Technology Co.,Ltd. Goodix FingerPrint Device (SHOWN) Bus 003 Device 005: ID 163c:54a5 Watchdata USB Key (NOT SHOWN) Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 13d3:56ff IMC Networks Integrated Camera (SHOWN) Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver (SHOWN) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -------------------------------------------------------------------------------------------------------- All 5 USB devices are available in VirtualBox interface, so that I can choose which ones will be shared with the guest OS. While "Bus 003 Device 005: ID 163c:54a5 Watchdata USB Key" is not available in VMware interface of "removable devices". And all other 4 devices are available and usable. What is the reason? What shall I do to? TKS in advance
Reply
0 Kudos
2 Replies
bluefirestorm
Champion
Champion

From several versions back (I think since version 9.x), Smartcard devices have been made shared by default between host and guest VMs. You might see a virtual CCID device in the Device Manager on the Windows VM. That is the likely reason why the Watchdata USB key is not shown in the list.

You could shut down the VM an add the following lines to the vmx configuration file. This means CCID will be exclusive to either to the host or to one guest VM.

usb.generic.allowCCID = "TRUE"
usb.ccid.disable = "TRUE"

In case that does not make the Watchdata device show up even with those lines, you might also have to stop the pcscd on the Ubuntu host.

 

Reply
0 Kudos
letrois
Contributor
Contributor

It worked. Thx a lot!!!
Reply
0 Kudos