^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 5.8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: linux-iio@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Contaminants build-up in the measurement chamber or optical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) elements deterioration leads to sensor drift.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) One can compensate for sensor drift by using automatic self
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) calibration procedure (asc).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Writing 1 or 0 to this attribute will respectively activate or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) deactivate asc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Upon reading current asc status is returned.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Date: June 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) KernelVersion: 5.8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: linux-iio@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Contaminants build-up in the measurement chamber or optical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) elements deterioration leads to sensor drift.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) One can compensate for sensor drift by using forced
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) recalibration (frc). This is useful in case there's known
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) co2 reference available nearby the sensor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Picking value from the range [400 1 2000] and writing it to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) sensor will set frc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Upon reading current frc value is returned. Note that after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) power cycling default value (i.e 400) is returned even though
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) internally sensor had recalibrated itself.