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

Problem with two cameras (raspberrypi camera and C270 [USB]) #264

Closed
nilbest opened this issue May 7, 2024 · 1 comment
Closed

Problem with two cameras (raspberrypi camera and C270 [USB]) #264

nilbest opened this issue May 7, 2024 · 1 comment

Comments

@nilbest
Copy link

nilbest commented May 7, 2024

What happened

I set up both cameras yesterday, it was all fine.
Pi Cam as /dev/video0
C270 as /dev/v4l/by-id/usb-046d_0825_B862FCA0-video-index0
Today I started klipper and the Pi again and now some how both cameras where still detected via the logs but got switched internally around.
Log:
Pi Cam -> /dev/video2
C270 -> /dev/video0 but still as /dev/v4l/by-id/usb-046d_0825_B862FCA0-video-index0
And the Pi Camera got no signal.
I used both in ustreamer mode and everything was fine with good fps (around 15).

I changed them around and the C270 was fine again.
But to get the Pi Cam back I have to use camera-streamer, but then both video feeds have low fps at under 5.

What did you expect to happen

I expected both cameras would have the same video{Number} then yesterday because I didn't change anything.
They would be directly callable via /dev/video0 and as /dev/v4l/by-id/usb-046d_0825_B862FCA0-video-index0 for the C270.
I expected the same fps performance then yesterday and the same modes for both of them.

How to reproduce

I'm not sure.
Happened to me every new day when I start my printer.

Additional information

Raspberry Pi 4 B 2Gb
Logitec C270
Raspberry Pi Camera Module 5MP OV5647

crownsnest v4.1.9-gd75a3aeb
klipper v0.12.0-179-g434770ea
mainsail v2.11.2
mainsail-config v1.2.1-0-ge57810d5
moonraker v0.8.0-354-gba942855
sonar v0.1.3-1-geacc498a
System OS-Packages

@nilbest nilbest added the bug Something isn't working label May 7, 2024
@nilbest nilbest changed the title Problem with two cameras, one raspberrypi camera and one C270 Problem with two cameras (raspberrypi camera and C270 [USB]) May 7, 2024
@mryel00 mryel00 added not an Issue and removed bug Something isn't working labels May 7, 2024
Copy link

github-actions bot commented May 7, 2024

Ahoi!

It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.

We use the Github Issue-Tracker only for development related
topics, like feature requests, bug reports etc. To get help,
please join our Discord-Server or ask in Github Discussions:

This ticket will be automatically closed.

Fair wind and a following sea!
~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

@github-actions github-actions bot closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants