I’m having some difficulty accessing directly attached USB devices through ESXi. I wonder if anyone can offer any advice?
I’ve updated my ESXi installation (just a single Dell T605, managed with vSphere Client) from 4.0 to 4.1 specifically so I can use USB passthrough – I’ve got an APC SmartUPS which connects through USB.
When I connect a USB device to the server (and once the usbarbitrator service is manually started), the message log shows several entries, including one that says “device is available for passthrough”. However, the vSphere Client “add USB device” option is greyed out and “there are no USB devices available on the host” is displayed in the info pane. The guest is in a version 7 VM with a USB controller already installed.
The support console offers a couple of extra clues. Firstly, the devices I’ve tried to connect (it’s not just the UPS: I’ve tried a USB HD and a USB flash drive too) show up fine if I do “lsusb”. Secondly, I’ve tried using “vim-cmd vmsvc/device.connusbdev” (although I don’t understand how to properly get the path info for any given device) but whatever I try, I always end up with the command itself returning without error, but a message in both the host and VM event logs that says, “Error message from VMWareHost: Unable to connect the USB device "(null)" to the virtual machine (error code 13).” If the VM is powered off, the device is added, but described as “not present” and disappears when the machine is powered on.
Full disclosure: I accidentally installed the two bulletins that make up the 4.0 -> 4.1 upgrade in the opposite order to that suggested. This doesn’t appear to have caused problems in any other respect.
So… can anyone help? Does anyone recognise the problem? Can anyone suggest where I should look next or what I might be able to try? Should I have to start the usbarbitrator service manually – this doesn’t seem to be a feature of most of the walkthroughs? Should the error message always be for device “null” in the event log – surely a real device ID should be shown here?
Any help is very much appreciated!