fluidd-core / FluiddPI

FluiddPi - A Pi image with Klipper, Moonraker, Fluidd and Web Camera support pre-installed.
https://docs.fluidd.xyz
GNU General Public License v3.0
299 stars 58 forks source link

fix: fix support for Raspberry Pi Camera Module v2.1 #59

Open mgcrea opened 1 year ago

mgcrea commented 1 year ago

Encountered some issues on a fresh fluiddpi install where a brand new RaspberryPi Camera module would not work properly, labelled as "Camera Module v2.1".

After trying an rpi-update and an apt-get update; apt-get upgrade with no luck

I finally did pinpoint the issue to this test in the webcamd service:

if [ "`vcgencmd get_camera`" = "supported=1 detected=1" ]; then

that would fail on my pi since the output of vcgencmd get_camera is actually:

supported=1 detected=1, libcamera interfaces=0

Related to #50