Skip to content

Commit

Permalink
Fix rpi cam not working in mjpeg-streamer guysoft/OctoPi#837 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Dec 12, 2024
1 parent 637bcf5 commit 22e6558
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/raspicam/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ set -e
echo "# enable raspicam" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
echo "start_x=1" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
echo "gpu_mem=128" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
# See why camera_auto_detect=0 https://github.com/guysoft/OctoPi/issues/837#issuecomment-2536532941
sed -i 's/^camera_auto_detect=.*$/camera_auto_detect=0/' /"${BASE_BOOT_MOUNT_PATH}"/config.txt

0 comments on commit 22e6558

Please sign in to comment.