Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add to documentation octoprint should be part of video group for camera settings to work #209

Open
bschwand opened this issue Jan 13, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@bschwand
Copy link

I just debugged an issue where camera settings would not list my camera.
I run octoprint under a different user, and use ustreamer for the camera streaming.
the command using v4l2-ctl to list the cameras in /dev/video* would get a permission denied because the octoprint process did not have access to the video device.

Solution: add user octoprint to group video in /etc/group ( adduser octoprint video)

I do not believe this should be part of the octoprint documentation BTW, AFAIK octoprint only uses the webcam http stream and so there is no need for it to access the hardware in normal setting. Only the plugin camera settings needs that access.

@bschwand bschwand added enhancement New feature or request needs review labels Jan 13, 2024
@The-EG The-EG added documentation Improvements or additions to documentation and removed needs review labels Jan 14, 2024
@The-EG
Copy link
Owner

The-EG commented Jan 14, 2024

I would generally expect that a user with enough knowledge to setup something non-standard like that would also know enough to have the users setup properly in the first place, but it doesn't hurt to add it in.

@bschwand
Copy link
Author

I do have users setup properly in the first place, I just run octoprint as a non-root user. Retrospectively, yes it's clear the octoprint user needs access to the video devices. However that is not something mentioned explicitely in the octoprint docs, if you do a manual install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants