Enric Balletbo i Serra | 974e6f0 | 2016-08-01 11:54:35 +0200 | [diff] [blame] | 1 | What: /sys/bus/iio/devices/iio:deviceX/calibrate |
| 2 | Date: July 2015 |
| 3 | KernelVersion: 4.7 |
| 4 | Contact: linux-iio@vger.kernel.org |
| 5 | Description: |
| 6 | Writing '1' will perform a FOC (Fast Online Calibration). The |
Mauro Carvalho Chehab | 3443333 | 2020-10-30 08:40:39 +0100 | [diff] [blame] | 7 | corresponding calibration offsets can be read from `*_calibbias` |
Enric Balletbo i Serra | 974e6f0 | 2016-08-01 11:54:35 +0200 | [diff] [blame] | 8 | entries. |
| 9 | |
| 10 | What: /sys/bus/iio/devices/iio:deviceX/location |
| 11 | Date: July 2015 |
| 12 | KernelVersion: 4.7 |
| 13 | Contact: linux-iio@vger.kernel.org |
| 14 | Description: |
| 15 | This attribute returns a string with the physical location where |
| 16 | the motion sensor is placed. For example, in a laptop a motion |
| 17 | sensor can be located on the base or on the lid. Current valid |
| 18 | values are 'base' and 'lid'. |
Gwendal Grignou | 11b86c7 | 2017-10-12 19:33:23 +0200 | [diff] [blame] | 19 | |
| 20 | What: /sys/bus/iio/devices/iio:deviceX/id |
Gwendal Grignou | 8b7a6a3 | 2019-04-26 13:39:16 +0200 | [diff] [blame] | 21 | Date: September 2017 |
Gwendal Grignou | 11b86c7 | 2017-10-12 19:33:23 +0200 | [diff] [blame] | 22 | KernelVersion: 4.14 |
| 23 | Contact: linux-iio@vger.kernel.org |
| 24 | Description: |
Gwendal Grignou | 8b7a6a3 | 2019-04-26 13:39:16 +0200 | [diff] [blame] | 25 | This attribute is exposed by the CrOS EC sensors driver and |
| 26 | represents the sensor ID as exposed by the EC. This ID is used |
| 27 | by the Android sensor service hardware abstraction layer (sensor |
| 28 | HAL) through the Android container on ChromeOS. |