Skip to content

Commit 22e6558

Browse files
committed
Fix rpi cam not working in mjpeg-streamer guysoft/OctoPi#837 (comment)
1 parent 637bcf5 commit 22e6558

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/modules/raspicam/start_chroot_script

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set -e
55
echo "# enable raspicam" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
66
echo "start_x=1" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
77
echo "gpu_mem=128" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
8+
# See why camera_auto_detect=0 https://github.com/guysoft/OctoPi/issues/837#issuecomment-2536532941
9+
sed -i 's/^camera_auto_detect=.*$/camera_auto_detect=0/' /"${BASE_BOOT_MOUNT_PATH}"/config.txt

0 commit comments

Comments
 (0)