paukstelis / octoprint_deploy

Bash script for rapid deployment of multiple octoprint instance on a single machine
MIT License
394 stars 39 forks source link

Camera tied to USB Port #49

Closed alonks1234 closed 1 year ago

alonks1234 commented 1 year ago

I don't know if I am alone in this problem, but I have several webcams with the same udev serial ID and am getting the warning that this will cause instability (and looking at the udev rules, I can see why). It seems like allowing a camera to be tied to a specific hardware port would solve this, which already exists for the printers. Any reason this is not implemented?

paukstelis commented 1 year ago

It is implemented, it is not the default behavior, however. It is much more convenient if your cameras do have different serial numbers to be able to plug them in wherever. In your case, you want to run the script with the noserial argument: sudo octoprint_deploy/octoprint_deploy.sh noserial

This will skip detection of serial number for cameras and force it to use the USB port address.

alonks1234 commented 1 year ago

Got it, thanks!