Here is how to debug this issue:
- Suppose the container name is mycontainer. The logs can then be found in
/var/log/lxd/mycontainer/ - Towards the end of
lxc.conf(in/var/log/lxd/mycontainer/), it should have alxc.mountline relating to the USB device. This line should show where, in the container, you can find the USB device. Something likedev/bus/usb/001/002. Corresponds to/dev/bus/usb/001/002in the container. Check if this exists. - Then,
lxc.log(in/var/log/lxd/mycontainer/) should have lines that confirm that the device has been mounted or an error appeared. Looks for lines that mentionusbor the device name you gave when configuring in the beginning.