ESXi

 View Only
  • 1.  USB Passthrough Not Working

    Posted Oct 19, 2016 09:15 PM

    On a vShpere server I'm trying to add a USB device (a USB HDD) to a guest. I have marked all USB controllers on the host for passthrough and have rebooted the host. I have added the EHCI+UHCI controller to the guest and have the guest powered on. When I try to add the device to the guest the Add Hardware wizard shows "USB Device (unavailable)" and when I select it I see "There are no USB devices available on the host."

    How can I diagnose what's going on here? I think I've followed the proper steps to configure USB passthrough but I just can't seem to get it working.

    Hardware:

    HP ProLiant DL380 G7

    Intel 5520 Chipset

    Intel I/O Controller Hub 10 (82801JI)



  • 2.  RE: USB Passthrough Not Working

    Posted Oct 19, 2016 11:08 PM

    Hi,

    1. Are you sure the USB is properly connected to the server?

    2. Are you able to see the USB drive at ESXi level i.e. Add storage under  Storage configuration of ESXi?

    3. Is you virtual machine is hardware version 7 or later to which you are trying to attached the USB?



  • 3.  RE: USB Passthrough Not Working

    Posted Oct 20, 2016 04:12 PM
    1. The USB drive is connected to the front USB port on the server
    2. No I do not see the drive in the "Add Storage" wizard. (I thought that when you configured the USB controller for Passthrough it would remove any attached storage devices from this section)
    3. Yes the VM is version 11


  • 4.  RE: USB Passthrough Not Working

    Posted Oct 20, 2016 05:39 PM

    I have just booted the server from a Ubuntu 16.10 Live CD and have confirmed the USB drive appears when I plug it into the front port. I am able to read and write to the drive.



  • 5.  RE: USB Passthrough Not Working

    Posted Oct 24, 2016 09:08 PM

    Hi,

    What is the USB version you are using ?

    Below is the table that is support on

    VersionESXi/ESX 4.1ESXi 5.0ESXi 5.1ESXi 5.5ESXi 6.0
    USB 2.0/1.1 Host-ConnectedYesYesYesYesYes
    USB 2.0/1.1 Client-ConnectedNoYesYesYesYes
    USB 3.0 Host-ConnectedNoNoNoYes*Yes
    USB 3.0 Client-ConnectedNoYes (with xHCI driver)Yes (with xHCI driver)Yes (with xHCI driver)Yes (with xHCI driver)


    * Requires ESXi 5.5 Patch 3.



  • 6.  RE: USB Passthrough Not Working

    Posted Oct 24, 2016 09:19 PM

    Hi,

    What is the USB version you are using ?

    Below is the table that is support on

    VersionESXi/ESX 4.1ESXi 5.0ESXi 5.1ESXi 5.5ESXi 6.0
    USB 2.0/1.1 Host-ConnectedYesYesYesYesYes
    USB 2.0/1.1 Client-ConnectedNoYesYesYesYes
    USB 3.0 Host-ConnectedNoNoNoYes*Yes
    USB 3.0 Client-ConnectedNoYes (with xHCI driver)Yes (with xHCI driver)Yes (with xHCI driver)Yes (with xHCI driver)


    * Requires ESXi 5.5 Patch 3.



  • 7.  RE: USB Passthrough Not Working

    Posted Oct 24, 2016 11:55 PM

    It is a USB 2.0 device. I'm running vSphere 6.0.

    I have tried a mix of 1.1, 2.0, and 3.0 devices though and none work in vSphere but all do work without exception when booting from an Ubuntu LiveCD.



  • 8.  RE: USB Passthrough Not Working

    Posted Oct 24, 2016 06:20 PM

    Any other suggestions?



  • 9.  RE: USB Passthrough Not Working
    Best Answer

    Posted Oct 25, 2016 06:35 AM

    You should not need to do a passthrough of the USB controller. Try removing it from the passthrough configuration and then see if you can add the USB device to the VM.

    If you really want to do it with passthrough, try adding a PCI Device to the VM (the physical USB controller should show up there).



  • 10.  RE: USB Passthrough Not Working

    Posted Oct 25, 2016 03:58 PM

    That did it. Thanks!



  • 11.  RE: USB Passthrough Not Working

    Posted Feb 16, 2023 11:59 AM

    Hi, How do I remove the passthrough configuration? Thanks