How to enable HDR with Raspberry Pi Camera Module 3 on Octoprint RC3 Bullseye

Camera model
Raspberry Pi Camera Module 3
What is the problem?
I want to enable HDR feature of RP Cam 3 in Octoprint. The Camera Settings plugin helps in manual focus which is good but it doesn't help with the HDR setting. By enabling HDR I will be able to monitor the print well while using the feature that the camera has.
What did you already try to solve it?
I tried to use this command as suggested in the PIcamera2 Library manual but I am getting an error.
I tried to reboot the OP in safe mode etc but still cant enable HDR.
Command used: v4l2-ctl --set-ctrl wide_dynamic_range=1 -d /dev/v4l-subdev0
Error:
VIDIOC_S_EXT_CTRLS: failed: Device or resource busy
Error setting controls: Device or resource busy

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
webcamd.log (64.7 KB)
octoprint.log (588.8 KB)

Additional information about your setup (OctoPrint version, OctoPi version, ...)
Running OctoPi RC3 based on bullseye OS.

1 Like