-
TeamFDM.com is an UNOFFICIAL companion site for the DIY Voron 3D printer community. For official docs and final source of truth, visit the Official Voron Discord or the Voron Github
- 0
TeamFDM.com is an UNOFFICIAL companion site for the DIY Voron 3D printer community. For official docs and final source of truth, visit the Official Voron Discord or the Voron Github
Question
thien
So I had Bullseye installed before, but on a klipper update, my Klippersceen wouldn't work, because it had only python 3.7 and not 3.8. I read that the simplest fix was to reinstall raspberry pi OS, which I did. I ran a dual webcam setup one Logitech c270 and one raspberry pi Cam v2. It works fine on Bullseye, but Bookwork cannot find the pi camera. The Logitech c270 works just fine.
My crownest setup looks just like this before on Bullseye and it worked fine:
[crowsnest]
log_path: ~/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
[cam pi]
mode: mjpg # mjpg/rtsp
port: 8080 # Port
device: /dev/video0 # See Log for available ...
resolution: 1280x720 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
[cam 270]
mode: mjpg # mjpg/rtsp
port: 8081 # Port
device: /dev/video1 # See Log for available ...
resolution: 1280x720 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
The setup before didn't work for me. I read somewhere that bookworm prefer camera-streamer, so I tried to use camera-streamer mode on both. But I can only get a black screen on the raspberry pi.
[crowsnest]
log_path: /home/pi/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false
[cam logitech]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554 # Set different ports for each device!
port: 8080 # HTTP/MJPG Stream/Snapshot Port
device: /dev/v4l/by-id/usb-046d_C270_HD_WEBCAM_54EF4160-video-index0 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
[cam pi]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: true # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8555 # Set different ports for each device!
port: 8081 # HTTP/MJPG Stream/Snapshot Port
device: /base/soc/i2c0mux/i2c@1/imx219@10 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
I ran this command and got the following results:
pi@voron2:~ $ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1
pi@voron2:~ $ libcamera-jpeg -o test.jpg
[0:17:13.289578619] [2828] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
[0:17:13.289673267] [2828] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
[0:17:13.289761638] [2828] INFO Camera camera_manager.cpp:316 libcamera v0.3.1+50-69a894c4
Preview window unavailable
ERROR: *** no cameras available ***
Anyone got any luck to get the pi camera to work?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.