Passing a USB device (dongle, USB stick, UPS) through to a VM on Hyperion

A customer has a USB licence dongle plugged into their Hyperion host and needs it inside a Windows VM. There’s nothing in the VM hardware UI for USB passthrough. How do I do it?

There’s a small interactive helper script, syneto-usbctl.sh, that lists the host’s USB devices and attaches/detaches them to a VM by vendor:product ID. The download link and the full script are on https://help.syneto.eu/en_US/hyperion-virtual-machines/how-to-manage-usb-device-passthrough-in-hyperion. If the download doesn’t work, paste the script from that page into /tmp/syneto-usbctl.sh with vi.

  1. SSH in and sudo su -, put the script in /tmp, then:
chmod +x /tmp/syneto-usbctl.sh
/tmp/syneto-usbctl.sh
  1. If it stops with Missing lsusb. Install with: sudo dnf install usbutils, install it, answer y, and run the script again:
sudo dnf install usbutils
  1. To attach: power off the target VM, choose 1, pick the USB device from the lsusb list (e.g. ID 0951:1666 Kingston Technology DataTraveler ...), then pick the VM. On a stopped VM it’s attached persistently only; on a running VM it’s attached live and persistently.
  2. To detach: choose 2, select the VM and then the attached device. It removes it from the persistent config and, if the VM is running, from the live VM too.