LXC Pass devices

Giggling3999

Member
Apr 2, 2024
33
2
8
Hi

Is it possible to pass a LXC container devices? A have a tv tuner card I would like to pass

I saw something like this online

lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm

Am I going down the wrong route? I wanted a container to save resources, however I know this is easily done by VM. I would need to do the same again for NAS drives in the future
 
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
Why not try the new configuration options like:
Code:
dev0: /dev/dvb/adapter0/demux0,gid=44,uid=0
dev1: /dev/dvb/adapter0/dvr0,gid=44,uid=0
dev2: /dev/dvb/adapter0/frontend0,gid=44,uid=0
dev3: /dev/dvb/adapter0/net0,gid=44,uid=0
Check inside the VM whether the video group is 44 or something else. There is more than one thread on this forum about passing TV tuners to LXC.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!