Created
March 15, 2020 12:26
-
-
Save elRadix/6e3abb17cfff9e81455027d8d8834d99 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