-
Notifications
You must be signed in to change notification settings - Fork 44
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
Simplecam example not running on Rasberry pi 4 with camera module 3 #46
Comments
Also tried with 1.19.3 (the go version mentioned in the link I posted above) |
@florianbgt Thanks for pointing this out. What I would suggest is to ensure you have lates updates on the device itself. |
I just double checked and everything is up to date on the device itself. |
Try to use the v4l2-ctl command to get the image. If the same error occurs, it may be a driver problem. Enable legacy camera stack via sudo raspi-config command. |
Hello all @florianbgt and @vincent-vinf |
Same issue with Pi Zero W, with camera module 3 aka v1.3. It seems to not like the set/get FPS parameters. After removing that, it seems to die at Would love to help out but not sure where or how to start... any pointers? |
Thanks for reporting @garytong . Jumping on the net to order new cam modules this weekend. |
@garytong Until my module 3 arrives from adafruit, I won't be able to debug this. Below is a snippet of notes I keep/use when debugging ioctl v4l2 issues (which will be my first go-to once i get the module 3). I use strace on the device to see what calls are succeeding. If you are adventurous, you can start there. As a warning, if you have never looked at ioctl system calls, it can be intimidating. Testing and debugging v4l2 callsOn device debugging can be useful to track down issues with
Example:
|
I found an Arducam (8 MP v2) camera module and testing it with the code base. It is displaying similar behavior where it is failing at VIDIOC_STREAMON ioctl message. The following is the output of command
There are two errors in this output. The first one is when the code attempts to set crop capability for the driver:
This is ignored (i think). The second error, is when the code attempt to start the video stream:
This could be caused by a number of reasons, I will need to spend time with the camera to figure out. Thanks for bringing this to my attention. |
Thank you! Thank you for the pointers and dedication to this project. I’ll give it a shot later this week. |
Hi there,
Trying to run the simplecam example on a raspberry pi 4 with camera module 3 and I get the following error:
I did follow the step mentioned here and I am building the binaries from the PI itself
https://medium.com/go4vl/build-a-wifi-camera-using-the-raspberry-pi-zero-w-a-camera-module-and-go-1d5fadfa7d76
Seem like a bug but feel free to close if it is not supported on this hardware.
Using go 1.20 and Raspberry os
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: