meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
vm:proxmox:lxc:devices_access [2023/06/20 18:14] – created niziakvm:proxmox:lxc:devices_access [2023/06/20 19:10] niziak
Line 5: Line 5:
   * serial port forwarding   * serial port forwarding
  
-===== privileged LXCs =====+===== serial port ===== 
 + 
 +==== privileged LXCs ====
  
 Only need to bind mount device node. Only need to bind mount device node.
Line 16: Line 18:
 Device major 188 is for ''ttyUSBx devices'' Device major 188 is for ''ttyUSBx devices''
  
-===== unprivileged LXCs =====+==== unprivileged LXCs ====
  
 Unprivileged LXCs has UIDs and GIDs mapped to defines subid and subgids ranges. Unprivileged LXCs has UIDs and GIDs mapped to defines subid and subgids ranges.
Line 27: Line 29:
 is to do not touch ''/dev/ttyUSB0'' but create another device node with the same device major:minor. Then change owner of new device node and use it to bind mount into container. is to do not touch ''/dev/ttyUSB0'' but create another device node with the same device major:minor. Then change owner of new device node and use it to bind mount into container.
  
- +==== References ====
-===== References =====+
  
   * [[https://forum.proxmox.com/threads/usb-passthrough-to-a-container-lxc.101741/|USB passthrough to a container LXC]]   * [[https://forum.proxmox.com/threads/usb-passthrough-to-a-container-lxc.101741/|USB passthrough to a container LXC]]
   * [[https://www.reddit.com/r/Proxmox/comments/saxqm2/passing_igpu_through_to_unprivileged_lxc_help/|Passing iGPU through to unprivileged LXC [HELP]]]   * [[https://www.reddit.com/r/Proxmox/comments/saxqm2/passing_igpu_through_to_unprivileged_lxc_help/|Passing iGPU through to unprivileged LXC [HELP]]]
   * [[https://forum.proxmox.com/threads/passing-usb-device-on-lxc-not-working-after-upgrade-to-7-0.92178/|Passing USB device on LXC not working after upgrade to 7.0]]   * [[https://forum.proxmox.com/threads/passing-usb-device-on-lxc-not-working-after-upgrade-to-7-0.92178/|Passing USB device on LXC not working after upgrade to 7.0]]
 +  * Zigbee2MQTT automated LXC setup scripts (privileged containers):
 +    * [[https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func|build.func]]
 +
 +
 +====== DRI forward ======
 +
 +Host system (Proxmox):
 +
 +
 +Guest system:
 +
 +<code bash>
 +usermod -aG 44 user
 +usermod -aG 103 user
 +apt install drm-info
 +drm_info
 +</code>
 +