3d-printing icon indicating copy to clipboard operation
3d-printing copied to clipboard

Manual focus settings don't apply on startup or reboot

Open geerlingguy opened this issue 4 years ago • 0 comments

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...

geerlingguy avatar May 23 '21 16:05 geerlingguy