mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Gwendal Grignou](/assets/img/avatar_default.png)
This new sysfs entry is used to interpret ring buffer information, mainly by Android sensor HAL. It expand to all sensors, the documentation about 'id' we can found in Documentation/ABI/testing/sysfs-bus-iio-cros-ec. Also fix typo in docs, I replace 'Septembre' by 'September'. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
28 lines
1 KiB
Text
28 lines
1 KiB
Text
What: /sys/bus/iio/devices/iio:deviceX/calibrate
|
|
Date: July 2015
|
|
KernelVersion: 4.7
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
Writing '1' will perform a FOC (Fast Online Calibration). The
|
|
corresponding calibration offsets can be read from *_calibbias
|
|
entries.
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/location
|
|
Date: July 2015
|
|
KernelVersion: 4.7
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
This attribute returns a string with the physical location where
|
|
the motion sensor is placed. For example, in a laptop a motion
|
|
sensor can be located on the base or on the lid. Current valid
|
|
values are 'base' and 'lid'.
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/id
|
|
Date: September 2017
|
|
KernelVersion: 4.14
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
This attribute is exposed by the CrOS EC sensors driver and
|
|
represents the sensor ID as exposed by the EC. This ID is used
|
|
by the Android sensor service hardware abstraction layer (sensor
|
|
HAL) through the Android container on ChromeOS.
|