I was trying to pass in a zwave usb stick to a LXC instance running docker on my proxmox server but ran into an issue. All the guides I've seen tell me to get the vendor and product id from the usb stick and use that to create either a custom rule for mounting a usb device or add a path to my lxc config file.
But in my case, the vendor/product id of my zwave stick, just so happens to be the exact same as the vendor/product id of my zigbee stick which is going to a VM so when I set up this mounting rule and follow the tutorial steps it messes up the zigbee stick going to my VM.
Is there anyway to specify the device id of the serial device for sending to an LXC container and/or for passing a usb device to a VM? I've been able to mount a specific port to the VM as a stop gap measure while I trouble shoot this, but being able to use the exact /dev/serial/by-id/ path would alleviate a lot of my issues I think.
But in my case, the vendor/product id of my zwave stick, just so happens to be the exact same as the vendor/product id of my zigbee stick which is going to a VM so when I set up this mounting rule and follow the tutorial steps it messes up the zigbee stick going to my VM.
Is there anyway to specify the device id of the serial device for sending to an LXC container and/or for passing a usb device to a VM? I've been able to mount a specific port to the VM as a stop gap measure while I trouble shoot this, but being able to use the exact /dev/serial/by-id/ path would alleviate a lot of my issues I think.