ESXI 5U1 - not able to pass-through any USB-devices attached to server

Posted on 2013-01-09
Last Modified: 2013-02-02
Hi experts.

First of all: the server looked perfectly healthy until now and runs on supported hardware.
It can passthrough devices attached to a windows client to the guest OS' using the vsphere client. It cannot passthrough usb tokens that are attached to the esxi server itself - vsphere does not see them. Server is esxi 5.0 update 1 and corresponding vsphere client.

So far I have
-tried different usb tokens
-looked at the events tab in vsphere client, several "USB configuration has changed" are logged whenever I attach a device to the server.
-stopped and restarted the usbarbitrator at the ESXI console
to no avail.

I also read hanccocka's article and I wonder what he could mean writing
if the USB Device (unavailable) shows in gray and unavailable, either a USB device is not connected to the server, or the USB device is incompatible. Some host servers do not support USB passthrough.
When are these conditions met? Tried many devices, not all can be incompatible. What host servers do not support passthrough and even if mine were one of them, would'n't that mean it should neither be able to passthrough usb tokens that are connected to my own client (which does work)?

Anything to try?
Question by:McKnife
  • 7
  • 7
  • 5

Expert Comment

ID: 38759349
What if you use vsphere client and put your usb through your desktop?

You will need to added USB Controller through vSphere to a vm hardware.  Once you do that, attached a USB to your desktop, console to the machine you added the usb controller, login and your usb should work.
LVL 118
ID: 38759369
Some USB devices or Hosts do not support USB Passthrough.

Some USB devices do not work or are not supported.

to diagnose issues with USB devices you need to get "under the covers" and look at the logs in /var/log


when you insert a usb device into the host, it will be displayed in the log, this does not matter if it's connected to the VM.

no entry in the logs for the usb device the USB device or Controller on the Motherboard is not supported.

sometimes, we've seen when using a USB flash drive, or USB keyboard or mouse, connected to a server, all usb ports do not function.

have you tried ALL usb ports?
LVL 53

Author Comment

ID: 38759615
@traoher: as I wrote, if I connect it to my own computer, I can pass it through.
@hanccocka: let me quote vmkernel.log... I don't understand what's going on. Fact is, although it finally says "available for passthrough" in the log, it is not.
2013-01-09T16:30:48.582Z cpu7:2663)<6>usb 1-1.6: new high speed USB device using ehci_hcd and address 11
2013-01-09T16:30:48.700Z cpu1:2663)<6>usb 1-1.6: New USB device found, idVendor=0ea0, idProduct=2168
2013-01-09T16:30:48.700Z cpu1:2663)<6>usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2013-01-09T16:30:48.700Z cpu1:2663)<6>usb 1-1.6: Product: Flash Disk      
2013-01-09T16:30:48.700Z cpu1:2663)<6>usb 1-1.6: Manufacturer: USB     
2013-01-09T16:30:48.700Z cpu1:2663)<6>usb 1-1.6: SerialNumber: 611041FAD53B004B
2013-01-09T16:30:48.700Z cpu0:2663)<6>usb 1-1.6: Vendor: 0x0ea0, Product: 0x2168, Revision: 0x0200
2013-01-09T16:30:48.700Z cpu0:2663)<6>usb 1-1.6: Interface Subclass: 0x06, Protocol: 0x50
2013-01-09T16:30:48.701Z cpu0:2663)WARNING: LinScsiLLD: scsi_add_host:599:vmkAdapter (usb-storage) sgMaxEntries rounded to 255. Reported size was 255
2013-01-09T16:30:48.701Z cpu0:2663)DMA: 524: DMA Engine 'vmhba38' created.
2013-01-09T16:30:48.701Z cpu0:2663)<6>usb-storage 1-1.6:1.0: interface is claimed by usb-storage
2013-01-09T16:30:48.701Z cpu0:2663)<6>usb 1-1.6: device is not available for passthrough
2013-01-09T16:30:48.701Z cpu0:2663)<6>usb 1-1.6: usbfs: registered usb010b
2013-01-09T16:30:48.712Z cpu1:2080)ScsiNpiv: 1525: GetInfo for adapter vmhba38, [0x4100080e9e40], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
2013-01-09T16:30:49.704Z cpu5:8922007)usb-storage: detected SCSI revision number 2 on vmhba38
2013-01-09T16:30:49.704Z cpu5:8922007)usb-storage: setting peripheral qualifier to 'not connected' on vmhba38
2013-01-09T16:30:49.704Z cpu0:2651)<6>usb-storage 1-1.6:1.0: unclaiming vmhba38
2013-01-09T16:30:49.704Z cpu0:2651)LinScsiLLD: scsi_remove_host:857: Removed Host Adapter vmhba38
2013-01-09T16:30:49.704Z cpu6:2651)<6>usb 1-1.6: device is available for passthrough
2013-01-09T16:30:49.705Z cpu6:2651)ScsiAdapter: 2228: Unregistering adapter vmhba38
2013-01-09T16:30:49.705Z cpu6:2651)DMA: 569: DMA Engine 'vmhba38' destroyed.

