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

Startup fails if camera is not named /dev/videox #312

Closed
firesurfer opened this issue Jan 17, 2024 · 0 comments · Fixed by #313
Closed

Startup fails if camera is not named /dev/videox #312

firesurfer opened this issue Jan 17, 2024 · 0 comments · Fixed by #313

Comments

@firesurfer
Copy link
Contributor

I thought an additional issue might make sense as it differs from #310. As already stated in PR #311

With udev and/or in containers it is possible to have the camera mounted where ever you want in the file system instead of just /dev/videox. I suggest the code should not make any assumptions about the possible paths

I didnt perform any tests yet but I think v4l2-ctl --list-devices will actually correctly list all devices even if they are not at /dev/videox

Example output for my system is:

Logitech Webcam C925e (usb-0000:12:00.0-1.3):
	/dev/video0
	/dev/video1
	/dev/media0

So apparently it finds the /dev/media0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant