Hi there,
i want to use a z-wave usb-stick in a LXC Container and configured the LXC config according to this thread:
LXC USB Passthrough (ZWave Stick)
I also created a udev rule, so that i don't have to manually set the correct rights after reboot of proxmox.
Now i have at least two questions:
If i understood everything correctly the container does not need priviliged rights for the passthrough?
And what did i overlooked in my config? There must be something i overlooked,
as i could not see the the usb device inside my lxc container.
I use proxmox 7.3.3
My lxc conf. file for the container looks like this:
And the access rights for the ttyACM0 should be okay:
i want to use a z-wave usb-stick in a LXC Container and configured the LXC config according to this thread:
LXC USB Passthrough (ZWave Stick)
I also created a udev rule, so that i don't have to manually set the correct rights after reboot of proxmox.
Now i have at least two questions:
If i understood everything correctly the container does not need priviliged rights for the passthrough?
And what did i overlooked in my config? There must be something i overlooked,
as i could not see the the usb device inside my lxc container.
I use proxmox 7.3.3
My lxc conf. file for the container looks like this:
Code:
arch: amd64
cores: 2
features: nesting=1,keyctl=1
hostname: openhab
memory: 2048
net0: name=eth0,bridge=vmbr0,hwaddr=62:95:1D:02:99:C6,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-103-disk-0,size=8G
swap: 512
unprivileged: 1
lxc.cgroup2.devices.allow = c 166:* rwm
lxc.mount.entry: /dev/ttyACM0 /dev/ttyACM0 none,optional,create=file 0 0
And the access rights for the ttyACM0 should be okay:
Code:
root@pve:~# ls -l /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 Dec 25 12:20 /dev/ttyACM0