Open in new window


Expert Comment

ID: 38759637
Try enable or load the local drive for your usb on the ESXi hosts.
LVL 118
ID: 38759660
okay, the device is being detected by the hypervisor, you can see it in the logs.

you've added the usb controller, and a device?
LVL 53

Author Comment

ID: 38759696
> Try enable or load the local drive for your usb on the ESXi hosts.
I don't follow...what do you mean?
> okay, the device is being detected by the hypervisor, you can see it in the logs.
I know...
> you've added the usb controller, and a device?
Of course. But no usb token there to add.
LVL 118
ID: 38759743
is this a security device (token), because we've seen these not passed through.

e.g. we've had issues with the

Expert Comment

ID: 38759752
If you plugin an external USB drive to the esxi host, do you see it from your esxi host command line?

If not, you must enable usb within your host BIOS.
LVL 118
ID: 38760028
@traoher, if you look at the logs posted, you can see the Host ESXi server detects the USB device!
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Expert Comment

ID: 38760101
i am sorry, i should have read through the logs.

Have you tried this link?
LVL 53

Author Comment

ID: 38760717
> is this a security device (token)
Yes and no. We connected several usb thumb drives, amongst those a HASP token. But the normal ones don't work, either.
> have you tried ALL usb ports?
> Have you tried this link?...
Will do tomorrow and feedback.
LVL 118
ID: 38760842
the link supplied is a different process completely, it's not USB Passthrough, it presents the real hosts PCI device (e.g. USB Controller) to the VM. Only one PCI device can be presented a VM.

It's called VM Direct Path I/O.

It may work for you as a workaround, but it's a different technology and process.

Also it has it's limitations, but if you are happy with a workaround.
LVL 118
ID: 38760848
if you server is on the Hardware Compatibility List and certified with VMware ESXi 5.0, I would escalate to Vendor and VMware.

We have seen strange issues with certain AHCI BIOS and USB BIOS settings which have caused issues with USB passthrough, with HP and Dell servers.

Do you have USB mouse or keyboard, USB flash drive in use for ESXi?
LVL 53

Author Comment

ID: 38762071
Ok, I am willing to use the workaround, but this won't be possible before weekend because this configuration change will not apply without a host-restart, esxi says.

Hanccocka, we run the free esxi, how good is the support we are entitled to use? I believe it's only forum support?

> Do you have USB mouse or keyboard, USB flash drive in use for ESXi?
No, nothing.
LVL 118
ID: 38762249
you are *NOT* entitled to any support.

other than what you find here, of through any forum.
LVL 53

Author Comment

ID: 38764805
Ok, that's what I thought.

Tried the workaround today because I was in the office till very late. No change after setting it and rebooting the host. We'll have to live with it or try VMware forums. Will keep you updated.

Expert Comment

ID: 38764857
we tried!
LVL 53

Accepted Solution

McKnife earned 0 total points
ID: 38827027
I would like to close this question.
No progress was made and from what I read in the vmware forums, this seems to be a bug in 5.1 that is seen on some systems. Hopefully, this will be fixed someday.
LVL 53

Author Closing Comment

ID: 38846379
See comment

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now