Created
January 19, 2022 19:43
-
-
Save gerard33/8bef158b338fdb0cb1c67f680077f3a7 to your computer and use it in GitHub Desktop.
LXC USB Passthrough (Proxmox)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Plug USB device | |
root@proxmox01:~# lsusb | |
[...] | |
Bus 004 Device 005: ID 0658:0200 Sigma Designs, Inc. | |
[...] | |
2. Take a look of device | |
root@proxmox01:~# ls -l /dev/bus/usb/004/005 | |
crw-rw-r-- 1 root root 189, 388 Oct 25 16:19 /dev/bus/usb/004/005 | |
Take note of ID (example: 189, 388) | |
3. Edit lxc configuration | |
root@proxmox01:~# nano /etc/pve/nodes/proxmox01/lxc/101.conf | |
lxc.cgroup.devices.allow: c 189:388 rwm | |
lxc.mount.entry: /dev/bus/usb/004/005 dev/bus/usb/004/005 none bind,optional,create=file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://medium.com/@konpat/usb-passthrough-to-an-lxc-proxmox-15482674f11d