I use this V4L2 Test Bench application to apply my setting, it look like to the best tool to control a webcam. After each restart of the computer the settings are gone. I found out by Google that Linux lacks of making webcam setting persistent without any tricks. I found a hint on Google (see attached file persistent.png) but this doesn’t work at all. I’ve created this bash script, but when I execute it I get only tons of errors:
unknown control 'focus_auto'
VIDIOC_S_EXT_CTRLS: failed: Permission denied
Error setting controls: Permission denied
unknown control 'exposure_auto'
unknown control 'exposure_absolute'
And nothing changes.
For me the following settings are crucial
- Frame size 1920x1080
- Frame rate 30 fps
- Capture image Formats: MJPG (Motion-JPEG), it always switch back to YUYV which is completely useless, Frame Rate drops to 5 fps, the video just stucks
- Power Line Frequency 50 Hz, at 60 Hz the video just stucks
- Is the any setting in V4L2 that improves auto focus for reading barcodes and qr-codes?
How can I make these settings permanent?
Thanks for your help

