sysfs-bus-iio-cros-ec 1.0 KB

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