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.
- SSH in and
sudo su -, put the script in/tmp, then:
chmod +x /tmp/syneto-usbctl.sh
/tmp/syneto-usbctl.sh
- If it stops with
Missing lsusb. Install with: sudo dnf install usbutils, install it, answery, and run the script again:
sudo dnf install usbutils
- To attach: power off the target VM, choose
1, pick the USB device from thelsusblist (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. - 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.