I am trying to add an Stm32f4 device to my Ubuntu 21.10 container with the followimg command
“lxc config dwvice add dev ttyACM0 unix-char source=/dev/ttyACM0 path=/dev/ttyACM0 mode=0666”
the device is added to to container but i cant flash it since i get
“libusb: error [get_usbfs_fd] libusb couldn’t open USB device /dev/bus/usb/003/010, errno=2”
meaning stlink couldn’t find the device which also i getting as a warning from stlink.
what setting can i make or changes needed kindly guys??