Hi all,
I tried to passthrough /dev/ttyS0 and /dev/ttyUSB0 to container by:
lxc-device add -n 204 /dev/ttyS0
lxc-device add -n 204 /dev/ttyUSB0
It works well.
For making it avaible after container restart I added this to /var/lib/lxc/204/config by adding lines:
lxc.cgroup.devices.allow = c 4:64 rwm
lxc.cgroup.devices.allow = c 188:0 rwm
After container restart there is old config without changes.
How to properly do /dev/USB and /dev/ttyS0 passthrough?
Regards.
JK
I tried to passthrough /dev/ttyS0 and /dev/ttyUSB0 to container by:
lxc-device add -n 204 /dev/ttyS0
lxc-device add -n 204 /dev/ttyUSB0
It works well.
For making it avaible after container restart I added this to /var/lib/lxc/204/config by adding lines:
lxc.cgroup.devices.allow = c 4:64 rwm
lxc.cgroup.devices.allow = c 188:0 rwm
After container restart there is old config without changes.
How to properly do /dev/USB and /dev/ttyS0 passthrough?
Regards.
JK