Buongiorno,
dopo avere aggiornato il sistema operativo del mac book pro alla versione High Sierra, quando connetto il lettore di smart card (CASTEL EZ100PU) sulla macchina virtuale WIN7 pro il dispositivo viene condiviso tra host e guest.
Ne consegue che il software installato su win7 non ha più accesso diretto al lettore di smart card e tanto meno alla smart card.
Quindi le domande sono:
1. esiste un modo per evitare la condivisione della risorsa ? L'obiettivo è di collegare il lettore di smart card e renderlo esclusivo al sys op guest: win7 (come succedeva prima dell'aggiornamento)
2. effettuando l'upgrade alla versione VmWare fusion 10 posso risolvere il problema ?
Non ho ancora effettuato l'upgrade a VmWare fusion 10 perché voglio avere certezze sulla risoluzione.Eventualmente mio malgrado dovrò abbandonare le macchine virtuali.
In attesa di qualche gentile risposta colgo occasione per porgere cordiali saluti.
Fabrizio
Since you cannot even see a USB thumb drive, something else is wrong.
Can you check from Terminal if the VMware USB Arbitrator is running?
ps -ef | grep vmware-usb
I am not yet on High Sierra so I don't have a reference screen. But from other posts related to High Sierra, there seems to be a VMware kext that gets blocked. You can go to System Preferences - Security and Privacy and allow the VMware kext.
EDIT: You can look at Figure 2 in this link. You might see "VMware" kext being blocked so you have to allow them.
Try to add the following lines to the vmx configuration file
usb.generic.allowCCID = "TRUE"
usb.ccid.disable = "TRUE"
It will disable the sharing between host and guest VM(s) of the smart card reader device. To have exclusive access for the VM, you would need to connect from the USB menu just like other USB devices such as USB thumb drives.
Grazie per la risposta.
Ho provveduto ad aggiornare il file della macchina virtuale. Di seguito i parametri:
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "12"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsisas1068"
sata0.present = "TRUE"
memsize = "2048"
mem.hotadd = "TRUE"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Disco virtuale-000001.vmdk"
sata0:1.present = "TRUE"
sata0:1.fileName = "cdrom0"
sata0:1.deviceType = "cdrom-raw"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.virtualDev = "e1000"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
ethernet0.linkStatePropagation.enable = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
svga.graphicsMemoryKB = "1048576"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
usb.vbluetooth.startConnected = "FALSE"
tools.syncTime = "TRUE"
displayName = "Windows 7 x64"
guestOS = "windows7-64"
nvram = "Windows 7 x64.nvram"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "upgradeAtPowerCycle"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
extendedConfigFile = "Windows 7 x64.vmxf"
numa.autosize.vcpu.maxPerVirtualNode = "1"
numa.autosize.cookie = "10001"
uuid.bios = "56 4d c3 a7 02 02 c4 4e-f2 e8 2f 88 93 39 00 c0"
uuid.location = "56 4d c3 a7 02 02 c4 4e-f2 e8 2f 88 93 39 00 c0"
migrate.hostlog = "./Windows 7 x64-4b51ba96.hlog"
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "160"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
vmci0.pciSlotNumber = "36"
sata0.pciSlotNumber = "37"
scsi0.sasWWID = "50 05 05 67 02 02 c4 40"
ethernet0.generatedAddress = "00:0C:29:39:00:C0"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "-1824980800"
monitor.phys_bits_used = "42"
vmotion.checkpointFBSize = "8388608"
vmotion.checkpointSVGAPrimarySize = "67108864"
cleanShutdown = "FALSE"
softPowerOff = "FALSE"
usb:1.speed = "2"
usb:1.present = "TRUE"
usb:1.deviceType = "hub"
usb:1.port = "1"
usb:1.parent = "-1"
ethernet0.startConnected = "TRUE"
sata0:1.startConnected = "FALSE"
gui.fitGuestUsingNativeDisplayResolution = "TRUE"
tools.remindInstall = "FALSE"
toolsInstallManager.updateCounter = "4"
toolsInstallManager.lastInstallError = "0"
svga.guestBackedPrimaryAware = "TRUE"
checkpoint.vmState = ""
ehci.present = "TRUE"
ehci.pciSlotNumber = "35"
usb.generic.pluginAction = "ask"
usb.generic.allowCCID = "TRUE"
usb.ccid.disable = "TRUE"
isolation.tools.hgfs.disable = "TRUE"
hgfs.mapRootShare = "FALSE"
hgfs.linkRootShare = "FALSE"
usb_xhci.present = "TRUE"
floppy0.present = "FALSE"
usb_xhci.pciSlotNumber = "192"
usb_xhci:4.present = "TRUE"
usb_xhci:4.deviceType = "hid"
usb_xhci:4.port = "4"
usb_xhci:4.parent = "-1"
ehci:0.present = "TRUE"
ehci:0.deviceType = "video"
ehci:0.port = "0"
ehci:0.parent = "-1"
unity.wasCapable = "TRUE"
Ora non vede alcun dispositivo USB.
Ho provato a configurare USB 1, USB 2.0, e USB 3.0 inutilmente.
Le modifiche alla condivisione non vengono usate.
Ho re-installato i vmware tools.
Ho riavviato ad ogni modifica.
La macchina virtuale è completamente isolata per i dispositivi USB.
Ho cercato un tutorial sui parametri di configurazione del file .vmx senza successo.
In attesa di un gradito aiuto colgo occasione per porgere cordiali saluti
Fabrizio
After you add the two lines in the vmx configuration file, do you see the smart card reader in the USB menu to connect?
Without those two lines in the vmx file, the smart card reader will be shareable between VMs and host. I have pasted a screenshot example below; without those extra two lines there is a "shared" option in the USB menu. If I connect the "Shared OMNIKEY AG CardMan 3121", Windows 10 Device Manager will show "Microsoft Usbccid Smartcard Reader (WUDF)" and using a Microsoft driver. In some cases, without those two lines, the smart card reader device does not appear at all (not even the shared option).
With the additonal lines in the vmx, the "Connect Shared OMNIKEY AG CardMan 3121" will not appear. In the exclusive mode, the Windows 10 VM will use the native device for the particular device (in this case it will show up in Device Manager as "Omnikey 3x21").
Maybe you should try USB 2.0 setting as the product looks like is designed for USB 2.0.
http://www.castlestech.com/products/ez100-series/
Try to update the driver for both the macOS host and Windows 7 guest VM.
http://www.castlestech.com/zh-hant/%e6%aa%94%e6%a1%88%e4%b8%8b%e8%bc%89/
You can also attach the vmware.log in the next reply if it still does not work for you. There is an "Attach" at the lower right hand side of this Reply box.
Hi,
la mia macchina virtuale è completamente isolata.
Anche inserendo una chiavetta USB non viene vista dalla macchina virtuale.
Ho preinstallato i vmware tools e riavviato il sistema sia host che guest, inutilmente.
Allego screenshot e log.
Spero siano di aiuto.
Fabrizio
Since you cannot even see a USB thumb drive, something else is wrong.
Can you check from Terminal if the VMware USB Arbitrator is running?
ps -ef | grep vmware-usb
I am not yet on High Sierra so I don't have a reference screen. But from other posts related to High Sierra, there seems to be a VMware kext that gets blocked. You can go to System Preferences - Security and Privacy and allow the VMware kext.
EDIT: You can look at Figure 2 in this link. You might see "VMware" kext being blocked so you have to allow them.
Buongiorno,
ho provato a rendere "di fiducia" VMware nel kext dal pannello della sicurezza di macosx. Ma non ho avuto grande successo.
Ho quindi effettuato un aggiornamento di mac osx appena uscito.
Ho disinstallato VMware-Fusion-8.5.8-5824040
L'ho re-installato accertandomi di renderlo "di fiducia" la stessa versione: VMware-Fusion-8.5.8-5824040.
Ho riavviato win7 sulla macchina virtuale e ora accetta le chiavette usb e le smart card correttamente chiedendomi a quale sys op agganciarle.
Grazie per l'assistenza.
Fabrizio OLDRATI