Passing USB Devices into Proxmox VMs

#VMs

~ Using TP-Link TL-WN722N ~

The GUI way of adding a USB device to a Proxmox VM didn’t work for me when using a USB network adapter (the device id was not showing up when trying to add to the VM via the GUI), so here is a simple manual workaround.

- Steps:

  1. Plug in your desired USB device into the physical machine you’re running Proxmox on.

  2. Using the CLI on the Proxmox host machine (recommended to use ssh/webGUI CLI), list all connected USB devices with lsusb:

  3. Note the ID of the desired device. In this case the TP-Link TL-WN722, with ID: 2357:010c

  4. Ensure the desired Proxmox VM that you want to pass the USB device to is powered off, and take note of its number (104 in the below image):

  5. Still on the Proxmox host machine, run the following command to pass the USB device through to one or more of your virtual machines:

    qm set [VM#] -usb0 host=[host-id]

    e.g. for VM #104 & host id 2357:010c, I would run:

    qm set 104 -usb0 host=2357:010c

    Source: Proxmox documentation

  6. Boot up your Proxmox VM (in my case, VM #104) and run lsusb in using the CLI. You should now see the USB device that you just passed through (2357:010c for me) in there!

Hope this helps a few other fellow lost souls! ^^


DISCLAIMER: I would consider this a LEGACY POST of mine, written a long time ago. Please excuse any typos, errors or lapses in memory/judgement - as it was added to the site from the archives, just to put everything in one place. Thankq for your understanding 🙇‍♀️