查看完整版本: [轉貼]USB support for ESX/ESXi 4.1 and ESXi 5.0

chun 2012-8-29 19:57

[轉貼]USB support for ESX/ESXi 4.1 and ESXi 5.0

<a href="http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&amp;popup=true&amp;languageId=&amp;externalID=1022290">http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&amp;popup=true&amp;languageId=&amp;externalID=1022290</a>
<div><br></div><div><h2 style="margin-bottom: 16px; font-size: 22px; font-weight: normal; color: rgb(12, 141, 99); clear: none; font-family: Arial, Helvetica, sans-serif; text-align: -webkit-auto; ">USB support for ESX/ESXi 4.1 and ESXi 5.0</h2><div class="authoreddoc" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; "><h4 class="docheading Purpose" style="margin-top: 5px; font-size: 16px; color: rgb(255, 153, 0); line-height: 16px; padding-top: 10px; padding-right: 5px; padding-bottom: 10px; padding-left: 10px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(161, 194, 225); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(161, 194, 225); ">Purpose</h4><div class="doccontent cc_Purpose" style="margin-left: 11px; margin-right: 10px; padding-top: 5px; padding-bottom: 10px; "><content style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><div><span style="font-family: Arial; font-size: 10pt; ">ESX/ESXi 4.1 and ESXi 5.0 supports&nbsp;USB device passthrough from an ESX or ESXi to a virtual machine.</span></div><div>&nbsp;</div><div><span style="font-family: Arial; font-size: 10pt; ">This article provides information on:</span></div><ul><li><div><span style="font-family: Arial; font-size: 10pt; ">USB device passthrough requirements and limitations</span></div></li><li><div><span style="font-family: Arial; font-size: 10pt; ">How to&nbsp;add a USB controller and a USB device.</span></div></li></ul></content></div><h4 class="docheading Resolution" style="margin-top: 5px; font-size: 16px; color: rgb(255, 153, 0); line-height: 16px; padding-top: 10px; padding-right: 5px; padding-bottom: 10px; padding-left: 10px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(161, 194, 225); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(161, 194, 225); ">Resolution</h4><div class="doccontent cc_Resolution" style="margin-left: 11px; margin-right: 10px; padding-top: 5px; padding-bottom: 10px; "><content style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><h3 style="margin-bottom: 14px; font-size: 14px; color: rgb(0, 0, 0); padding-top: 10px; padding-bottom: 5px; "><span style="font-family: Arial; font-size: 12pt; ">Requirements</span></h3><div><span style="font-family: Arial; font-size: 10pt; ">USB device passthrough requires:</span></div><ul><li><div><span style="font-family: Arial; font-size: 10pt; ">Virtual hardware, version 7 or higher</span></div></li><li><div><span style="font-family: Arial; font-size: 10pt; ">A USB controller</span></div></li><li><div><span style="font-family: Arial; font-size: 10pt; ">A USB device or device hub</span></div></li></ul><font size="2" style="font-family: Arial; ">With the release of vSphere 5.0, there are now two types of USB passthrough available:</font><br><ul style="font-family: Arial; "><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2"><span style="font-weight: bold; ">Host-Connected</span>&nbsp;– This has been available since vSphere 4.1, this allows a USB device plugged directly into the ESX/ESXi host to be passed through to a virtual machine</font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2"><span style="font-weight: bold; ">Client-Connected</span>&nbsp;– This feature became available with the release of vSphere 5.0, this allows a USB device plugged into a user’s workstation to be passed through to a virtual machine via the vSphere Client</font></li></ul><font size="2" style="font-family: Arial; ">There are also now two types of USB controller available for virtual machines to utilize:</font><br><ul><li style="font-family: Arial; "><font size="2"><span style="font-weight: bold; ">EHCI+UHCI controller</span>&nbsp;– This is the classic USB controller allowing the usage of USB 2.0 and USB 1.1 devices</font></li><li><font size="2" style="font-family: Arial; "><span style="font-weight: bold; ">xHCI controlle</span>r – This is the newer controller type allowing the usage of faster USB 3.0 devices, virtual hardware version 8 is required to use this controller</font><br></li></ul><h3 style="margin-bottom: 14px; font-size: 14px; color: rgb(0, 0, 0); padding-top: 10px; padding-bottom: 5px; "><span style="font-family: Arial; font-size: 12pt; ">Common Limitations</span></h3><div><span style="font-family: Arial; font-size: 10pt; ">The USB Controller has these limitations:</span></div><ul><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Minimum virtual hardware version 7 is required</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Only one USB controller of each type can be added to a virtual machine</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">The USB arbitrator can monitor a maximum of 15 USB controllers. If your system includes an additional number of controllers and you connect USB devices to these controllers, the devices are not available to be passed through to a virtual machine</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">You must add a USB controller to a virtual machine before you can add a USB device</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">You must remove all USB devices from a virtual machine before you can remove the controller</span></span></li></ul><div><span style="font-family: Arial; font-size: 10pt; ">USB devices have these limitations:</span></div><ul><li><span style="font-family: Arial; font-size: 10pt; ">A virtual machine may have up to 20 USB devices attached to it, however each unique USB device can only be attached to one virtual machine at a time</span></li><li><span style="font-family: Arial; font-size: 10pt; ">Unsupported USB devices may not interact as expected with other ESX/ESXi features. For a list of supported USB devices, see &nbsp;<img name="showImgSpan" src="http://kb.vmware.com/img/btn_show.png" embedlink="true" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; border-width: initial; border-color: initial; width: 9px; height: 9px; ">&nbsp;<a id="embedlink_1021345" href="http://kb.vmware.com/selfservice/search.do?cmd=displayKC&amp;docType=kc&amp;docTypeID=DT_KB_1_1&amp;externalId=1021345" rel="htmltooltip" target="_blank" docid="1021345" style="color: rgb(51, 153, 204); text-decoration: none; ">Supported USB device models for passthrough from an ESX or ESXi host to a virtual machine (1021345)</a></span></li><li><span style="font-family: Arial; font-size: 10pt; ">Before you hot add memory, CPU, or PCI devices, you must remove any USB devices. Hot adding these resources disconnects USB devices, which may result in data loss</span></li><li><span style="font-family: Arial; font-size: 10pt; ">When you suspend and resume a virtual machine, USB devices behave as if they have been disconnected, then reconnected</span></li><li><span style="font-family: Arial; font-size: 10pt; ">The virtual machine cannot boot from the attached USB device.</span></li></ul><font size="2" style="font-family: Arial; "><span style="font-weight: bold; ">Host-Connected USB Passthrough</span>:</font><font size="2" style="font-family: Arial; "><br><br></font><font size="2" style="font-family: Arial; ">Limitations:</font><br><ul style="font-family: Arial; "><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">USB controller hardware and modules that support USB 2.0 and USB 1.1 devices must be present on the physical host</font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">It is not possible to utilise a USB 3.0 device connected to the physical host, the device will be ignored (Use client-connected USB passthrough instead)</font></li></ul><font size="2" style="font-family: Arial; font-weight: bold; ">Client-Connected USB Passthrough</font><span style="font-weight: bold; ">:</span><br><ul style="font-family: Arial; "><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">The vSphere Client 5.0+ allows the usage of this type of passthrough. As a result, it is possible to use this feature with virtual machines running on an ESX/ESXi 4.1 host as long as the host is present in the inventory of vCenter Server 5.0 or newer and you are connecting the vSphere Client to the vCenter Server, not the host directly</font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Both EHCI+UHCI as well as the xHCI USB controller are compatible with client-connected USB passthrough</font></li></ul><font size="2" style="font-family: Arial; ">Limitations:</font><br><ul><li style="font-family: Arial; "><font size="2">Passthrough of a USB 3.0 device using an xHCI controller (with virtual hardware version 8) requires that the guest operating system have a functioning xHCI driver. Without a driver installed in the guest operating system, you cannot use USB 3.0 devices. For more details on USB 3.0 support, please reference the&nbsp;<a href="https://www.vmware.com/support/vsphere5/doc/vsphere-esx-vcenter-server-50-release-notes.html#vmissues" target="_blank" style="color: rgb(51, 153, 204); text-decoration: none; ">VMware vSphere 5.0 Release Notes</a><br></font></li><li style="font-family: Arial; "><font size="2">At the time of writing of this article, currently there is no known working xHCI driver for Windows</font></li><li style="font-family: Arial; "><font size="2">Closing the vSphere Client which initiated the client-side USB connection will disconnect the USB device from the virtual machine</font></li></ul><br><font size="2" style="font-family: Arial; "><span style="font-weight: bold; ">Note</span>: Please see the table below for a summary of compatible configurations:</font><br><br><table cellspacing="0" cellpadding="0" style="float: none; margin-bottom: 0px; width: 454px; height: 162px; "><tbody><tr><td style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "></td></tr><tr><td style="font-family: Arial; font-weight: bold; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">Version<br></font></td><td style="font-family: Arial; font-weight: bold; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">ESX/ESXi 4.1<br></font></td><td style="font-family: Arial; font-weight: bold; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">ESXi 5.0<br></font></td></tr><tr><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">USB 2.0/1.1 Host-Connected<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">Yes<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">Yes<br></font></td></tr><tr><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">USB 2.0/1.1 Client-Connected<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">Yes (vCenter 5.0+ only)<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">Yes<br></font></td></tr><tr><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">USB 3.0 Host-Connected<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">No<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">No<br></font></td></tr><tr><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">USB 3.0 Client-Connected<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">No<br></font></td><td style="font-family: Arial; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; vertical-align: top; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-right-color: black; border-right-width: 1px; border-right-style: solid; padding-top: 3px; "><font size="2">Yes (with xHCI driver)<br></font></td></tr></tbody></table><br><br><h3 style="margin-bottom: 14px; font-size: 14px; color: rgb(0, 0, 0); padding-top: 10px; padding-bottom: 5px; "><span style="font-family: Arial; font-size: 12pt; ">Adding a USB controller and&nbsp;a USB device<br><br></span></h3><div><span style="font-family: Arial; font-size: 10pt; ">To add a USB controller in a virtual machine running Windows:<br></span></div><ol style="margin-top: 5px; "><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Right-click the virtual machine and click&nbsp;<strong>Edit Settings</strong>.</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Click&nbsp;<strong>Add</strong>.</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Select&nbsp;<strong>USB Controller</strong>&nbsp;and click&nbsp;<strong>Next</strong>.</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Click&nbsp;<strong>OK</strong>.<br></span></span></li></ol><font size="2" style="font-family: Arial; ">To add a Host-Connected USB device:<br></font><ol style="margin-top: 5px; font-family: Arial; "><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Right-click the virtual machine and click&nbsp;<span style="font-weight: bold; ">Edit Settings</span></font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Click&nbsp;<span style="font-weight: bold; ">Add</span></font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Select the desired USB Device and click&nbsp;<span style="font-weight: bold; ">Next</span></font></li></ol><div style="margin-left: 40px; "><font size="2" style="font-family: Arial; "><span style="font-weight: bold; ">Note</span>: To support vMotion for Host-Connected devices, select Support vMotion while device is connected. For more information, see the Configuring USB Passthrough Devices for vMotion section of the vSphere Virtual Machine Administration Guide.<br></font><br></div><font size="2" style="font-family: Arial; "><br>To add a Client-Connected USB device:</font><br><ol style="margin-top: 5px; font-family: Arial; "><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Click (or open a console to) the virtual machine using the vSphere Client (5.0 or newer)</font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Click the icon of a USB device next to a wrench (this is beside the CD-ROM icon)</font></li><li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; "><font size="2">Select the desired USB Device to connect</font></li></ol><div style="margin-left: 40px; "><font size="2" style="font-family: Arial; "><span style="font-weight: bold; ">Note</span>: vMotion is supported by default for Client-Connected USB devices.<br></font><br></div><br><div><span style="font-family: Arial; font-size: 10pt; ">To add a USB device:</span></div><ol style="margin-top: 5px; "><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Right-click the virtual machine and click&nbsp;<strong>Edit Settings</strong>.</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Click&nbsp;<strong>Add</strong>.</span></span></li><li><span style="font-family: Arial; "><span style="font-size: 10pt; ">Select&nbsp;<strong>USB Device</strong>&nbsp;and click&nbsp;<strong>Next</strong>.<br><br></span><span style="font-size: 10pt; "><strong>Note</strong>: To support vMotion, select&nbsp;<strong>Support vMotion while device is connected</strong>.&nbsp;For more information,&nbsp;see the&nbsp;<em>Configuring USB Passthrough Devices for vMotion</em>&nbsp;section of the&nbsp;<a href="https://www.vmware.com/pdf/vsphere4/r41/vsp_41_vm_admin_guide.pdf" target="_blank" style="color: rgb(51, 153, 204); text-decoration: none; ">vSphere Virtual Machine Administration Guide</a>.<br>&nbsp;</span></span></li><li><span style="font-family: Arial; font-size: 10pt; ">Click&nbsp;<strong>OK</strong>.<br></span></li></ol></content></div></div></div>
頁: [1]
查看完整版本: [轉貼]USB support for ESX/ESXi 4.1 and ESXi 5.0