3d-printing
3d-printing copied to clipboard
Manual focus settings don't apply on startup or reboot
In the Webcam manual focus settings section, I showed how to add some values to start.sh to get them to apply when the webcam stream starts up:
sudo v4l2-ctl --set-ctrl=focus_auto=0
sudo v4l2-ctl --set-ctrl=focus_absolute=22
sudo v4l2-ctl --set-ctrl=exposure_auto=1
sudo v4l2-ctl --set-ctrl=exposure_absolute=180
The problem is it doesn't seem like these settings are applying after I reboot the Pi. So maybe I need to change the command, or figure out why the start.sh script isn't being called the way I thought it was...