As indicated in the title I'm facing with this bad problem and I can't get rid of it.
I have a serial usb device (pl2303) that works fine in the container but after a random time (sometimes > 30 mins) it stops working. No data is received.
When it happens even restarting the container doesn't fix the problem. I have to reboot the pve.
The application that uses the usb device simply opens the connection reads data closes, pauses a minute and repeats the cycle.
The container conf is:
Tryed with cgroup2 but same result
udev rule:
Any idea?
Andrea
I have a serial usb device (pl2303) that works fine in the container but after a random time (sometimes > 30 mins) it stops working. No data is received.
When it happens even restarting the container doesn't fix the problem. I have to reboot the pve.
The application that uses the usb device simply opens the connection reads data closes, pauses a minute and repeats the cycle.
The container conf is:
Code:
arch: amd64
cores: 1
features: nesting=1
hostname: 102
memory: 100
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:5B:F5:D2,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-102-disk-0,size=8G
swap: 512
unprivileged: 1
lxc.cgroup.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/ttyUSBInverter dev/ttyUSBInverter none bind,optional,create=file
udev rule:
Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="ttyUSBInverter", MODE="0666", GROUP="dialout"
Any idea?
Andrea