pi cam v2 not working
have updated to crowsnest V4 and can't get my pi cam V2 to work

53 Replies
i have added the pi v2 to my cam library
and typed in the device


yes
i even had @miklschmidt on the sideline if i had some remediate questions
im a linux noob
is there anyway i can see on the pi, if i have done something wrong
It should be ok as long as you followed Mikel's instructions after SSHing into the pi
i forgot to ask if you changed your /boot/config.txt, can you paste it?
Ah wrong URL.. 🙂
It's /webcam/webrtc
isn't that how i got this

Yeah probably. Not sure if that's available before the dtoverlay has been set
please try /webcam/webrtc instead of /webcam/?action=stream
Now just black screen ( no connecting logo)
I got nothing :S

tried to restart the mainsail
and it trying to connect for 1 sek and then just black screen
dang
like its on but the exposure is just viewing black
does i explain it correct ?
That could be a thing, can you post your crowsnest.log?
btw i see a lot of resolutions options
https://media.discordapp.net/attachments/1134222994428940378/1134225497434378280/image.png?width=638&height=233
is it meant to unly have 640x480
@d_jespersen try using
ustreamer
instead of camera-stream in your crowsnest.conf and revert to the old /webcam/?action=stream url.
I can't see any options for camera control in the crowsnest log

change that to MJPEG-streamer
Tried them all
Now with white screen

I give up
ðŸ˜
this is on the phone
.
.
.
this is on the computer

I'd go back to crowsnest v3 i think
and for how long can i do that?
for ever
Well at least until something unexpected makes it not work anymore, i don't know what that would be.
You'd have to update system packages for that to happen.
Oh btw did you reboot the thing after installing crowsnest v4?
I had recently similar problems but with a v3 camera module. A few ideas to test:
1. Have you examined the output of
libcamera-hello
, to see it there are other problems?
2. Have you tried to take a pic from outside crowsnest to see if up to that point everything is ok? libcamera-still -o test.jpg
3. In my case I had to do again make install
for camera-streamer alone. I can't see in your crowsnest.log that dependency being checked, i.e. I miss this line Dependency: 'camera-streamer' found in bin/camera-streamer/camera-streamer.
in your log compared to mine.Yes
I’m Linux noob.
Can you explain the steps I have to do.
To test 2)
That should generate a test.jpg that you can view in the mainsail machine tab.
To test 3)
gives a black screen on that test jpg


this is test 3
it came with an error
first notice after i did the reboot

its working but very bad compared to before
new image

up the resolution
try
sudo make install
insteadold image

I think this is just a matter of configuration in crowsnest.conf
do i need to do this now
tried all of those and they all give black screen except the lowest resolution


played around with resolution and found the magic number for a pi cam V2
and its 3200x1850

thanks @miklschmidt and @jornamon
3. did the job
I'm glad it worked! 😀
Nice camera placement by the way!
thanks. with this i can do inspection:-)

Woah that’s quite a bit!
looks nice

I've seen lately camera-streamer consuming quite a lot of system CPU. I also have a high resolution, I don't now if it's because of that, but watch out, specially if you see any klipper shutdown due to timming errors.