autoconnect
command fails. usb.autoConnect.device1 = "vid:xxxx pid:xxxx"
vmware.log
:USB: Connecting device <device identifier> failed: 17
By default, Workstation ignores USB Human Interface Devices (HIDs) such as mice and keyboards. This is done to ensure that a device is not connected to the virtual machine, taking it away from the host, and leaving you unable to control the host.
Because Workstation ignores HIDs, you cannot connect them to a virtual machine automatically.
To work around this issue, instruct Workstation to treat the the HID as a smart card and then automatically connect the device. To implement this workaround:
.vmx
file:usb.generic.allowHID = "TRUE"
vid
and pid
: vmware.log
file.vmx | USB: Found device [name:Apple\ IR\ Receiver vid:05ac pid:8240 path:13/7/2 speed:full family:hid]
vid
and pid
information. Make a note of the vid
and pid
values.vmware.log
file.vid>
and <pid>
with the values you found earlier: usb.quirks.device0 = "0x<vid>:0x<pid> allow"
usb.quirks.device0 = "0x05ac:0x8240 allow"
settings.ini
file. The file's location varies by host operating system:Windows Vista and 7:
C:\ProgramData\VMware\VMware USB Arbitration Service\ Windows XP:
C:\Documents and Settings\All Users\Application Data\VMware\USB Arbitration Service\ Linux:
/usr/bin/vmware-usbarbitrator.settings.ini
file does not exist, you must create it. To create the file:.txt
file using Notepad settings.ini
filevid>
and <pid>
with the values you found earlier:usb.quirks.device0 = "0x<vid>:0x<pid> smart-card"
usb.quirks.device0 = "0x05ac:0x8240 smart-card"
settings.ini
to automatically connect the device upon boot, replacing <vid>
and <pid>
with the values noted in Step 2:usb.autoconnect.device0 = "0x<vid>:0x<pid>"
usb.autoconnect.device0 = "0x05ac:0x8240"
settings.ini
file.Workstation supports auto-connecting smart cards, so adding this quirk allows the USB device to be connected automatically.