Add a USB Controller to a Virtual Machine in the vSphere Web Client

You can add two USB controllers to a virtual machine. The xHCI controller, available for Linux guest operating systems only, supports USB 3.0 superspeed, 2.0, and 1.1 devices. The EHCI+UHCI controller supports USB 2.0 and 1.1 devices.

imagePrerequisites

ü ESXi hosts must have USB controller hardware and modules that support USB 2.0 and 1.1 devices present.

ü Client computers must have USB controller hardware and modules that support USB 3.0, 2.0, and 1.1 devices present.

ü To use the xHCI controller on a Linux guest, ensure that the Linux kernel version is 2.6.35 or later.

ü Verify that the virtual machine is powered on.

ü Required Privilege (ESXi host passthrough): Virtual Machine.Configuration.Add or Remove Device

For virtual machines with Linux guests, you can add one or both controllers, but 3.0 superspeed devices are not supported for passthrough from an ESXi host to a virtual machine. You cannot add two controllers of the same type.

clip_image002 Procedure

1. Select a virtual machine.

2. In the VM Hardware panel, click Edit Settings.

3. Click Virtual Hardware.

4. From the Add a device drop-down menu, select USB Controller and click Add device.

The USB controller appears in the virtual device list above.

image

5. Click the USB controller triangle to expand the USB controller options.

6. Select the type of USB controller.

SNAGHTML133ffbe0

7. Click OK

NOTE In vSphere client, when you reopen the Properties Editor, the xHCI controller appears on the Hardware tab as USB xHCI controller. The EHCI+UHCI controller appears as USB controller.


Add USB Devices from an ESXi Host to a Virtual Machine in the vSphere Web Client

clip_image004 Prerequisites

1. Verify that the virtual machine is using hardware version 7 or later.

2. Verify that a USB controller is present.

3. To use vMotion to migrate a virtual machine with multiple USB devices, you must enable all attached USB devices for vMotion. You cannot migrate individual USB devices

4. Required privileges: Virtual Machine.Configuration.HostUSBDevice

clip_image005 Procedure

1. Select a virtual machine.

2. In the VM Hardware panel, click Edit Settings.

3. Click Virtual Hardware.

4. From the Add a device drop-down menu, select USB Device and click Add device.

The USB device appears in the virtual device list above.

5. Click the USB device triangle to expand the USB device options.

6. Select the device to add.

7. If you do not plan to migrate a virtual machine with USB devices attached, deselect the Support vMotion option. This reduces migration complexity, which results in better performance and stability.

8. Click OK.

 

image

You can add multiple USB devices, but only one device at a time.

 

image