meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
vm:proxmox:lxc:devices_access [2023/06/20 18:25] 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]]
Line 35: Line 36:
   * Zigbee2MQTT automated LXC setup scripts (privileged containers):   * Zigbee2MQTT automated LXC setup scripts (privileged containers):
     * [[https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func|build.func]]     * [[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>
 +
 +