Hi Guys,
I'm hoping someone can help me, I've been battling to get an ESXI host to detect USB devices. All the USB controllers are in passthrough mode, and VT-d has been enabled in the BIOS.
I've also spent many many hours Googling, going through forums, and blog posts... it would seem that my problem is fairly unique...
The BIOS picks up the USB devices, and I've even disabled the "EHCI Hand-Off" feature for what it's worth, as to pass USB devices to the OS immediately.
One blog post also mentions the usb arbitrator might have a hold on the USB devices, but surely if that was the case, lsusb or dmesg or the logs would still mention it.
Output of dmesg:
[url=http://www.imagehost.co.za/share-CB12_50406943.html][img]http://www.imagehost.co.za/thumb-CB12_50406943.jpg[/img][/url]
[url=http://www.imagehost.co.za/share-A642_50406943.html][img]http://www.imagehost.co.za/thumb-A642_50406943.jpg[/img][/url]
[url=http://www.imagehost.co.za/share-9619_50406943.html][img]http://www.imagehost.co.za/thumb-9619_50406943.jpg[/img][/url]
[url=http://www.imagehost.co.za/share-35C3_50406943.html][img]http://www.imagehost.co.za/thumb-35C3_50406943.jpg[/img][/url]
[url=http://www.imagehost.co.za/share-30CF_50406943.html][img]http://www.imagehost.co.za/thumb-30CF_50406943.jpg[/img][/url]
are you trying to get the host to use the usb devices?
or trying to pass them through to the vms?
Hi,
I would like to have the USB devices, passhthough, but since passthrough was enabled (after a host reboot), and the guest VM was set up correctly (i.e USB Controller added), but when I want to add a "USB Device", the option has been greyed out. Image: http://www.imagehost.co.za/image-A642_50406943.jpg
But like I mentioned in my first post, lsusb and grep isn't even detecting any USB devices.
The log snippet you attached looks like ours did recently.
We were baffled for a while with one of two ESXi 4.1 servers that had normal keyboard function during the boot (BIOS utilities, etc.) but not after the ESXi VMkernel was running. It turned out to be VMDirectPath making the USB devices function in passthrough mode. (The Hardware Advanced Settings in vSphere Client controls this feature, and a reboot is required after changing the settings.) When the device is in passthrough, lsusb will not show any active devices since they are no longer managed by the ESXi drivers. It turned out it was working as designed, but I'm not sure why anyone would want a passthrough keyboard to a VM, just USB storage, networks or peripherals like that.
Well, I had same problems with ESXi 5.5.0 u1. The solution for this problem I found is:
1) I disabled all passthrough options for USB buses. Restarted host.
2) Then connected USB device to USB port and logged on the host via ssh.
3) executed lsusb command and get output like that:
~ # lsusb
Bus 01 Device 02: ID 0781:5406 SanDisk Corp. Cruzer Micro U3
Bus 01 Device 01: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 08 Device 01: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 07 Device 01: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 06 Device 01: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 05 Device 01: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 04 Device 01: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 03 Device 01: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 02 Device 01: ID 1d6b:0002 Linux Foundation 2.0 root hub
so my USB device is located on bus 01
4) inserted this device in other USB port and again executed lsusb, this was done for every USB port was in ESXi host workstation. There was eight USB ports on workstation and I got two different bus numbers (Bus 01 and Bus 02) and four device numbers (Device 02 - Device 05) on each bus. And this buses belong to two USB 2.0 hubs.
5) After that in advanced settings for passthrough configuration I enabled passthrough options ONLY for USB 2.0 controllers (usuall they shown as USB2 EHCI)
6) restarted ESXi host and after that passthrough start work for my VMs.