2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2011-08-12 15:55:38 +00:00
|
|
|
Hardware chip or device accessed by one communication port.
|
2010-11-22 23:31:16 +00:00
|
|
|
Corresponds to a grouping of sensor channels. X is the IIO
|
|
|
|
index of the device.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2010-11-22 23:31:16 +00:00
|
|
|
What: /sys/bus/iio/devices/triggerX
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
An event driven driver of data capture to an in kernel buffer.
|
|
|
|
May be provided by a device driver that also has an IIO device
|
|
|
|
based on hardware generated events (e.g. data ready) or
|
|
|
|
provided by a separate driver for other hardware (e.g.
|
2010-11-22 23:31:16 +00:00
|
|
|
periodic timer, GPIO or high resolution timer).
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2010-05-04 13:43:05 +00:00
|
|
|
Contains trigger type specific elements. These do not
|
|
|
|
generalize well and hence are not documented in this file.
|
2010-11-22 23:31:16 +00:00
|
|
|
X is the IIO index of the trigger.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2011-08-30 11:32:49 +00:00
|
|
|
Directory of attributes relating to the buffer for the device.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/name
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Description of the physical chip / device for device X.
|
|
|
|
Typically a part number.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2021-02-15 19:10:02 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/label
|
|
|
|
KernelVersion: 5.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Optional symbolic label for a device.
|
|
|
|
This is useful for userspace to be able to better identify an
|
|
|
|
individual device.
|
|
|
|
|
|
|
|
The contents of the label are free-form, but there are some
|
|
|
|
standardized uses:
|
|
|
|
|
|
|
|
For proximity sensors which give the proximity (of a person) to
|
|
|
|
a certain wlan or wwan antenna the following standardized labels
|
|
|
|
are used:
|
|
|
|
|
|
|
|
* "proximity-wifi"
|
|
|
|
* "proximity-lte"
|
|
|
|
* "proximity-wifi-lte"
|
|
|
|
* "proximity-wifi-left"
|
|
|
|
* "proximity-wifi-right"
|
|
|
|
|
|
|
|
These are used to indicate to userspace that these proximity
|
|
|
|
sensors may be used to tune transmit power to ensure that
|
|
|
|
Specific Absorption Rate (SAR) limits are honored.
|
|
|
|
The "-left" and "-right" labels are for devices with multiple
|
|
|
|
antennas.
|
|
|
|
|
|
|
|
In some laptops/tablets the standardized proximity sensor labels
|
|
|
|
instead indicate proximity to a specific part of the device:
|
|
|
|
|
|
|
|
* "proximity-palmrest" indicates proximity to the keyboard's palmrest
|
|
|
|
* "proximity-palmrest-left" indicates proximity to the left part of the palmrest
|
|
|
|
* "proximity-palmrest-right" indicates proximity to the right part of the palmrest
|
|
|
|
* "proximity-lap" indicates the device is being used on someone's lap
|
|
|
|
|
|
|
|
Note "proximity-lap" is special in that its value may be
|
|
|
|
calculated by firmware from other sensor readings, rather then
|
|
|
|
being a raw sensor reading.
|
|
|
|
|
2021-02-15 19:10:03 +00:00
|
|
|
For accelerometers used in 2-in-1s with 360° (yoga-style) hinges,
|
|
|
|
which have an accelerometer in both their base and their display,
|
|
|
|
the following standardized labels are used:
|
|
|
|
|
|
|
|
* "accel-base"
|
|
|
|
* "accel-display"
|
|
|
|
|
2017-12-05 10:57:27 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
|
2016-03-09 18:05:49 +00:00
|
|
|
KernelVersion: 4.5
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
String identifying current posix clock used to timestamp
|
|
|
|
buffered samples and events for device X.
|
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
|
|
|
|
What: /sys/bus/iio/devices/triggerX/sampling_frequency
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Some devices have internal clocks. This parameter sets the
|
|
|
|
resulting sampling frequency. In many devices this
|
2012-06-12 13:31:27 +00:00
|
|
|
parameter has an effect on input filters etc. rather than
|
2010-05-04 13:43:05 +00:00
|
|
|
simply controlling when the input is sampled. As this
|
2020-08-13 06:52:20 +00:00
|
|
|
affects data ready triggers, hardware buffers and the sysfs
|
2010-05-04 13:43:05 +00:00
|
|
|
direct access interfaces, it may be found in any of the
|
2020-08-13 06:52:20 +00:00
|
|
|
relevant directories. If it affects all of the above
|
2011-09-21 10:15:51 +00:00
|
|
|
then it is to be found in the base device directory.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
|
2017-02-09 01:54:30 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
|
|
|
|
What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2019-05-23 09:07:37 +00:00
|
|
|
When the internal sampling clock can only take a specific set of
|
|
|
|
frequencies, we can specify the available values with:
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2019-05-23 09:07:37 +00:00
|
|
|
- a small discrete set of values like "0 2 4 6 8"
|
|
|
|
- a range with minimum, step and maximum frequencies like
|
|
|
|
"[min step max]"
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
|
2011-02-22 20:46:18 +00:00
|
|
|
KernelVersion: 2.6.38
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Hardware dependent ADC oversampling. Controls the sampling ratio
|
|
|
|
of the digital filter if available.
|
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
|
2011-02-22 20:46:18 +00:00
|
|
|
KernelVersion: 2.6.38
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Hardware dependent values supported by the oversampling filter.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2012-06-12 13:31:27 +00:00
|
|
|
Raw (unscaled no bias removal etc.) voltage measurement from
|
2010-11-22 23:31:16 +00:00
|
|
|
channel Y. In special cases where the channel does not
|
|
|
|
correspond to externally available input one of the named
|
|
|
|
versions may be used. The number must always be specified and
|
2011-09-21 10:15:51 +00:00
|
|
|
unique to allow association with event codes. Units after
|
2013-09-28 09:31:00 +00:00
|
|
|
application of scale and offset are millivolts.
|
2010-11-22 23:31:16 +00:00
|
|
|
|
2015-05-22 16:17:38 +00:00
|
|
|
Channels with 'i' and 'q' modifiers always exist in pairs and both
|
|
|
|
channels refer to the same signal. The 'i' channel contains the in-phase
|
|
|
|
component of the signal while the 'q' channel contains the quadrature
|
|
|
|
component.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Raw (unscaled) differential voltage measurement equivalent to
|
|
|
|
channel Y - channel Z where these channel numbers apply to the
|
|
|
|
physically equivalent inputs when non differential readings are
|
|
|
|
separately available. In differential only parts, then all that
|
2011-09-21 10:15:51 +00:00
|
|
|
is required is a consistent labeling. Units after application
|
2013-09-28 09:31:00 +00:00
|
|
|
of scale and offset are millivolts.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2014-11-25 18:25:39 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
|
|
|
|
KernelVersion: 3.17
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled no bias removal etc.) current measurement from
|
|
|
|
channel Y. In special cases where the channel does not
|
|
|
|
correspond to externally available input one of the named
|
|
|
|
versions may be used. The number must always be specified and
|
|
|
|
unique to allow association with event codes. Units after
|
|
|
|
application of scale and offset are milliamps.
|
|
|
|
|
2017-07-16 23:34:09 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
|
|
|
|
KernelVersion: 4.5
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled no bias removal etc.) power measurement from
|
|
|
|
channel Y. The number must always be specified and
|
|
|
|
unique to allow association with event codes. Units after
|
|
|
|
application of scale and offset are milliwatts.
|
|
|
|
|
2011-09-21 10:15:52 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
|
|
|
|
KernelVersion: 3.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw capacitance measurement from channel Y. Units after
|
|
|
|
application of scale and offset are nanofarads.
|
|
|
|
|
|
|
|
What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
|
|
|
|
KernelVersion: 3.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw differential capacitance measurement equivalent to
|
|
|
|
channel Y - channel Z where these channel numbers apply to the
|
|
|
|
physically equivalent inputs when non differential readings are
|
|
|
|
separately available. In differential only parts, then all that
|
|
|
|
is required is a consistent labeling. Units after application
|
2012-04-25 14:54:57 +00:00
|
|
|
of scale and offset are nanofarads.
|
2011-09-21 10:15:52 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
|
2014-02-05 16:57:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2012-06-12 13:31:27 +00:00
|
|
|
Raw (unscaled no bias removal etc.) temperature measurement.
|
2012-04-25 14:54:57 +00:00
|
|
|
If an axis is specified it generally means that the temperature
|
2010-11-22 23:31:16 +00:00
|
|
|
sensor is associated with one part of a compound device (e.g.
|
2014-02-05 16:57:00 +00:00
|
|
|
a gyroscope axis). The ambient and object modifiers distinguish
|
|
|
|
between ambient (reference) and distant temperature for contact-
|
|
|
|
less measurements. Units after application of scale and offset
|
2012-06-15 17:25:23 +00:00
|
|
|
are milli degrees Celsius.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
|
2011-02-24 11:32:45 +00:00
|
|
|
KernelVersion: 2.6.38
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Scaled temperature measurement in milli degrees Celsius.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Acceleration in direction x, y or z (may be arbitrarily assigned
|
2011-09-21 10:15:51 +00:00
|
|
|
but should match other such assignments on device).
|
|
|
|
Has all of the equivalent parameters as per voltageY. Units
|
|
|
|
after application of scale and offset are m/s^2.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2017-01-05 10:24:03 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
|
|
|
|
KernelVersion: 4.11
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Gravity in direction x, y or z (may be arbitrarily assigned
|
|
|
|
but should match other such assignments on device).
|
|
|
|
Units after application of scale and offset are m/s^2.
|
|
|
|
|
2018-04-22 22:04:10 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw
|
2020-12-15 05:44:44 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw
|
2018-04-22 22:04:10 +00:00
|
|
|
KernelVersion: 4.17
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Angle of rotation. Units after application of scale and offset
|
|
|
|
are radians.
|
|
|
|
|
2018-05-22 07:52:32 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw
|
2018-08-28 10:30:34 +00:00
|
|
|
KernelVersion: 4.19
|
2018-05-22 07:52:32 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Relative position in direction x or y on a pad (may be
|
|
|
|
arbitrarily assigned but should match other such assignments on
|
|
|
|
device).
|
|
|
|
Units after application of scale and offset are milli percents
|
|
|
|
from the pad's size in both directions. Should be calibrated by
|
|
|
|
the consumer.
|
|
|
|
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Angular velocity about axis x, y or z (may be arbitrarily
|
2012-06-12 13:31:27 +00:00
|
|
|
assigned). Has all the equivalent parameters as per voltageY.
|
|
|
|
Units after application of scale and offset are radians per
|
|
|
|
second.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Inclination raw reading about axis x, y or z (may be
|
|
|
|
arbitrarily assigned). Data converted by application of offset
|
2012-06-12 13:31:27 +00:00
|
|
|
and scale to degrees.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Magnetic field along axis x, y or z (may be arbitrarily
|
2011-09-21 10:15:51 +00:00
|
|
|
assigned). Data converted by application of offset
|
|
|
|
then scale to Gauss.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
|
2010-11-22 23:31:16 +00:00
|
|
|
KernelVersion: 2.6.36
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2011-09-21 10:15:51 +00:00
|
|
|
Highest value since some reset condition. These
|
|
|
|
attributes allow access to this and are otherwise
|
|
|
|
the direct equivalent of the <type>Y[_name]_raw attributes.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
|
2010-11-22 23:31:16 +00:00
|
|
|
KernelVersion: 2.6.36
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
A computed peak value based on the sum squared magnitude of
|
|
|
|
the underlying value in the specified directions.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2012-11-20 13:36:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw
|
|
|
|
KernelVersion: 3.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw pressure measurement from channel Y. Units after
|
|
|
|
application of scale and offset are kilopascal.
|
|
|
|
|
2014-10-13 13:53:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_input
|
|
|
|
KernelVersion: 3.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Scaled pressure measurement from channel Y, in kilopascal.
|
|
|
|
|
2013-12-01 15:08:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
|
|
|
|
KernelVersion: 3.14
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw humidity measurement of air. Units after application of
|
|
|
|
scale and offset are milli percent.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
|
|
|
|
KernelVersion: 3.14
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Scaled humidity measurement in milli percent.
|
|
|
|
|
2014-10-03 16:25:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Averaged raw measurement from channel X. The number of values
|
|
|
|
used for averaging is device specific. The converting rules for
|
|
|
|
normal raw values also applies to the averaged raw values.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset
|
2014-11-25 18:25:39 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_current_offset
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_current_q_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_current_i_offset
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
|
2012-11-20 13:36:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
|
2014-10-23 11:44:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
|
2015-03-13 15:36:58 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset
|
2015-03-28 00:02:39 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset
|
2018-04-22 22:04:10 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset
|
2021-03-14 18:15:08 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_offset
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
If known for a device, offset to be added to <type>[Y]_raw prior
|
|
|
|
to scaling by <type>[Y]_scale in order to obtain value in the
|
2012-06-12 13:31:27 +00:00
|
|
|
<type> units as specified in <type>[Y]_raw documentation.
|
2011-09-21 10:15:51 +00:00
|
|
|
Not present if the offset is always 0 or unknown. If Y or
|
|
|
|
axis <x|y|z> is not present, then the offset applies to all
|
|
|
|
in channels of <type>.
|
2010-11-22 23:31:16 +00:00
|
|
|
May be writable if a variable offset can be applied on the
|
|
|
|
device. Note that this is different to calibbias which
|
|
|
|
is for devices (or drivers) that apply offsets to compensate
|
|
|
|
for variation between different instances of the part, typically
|
|
|
|
adjusted by using some hardware supported calibration procedure.
|
2011-09-21 10:15:51 +00:00
|
|
|
Calibbias is applied internally, offset is applied in userspace
|
|
|
|
to the _raw output.
|
2010-11-22 23:31:16 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale
|
2014-11-05 16:18:11 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
|
2014-11-25 18:25:39 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_current_scale
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_current_i_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
|
2015-01-11 19:10:07 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale
|
2015-01-11 19:10:08 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_distance_scale
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
|
2012-11-20 13:36:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
|
2014-10-23 11:44:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
|
2015-01-11 19:10:09 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
|
2015-03-16 11:48:20 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
|
2016-09-28 17:59:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale
|
2018-04-22 22:04:10 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale
|
2021-09-20 13:54:13 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
|
2010-05-07 14:38:57 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
If known for a device, scale to be applied to <type>Y[_name]_raw
|
|
|
|
post addition of <type>[Y][_name]_offset in order to obtain the
|
|
|
|
measured value in <type> units as specified in
|
2012-04-25 14:54:57 +00:00
|
|
|
<type>[Y][_name]_raw documentation. If shared across all in
|
2011-09-21 10:15:51 +00:00
|
|
|
channels then Y and <x|y|z> are not present and the value is
|
|
|
|
called <type>[Y][_name]_scale. The peak modifier means this
|
|
|
|
value is applied to <type>Y[_name]_peak_raw values.
|
2010-11-22 23:31:16 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
|
2012-04-24 16:56:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
|
2012-11-20 13:36:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2012-06-12 13:31:27 +00:00
|
|
|
Hardware applied calibration offset (assumed to fix production
|
2011-09-21 10:15:51 +00:00
|
|
|
inaccuracies).
|
2021-01-17 15:38:10 +00:00
|
|
|
icm42600: For this device values are real physical offsets
|
|
|
|
expressed in SI units (m/s^2 for accelerometers and rad/s
|
|
|
|
for gyroscope)/
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available
|
|
|
|
KernelVersion: 5.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Available values of calibbias. Maybe expressed as either of:
|
|
|
|
|
|
|
|
- a small discrete set of values like "0 2 4 6 8"
|
|
|
|
- a range specified as "[min step max]"
|
2010-11-22 23:31:16 +00:00
|
|
|
|
2020-08-28 23:31:55 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
|
2012-11-20 13:36:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
|
2015-03-16 11:48:20 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2012-06-12 13:31:27 +00:00
|
|
|
Hardware applied calibration scale factor (assumed to fix
|
2010-11-22 23:31:16 +00:00
|
|
|
production inaccuracies). If shared across all channels,
|
|
|
|
<type>_calibscale is used.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2015-01-29 18:45:10 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-29 18:45:10 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Gender of the user (e.g.: male, female) used by some pedometers
|
|
|
|
to compute the stride length, distance, speed and activity
|
|
|
|
type.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-29 18:45:10 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Lists all available gender values (e.g.: male, female).
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
|
2014-11-10 12:45:33 +00:00
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2015-01-27 18:41:53 +00:00
|
|
|
Height of the user (in meters) used by some pedometers
|
2014-11-10 12:45:33 +00:00
|
|
|
to compute the stride length, distance, speed and activity
|
|
|
|
type.
|
|
|
|
|
2015-01-11 19:10:10 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-11 19:10:10 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Weight of the user (in kg). It is needed by some pedometers
|
|
|
|
to compute the calories burnt by the user.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
|
2015-06-12 16:01:07 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_anglvel_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/in_magn_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/in_illuminance_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/in_intensity_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/in_proximity_scale_available
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_voltageX_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/out_voltageX_scale_available
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
|
2011-09-21 10:15:52 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_capacitance_scale_available
|
2012-11-20 13:36:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_pressure_scale_available
|
|
|
|
What: /sys/.../iio:deviceX/in_pressureY_scale_available
|
2012-07-01 10:20:11 +00:00
|
|
|
KernelVersion: 2.6.35
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2012-06-12 13:31:27 +00:00
|
|
|
If a discrete set of scale values is available, they
|
2010-11-22 23:31:16 +00:00
|
|
|
are listed in this attribute.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2020-08-28 23:31:55 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
|
2014-10-24 21:41:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
|
2012-05-11 09:36:53 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Hardware applied gain factor. If shared across all channels,
|
|
|
|
<type>_hardwaregain is used.
|
|
|
|
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available
|
|
|
|
KernelVersion: 5.10
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Lists all available hardware applied gain factors. Shared across all
|
|
|
|
channels.
|
|
|
|
|
2011-11-27 11:39:14 +00:00
|
|
|
What: /sys/.../in_accel_filter_low_pass_3db_frequency
|
|
|
|
What: /sys/.../in_magn_filter_low_pass_3db_frequency
|
|
|
|
What: /sys/.../in_anglvel_filter_low_pass_3db_frequency
|
|
|
|
KernelVersion: 3.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
If a known or controllable low pass filter is applied
|
|
|
|
to the underlying data channel, then this parameter
|
|
|
|
gives the 3dB frequency of the filter in Hz.
|
|
|
|
|
2015-05-13 10:26:42 +00:00
|
|
|
What: /sys/.../in_accel_filter_high_pass_3db_frequency
|
|
|
|
What: /sys/.../in_anglvel_filter_high_pass_3db_frequency
|
|
|
|
What: /sys/.../in_magn_filter_high_pass_3db_frequency
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
If a known or controllable high pass filter is applied
|
|
|
|
to the underlying data channel, then this parameter
|
|
|
|
gives the 3dB frequency of the filter in Hz.
|
|
|
|
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
|
2011-01-13 16:43:29 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled, no bias etc.) output voltage for
|
|
|
|
channel Y. The number must always be specified and
|
|
|
|
unique if the output corresponds to a single channel.
|
2012-05-21 12:30:31 +00:00
|
|
|
While DAC like devices typically use out_voltage,
|
|
|
|
a continuous frequency generating device, such as
|
|
|
|
a DDS or PLL should use out_altvoltage.
|
2011-01-13 16:43:29 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
|
2011-01-13 16:43:29 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled, no bias etc.) output voltage for an aggregate of
|
|
|
|
channel Y, channel Z, etc. This interface is available in cases
|
|
|
|
where a single output sets the value for multiple channels
|
|
|
|
simultaneously.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
|
2011-03-09 15:01:45 +00:00
|
|
|
KernelVersion: 2.6.38
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies the output powerdown mode.
|
|
|
|
DAC output stage is disconnected from the amplifier and
|
2015-07-29 12:57:41 +00:00
|
|
|
1kohm_to_gnd: connected to ground via an 1kOhm resistor,
|
2017-10-17 10:42:00 +00:00
|
|
|
2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
|
2012-06-12 13:31:27 +00:00
|
|
|
6kohm_to_gnd: connected to ground via a 6kOhm resistor,
|
|
|
|
20kohm_to_gnd: connected to ground via a 20kOhm resistor,
|
iio:ad5064: Add support for ltc2617 and similar devices
The Linear Technology LTC2606, LTC2607, LTC2609, LTC2616, LTC2617,
LTC2619, LTC2626, LTC2627 and LTC2629 devices are very similar
to the AD5064 device.
This patch adds support for those devices.
Datasheet for LTC devices:
LTC2606, LTC2616, LTC2626: http://www.linear.com/docs/6398
LTC2607, LTC2617, LTC2627: http://www.linear.com/docs/8977
LTC2709, LTC2619, LTC2629: http://www.linear.com/docs/8477
Signed-off-by: Marc Andre <marc.andre@netline.ch>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-02-08 17:01:47 +00:00
|
|
|
90kohm_to_gnd: connected to ground via a 90kOhm resistor,
|
2012-06-12 13:31:27 +00:00
|
|
|
100kohm_to_gnd: connected to ground via an 100kOhm resistor,
|
2015-12-26 12:17:22 +00:00
|
|
|
125kohm_to_gnd: connected to ground via an 125kOhm resistor,
|
2013-06-23 21:30:00 +00:00
|
|
|
500kohm_to_gnd: connected to ground via a 500kOhm resistor,
|
2015-12-26 12:17:22 +00:00
|
|
|
640kohm_to_gnd: connected to ground via a 640kOhm resistor,
|
2012-06-12 13:31:27 +00:00
|
|
|
three_state: left floating.
|
2011-03-09 15:01:45 +00:00
|
|
|
For a list of available output power down options read
|
|
|
|
outX_powerdown_mode_available. If Y is not present the
|
|
|
|
mode is shared across all outputs.
|
|
|
|
|
2015-07-29 12:57:41 +00:00
|
|
|
What: /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
|
2015-07-29 12:57:41 +00:00
|
|
|
What: /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
|
2011-03-09 15:01:45 +00:00
|
|
|
KernelVersion: 2.6.38
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Lists all available output power down modes.
|
|
|
|
If Y is not present the mode is shared across all outputs.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
|
2011-03-09 15:01:45 +00:00
|
|
|
KernelVersion: 2.6.38
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Writing 1 causes output Y to enter the power down mode specified
|
2012-06-12 13:31:27 +00:00
|
|
|
by the corresponding outY_powerdown_mode. DAC output stage is
|
|
|
|
disconnected from the amplifier. Clearing returns to normal
|
|
|
|
operation. Y may be suppressed if all outputs are controlled
|
|
|
|
together.
|
2011-03-09 15:01:45 +00:00
|
|
|
|
2012-05-21 12:30:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
|
|
|
|
KernelVersion: 3.4.0
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Output frequency for channel Y in Hz. The number must always be
|
|
|
|
specified and unique if the output corresponds to a single
|
|
|
|
channel.
|
2021-01-17 15:38:16 +00:00
|
|
|
Some drivers have additional constraints:
|
|
|
|
ADF4371 has an integrated VCO with fundamendal output
|
|
|
|
frequency ranging from 4000000000 Hz 8000000000 Hz.
|
|
|
|
|
|
|
|
out_altvoltage0_frequency:
|
|
|
|
A divide by 1, 2, 4, 8, 16, 32 or circuit generates
|
|
|
|
frequencies from 62500000 Hz to 8000000000 Hz.
|
|
|
|
out_altvoltage1_frequency:
|
|
|
|
This channel duplicates the channel 0 frequency
|
|
|
|
out_altvoltage2_frequency:
|
|
|
|
A frequency doubler generates frequencies from
|
|
|
|
8000000000 Hz to 16000000000 Hz.
|
|
|
|
out_altvoltage3_frequency:
|
|
|
|
A frequency quadrupler generates frequencies from
|
|
|
|
16000000000 Hz to 32000000000 Hz.
|
|
|
|
|
|
|
|
Note: writes to one of the channels will affect the frequency of
|
|
|
|
all the other channels, since it involves changing the VCO
|
|
|
|
fundamental output frequency.
|
2012-05-21 12:30:31 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
|
|
|
|
KernelVersion: 3.4.0
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Phase in radians of one frequency/clock output Y
|
|
|
|
(out_altvoltageY) relative to another frequency/clock output
|
|
|
|
(out_altvoltageZ) of the device X. The number must always be
|
|
|
|
specified and unique if the output corresponds to a single
|
|
|
|
channel.
|
|
|
|
|
2021-01-17 15:38:13 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
|
|
|
|
Date: May 2012
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: Johan Hovold <jhovold@gmail.com>
|
|
|
|
Description:
|
|
|
|
Set/get output current for channel Y. Units after application
|
|
|
|
of scale and offset are milliamps.
|
|
|
|
For some devices current channels are used to specify
|
|
|
|
current supplied to elements used in taking a measurement
|
|
|
|
of a different type. E.g. LED currents.
|
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/events
|
2010-11-22 23:31:16 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Configuration of which hardware generated events are passed up
|
|
|
|
to user-space.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
|
2015-08-28 14:27:52 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
|
2021-03-14 18:15:08 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
|
2010-10-08 11:14:12 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Event generated when channel passes a threshold in the specified
|
2010-10-08 11:14:12 +00:00
|
|
|
(_rising|_falling) direction. If the direction is not specified,
|
|
|
|
then either the device will report an event which ever direction
|
2011-09-21 10:15:51 +00:00
|
|
|
a single threshold value is passed in (e.g.
|
|
|
|
<type>[Y][_name]_<raw|input>_thresh_value) or
|
|
|
|
<type>[Y][_name]_<raw|input>_thresh_rising_value and
|
|
|
|
<type>[Y][_name]_<raw|input>_thresh_falling_value may take
|
2010-11-22 23:31:16 +00:00
|
|
|
different values, but the device can only enable both thresholds
|
|
|
|
or neither.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2010-10-08 11:14:12 +00:00
|
|
|
Note the driver will assume the last p events requested are
|
2012-06-12 13:31:27 +00:00
|
|
|
to be enabled where p is how many it supports (which may vary
|
|
|
|
depending on the exact set requested. So if you want to be
|
2010-10-08 11:14:12 +00:00
|
|
|
sure you have set what you think you have, check the contents of
|
|
|
|
these attributes after everything is configured. Drivers may
|
|
|
|
have to buffer any parameters so that they are consistent when
|
2012-06-12 13:31:27 +00:00
|
|
|
a given event type is enabled at a future point (and not those for
|
2010-10-08 11:14:12 +00:00
|
|
|
whatever event was previously enabled).
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
|
2010-11-22 23:31:16 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Event generated when channel passes a threshold on the rate of
|
|
|
|
change (1st differential) in the specified (_rising|_falling)
|
|
|
|
direction. If the direction is not specified, then either the
|
|
|
|
device will report an event which ever direction a single
|
2011-09-21 10:15:51 +00:00
|
|
|
threshold value is passed in (e.g.
|
|
|
|
<type>[Y][_name]_<raw|input>_roc_value) or
|
|
|
|
<type>[Y][_name]_<raw|input>_roc_rising_value and
|
|
|
|
<type>[Y][_name]_<raw|input>_roc_falling_value may take
|
2010-11-22 23:31:16 +00:00
|
|
|
different values, but the device can only enable both rate of
|
|
|
|
change thresholds or neither.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2010-11-22 23:31:16 +00:00
|
|
|
Note the driver will assume the last p events requested are
|
|
|
|
to be enabled where p is however many it supports (which may
|
|
|
|
vary depending on the exact set requested. So if you want to be
|
|
|
|
sure you have set what you think you have, check the contents of
|
|
|
|
these attributes after everything is configured. Drivers may
|
|
|
|
have to buffer any parameters so that they are consistent when
|
|
|
|
a given event type is enabled a future point (and not those for
|
|
|
|
whatever event was previously enabled).
|
|
|
|
|
2021-03-14 18:15:08 +00:00
|
|
|
What: /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
|
|
|
|
What: /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
|
|
|
|
KernelVersion: 5.13
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
2021-05-25 12:23:52 +00:00
|
|
|
Description:
|
2021-03-14 18:15:08 +00:00
|
|
|
Adaptive thresholds are similar to normal fixed thresholds
|
|
|
|
but the value is expressed as an offset from a value which
|
|
|
|
provides a low frequency approximation of the channel itself.
|
|
|
|
Thus these detect if a rapid change occurs in the specified
|
|
|
|
direction which crosses tracking value + offset.
|
|
|
|
Tracking value calculation is devices specific.
|
|
|
|
|
|
|
|
What: /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
|
|
|
|
What: /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
|
|
|
|
KernelVersion: 5.11
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
2021-05-25 12:23:52 +00:00
|
|
|
Description:
|
2021-03-14 18:15:08 +00:00
|
|
|
When adaptive thresholds are used, the tracking signal
|
|
|
|
may adjust too slowly to step changes in the raw signal.
|
2021-05-25 12:23:53 +00:00
|
|
|
Thus these specify the time in seconds for which the
|
2021-03-14 18:15:08 +00:00
|
|
|
difference between the slow tracking signal and the raw
|
|
|
|
signal is allowed to remain out-of-range before a reset
|
|
|
|
event occurs in which the tracking signal is made equal
|
|
|
|
to the raw signal, allowing slow tracking to resume and the
|
|
|
|
adaptive threshold event detection to function as expected.
|
|
|
|
|
2015-03-12 18:26:00 +00:00
|
|
|
What: /sys/.../events/in_accel_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_accel_thresh_falling_value
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_accel_x_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_accel_x_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_accel_y_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_accel_y_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_accel_z_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_accel_z_raw_thresh_falling_value
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_magn_x_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_magn_x_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_magn_y_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_magn_y_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_magn_z_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_magn_z_raw_thresh_falling_value
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
|
2012-04-13 09:24:19 +00:00
|
|
|
What: /sys/.../events/in_voltageY_raw_thresh_rising_value
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_voltageY_raw_thresh_falling_value
|
2012-04-13 09:24:19 +00:00
|
|
|
What: /sys/.../events/in_tempY_raw_thresh_rising_value
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_tempY_raw_thresh_falling_value
|
2012-04-24 16:56:49 +00:00
|
|
|
What: /sys/.../events/in_illuminance0_thresh_falling_value
|
2020-08-28 23:31:55 +00:00
|
|
|
What: /sys/.../events/in_illuminance0_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_proximity0_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_proximity0_thresh_rising_value
|
2019-11-04 15:39:28 +00:00
|
|
|
What: /sys/.../events/in_illuminance_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_illuminance_thresh_falling_value
|
2021-03-14 18:15:08 +00:00
|
|
|
What: /sys/.../events/in_capacitanceY_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_capacitanceY_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
|
|
|
|
What: /sys/.../events/in_capacitanceY_thresh_falling_rising_value
|
2010-10-08 11:14:12 +00:00
|
|
|
KernelVersion: 2.6.37
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-10-08 11:14:12 +00:00
|
|
|
Specifies the value of threshold that the device is comparing
|
|
|
|
against for the events enabled by
|
2011-09-21 10:15:51 +00:00
|
|
|
<type>Y[_name]_thresh[_rising|falling]_en.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2011-09-21 10:15:51 +00:00
|
|
|
If separate attributes exist for the two directions, but
|
2010-11-22 23:31:16 +00:00
|
|
|
direction is not specified for this attribute, then a single
|
|
|
|
threshold value applies to both directions.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2010-10-08 11:14:12 +00:00
|
|
|
The raw or input element of the name indicates whether the
|
|
|
|
value is in raw device units or in processed units (as _raw
|
|
|
|
and _input do on sysfs direct channel read attributes).
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2015-02-19 14:16:04 +00:00
|
|
|
What: /sys/.../events/in_accel_scale
|
|
|
|
What: /sys/.../events/in_accel_peak_scale
|
|
|
|
What: /sys/.../events/in_anglvel_scale
|
|
|
|
What: /sys/.../events/in_magn_scale
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_scale
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_scale
|
|
|
|
What: /sys/.../events/in_voltage_scale
|
|
|
|
What: /sys/.../events/in_voltage_supply_scale
|
|
|
|
What: /sys/.../events/in_temp_scale
|
|
|
|
What: /sys/.../events/in_illuminance_scale
|
|
|
|
What: /sys/.../events/in_proximity_scale
|
|
|
|
KernelVersion: 3.21
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies the conversion factor from the standard units
|
|
|
|
to device specific units used to set the event trigger
|
|
|
|
threshold.
|
|
|
|
|
2013-10-07 14:11:00 +00:00
|
|
|
What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_x_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_y_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_y_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_y_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_z_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_z_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_accel_z_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_x_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_x_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_x_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_y_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_y_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_y_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_magn_z_thresh_either_hysteresis
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
|
2013-10-07 14:11:00 +00:00
|
|
|
What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_voltageY_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_tempY_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_tempY_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_tempY_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis
|
2020-08-28 23:31:55 +00:00
|
|
|
What: /sys/.../events/in_illuminance0_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_illuminance0_thresh_either_hysteresis
|
|
|
|
What: /sys/.../events/in_proximity0_thresh_falling_hysteresis
|
|
|
|
What: /sys/.../events/in_proximity0_thresh_rising_hysteresis
|
|
|
|
What: /sys/.../events/in_proximity0_thresh_either_hysteresis
|
2013-10-07 14:11:00 +00:00
|
|
|
KernelVersion: 3.13
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies the hysteresis of threshold that the device is comparing
|
|
|
|
against for the events enabled by
|
|
|
|
<type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
|
|
|
|
If separate attributes exist for the two directions, but
|
|
|
|
direction is not specified for this attribute, then a single
|
|
|
|
hysteresis value applies to both directions.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2013-10-07 14:11:00 +00:00
|
|
|
For falling events the hysteresis is added to the _value attribute for
|
|
|
|
this event to get the upper threshold for when the event goes back to
|
|
|
|
normal, for rising events the hysteresis is subtracted from the _value
|
|
|
|
attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
|
|
|
|
and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
|
|
|
|
will get activated once in_voltage0_raw goes above 1200 and will become
|
2016-12-28 17:40:23 +00:00
|
|
|
deactivated again once the value falls below 1150.
|
2013-10-07 14:11:00 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_accel_x_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_accel_x_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_accel_y_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_accel_y_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_accel_z_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_accel_z_raw_roc_falling_value
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/.../events/in_anglvel_x_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_anglvel_x_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_anglvel_y_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_anglvel_y_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_anglvel_z_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_anglvel_z_raw_roc_falling_value
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_magn_x_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_magn_x_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_magn_y_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_magn_y_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_magn_z_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_magn_z_raw_roc_falling_value
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
|
|
|
|
What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
|
2012-04-13 09:24:19 +00:00
|
|
|
What: /sys/.../events/in_voltageY_raw_roc_rising_value
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_voltageY_raw_roc_falling_value
|
2012-04-13 09:24:19 +00:00
|
|
|
What: /sys/.../events/in_tempY_raw_roc_rising_value
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_tempY_raw_roc_falling_value
|
2010-10-08 11:14:12 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Specifies the value of rate of change threshold that the
|
|
|
|
device is comparing against for the events enabled by
|
2011-09-21 10:15:51 +00:00
|
|
|
<type>[Y][_name]_roc[_rising|falling]_en.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2010-11-22 23:31:16 +00:00
|
|
|
If separate attributes exist for the two directions,
|
|
|
|
but direction is not specified for this attribute,
|
|
|
|
then a single threshold value applies to both directions.
|
|
|
|
The raw or input element of the name indicates whether the
|
|
|
|
value is in raw device units or in processed units (as _raw
|
|
|
|
and _input do on sysfs direct channel read attributes).
|
2010-10-08 11:14:12 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_accel_x_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_accel_x_thresh_falling_period
|
2015-03-29 00:59:49 +00:00
|
|
|
What: /sys/.../events/in_accel_x_roc_rising_period
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_accel_x_roc_falling_period
|
|
|
|
What: /sys/.../events/in_accel_y_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_accel_y_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_accel_y_roc_rising_period
|
|
|
|
What: /sys/.../events/in_accel_y_roc_falling_period
|
|
|
|
What: /sys/.../events/in_accel_z_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_accel_z_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_accel_z_roc_rising_period
|
|
|
|
What: /sys/.../events/in_accel_z_roc_falling_period
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/.../events/in_anglvel_x_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_anglvel_x_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_anglvel_x_roc_rising_period
|
|
|
|
What: /sys/.../events/in_anglvel_x_roc_falling_period
|
|
|
|
What: /sys/.../events/in_anglvel_y_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_anglvel_y_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_anglvel_y_roc_rising_period
|
|
|
|
What: /sys/.../events/in_anglvel_y_roc_falling_period
|
|
|
|
What: /sys/.../events/in_anglvel_z_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_anglvel_z_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_anglvel_z_roc_rising_period
|
|
|
|
What: /sys/.../events/in_anglvel_z_roc_falling_period
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_magn_x_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_magn_x_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_magn_x_roc_rising_period
|
|
|
|
What: /sys/.../events/in_magn_x_roc_falling_period
|
|
|
|
What: /sys/.../events/in_magn_y_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_magn_y_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_magn_y_roc_rising_period
|
|
|
|
What: /sys/.../events/in_magn_y_roc_falling_period
|
|
|
|
What: /sys/.../events/in_magn_z_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_magn_z_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_magn_z_roc_rising_period
|
|
|
|
What: /sys/.../events/in_magn_z_roc_falling_period
|
2014-07-17 18:18:00 +00:00
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_roc_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_roc_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
|
|
|
|
What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
|
2011-09-21 10:15:51 +00:00
|
|
|
What: /sys/.../events/in_voltageY_supply_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_voltageY_supply_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_voltageY_supply_roc_rising_period
|
|
|
|
What: /sys/.../events/in_voltageY_supply_roc_falling_period
|
|
|
|
What: /sys/.../events/in_voltageY_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_voltageY_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_voltageY_roc_rising_period
|
|
|
|
What: /sys/.../events/in_voltageY_roc_falling_period
|
|
|
|
What: /sys/.../events/in_tempY_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_tempY_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_tempY_roc_rising_period
|
|
|
|
What: /sys/.../events/in_tempY_roc_falling_period
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_accel_x&y&z_mag_falling_period
|
2012-04-24 16:56:49 +00:00
|
|
|
What: /sys/.../events/in_intensity0_thresh_period
|
|
|
|
What: /sys/.../events/in_proximity0_thresh_period
|
2015-01-29 18:45:10 +00:00
|
|
|
What: /sys/.../events/in_activity_still_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_activity_still_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_activity_walking_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_activity_walking_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_activity_jogging_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_activity_jogging_thresh_falling_period
|
|
|
|
What: /sys/.../events/in_activity_running_thresh_rising_period
|
|
|
|
What: /sys/.../events/in_activity_running_thresh_falling_period
|
2019-11-04 15:39:28 +00:00
|
|
|
What: /sys/.../events/in_illuminance_thresh_either_period
|
2010-10-08 11:14:12 +00:00
|
|
|
KernelVersion: 2.6.37
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
Period of time (in seconds) for which the condition must be
|
|
|
|
met before an event is generated. If direction is not
|
2010-10-08 11:14:12 +00:00
|
|
|
specified then this period applies to both directions.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2015-05-13 10:26:42 +00:00
|
|
|
What: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
|
|
|
|
What: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
|
|
|
|
What: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
If a low pass filter can be applied to the event generation
|
|
|
|
this property gives its 3db frequency in Hz.
|
|
|
|
A value of zero disables the filter.
|
|
|
|
|
|
|
|
What: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
|
|
|
|
What: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
|
|
|
|
What: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
If a high pass filter can be applied to the event generation
|
|
|
|
this property gives its 3db frequency in Hz.
|
|
|
|
A value of zero disables the filter.
|
|
|
|
|
2014-11-10 12:45:30 +00:00
|
|
|
What: /sys/.../events/in_activity_still_thresh_rising_en
|
|
|
|
What: /sys/.../events/in_activity_still_thresh_falling_en
|
|
|
|
What: /sys/.../events/in_activity_walking_thresh_rising_en
|
|
|
|
What: /sys/.../events/in_activity_walking_thresh_falling_en
|
|
|
|
What: /sys/.../events/in_activity_jogging_thresh_rising_en
|
|
|
|
What: /sys/.../events/in_activity_jogging_thresh_falling_en
|
|
|
|
What: /sys/.../events/in_activity_running_thresh_rising_en
|
|
|
|
What: /sys/.../events/in_activity_running_thresh_falling_en
|
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2020-08-13 06:52:20 +00:00
|
|
|
Enables or disables activity events. Depending on direction
|
2014-11-10 12:45:30 +00:00
|
|
|
an event is generated when sensor ENTERS or LEAVES a given state.
|
|
|
|
|
|
|
|
What: /sys/.../events/in_activity_still_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_activity_still_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_activity_walking_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_activity_walking_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_activity_jogging_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_activity_jogging_thresh_falling_value
|
|
|
|
What: /sys/.../events/in_activity_running_thresh_rising_value
|
|
|
|
What: /sys/.../events/in_activity_running_thresh_falling_value
|
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Confidence value (in units as percentage) to be used
|
|
|
|
for deciding when an event should be generated. E.g for
|
|
|
|
running: If the confidence value reported by the sensor
|
|
|
|
is greater than in_activity_running_thresh_rising_value
|
|
|
|
then the sensor ENTERS running state. Conversely, if the
|
|
|
|
confidence value reported by the sensor is lower than
|
|
|
|
in_activity_running_thresh_falling_value then the sensor
|
|
|
|
is LEAVING running state.
|
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_mag_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_mag_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_mag_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_mag_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
|
|
|
|
What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
|
2010-10-08 11:14:12 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2011-09-02 16:14:35 +00:00
|
|
|
Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
|
2010-10-08 11:14:12 +00:00
|
|
|
magnitude of the channel is compared to the threshold, not its
|
|
|
|
signed value.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2011-09-02 16:14:35 +00:00
|
|
|
What: /sys/.../events/in_accel_raw_mag_value
|
|
|
|
What: /sys/.../events/in_accel_x_raw_mag_rising_value
|
|
|
|
What: /sys/.../events/in_accel_y_raw_mag_rising_value
|
|
|
|
What: /sys/.../events/in_accel_z_raw_mag_rising_value
|
2010-10-08 11:14:12 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-11-22 23:31:16 +00:00
|
|
|
The value to which the magnitude of the channel is compared. If
|
|
|
|
number or direction is not specified, applies to all channels of
|
|
|
|
this type.
|
2010-10-08 11:14:12 +00:00
|
|
|
|
2015-01-11 19:10:11 +00:00
|
|
|
What: /sys/.../events/in_steps_change_en
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2014-11-10 12:45:32 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2015-01-11 19:10:11 +00:00
|
|
|
Event generated when channel passes a threshold on the absolute
|
|
|
|
change in value. E.g. for steps: a step change event is
|
|
|
|
generated each time the user takes N steps, where N is set using
|
|
|
|
in_steps_change_value.
|
|
|
|
|
|
|
|
What: /sys/.../events/in_steps_change_value
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-11 19:10:11 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies the value of change threshold that the
|
|
|
|
device is comparing against for the events enabled by
|
|
|
|
<type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
|
|
|
|
if set to 3, a step change event will be generated every 3
|
|
|
|
steps.
|
2014-11-10 12:45:32 +00:00
|
|
|
|
2011-08-30 11:32:49 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
|
2010-05-04 13:43:05 +00:00
|
|
|
KernelVersion: 2.6.35
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
The name of the trigger source being used, as per string given
|
2010-11-22 23:31:16 +00:00
|
|
|
in /sys/class/iio/triggerY/name.
|
2010-05-04 13:43:05 +00:00
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/bufferY/length
|
|
|
|
KernelVersion: 5.11
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Number of scans contained by the buffer.
|
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/bufferY/enable
|
|
|
|
KernelVersion: 5.11
|
2010-05-04 13:43:05 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Actually start the buffer capture up. Will start trigger
|
|
|
|
if first device and appropriate.
|
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/bufferY
|
|
|
|
KernelVersion: 5.11
|
2010-08-31 09:32:53 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-10-08 11:14:12 +00:00
|
|
|
Directory containing interfaces for elements that will be
|
|
|
|
captured for a single triggered sample set in the buffer.
|
2010-08-31 09:32:53 +00:00
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
Since kernel 5.11 the scan_elements attributes are merged into
|
|
|
|
the bufferY directory, to be configurable per buffer.
|
|
|
|
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_x_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_y_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_z_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_x_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_y_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_z_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_timestamp_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_i_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_q_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_i_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_q_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_incli_x_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_incli_y_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_pressureY_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_pressure_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_proximity_en
|
|
|
|
KernelVersion: 5.11
|
2010-08-31 09:32:53 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-09-21 13:41:08 +00:00
|
|
|
Scan element control for triggered data capture.
|
2010-08-31 09:32:53 +00:00
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_incli_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_i_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_q_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_i_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_q_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_timestamp_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_pressureY_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_pressure_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_proximity_type
|
|
|
|
KernelVersion: 5.11
|
2010-08-31 09:32:53 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2010-09-21 13:41:08 +00:00
|
|
|
Description of the scan element data storage within the buffer
|
2010-11-22 23:31:16 +00:00
|
|
|
and hence the form in which it is read from user-space.
|
2011-09-21 10:15:51 +00:00
|
|
|
Form is [be|le]:[s|u]bits/storagebits[>>shift].
|
|
|
|
be or le specifies big or little endian. s or u specifies if
|
2010-11-22 23:31:16 +00:00
|
|
|
signed (2's complement) or unsigned. bits is the number of bits
|
|
|
|
of data and storagebits is the space (after padding) that it
|
|
|
|
occupies in the buffer. shift if specified, is the shift that
|
|
|
|
needs to be applied prior to masking out unused bits. Some
|
|
|
|
devices put their data in the middle of the transferred elements
|
|
|
|
with additional information on both sides. Note that some
|
|
|
|
devices will have additional information in the unused bits
|
|
|
|
so to get a clean value, the bits value must be used to mask
|
|
|
|
the buffer output value appropriately. The storagebits value
|
|
|
|
also specifies the data alignment. So s48/64>>2 will be a
|
|
|
|
signed 48 bit integer stored in a 64 bit location aligned to
|
2012-06-12 13:31:27 +00:00
|
|
|
a 64 bit boundary. To obtain the clean value, shift right 2
|
2010-11-22 23:31:16 +00:00
|
|
|
and apply a mask to zero the top 16 bits of the result.
|
2010-09-21 13:41:08 +00:00
|
|
|
For other storage combinations this attribute will be extended
|
|
|
|
appropriately.
|
|
|
|
|
2013-06-11 14:52:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
|
2010-11-22 23:31:16 +00:00
|
|
|
KernelVersion: 2.6.37
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
If the type parameter can take one of a small set of values,
|
|
|
|
this attribute lists them.
|
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_i_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltageY_q_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_i_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_voltage_q_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_x_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_y_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_accel_z_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_x_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_y_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_magn_z_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_incli_x_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_incli_y_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_timestamp_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_pressureY_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_pressure_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
|
|
|
|
What: /sys/.../iio:deviceX/bufferY/in_proximity_index
|
|
|
|
KernelVersion: 5.11
|
2010-09-21 13:41:08 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A single positive integer specifying the position of this
|
2010-11-22 23:31:16 +00:00
|
|
|
scan element in the buffer. Note these are not dependent on
|
|
|
|
what is enabled and may not be contiguous. Thus for user-space
|
2010-09-21 13:41:08 +00:00
|
|
|
to establish the full layout these must be used in conjunction
|
|
|
|
with all _en attributes to establish which channels are present,
|
|
|
|
and the relevant _type attributes to establish the data storage
|
|
|
|
format.
|
2011-04-06 09:42:48 +00:00
|
|
|
|
2014-11-10 12:45:30 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_activity_still_input
|
|
|
|
What: /sys/.../iio:deviceX/in_activity_walking_input
|
|
|
|
What: /sys/.../iio:deviceX/in_activity_jogging_input
|
|
|
|
What: /sys/.../iio:deviceX/in_activity_running_input
|
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
This attribute is used to read the confidence for an activity
|
|
|
|
expressed in units as percentage.
|
|
|
|
|
2011-10-05 14:28:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
|
2011-04-06 09:42:48 +00:00
|
|
|
KernelVersion: 2.6.38
|
2011-09-02 16:14:35 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
2011-04-06 09:42:48 +00:00
|
|
|
Description:
|
|
|
|
This attribute is used to read the amount of quadrature error
|
|
|
|
present in the device at a given time.
|
2013-06-23 21:30:00 +00:00
|
|
|
|
2013-08-28 11:01:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_accelX_power_mode
|
|
|
|
KernelVersion: 3.11
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies the chip power mode.
|
|
|
|
low_noise: reduce noise level from ADC,
|
|
|
|
low_power: enable low current consumption.
|
|
|
|
For a list of available output power modes read
|
|
|
|
in_accel_power_mode_available.
|
|
|
|
|
2015-01-11 19:10:07 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_energy_input
|
|
|
|
What: /sys/.../iio:deviceX/in_energy_raw
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-11 19:10:07 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
This attribute is used to read the energy value reported by the
|
|
|
|
device (e.g.: human activity sensors report energy burnt by the
|
|
|
|
user). Units after application of scale are Joules.
|
|
|
|
|
2015-01-11 19:10:08 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_distance_input
|
|
|
|
What: /sys/.../iio:deviceX/in_distance_raw
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-11 19:10:08 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2017-10-10 13:48:46 +00:00
|
|
|
This attribute is used to read the measured distance to an object
|
|
|
|
or the distance covered by the user since the last reboot while
|
|
|
|
activated. Units after application of scale are meters.
|
2015-01-11 19:10:08 +00:00
|
|
|
|
2013-06-23 21:30:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
|
|
|
|
KernelVersion: 3.4.0
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Writing '1' stores the current device configuration into
|
|
|
|
on-chip EEPROM. After power-up or chip reset the device will
|
|
|
|
automatically load the saved configuration.
|
2013-09-08 15:20:00 +00:00
|
|
|
|
2014-03-05 11:57:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_proximity_raw
|
|
|
|
What: /sys/.../iio:deviceX/in_proximity_input
|
|
|
|
What: /sys/.../iio:deviceX/in_proximityY_raw
|
|
|
|
KernelVersion: 3.4
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Proximity measurement indicating that some
|
2016-03-13 15:02:22 +00:00
|
|
|
object is near the sensor, usually by observing
|
2014-03-05 11:57:00 +00:00
|
|
|
reflectivity of infrared or ultrasound emitted.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2014-03-05 11:57:00 +00:00
|
|
|
Often these sensors are unit less and as such conversion
|
2015-06-11 15:49:33 +00:00
|
|
|
to SI units is not possible. Higher proximity measurements
|
2017-01-11 15:51:38 +00:00
|
|
|
indicate closer objects, and vice versa. Units after
|
|
|
|
application of scale and offset are meters.
|
2014-03-05 11:57:00 +00:00
|
|
|
|
2015-03-16 11:48:20 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_illuminance_input
|
|
|
|
What: /sys/.../iio:deviceX/in_illuminance_raw
|
2014-02-05 16:54:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_illuminanceY_input
|
|
|
|
What: /sys/.../iio:deviceX/in_illuminanceY_raw
|
|
|
|
What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
|
2015-03-16 11:48:20 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_illuminance_ir_raw
|
|
|
|
What: /sys/.../iio:deviceX/in_illuminance_clear_raw
|
2014-02-05 16:54:00 +00:00
|
|
|
KernelVersion: 3.4
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Illuminance measurement, units after application of scale
|
|
|
|
and offset are lux.
|
|
|
|
|
2014-02-05 16:54:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_intensityY_raw
|
|
|
|
What: /sys/.../iio:deviceX/in_intensityY_ir_raw
|
|
|
|
What: /sys/.../iio:deviceX/in_intensityY_both_raw
|
2016-03-20 15:20:22 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_intensityY_uv_raw
|
2018-07-19 20:26:24 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_intensityY_duv_raw
|
2014-02-05 16:54:00 +00:00
|
|
|
KernelVersion: 3.4
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Unit-less light intensity. Modifiers both and ir indicate
|
2017-11-05 23:25:00 +00:00
|
|
|
that measurements contain visible and infrared light
|
2018-07-19 20:26:24 +00:00
|
|
|
components or just infrared light, respectively. Modifier
|
|
|
|
uv indicates that measurements contain ultraviolet light
|
|
|
|
components. Modifier duv indicates that measurements
|
|
|
|
contain deep ultraviolet light components.
|
2014-02-05 16:54:00 +00:00
|
|
|
|
2016-03-20 15:20:23 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_uvindex_input
|
|
|
|
KernelVersion: 4.6
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
UV light intensity index measuring the human skin's response to
|
|
|
|
different wavelength of sunlight weighted according to the
|
|
|
|
standardised CIE Erythemal Action Spectrum. UV index values range
|
|
|
|
from 0 (low) to >=11 (extreme).
|
|
|
|
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_intensity_integration_time
|
2013-09-08 15:20:00 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_intensity_red_integration_time
|
|
|
|
What: /sys/.../iio:deviceX/in_intensity_green_integration_time
|
|
|
|
What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
|
|
|
|
What: /sys/.../iio:deviceX/in_intensity_clear_integration_time
|
|
|
|
What: /sys/.../iio:deviceX/in_illuminance_integration_time
|
|
|
|
KernelVersion: 3.12
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
This attribute is used to get/set the integration time in
|
2020-08-10 05:24:47 +00:00
|
|
|
seconds. If shared across all channels of a given type,
|
|
|
|
<type>_integration_time is used.
|
2014-04-28 23:51:00 +00:00
|
|
|
|
2015-01-29 18:45:10 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-29 18:45:10 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Number of seconds in which to compute speed.
|
|
|
|
|
2014-04-28 23:51:00 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
|
|
|
|
KernelVersion: 3.15
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw value of quaternion components using a format
|
|
|
|
x y z w. Here x, y, and z component represents the axis about
|
|
|
|
which a rotation will occur and w component represents the
|
|
|
|
amount of rotation.
|
2014-07-17 18:18:00 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
|
|
|
|
KernelVersion: 3.15
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw value of rotation from true/magnetic north measured with
|
|
|
|
or without compensation from tilt sensors.
|
2014-09-17 00:11:00 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
|
2015-05-22 16:17:38 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw
|
2014-09-17 00:11:00 +00:00
|
|
|
KernelVersion: 3.18
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw current measurement from channel X. Units are in milliamps
|
|
|
|
after application of scale and offset. If no offset or scale is
|
|
|
|
present, output should be considered as processed with the
|
|
|
|
unit in milliamps.
|
2014-11-10 12:45:32 +00:00
|
|
|
|
2015-05-22 16:17:38 +00:00
|
|
|
Channels with 'i' and 'q' modifiers always exist in pairs and both
|
|
|
|
channels refer to the same signal. The 'i' channel contains the in-phase
|
|
|
|
component of the signal while the 'q' channel contains the quadrature
|
|
|
|
component.
|
|
|
|
|
2015-01-29 18:45:10 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_energy_en
|
|
|
|
What: /sys/.../iio:deviceX/in_distance_en
|
|
|
|
What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
|
2014-11-10 12:45:32 +00:00
|
|
|
What: /sys/.../iio:deviceX/in_steps_en
|
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2015-01-29 18:45:10 +00:00
|
|
|
Activates a device feature that runs in firmware/hardware.
|
|
|
|
E.g. for steps: the pedometer saves power while not used;
|
|
|
|
when activated, it will count the steps taken by the user in
|
|
|
|
firmware and export them through in_steps_input.
|
2014-11-10 12:45:32 +00:00
|
|
|
|
|
|
|
What: /sys/.../iio:deviceX/in_steps_input
|
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
This attribute is used to read the number of steps taken by the user
|
|
|
|
since the last reboot while activated.
|
2015-01-11 19:10:09 +00:00
|
|
|
|
|
|
|
What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
|
|
|
|
What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
|
|
|
|
KernelVersion: 3.19
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
This attribute is used to read the current speed value of the
|
|
|
|
user (which is the norm or magnitude of the velocity vector).
|
|
|
|
Units after application of scale are m/s.
|
2015-01-27 18:41:52 +00:00
|
|
|
|
|
|
|
What: /sys/.../iio:deviceX/in_steps_debounce_count
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-27 18:41:52 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies the number of steps that must occur within
|
|
|
|
in_steps_filter_debounce_time for the pedometer to decide the
|
|
|
|
consumer is making steps.
|
|
|
|
|
|
|
|
What: /sys/.../iio:deviceX/in_steps_debounce_time
|
2015-03-30 11:22:13 +00:00
|
|
|
KernelVersion: 4.0
|
2015-01-27 18:41:52 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specifies number of seconds in which we compute the steps
|
|
|
|
that occur in order to decide if the consumer is making steps.
|
2015-03-22 18:33:38 +00:00
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
|
|
|
|
KernelVersion: 5.11
|
2015-03-22 18:33:38 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A single positive integer specifying the maximum number of scan
|
|
|
|
elements to wait for.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:38 +00:00
|
|
|
Poll will block until the watermark is reached.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:38 +00:00
|
|
|
Blocking read will wait until the minimum between the requested
|
|
|
|
read amount or the low water mark is available.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:38 +00:00
|
|
|
Non-blocking read will retrieve the available samples from the
|
|
|
|
buffer even if there are less samples then watermark level. This
|
|
|
|
allows the application to block on poll with a timeout and read
|
|
|
|
the available samples after the timeout expires and thus have a
|
|
|
|
maximum delay guarantee.
|
2015-03-22 18:33:39 +00:00
|
|
|
|
2021-02-17 08:34:34 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
|
|
|
|
KernelVersion: 5.11
|
2017-12-06 19:43:30 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A read-only value indicating the bytes of data available in the
|
|
|
|
buffer. In the case of an output buffer, this indicates the
|
|
|
|
amount of empty space available to write data to. In the case of
|
|
|
|
an input buffer, this indicates the amount of data available for
|
|
|
|
reading.
|
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A read-only boolean value that indicates if the hardware fifo is
|
|
|
|
currently enabled or disabled. If the device does not have a
|
|
|
|
hardware fifo this entry is not present.
|
|
|
|
The hardware fifo is enabled when the buffer is enabled if the
|
|
|
|
current hardware fifo watermark level is set and other current
|
|
|
|
device settings allows it (e.g. if a trigger is set that samples
|
|
|
|
data differently that the hardware fifo does then hardware fifo
|
|
|
|
will not enabled).
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
If the hardware fifo is enabled and the level of the hardware
|
|
|
|
fifo reaches the hardware fifo watermark level the device will
|
|
|
|
flush its hardware fifo to the device buffer. Doing a non
|
|
|
|
blocking read on the device when no samples are present in the
|
|
|
|
device buffer will also force a flush.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
When the hardware fifo is enabled there is no need to use a
|
|
|
|
trigger to use buffer mode since the watermark settings
|
|
|
|
guarantees that the hardware fifo is flushed to the device
|
|
|
|
buffer.
|
|
|
|
|
2017-04-08 02:22:06 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
|
|
|
|
KernelVersion: 4.12
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A read/write property to provide capability to delay reporting of
|
|
|
|
samples till a timeout is reached. This allows host processors to
|
|
|
|
sleep, while the sensor is storing samples in its internal fifo.
|
|
|
|
The maximum timeout in seconds can be specified by setting
|
|
|
|
hwfifo_timeout.The current delay can be read by reading
|
|
|
|
hwfifo_timeout. A value of 0 means that there is no timeout.
|
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Read-only entry that contains a single integer specifying the
|
|
|
|
current watermark level for the hardware fifo. If the device
|
|
|
|
does not have a hardware fifo this entry is not present.
|
|
|
|
The watermark level for the hardware fifo is set by the driver
|
|
|
|
based on the value set by the user in buffer/watermark but
|
|
|
|
taking into account hardware limitations (e.g. most hardware
|
|
|
|
buffers are limited to 32-64 samples, some hardware buffers
|
|
|
|
watermarks are fixed or have minimum levels). A value of 0
|
|
|
|
means that the hardware watermark is unset.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A single positive integer specifying the minimum watermark level
|
|
|
|
for the hardware fifo of this device. If the device does not
|
|
|
|
have a hardware fifo this entry is not present.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
If the user sets buffer/watermark to a value less than this one,
|
|
|
|
then the hardware watermark will remain unset.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A single positive integer specifying the maximum watermark level
|
|
|
|
for the hardware fifo of this device. If the device does not
|
|
|
|
have a hardware fifo this entry is not present.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
If the user sets buffer/watermark to a value greater than this
|
|
|
|
one, then the hardware watermark will be capped at this value.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
A list of positive integers specifying the available watermark
|
|
|
|
levels for the hardware fifo. This entry is optional and if it
|
|
|
|
is not present it means that all the values between
|
|
|
|
hwfifo_watermark_min and hwfifo_watermark_max are supported.
|
2020-10-30 07:40:50 +00:00
|
|
|
|
2015-03-22 18:33:39 +00:00
|
|
|
If the user sets buffer/watermark to a value greater than
|
|
|
|
hwfifo_watermak_min but not equal to any of the values in this
|
|
|
|
list, the driver will chose an appropriate value for the
|
|
|
|
hardware fifo watermark level.
|
2015-03-30 08:34:58 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity
|
|
|
|
KernelVersion: 4.1
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
The emissivity ratio of the surface in the field of view of the
|
|
|
|
contactless temperature sensor. Emissivity varies from 0 to 1,
|
|
|
|
with 1 being the emissivity of a black body.
|
2015-04-29 18:16:39 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
|
|
|
|
KernelVersion: 4.2
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Hardware applied number of measurements for acquiring one
|
|
|
|
data point. The HW will do <type>[_name]_oversampling_ratio
|
|
|
|
measurements and return the average value as output data. Each
|
|
|
|
value resulted from <type>[_name]_oversampling_ratio measurements
|
|
|
|
is considered as one sample for <type>[_name]_sampling_frequency.
|
2015-09-14 03:26:11 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
|
2018-12-13 14:43:22 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw
|
2020-07-23 06:29:43 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw
|
2015-09-14 03:26:11 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
|
|
|
|
KernelVersion: 4.3
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2020-06-01 16:15:52 +00:00
|
|
|
Raw (unscaled no offset etc.) reading of a substance. Units
|
|
|
|
after application of scale and offset are percents.
|
2015-09-14 03:26:12 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
|
2015-09-23 14:26:22 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
|
2015-09-14 03:26:12 +00:00
|
|
|
KernelVersion: 4.3
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled no offset etc.) resistance reading that can be processed
|
|
|
|
into an ohm value.
|
2015-10-01 14:13:39 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/heater_enable
|
|
|
|
KernelVersion: 4.1.0
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
'1' (enable) or '0' (disable) specifying the enable
|
2020-10-30 07:40:50 +00:00
|
|
|
of heater function. Same reading values apply.
|
|
|
|
|
2015-10-01 14:13:39 +00:00
|
|
|
This ABI is especially applicable for humidity sensors
|
|
|
|
to heatup the device and get rid of any condensation
|
|
|
|
in some humidity environment
|
2016-01-27 02:34:30 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_ph_raw
|
|
|
|
KernelVersion: 4.5
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled no offset etc.) pH reading of a substance as a negative
|
|
|
|
base-10 logarithm of hydrodium ions in a litre of water.
|
2016-04-20 17:23:43 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/mount_matrix
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
|
2016-04-20 17:23:45 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
|
2016-04-20 17:23:43 +00:00
|
|
|
KernelVersion: 4.6
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Mounting matrix for IIO sensors. This is a rotation matrix which
|
|
|
|
informs userspace about sensor chip's placement relative to the
|
|
|
|
main hardware it is mounted on.
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
Main hardware placement is defined according to the local
|
|
|
|
reference frame related to the physical quantity the sensor
|
|
|
|
measures.
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
Given that the rotation matrix is defined in a board specific
|
|
|
|
way (platform data and / or device-tree), the main hardware
|
|
|
|
reference frame definition is left to the implementor's choice
|
|
|
|
(see below for a magnetometer example).
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
Applications should apply this rotation matrix to samples so
|
|
|
|
that when main hardware reference frame is aligned onto local
|
|
|
|
reference frame, then sensor chip reference frame is also
|
|
|
|
perfectly aligned with it.
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
Matrix is a 3x3 unitary matrix and typically looks like
|
|
|
|
[0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
|
|
|
|
[1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
|
|
|
|
are perfectly aligned with each other.
|
|
|
|
|
|
|
|
For example, a mounting matrix for a magnetometer sensor informs
|
|
|
|
userspace about sensor chip's ORIENTATION relative to the main
|
|
|
|
hardware.
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
More specifically, main hardware orientation is defined with
|
|
|
|
respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
* Y is in the ground plane and positive towards magnetic North ;
|
|
|
|
* X is in the ground plane, perpendicular to the North axis and
|
|
|
|
positive towards the East ;
|
|
|
|
* Z is perpendicular to the ground plane and positive upwards.
|
|
|
|
|
|
|
|
An implementor might consider that for a hand-held device, a
|
|
|
|
'natural' orientation would be 'front facing camera at the top'.
|
|
|
|
The main hardware reference frame could then be described as :
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
* Y is in the plane of the screen and is positive towards the
|
|
|
|
top of the screen ;
|
|
|
|
* X is in the plane of the screen, perpendicular to Y axis, and
|
|
|
|
positive towards the right hand side of the screen ;
|
|
|
|
* Z is perpendicular to the screen plane and positive out of the
|
|
|
|
screen.
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
Another example for a quadrotor UAV might be :
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2016-04-20 17:23:43 +00:00
|
|
|
* Y is in the plane of the propellers and positive towards the
|
|
|
|
front-view camera;
|
|
|
|
* X is in the plane of the propellers, perpendicular to Y axis,
|
|
|
|
and positive towards the starboard side of the UAV ;
|
|
|
|
* Z is perpendicular to propellers plane and positive upwards.
|
2016-05-25 04:29:19 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
|
|
|
|
KernelVersion: 4.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled no offset etc.) electric conductivity reading that
|
|
|
|
can be processed to siemens per meter.
|
2016-09-28 17:59:49 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw
|
2017-02-08 14:01:35 +00:00
|
|
|
KernelVersion: 4.10
|
2016-09-28 17:59:49 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2019-04-02 06:30:46 +00:00
|
|
|
This interface is deprecated; please use the Counter subsystem.
|
|
|
|
|
2016-09-28 17:59:49 +00:00
|
|
|
Raw counter device counts from channel Y. For quadrature
|
|
|
|
counters, multiplication by an available [Y]_scale results in
|
|
|
|
the counts of a single quadrature signal phase from channel Y.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
|
2017-02-08 14:01:35 +00:00
|
|
|
KernelVersion: 4.10
|
2016-09-28 17:59:49 +00:00
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2019-04-02 06:30:46 +00:00
|
|
|
This interface is deprecated; please use the Counter subsystem.
|
|
|
|
|
2016-09-28 17:59:49 +00:00
|
|
|
Raw counter device index value from channel Y. This attribute
|
|
|
|
provides an absolute positional reference (e.g. a pulse once per
|
|
|
|
revolution) which may be used to home positional systems as
|
|
|
|
required.
|
2017-03-01 14:45:05 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
|
|
|
|
KernelVersion: 4.12
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2019-04-02 06:30:46 +00:00
|
|
|
This interface is deprecated; please use the Counter subsystem.
|
|
|
|
|
2017-03-01 14:45:05 +00:00
|
|
|
A list of possible counting directions which are:
|
2020-10-30 07:40:39 +00:00
|
|
|
|
2017-03-01 14:45:05 +00:00
|
|
|
- "up" : counter device is increasing.
|
|
|
|
- "down": counter device is decreasing.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
|
|
|
|
KernelVersion: 4.12
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
2019-04-02 06:30:46 +00:00
|
|
|
This interface is deprecated; please use the Counter subsystem.
|
|
|
|
|
2017-03-01 14:45:05 +00:00
|
|
|
Raw counter device counters direction for channel Y.
|
2018-07-20 17:34:25 +00:00
|
|
|
|
2020-09-28 09:09:56 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
|
|
|
|
KernelVersion: 5.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Optional symbolic label to a device channel.
|
|
|
|
If a label is defined for this channel add that to the channel
|
|
|
|
specific attributes. This is useful for userspace to be able to
|
|
|
|
better identify an individual channel.
|
|
|
|
|
2018-07-20 17:34:25 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
|
|
|
|
KernelVersion: 4.18
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Raw (unscaled) phase difference reading from channel Y
|
2018-12-14 18:28:01 +00:00
|
|
|
that can be processed to radians.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
|
|
|
|
KernelVersion: 4.22
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Mass concentration reading of particulate matter in ug / m3.
|
|
|
|
pmX consists of particles with aerodynamic diameter less or
|
|
|
|
equal to X micrometers.
|
2019-11-04 15:39:28 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
|
|
|
|
Date: November 2019
|
|
|
|
KernelVersion: 5.4
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
List of valid periods (in seconds) for which the light intensity
|
|
|
|
must be above the threshold level before interrupt is asserted.
|
2019-11-20 14:47:49 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
|
|
|
|
KernelVersion: 5.5
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Center frequency in Hz for a notch filter. Used i.e. for line
|
|
|
|
noise suppression.
|
2019-11-20 14:47:53 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
|
|
|
|
KernelVersion: 5.5
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
One of the following thermocouple types: B, E, J, K, N, R, S, T.
|
2020-08-10 05:24:47 +00:00
|
|
|
|
2020-09-06 21:02:31 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient
|
|
|
|
KernelVersion: 5.10
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Calibrated ambient temperature for object temperature
|
|
|
|
calculation in milli degrees Celsius.
|
|
|
|
|
2020-08-10 05:24:47 +00:00
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
|
|
|
|
KernelVersion: 5.10
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Unscaled light intensity according to CIE 1931/DIN 5033 color space.
|
|
|
|
Units after application of scale are nano nanowatts per square meter.
|
2020-12-15 05:44:44 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_anglY_label
|
|
|
|
KernelVersion: 5.12
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Optional symbolic label for channel Y.
|
|
|
|
For Intel hid hinge sensor, the label values are:
|
|
|
|
hinge, keyboard, screen. It means the three channels
|
|
|
|
each correspond respectively to hinge angle, keyboard angle,
|
|
|
|
and screen angle.
|
2021-02-07 07:00:48 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
|
|
|
|
KernelVersion: 5.12
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Specify the percent for light sensor relative to the channel
|
|
|
|
absolute value that a data field should change before an event
|
|
|
|
is generated. Units are a percentage of the prior reading.
|
2021-10-08 10:17:06 +00:00
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
|
|
|
|
Date: June 2020
|
|
|
|
KernelVersion: 5.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Some sensors have the ability to apply auto calibration at
|
|
|
|
runtime. For example, it may be necessary to compensate for
|
|
|
|
contaminant build-up in a measurement chamber or optical
|
|
|
|
element deterioration that would otherwise lead to sensor drift.
|
|
|
|
|
|
|
|
Writing 1 or 0 to this attribute will respectively activate or
|
|
|
|
deactivate this auto calibration function.
|
|
|
|
|
|
|
|
Upon reading, the current status is returned.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value
|
|
|
|
Date: June 2020
|
|
|
|
KernelVersion: 5.8
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Some sensors have the ability to apply a manual calibration using
|
|
|
|
a known measurement value, perhaps obtained from an external
|
|
|
|
reference device.
|
|
|
|
|
|
|
|
Writing a value to this function will force such a calibration
|
|
|
|
change. For the scd30 the value should be from the range
|
|
|
|
[400 1 2000].
|
|
|
|
|
|
|
|
Note for the scd30 that a valid value may only be obtained once
|
|
|
|
it is has been written. Until then any read back of this value
|
|
|
|
should be ignored. As for the scd4x an error will be returned
|
|
|
|
immediately if the manual calibration has failed.
|
|
|
|
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available
|
|
|
|
KernelVersion: 5.15
|
|
|
|
Contact: linux-iio@vger.kernel.org
|
|
|
|
Description:
|
|
|
|
Available range for the forced calibration value, expressed as:
|
|
|
|
|
|
|
|
- a range specified as "[min step max]"
|