The-EG / OctoPrint-CameraSettings

An OctoPrint plugin that allows a user to interactively change camera settings.
GNU Affero General Public License v3.0
55 stars 7 forks source link

Docker documentation #56

Closed wassereimer86 closed 3 years ago

wassereimer86 commented 3 years ago

Hey,

you should update your documentation for docker users. Perhaps README.md or somewhere else easy to find. I also had the problem that i had no control option for the camera. You have to forward all devices to the docker container from octoprint. Standard (octoprint docker documentation) is only /dev/video0:/dev/video0. After i added the rest devices from the camera, it worked. In my case i was missing

      - /dev/snd/controlC1:/dev/snd/controlC1
      - /dev/video1:/dev/video1
      - /dev/input/event8:/dev/input/event8

Thank you for the plugin!

Best regards

The-EG commented 3 years ago

Hi there, thanks for the information. I can't really support a setup with docker, and as you've noticed it's probably going to be different for each case and will likely also depend on how many USB devices are plugged in and maybe where they are at. It's possible for those devices to get different numbers on bootup if the devices get brought up in a slightly different order (ie. a reboot vs a cold boot).

But, I'll see if I can include your information in a way that would at least point potential docker users in the right direction.

The-EG commented 3 years ago

Closing. I may still add something to the docs, but there's really nothing else to be done here. This is pinned so that other users should see it first if they come to create a similar issue, however.