USB passthrough on Proxmox

I have a server that I just sort of use for whatever I guess. I have one of those dinky little antminer U2s and wanted to run it from my server, seeing as it's on all the time anyway. I'm assuming the only way I'm getting this to work properly is to use a VM with USB passthrough. I'm a complete scrub with VMs as I've always used containers. Could anybody point me in the right direction?

Cheers guys. :)

Have you read the proxmox wiki page on this?

https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines

I have. Unfortunately, the wiki has a nasty habit of not giving you context for anything. I'm not sure which terminal it's talking about, as the VM one doesn't detect any USB devices and the Proxmox terminal doesn't like the command at all :/

hmm let me plug some USB into my proxmox host and I'll look into it.

which command are you using?

I'm a pleb. I had virtualisation disabled in the bios, so the VM wasn't starting.

Sorry!

Simple Way: pass the USB device ID to the guest

Assigning an Alcor memory stick connected to the host to VM 804.

Figure out in the host the Device Type by

lsusb | grep Alcor

The result is

Bus 002 Device 013: ID 058f:6387 Alcor Micro Corp. Flash Drive

Assign it to the VM by

qm set 804 -usb0 host=058f:6387

Shutdown the VM (if running) and start it again.