Dear PVE users,
Previously I was running smoothly a LXC container with USB passthrough on PVE 6.4.x.
After an upgrade from PVE 6.4.x. to PVE 7.0.x this container cannot access anymore to the USB device.
From PVE server:
From LXC container:
LXC config file includes:
Device is visible with
Everything seems to be ok except that the LXC container has no read and write permission to
Any advice is welcome,
Regards,
Previously I was running smoothly a LXC container with USB passthrough on PVE 6.4.x.
After an upgrade from PVE 6.4.x. to PVE 7.0.x this container cannot access anymore to the USB device.
From PVE server:
Code:
:~# test -w /dev/ttyACM0 && echo success || echo failure
success
:~# ls -la /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 Jul 25 10:54 /dev/ttyACM0
From LXC container:
Code:
:~# test -w /dev/ttyACM0 && echo success || echo failure
failure
:~# ls -la /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 Jul 25 10:54 /dev/ttyACM0
LXC config file includes:
Code:
lxc.cgroup.devices.allow: c 166:* rwm
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
Device is visible with
lsusb
from the PVE server and the LXC container.Everything seems to be ok except that the LXC container has no read and write permission to
/dev/ttyACM0
since the PVE 7.0.x upgrade.Any advice is welcome,
Regards,
Last edited: