Has anyone tried USB Passthrough on esxi 5.5? Not sure how long we can all stick with v5.0u2!
Is it downloadable anywhere? I'd give it a try
Oh, good question. I should have looked before speaking up. I've been watching all these youtube videos and reading blogs about it and just assumed it was available to the public.
I've been recently afflicted with this PCI passthrough stuff on one box (my smart new home ESXi) and the current state of play is:
ESXi 5.1U1 with all current patches - build 1157734
PCIe card passed through to a VM OK - it's a Sangoma telephony card 2 x FXO ports
DVBS2 USB dongle fails by trying to pass through the USB controller
That's exactly how it should be judging by previous comments. However I did some playing with ordinary USB pass through before I bit the bullet and wiped the box to install 5.0.
Initially I accidentally ticked the option for the USB device to follow the VM through a vMotion and performance was rather bad. Force of habit - I have many UPSs on the end of this style of connection for monitoring and it works well but a UPS doesn't exactly tax the USB redirector. I have now changed the connection to normal - ie add a host USB device to a VM without using vmdirectpath.
Performance is excellent for this particular use case - DVBS2 USB 2.0 dongle (Pinnacle PCTV 460e) connected to a Linux VM running a MythTV backend. From my front end I can watch full HD with no tearing or any other problems and crystal clear 5.1 audio.
I have not benchmarked anything and I won't ever be running a hard disk through this style of connection any time soon but it is certainly adequate for DVB receivers.
My testing on ESXi 5.5 is going well, as far as passthrough. Too early to rejoice yet, because I only tested my USB 3.0 card so far, with passthrough working fine. It had worked on 4.1 and 5.0, but was broken on 5.1. The next hurtle is getting the GA level code, and public release, and sharing my experiences at TinkerTry.com.
Can you try your onboard USB?
5.5 is now GA and downloadable here: https://my.vmware.com/web/vmware/details?downloadGroup=ESXI550&productId=352&rPId=4260
Anyone try it yet to find out if motherboard USB pass through works and remains working through reboots of the server?
I've got as far as updating our vCenter and UM to 5.5.
Just doing our sacrificial ESXi to make sure that all is well with our environment and then I will do a host that could do with the full USB bus passthrough.
Should be doing that in an hour or two.
I'm looking forward to your response. Thanks for taking the time to test.
I'm happy to notice that things are looking quite good, as far as pass through under ESXi 5.5 (that still requires reboot to enable). More articles will be published about this soon. Meanwhile, here's a USB 3.0 passthrough discussion with screenshots.
I think I must have passed the wrong bus through, still its looking good so far:
02:00.0 USB controller: VMware USB1.1 UHCI Controller
02:02.0 USB controller: VMware USB2 EHCI Controller
03:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
0b:00.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #1 (rev 05)
The last entry is an entire USB bus passed through - that is a dmesg on a Linux VM. This is after an allocation and one reboot. Note that it is an Intel USB controller and not a VMware one (which it also has via guest hardware - I'll remove that if the full pass through works OK)
I'll post back once I've passed the other bus through which should have the device I actually want on it and then I'll reboot the ESXi again to ensure it remains connected to the VM.
First I have to go home and sort out another DNS server for the wife to get to FB 8)
Oh well it seemed too good to be true. The bus appears in the VM but no devices come with it - at least for me anyway. I tried a Linux and a Windows 2008R2 guest and both of my USB buses on a Dell T320.
Back to standard passthrough for now.
Has anyone else tried it with onboard USB?
Just to be clear, you passed through the USB controller to the VM, but within the VM the OS didn't see the controller? Or the devices plugged into the controller did not work? Did it work after the first reboot, but not subsequent ones?
>>Just to be clear, you passed through the USB controller to the VM, but within the VM the OS didn't see the controller? Or the devices plugged into the controller did not work? Did it work after the first reboot, but not subsequent ones?
This is exactly what I did:
Update to 5.5 (takes quite a while incidentally)
Remove all USB reassignments to VMs
Use lspci -v at the ESXi console to verify which bus is which (I have two) and that the device is attached
Pass through the USB controller's PCI device
Add a PCI device to a VM
Start up the VM
The VM could see the controller but not devices attached to it. In a Windows VM it came up in device manager with a yellow exclamation mark and an error saying it could not start. Under Linux I could see kernel modules attached to the bus (lspci -k) and it listed in lsusb and dmesg (see above) but I could not see anything attached to the bus.
I then undid all of that and used ordinary single USB device passthrough to connect a DVBS2 USB device to my MythTV backend again. Performance seems OK for that.
I have not benchmarked throughput across the USB bus - I don't have a USB HD to hand.
I wouldn't give up hope quite yet though - mine is only one data point!
PS Another VM with a "real" PCI device (Sangoma FXO card) passed through is OK