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