^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/iio/devices/iio:deviceX/calibrate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: July 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.7
^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) Writing '1' will perform a FOC (Fast Online Calibration). The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) corresponding calibration offsets can be read from `*_calibbias`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) entries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) What: /sys/bus/iio/devices/iio:deviceX/location
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Date: July 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) KernelVersion: 4.7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Contact: linux-iio@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) This attribute returns a string with the physical location where
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) the motion sensor is placed. For example, in a laptop a motion
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) sensor can be located on the base or on the lid. Current valid
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) values are 'base' and 'lid'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) What: /sys/bus/iio/devices/iio:deviceX/id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Date: September 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) KernelVersion: 4.14
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Contact: linux-iio@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) This attribute is exposed by the CrOS EC sensors driver and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) represents the sensor ID as exposed by the EC. This ID is used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) by the Android sensor service hardware abstraction layer (sensor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) HAL) through the Android container on ChromeOS.