요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Sampling, units and processed values
sysfs-bus-iio:87-316sampling_frequency와 available 속성은 데이터 획득 속도를 정의합니다. 각 채널의 raw·input, scale·offset과 물리량별 단위 규칙을 함께 읽어야 원시 센서 값을 올바른 처리값으로 변환할 수 있습니다.
Channels, calibration and outputs
sysfs-bus-iio:317-857가속도·각속도·자기장·방향·전압·온도 등 채널은 extrema, calibration bias/scale, filter, power mode와 output 속성을 공유하는 명명 규칙으로 노출됩니다. 장치별 특수 속성도 같은 채널 유형과 수정자 체계 안에 배치됩니다.
Hardware event configuration
sysfs-bus-iio:859-1408이벤트 ABI는 threshold와 rate-of-change의 방향별 enable·value·hysteresis·period를 분리합니다. 활동 상태, magnitude, 걸음 변화와 adaptive threshold는 장치가 지원하는 파라미터를 모두 설정한 뒤 이벤트를 활성화해야 일관되게 동작합니다.
Triggered buffers and hardware FIFO
sysfs-bus-iio:1410-1893current_trigger와 bufferY는 캡처를 시작하고, _en·_index·_type 조합은 한 스캔의 채널 존재 여부·순서·저장 형식을 결정합니다. watermark, data_available과 hwfifo 속성은 차단 읽기, poll, 내부 FIFO flush와 최대 지연을 제어합니다.
Sensor-specific measurements and coordinates
sysfs-bus-iio:1895-2104방사율·농도·저항·pH·전기전도도 같은 센서별 값의 단위와 보정 규칙을 정의합니다. mount_matrix는 보드 기준 좌표계에 대한 센서 칩의 회전을 제공하므로 애플리케이션이 샘플을 공통 좌표계로 정렬할 수 있습니다.
Optical sensing, calibration and gestures
sysfs-bus-iio:2106-2298광학·열전대 속성, 채널별 주파수와 자동·강제 교정 ABI를 설명합니다. 탭 제스처는 감도 임계값과 reset timeout, 두 번째 탭 지연, peak 간 시간을 각각 노출해 장치별 감지기를 조정하게 합니다.
Filter modes and newer channel attributes
sysfs-bus-iio:2300-2424sinc 계열과 post filter·60 Hz 제거·wideband 모드를 선택하고, 근접 누적 조건과 색온도·색도·이벤트 라벨·탭 확인 timeout·shunt 저항·attention 같은 최신 ABI를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/iio/devices/iio:deviceX
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Hardware chip or device accessed by one communication port.
Corresponds to a grouping of sensor channels. X is the IIO
index of the device.
What: /sys/bus/iio/devices/triggerX
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.
periodic timer, GPIO or high resolution timer).
Contains trigger type specific elements. These do not
generalize well and hence are not documented in this file.
X is the IIO index of the trigger.
What: /sys/bus/iio/devices/iio:deviceX/buffer
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Directory of attributes relating to the buffer for the device.
What: /sys/bus/iio/devices/iio:deviceX/name
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Description of the physical chip / device for device X.
Typically a part number.
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.
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"
For devices where an accelerometer is housed in the swivel camera subassembly
(for AR application), the following standardized label is used:
* "accel-camera"
What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
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.
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency
What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
What: /sys/bus/iio/devices/iio:deviceX/events/sampling_frequency
What: /sys/bus/iio/devices/triggerX/sampling_frequency
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
parameter has an effect on input filters etc. rather than
simply controlling when the input is sampled. As this
affects data ready triggers, hardware buffers and the sysfs
direct access interfaces, it may be found in any of the
relevant directories. If it affects all of the above
then it is to be found in the base device directory.
The stm32-timer-trigger has the additional characteristic that
a sampling_frequency of 0 is defined to stop sampling.
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
When the internal sampling clock can only take a specific set of
frequencies, we can specify the available values with:
- a small discrete set of values like "0 2 4 6 8"
- a range with minimum, step and maximum frequencies like
"[min step max]"
What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
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.
What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
Hardware dependent values supported by the oversampling filter.
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no bias removal etc.) voltage 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 millivolts.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
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
is required is a consistent labeling. Units after application
of scale and offset are millivolts.
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_rms_raw
KernelVersion: 6.18
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled) Root Mean Square (RMS) voltage measurement from
channel Y. Units after application of scale and offset are
millivolts.
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_active_raw
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_reactive_raw
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_apparent_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.
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_powerfactor
KernelVersion: 6.18
Contact: linux-iio@vger.kernel.org
Description:
Power factor measurement from channel Y. Power factor is the
ratio of active power to apparent power. The value is unitless.
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-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
of scale and offset are nanofarads.
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
For differential channels, this an offset that is applied
equally to both inputs. As the reading is of the difference
between the two inputs, this should not be applied to the _raw
reading by userspace (unlike _offset) and unlike calibbias
it does not affect the differential value measured because
the effect of _zeropoint cancels out across the two inputs
that make up the differential pair. It's purpose is to bring
the individual signals, before the differential is measured,
within the measurement range of the device. The naming is
chosen because if the separate inputs that make the
differential pair are drawn on a graph in their
_raw units, this is the value that the zero point on the
measurement axis represents. It is expressed with the
same scaling as _raw.
What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_raw
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no bias removal etc.) temperature measurement.
If an axis is specified it generally means that the temperature
sensor is associated with one part of a compound device (e.g.
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
are milli degrees Celsius.
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input
What: /sys/bus/iio/devices/iio:deviceX/in_temp_input
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
Scaled temperature measurement in milli degrees Celsius.
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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Acceleration in direction x, y or z (may be arbitrarily assigned
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.
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
As per in_accel_X_raw attributes, but minus the
acceleration due to gravity.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_y_raw
What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_z_raw
KernelVersion: 6.5
Contact: linux-iio@vger.kernel.org
Description:
Angular displacement between two consecutive samples on x, y or
z (may be arbitrarily assigned but should match other such
assignments on device).
In order to compute the total angular displacement during a
desired period of time, the application should sum-up the delta
angle samples acquired during that time.
Units after application of scale and offset are radians.
What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_y_raw
What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_z_raw
KernelVersion: 6.5
Contact: linux-iio@vger.kernel.org
Description:
The linear velocity change between two consecutive samples on x,
y or z (may be arbitrarily assigned but should match other such
assignments on device).
In order to compute the total linear velocity change during a
desired period of time, the application should sum-up the delta
velocity samples acquired during that time.
Units after application of scale and offset are meters per
second.
What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw
What: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw
KernelVersion: 4.17
Contact: linux-iio@vger.kernel.org
Description:
Angle of rotation. Units after application of scale and offset
are radians.
What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw
KernelVersion: 4.19
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.
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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Angular velocity about axis x, y or z (may be arbitrarily
assigned). Has all the equivalent parameters as per voltageY.
Units after application of scale and offset are radians per
second.
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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Inclination raw reading about axis x, y or z (may be
arbitrarily assigned). Data converted by application of offset
and scale to degrees.
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
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Magnetic field along axis x, y or z (may be arbitrarily
assigned). Data converted by application of offset
then scale to Gauss.
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
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_peak_raw
What: /sys/bus/iio/devices/iio:deviceX/in_temp_peak_raw
KernelVersion: 2.6.36
Contact: linux-iio@vger.kernel.org
Description:
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.
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_trough_raw
What: /sys/bus/iio/devices/iio:deviceX/in_temp_trough_raw
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
Lowest value since some reset condition. These
attributes allow access to this and are otherwise
the direct equivalent of the <type>Y[_name]_raw attributes.
What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
KernelVersion: 2.6.36
Contact: linux-iio@vger.kernel.org
Description:
A computed peak value based on the sum squared magnitude of
the underlying value in the specified directions.
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.
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.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_Y_mean_raw
KernelVersion: 3.5
Contact: linux-iio@vger.kernel.org
Description:
Averaged raw measurement from channel Y. The number of values
used for averaging is device specific. The converting rules for
normal raw values also applies to the averaged raw values.
What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
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_altvoltage_q_offset
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_i_offset
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
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_currentY_offset
What: /sys/bus/iio/devices/iio:deviceX/in_current_offset
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset
What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset
What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset
What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_offset
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
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
<type> units as specified in <type>[Y]_raw documentation.
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>.
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.
Calibbias is applied internally, offset is applied in userspace
to the _raw output.
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
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
What: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale
What: /sys/bus/iio/devices/iio:deviceX/in_distance_scale
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
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
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale
What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_scale
What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_scale
What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale
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
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_scale
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_scale
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_scale
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
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
<type>[Y][_name]_raw documentation. If shared across all in
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.
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
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_calibbias
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
What: /sys/bus/iio/devices/iio:deviceX/in_capacitance_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibbias
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibbias
What: /sys/bus/iio/devices/iio:deviceX/out_currentY_calibbias
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Hardware applied calibration offset (assumed to fix production
inaccuracies).
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
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibbias_available
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias_available
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibbias_available
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_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]"
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_convdelay
KernelVersion: 6.17
Contact: linux-iio@vger.kernel.org
Description:
Delay of start of conversion from common reference point shared
by all channels. Can be writable when used to compensate for
delay variation introduced by external filters feeding a
simultaneous sampling ADC.
E.g., for the ad7606 ADC series, this value is intended as a
configurable time delay in seconds, to correct delay introduced
by an optional external filtering circuit.
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_convdelay_available
KernelVersion: 6.16
Contact: linux-iio@vger.kernel.org
Description:
Available values of convdelay. Maybe expressed as:
- a range specified as "[min step max]"
If shared across all channels, <type>_convdelay_available
is used.
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_altvoltage_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_capacitance_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_both_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
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/out_currentY_calibscale
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibscale
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Hardware applied calibration scale factor (assumed to fix
production inaccuracies). If shared across all channels,
<type>_calibscale is used.
What: /sys/bus/iio/devices/iio:deviceX/in_illuminanceY_calibscale_available
What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibscale_available
What: /sys/bus/iio/devices/iio:deviceX/in_proximityY_calibscale_available
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale_available
KernelVersion: 4.8
Contact: linux-iio@vger.kernel.org
Description:
Available values of calibscale. Maybe expressed as either of:
- a small discrete set of values like "1 8 16"
- a range specified as "[min step max]"
If shared across all channels, <type>_calibscale_available is used.
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
KernelVersion: 4.0
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
KernelVersion: 4.0
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
KernelVersion: 3.19
Contact: linux-iio@vger.kernel.org
Description:
Height of the user (in meters) used by some pedometers
to compute the stride length, distance, speed and activity
type.
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
KernelVersion: 4.0
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.
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
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
What: /sys/.../iio:deviceX/in_voltageY_scale_available
What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
What: /sys/.../iio:deviceX/out_voltageY_scale_available
What: /sys/.../iio:deviceX/out_altvoltageY_scale_available
What: /sys/.../iio:deviceX/in_capacitance_scale_available
What: /sys/.../iio:deviceX/in_pressure_scale_available
What: /sys/.../iio:deviceX/in_pressureY_scale_available
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
If a discrete set of scale values is available, they
are listed in this attribute. Unlike illumination,
multiplying intensity by intensity_scale does not
yield value with any standardized unit.
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
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
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hardwaregain
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Hardware applied gain factor. If shared across all channels,
<type>_hardwaregain is used.
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.
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.
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.
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
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.
While DAC like devices typically use out_voltage,
a continuous frequency generating device, such as
a DDS or PLL should use out_altvoltage.
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
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.
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
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
1kohm_to_gnd: connected to ground via an 1kOhm resistor,
2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
6kohm_to_gnd: connected to ground via a 6kOhm resistor,
7.7kohm_to_gnd: connected to ground via a 7.7kOhm resistor,
20kohm_to_gnd: connected to ground via a 20kOhm resistor,
32kohm_to_gnd: connected to ground via a 32kOhm resistor,
42kohm_to_gnd: connected to ground via a 42kOhm resistor,
90kohm_to_gnd: connected to ground via a 90kOhm resistor,
100kohm_to_gnd: connected to ground via an 100kOhm resistor,
125kohm_to_gnd: connected to ground via an 125kOhm resistor,
500kohm_to_gnd: connected to ground via a 500kOhm resistor,
640kohm_to_gnd: connected to ground via a 640kOhm resistor,
three_state: left floating.
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.
What: /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
What: /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
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.
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
Writing 1 causes output Y to enter the power down mode specified
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.
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.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_phase
What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_phase
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_i_phase
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_q_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.
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.
What: /sys/bus/iio/devices/iio:deviceX/events
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
Configuration of which hardware generated events are passed up
to user-space.
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
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
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
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
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
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Event generated when channel passes a threshold 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 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
different values, but the device can only enable both thresholds
or neither.
Note the driver will assume the last p events requested are
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
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 at a future point (and not those for
whatever event was previously enabled).
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
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
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
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
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
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
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
different values, but the device can only enable both rate of
change thresholds or neither.
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).
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
Description:
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
Description:
When adaptive thresholds are used, the tracking signal
may adjust too slowly to step changes in the raw signal.
Thus these specify the time in seconds for which the
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.
What: /sys/.../events/in_accel_thresh_rising_value
What: /sys/.../events/in_accel_thresh_falling_value
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
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
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
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
What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
What: /sys/.../events/in_voltageY_raw_thresh_rising_value
What: /sys/.../events/in_voltageY_raw_thresh_falling_value
What: /sys/.../events/in_tempY_raw_thresh_rising_value
What: /sys/.../events/in_tempY_raw_thresh_falling_value
What: /sys/.../events/in_illuminance0_thresh_falling_value
What: /sys/.../events/in_illuminance0_thresh_rising_value
What: /sys/.../events/in_proximity0_thresh_falling_value
What: /sys/.../events/in_proximity0_thresh_rising_value
What: /sys/.../events/in_illuminance_thresh_rising_value
What: /sys/.../events/in_illuminance_thresh_falling_value
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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Specifies the value of threshold that the device is comparing
against for the events enabled by
<type>Y[_name]_thresh[_rising|falling]_en.
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).
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.
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
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
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
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
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.
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
deactivated again once the value falls below 1150.
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
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
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
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
What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
What: /sys/.../events/in_voltageY_raw_roc_rising_value
What: /sys/.../events/in_voltageY_raw_roc_falling_value
What: /sys/.../events/in_tempY_raw_roc_rising_value
What: /sys/.../events/in_tempY_raw_roc_falling_value
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Specifies the value of rate of change threshold that the
device is comparing against for the events enabled by
<type>[Y][_name]_roc[_rising|falling]_en.
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).
What: /sys/.../events/in_accel_x_thresh_rising_period
What: /sys/.../events/in_accel_x_thresh_falling_period
What: /sys/.../events/in_accel_x_roc_rising_period
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
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
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
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
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
What: /sys/.../events/in_accel_x&y&z_mag_falling_period
What: /sys/.../events/in_intensity0_thresh_period
What: /sys/.../events/in_proximity0_thresh_period
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
What: /sys/.../events/in_illuminance_thresh_either_period
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Period of time (in seconds) for which the condition must be
met before an event is generated. If direction is not
specified then this period applies to both directions.
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.
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:
Enables or disables activity events. Depending on direction
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.
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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
magnitude of the channel is compared to the threshold, not its
signed value.
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
KernelVersion: 2.6.37
Contact: linux-iio@vger.kernel.org
Description:
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.
What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_en
What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en
What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en
What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en
What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en
What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en
KernelVersion: 5.18
Contact: linux-iio@vger.kernel.org
Description:
Similar to in_accel_mag[_y][_rising|_falling]_en, but the event
value is relative to a reference magnitude. The reference magnitude
includes the graviational acceleration.
What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_value
What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value
What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value
What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value
What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value
What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value
KernelVersion: 5.18
Contact: linux-iio@vger.kernel.org
Description:
The value to which the reference magnitude of the channel is
compared. If the axis is not specified, it applies to all channels
of this type.
What: /sys/.../events/in_steps_change_en
KernelVersion: 4.0
Contact: linux-iio@vger.kernel.org
Description:
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
KernelVersion: 4.0
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.
What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
The name of the trigger source being used, as per string given
in /sys/class/iio/triggerY/name.
What: /sys/bus/iio/devices/iio:deviceX/bufferY/length
KernelVersion: 5.11
Contact: linux-iio@vger.kernel.org
Description:
Number of scans contained by the buffer.
What: /sys/bus/iio/devices/iio:deviceX/bufferY/enable
KernelVersion: 5.11
Contact: linux-iio@vger.kernel.org
Description:
Actually start the buffer capture up. Will start trigger
if first device and appropriate.
Note that it might be impossible to configure other attributes,
(e.g.: events, scale, sampling rate) if they impact the currently
active buffer capture session.
What: /sys/bus/iio/devices/iio:deviceX/bufferY
KernelVersion: 5.11
Contact: linux-iio@vger.kernel.org
Description:
Directory containing interfaces for elements that will be
captured for a single triggered sample set in the buffer.
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_deltaangl_x_en
What: /sys/.../iio:deviceX/bufferY/in_deltaangl_y_en
What: /sys/.../iio:deviceX/bufferY/in_deltaangl_z_en
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_x_en
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_y_en
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_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_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
Contact: linux-iio@vger.kernel.org
Description:
Scan element control for triggered data capture.
What: /sys/.../iio:deviceX/bufferY/in_accel_type
What: /sys/.../iio:deviceX/bufferY/in_deltaangl_type
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_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_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
Contact: linux-iio@vger.kernel.org
Description:
Description of the scan element data storage within the buffer
and hence the form in which it is read from user-space.
Form is [be|le]:[s|u]bits/storagebits[>>shift].
be or le specifies big or little endian. s or u specifies if
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
a 64 bit boundary. To obtain the clean value, shift right 2
and apply a mask to zero the top 16 bits of the result.
For other storage combinations this attribute will be extended
appropriately.
What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
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.
What: /sys/.../iio:deviceX/bufferY/in_voltageY_index
What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_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_deltaangl_x_index
What: /sys/.../iio:deviceX/bufferY/in_deltaangl_y_index
What: /sys/.../iio:deviceX/bufferY/in_deltaangl_z_index
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_x_index
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_y_index
What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_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
Contact: linux-iio@vger.kernel.org
Description:
A single positive integer specifying the position of this
scan element in the buffer. Note these are not dependent on
what is enabled and may not be contiguous. Thus for user-space
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.
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.
What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
KernelVersion: 2.6.38
Contact: linux-iio@vger.kernel.org
Description:
This attribute is used to read the amount of quadrature error
present in the device at a given time.
What: /sys/.../iio:deviceX/in_accelY_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.
What: /sys/.../iio:deviceX/in_energy_input
What: /sys/.../iio:deviceX/in_energy_raw
What: /sys/.../iio:deviceX/in_energyY_active_raw
What: /sys/.../iio:deviceX/in_energyY_reactive_raw
What: /sys/.../iio:deviceX/in_energyY_apparent_raw
KernelVersion: 4.0
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.
What: /sys/.../iio:deviceX/in_distance_input
What: /sys/.../iio:deviceX/in_distance_raw
KernelVersion: 4.0
Contact: linux-iio@vger.kernel.org
Description:
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.
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.
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
object is near the sensor, usually by observing
reflectivity of infrared or ultrasound emitted.
Often these sensors are unit less and as such conversion
to SI units is not possible. Higher proximity measurements
indicate closer objects, and vice versa. Units after
application of scale and offset are meters.
What: /sys/.../iio:deviceX/in_illuminance_input
What: /sys/.../iio:deviceX/in_illuminance_raw
What: /sys/.../iio:deviceX/in_illuminanceY_input
What: /sys/.../iio:deviceX/in_illuminanceY_raw
What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
What: /sys/.../iio:deviceX/in_illuminance_ir_raw
What: /sys/.../iio:deviceX/in_illuminance_clear_raw
KernelVersion: 3.4
Contact: linux-iio@vger.kernel.org
Description:
Illuminance measurement, units after application of scale
and offset are lux.
What: /sys/.../iio:deviceX/in_intensityY_raw
What: /sys/.../iio:deviceX/in_intensityY_ir_raw
What: /sys/.../iio:deviceX/in_intensityY_both_raw
What: /sys/.../iio:deviceX/in_intensityY_uv_raw
What: /sys/.../iio:deviceX/in_intensityY_uva_raw
What: /sys/.../iio:deviceX/in_intensityY_uvb_raw
What: /sys/.../iio:deviceX/in_intensityY_duv_raw
What: /sys/.../iio:deviceX/in_intensity_red_raw
What: /sys/.../iio:deviceX/in_intensity_green_raw
What: /sys/.../iio:deviceX/in_intensity_blue_raw
What: /sys/.../iio:deviceX/in_intensity_clear_raw
KernelVersion: 3.4
Contact: linux-iio@vger.kernel.org
Description:
Unit-less light intensity. Modifiers both and ir indicate
that measurements contain visible and infrared light
components or just infrared light, respectively. Modifier
uv indicates that measurements contain ultraviolet light
components. Modifiers uva, uvb and duv indicate that
measurements contain A, B or deep (C) ultraviolet light
components respectively.
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).
What: /sys/.../iio:deviceX/in_intensity_integration_time
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
seconds. If shared across all channels of a given type,
<type>_integration_time is used.
What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
KernelVersion: 4.0
Contact: linux-iio@vger.kernel.org
Description:
Number of seconds in which to compute speed.
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.
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.
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 current measurement from channel Y. 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. In special cases where the channel does not
correspond to externally available input one of the named
versions may be used.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_altcurrentY_rms_raw
KernelVersion: 6.18
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no bias removal etc.) Root Mean Square (RMS) current
measurement from channel Y. Units after application of scale and
offset are milliamps.
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
What: /sys/.../iio:deviceX/in_steps_en
KernelVersion: 3.19
Contact: linux-iio@vger.kernel.org
Description:
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.
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.
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.
What: /sys/.../iio:deviceX/in_steps_debounce_count
KernelVersion: 4.0
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
KernelVersion: 4.0
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.
What: /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
KernelVersion: 5.11
Contact: linux-iio@vger.kernel.org
Description:
A single positive integer specifying the maximum number of scan
elements to wait for.
Poll will block until the watermark is reached.
Blocking read will wait until the minimum between the requested
read amount or the low water mark is available.
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.
What: /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
KernelVersion: 5.11
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.
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).
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.
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.
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.
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.
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.
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.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_calibemissivity
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_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.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_co2_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_ethanol_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_h2_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_o2_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_voc_raw
KernelVersion: 4.3
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no offset etc.) reading of a substance. Units
after application of scale and offset are percents.
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceY_raw
What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw
KernelVersion: 4.3
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled no offset etc.) resistance reading.
Units after application of scale and offset are ohms.
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
of heater function. Same reading values apply.
This ABI is especially applicable for humidity sensors
to heatup the device and get rid of any condensation
in some humidity environment
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.
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
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
What: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
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.
Main hardware placement is defined according to the local
reference frame related to the physical quantity the sensor
measures.
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).
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.
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.
More specifically, main hardware orientation is defined with
respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
* 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 :
* 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.
Another example for a quadrotor UAV might be :
* 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.
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.
Units after application of scale and offset are siemens per
meter.
What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw
KernelVersion: 4.10
Contact: linux-iio@vger.kernel.org
Description:
This interface is deprecated; please use the Counter subsystem.
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
KernelVersion: 4.10
Contact: linux-iio@vger.kernel.org
Description:
This interface is deprecated; please use the Counter subsystem.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
KernelVersion: 4.12
Contact: linux-iio@vger.kernel.org
Description:
This interface is deprecated; please use the Counter subsystem.
A list of possible counting directions which are:
- "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:
This interface is deprecated; please use the Counter subsystem.
Raw counter device counters direction for channel Y.
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.
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.
Units after application of scale and offset are 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.
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.
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.
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.
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibambient
KernelVersion: 5.10
Contact: linux-iio@vger.kernel.org
Description:
Calibrated ambient temperature for object temperature
calculation in milli degrees Celsius.
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.
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.
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.
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]"
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sampling_frequency
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_sampling_frequency
KernelVersion: 5.20
Contact: linux-iio@vger.kernel.org
Description:
Some devices have separate controls of sampling frequency for
individual channels. If multiple channels are enabled in a scan,
then the sampling_frequency of the scan may be computed from the
per channel sampling frequencies.
What: /sys/.../events/in_accel_gesture_singletap_en
What: /sys/.../events/in_accel_gesture_doubletap_en
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Device generates an event on a single or double tap.
What: /sys/.../events/in_accel_gesture_singletap_value
What: /sys/.../events/in_accel_gesture_doubletap_value
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Specifies the threshold value that the device is comparing
against to generate the tap gesture event. The lower
threshold value increases the sensitivity of tap detection.
Units and the exact meaning of value are device-specific.
What: /sys/.../events/in_accel_gesture_tap_value_available
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Lists all available threshold values which can be used to
modify the sensitivity of the tap detection.
What: /sys/.../events/in_accel_gesture_singletap_reset_timeout
What: /sys/.../events/in_accel_gesture_doubletap_reset_timeout
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Specifies the timeout value in seconds for the tap detector
to not to look for another tap event after the event as
occurred. Basically the minimum quiet time between the two
single-tap's or two double-tap's.
What: /sys/.../events/in_accel_gesture_tap_reset_timeout_available
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Lists all available tap reset timeout values. Units in seconds.
What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Specifies the minimum quiet time in seconds between the two
taps of a double tap.
What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Lists all available delay values between two taps in the double
tap. Units in seconds.
What: /sys/.../events/in_accel_gesture_tap_maxtomin_time
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Specifies the maximum time difference allowed between upper
and lower peak of tap to consider it as the valid tap event.
Units in seconds.
What: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Lists all available time values between upper peak to lower
peak. Units in seconds.
What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Raw (unscaled) euler angles readings. Units after
application of scale are deg.
What: /sys/bus/iio/devices/iio:deviceX/serialnumber
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
An example format is 16-bytes, 2-digits-per-byte, HEX-string
representing the sensor unique ID number.
What: /sys/bus/iio/devices/iio:deviceX/filter_type_available
What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_type_available
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Reading returns a list with the possible filter modes. Options
for the attribute:
* "none" - Filter is disabled/bypassed.
* "sinc1" - The digital sinc1 filter. Fast 1st
conversion time. Poor noise performance.
* "sinc3" - The digital sinc3 filter. Moderate 1st
conversion time. Good noise performance.
* "sinc3+pf1" - Sinc3 + device specific Post Filter 1.
* "sinc3+pf2" - Sinc3 + device specific Post Filter 2.
* "sinc3+pf3" - Sinc3 + device specific Post Filter 3.
* "sinc3+pf4" - Sinc3 + device specific Post Filter 4.
* "sinc3+rej60" - Sinc3 + 60Hz rejection.
* "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion
time.
* "sinc4" - Sinc 4. Excellent noise performance. Long
1st conversion time.
* "sinc4+lp" - Sinc4 + Low Pass Filter.
* "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion
time.
* "sinc4+rej60" - Sinc4 + 60Hz rejection.
* "sinc5" - The digital sinc5 filter. Excellent noise
performance
* "sinc5+avg" - Sinc5 + averaging by 4.
* "sinc5+pf1" - Sinc5 + device specific Post Filter 1.
* "sinc5+sinc1" - Sinc5 + Sinc1.
* "sinc5+sinc1+pf1" - Sinc5 + Sinc1 + device specific Post Filter 1.
* "sinc5+sinc1+pf2" - Sinc5 + Sinc1 + device specific Post Filter 2.
* "sinc5+sinc1+pf3" - Sinc5 + Sinc1 + device specific Post Filter 3.
* "sinc5+sinc1+pf4" - Sinc5 + Sinc1 + device specific Post Filter 4.
* "wideband" - filter with wideband low ripple passband
and sharp transition band.
What: /sys/bus/iio/devices/iio:deviceX/filter_type
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_type
KernelVersion: 6.1
Contact: linux-iio@vger.kernel.org
Description:
Specifies which filter type apply to the channel. The possible
values are given by the filter_type_available attribute.
What: /sys/.../events/in_proximity_thresh_either_runningperiod
KernelVersion: 6.6
Contact: linux-iio@vger.kernel.org
Description:
A running period of time (in seconds) for which
in_proximity_thresh_either_runningcount amount of conditions
must occur before an event is generated. If direction is not
specified then this period applies to both directions.
What: /sys/.../events/in_proximity_thresh_either_runningcount
KernelVersion: 6.6
Contact: linux-iio@vger.kernel.org
Description:
Number of conditions that must occur, during a running
period, before an event is generated.
What: /sys/bus/iio/devices/iio:deviceX/in_colortemp_raw
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
Represents light color temperature, which measures light color
temperature in Kelvin.
What: /sys/bus/iio/devices/iio:deviceX/in_chromaticity_x_raw
What: /sys/bus/iio/devices/iio:deviceX/in_chromaticity_y_raw
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
The x and y light color coordinate on the CIE 1931 chromaticity
diagram.
What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_either_label
What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_rising_label
What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_falling_label
What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_rising_label
What: /sys/bus/iio/devices/iio:deviceX/events/in_anglvelY_mag_rising_label
What: /sys/bus/iio/devices/iio:deviceX/events/in_anglY_thresh_rising_label
What: /sys/bus/iio/devices/iio:deviceX/events/in_phaseY_mag_rising_label
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
Optional symbolic label to a device channel event.
If a label is defined for this event add that to the event
specific attributes. This is useful for userspace to be able to
better identify an individual event.
What: /sys/.../events/in_accel_gesture_tap_wait_timeout
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
Enable tap gesture confirmation with timeout.
What: /sys/.../events/in_accel_gesture_tap_wait_dur
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
Timeout value in seconds for tap gesture confirmation.
What: /sys/.../events/in_accel_gesture_tap_wait_dur_available
KernelVersion: 6.7
Contact: linux-iio@vger.kernel.org
Description:
List of available timeout value for tap gesture confirmation.
What: /sys/.../iio:deviceX/in_shunt_resistor
What: /sys/.../iio:deviceX/in_current_shunt_resistor
What: /sys/.../iio:deviceX/in_power_shunt_resistor
KernelVersion: 6.10
Contact: linux-iio@vger.kernel.org
Description:
The value of current sense resistor in Ohms.
What: /sys/.../iio:deviceX/in_attention_input
KernelVersion: 6.13
Contact: linux-iio@vger.kernel.org
Description:
Value representing the user's attention to the system expressed
in units as percentage. This usually means if the user is
looking at the screen or not.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
IIO device, trigger와 buffer objects
1-28다음 세 record의 KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다.
| What | 전문 번역 |
|---|---|
| /sys/bus/iio/devices/iio:deviceX | 하나의 communication port를 통해 접근하는 hardware chip 또는 device입니다. Sensor channels의 grouping에 대응합니다. X는 device의 IIO index입니다. |
| /sys/bus/iio/devices/triggerX | Kernel 내부 buffer로 data capture를 구동하는 event-driven driver입니다. Hardware가 생성한 event(예: data ready)에 기반하며 IIO device도 갖는 device driver가 제공할 수 있고, 다른 hardware(예: periodic timer, GPIO 또는 high-resolution timer)를 위한 별도 driver가 제공할 수도 있습니다. Trigger type별 elements를 포함하지만 일반화하기 어려워 이 file에는 문서화하지 않습니다. X는 trigger의 IIO index입니다. |
| /sys/bus/iio/devices/iio:deviceX/buffer | Device의 buffer와 관련된 attributes directory입니다. |
IIO device name과 표준 label
29-85| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/name |
| KernelVersion | 2.6.35 |
| Contact | linux-iio@vger.kernel.org |
| Description | Device X의 physical chip/device 설명입니다. 일반적으로 part number입니다. |
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/label |
| KernelVersion | 5.8 |
| Contact | linux-iio@vger.kernel.org |
| Description | Device의 선택적 symbolic label입니다. Userspace가 개별 device를 더 잘 식별하는 데 유용합니다. Label 내용은 free-form이지만 아래와 같은 표준 용도가 있습니다. |
| 표준 label | 전문 번역 |
|---|---|
| proximity-wifi | 특정 WLAN antenna와 사람 사이의 proximity를 나타냅니다. |
| proximity-lte | 특정 WWAN/LTE antenna와 사람 사이의 proximity를 나타냅니다. |
| proximity-wifi-lte | Wi-Fi와 LTE antennas에 관련된 proximity를 나타냅니다. |
| proximity-wifi-left | 여러 antennas가 있는 device의 왼쪽 Wi-Fi antenna proximity를 나타냅니다. |
| proximity-wifi-right | 여러 antennas가 있는 device의 오른쪽 Wi-Fi antenna proximity를 나타냅니다. |
| proximity-palmrest | Keyboard palmrest와의 proximity를 나타냅니다. |
| proximity-palmrest-left | Palmrest 왼쪽 부분과의 proximity를 나타냅니다. |
| proximity-palmrest-right | Palmrest 오른쪽 부분과의 proximity를 나타냅니다. |
| proximity-lap | Device가 사용자의 lap 위에서 사용 중임을 나타냅니다. 이 값은 raw sensor reading이 아니라 firmware가 다른 sensor readings로 계산할 수 있다는 점에서 특별합니다. |
| accel-base | 360° yoga-style hinge가 있는 2-in-1의 base에 있는 accelerometer를 나타냅니다. |
| accel-display | 360° yoga-style hinge가 있는 2-in-1의 display에 있는 accelerometer를 나타냅니다. |
| accel-camera | AR application을 위해 swivel camera subassembly에 들어 있는 accelerometer를 나타냅니다. |
Antenna proximity labels는 userspace가 transmit power를 조정하여 Specific Absorption Rate(SAR) limits를 지키는 데 이 sensors를 사용할 수 있음을 알립니다. '-left'와 '-right' labels는 여러 antennas가 있는 devices에 사용합니다.
Buffered sample timestamp clock
87-93| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock |
| KernelVersion | 4.5 |
| Contact | linux-iio@vger.kernel.org |
| Description | Device X의 buffered samples와 events에 timestamp를 지정할 때 사용하는 현재 POSIX clock을 식별하는 string입니다. |
Sampling frequency와 available values
94-127| What | 공통 metadata |
|---|---|
| /sys/bus/iio/devices/iio:deviceX/sampling_frequency | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/events/sampling_frequency | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/triggerX/sampling_frequency | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
일부 devices에는 internal clocks가 있습니다. 이 parameter는 그 결과인 sampling frequency를 설정합니다. 많은 devices에서 이 parameter는 단순히 input sampling 시점만 제어하지 않고 input filters 등에도 영향을 줍니다. Data-ready triggers, hardware buffers와 sysfs direct-access interfaces에 영향을 주므로 관련 directories 어디에든 존재할 수 있습니다. 위 항목 모두에 영향을 주는 경우 base device directory에 있습니다. stm32-timer-trigger에서는 sampling_frequency 0이 sampling 중지를 의미하도록 추가로 정의됩니다.
| What | 공통 metadata |
|---|---|
| /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/.../iio:deviceX/buffer/sampling_frequency_available | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/triggerX/sampling_frequency_available | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
Internal sampling clock이 특정 frequencies 집합만 사용할 수 있으면 available values를 "0 2 4 6 8" 같은 작은 discrete 값 집합이나 minimum·step·maximum frequency를 갖는 "[min step max]" range로 지정할 수 있습니다.
ADC oversampling ratio
129-140| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/oversampling_ratio | 2.6.38 / linux-iio@vger.kernel.org | Hardware-dependent ADC oversampling입니다. 사용할 수 있는 경우 digital filter의 sampling ratio를 제어합니다. |
| /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available | 2.6.38 / linux-iio@vger.kernel.org | Oversampling filter가 지원하는 hardware-dependent values입니다. |
Voltage raw, differential와 RMS channels
142-176| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw | 2.6.35 / linux-iio@vger.kernel.org | Channel Y의 raw voltage measurement입니다. Scale 적용이나 bias 제거 등을 하지 않은 값입니다. Channel이 외부에서 사용할 수 있는 input에 대응하지 않는 특수한 경우 named version을 사용할 수 있습니다. Event codes와 연결할 수 있도록 number는 항상 지정해야 하고 고유해야 합니다. Scale과 offset 적용 뒤의 단위는 millivolts입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw | 2.6.35 / linux-iio@vger.kernel.org | Supply로 이름 붙인 channel Y의 raw voltage measurement입니다. Scale 적용이나 bias 제거 등을 하지 않은 값이며, number는 event codes와 연결할 수 있도록 항상 지정하고 고유해야 합니다. Scale과 offset 적용 뒤의 단위는 millivolts입니다. |
'i'와 'q' modifiers가 있는 channels는 항상 pair로 존재하며 두 channels 모두 같은 signal을 가리킵니다. 'i' channel은 signal의 in-phase component를 포함하고, 'q' channel은 quadrature component를 포함합니다.
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw |
| KernelVersion | 2.6.35 |
| Contact | linux-iio@vger.kernel.org |
| Description | Channel Y - channel Z에 해당하는 raw(unscaled) differential voltage measurement입니다. Non-differential readings도 별도로 제공되는 경우 이 channel numbers는 물리적으로 대응하는 inputs에 적용됩니다. Differential-only parts에서는 일관된 labeling만 필요합니다. Scale과 offset 적용 뒤의 단위는 millivolts입니다. |
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_rms_raw |
| KernelVersion | 6.18 |
| Contact | linux-iio@vger.kernel.org |
| Description | Channel Y의 raw(unscaled) Root Mean Square(RMS) voltage measurement입니다. Scale과 offset 적용 뒤의 단위는 millivolts입니다. |
Power measurements와 power factor
178-195| What | 공통 metadata |
|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_powerY_raw | KernelVersion 4.5 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_powerY_active_raw | KernelVersion 4.5 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_powerY_reactive_raw | KernelVersion 4.5 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_powerY_apparent_raw | KernelVersion 4.5 / linux-iio@vger.kernel.org |
Channel Y의 raw power measurement입니다. Scale 적용이나 bias 제거 등을 하지 않은 값입니다. Event codes와 연결할 수 있도록 number는 항상 지정해야 하고 고유해야 합니다. Scale과 offset 적용 뒤의 단위는 milliwatts입니다.
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_powerY_powerfactor |
| KernelVersion | 6.18 |
| Contact | linux-iio@vger.kernel.org |
| Description | Channel Y의 power factor measurement입니다. Power factor는 active power와 apparent power의 비율입니다. 값에는 단위가 없습니다. |
Capacitance raw, differential와 zeropoint
197-232| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw |
| KernelVersion | 3.2 |
| Contact | linux-iio@vger.kernel.org |
| Description | Channel Y의 raw capacitance measurement입니다. Scale과 offset 적용 뒤의 단위는 nanofarads입니다. |
| 항목 | 전문 번역 |
|---|---|
| What | /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw |
| KernelVersion | 3.2 |
| Contact | linux-iio@vger.kernel.org |
| Description | Channel Y - channel Z에 해당하는 raw differential capacitance measurement입니다. Non-differential readings도 별도로 제공되는 경우 이 channel numbers는 물리적으로 대응하는 inputs에 적용됩니다. Differential-only parts에서는 일관된 labeling만 필요합니다. Scale과 offset 적용 뒤의 단위는 nanofarads입니다. |
| 항목 | 전문 번역 |
|---|---|
| What | /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint |
| KernelVersion | 6.1 |
| Contact | linux-iio@vger.kernel.org |
| Description | Differential channels에서 두 inputs에 동일하게 적용하는 offset입니다. Reading은 두 inputs의 차이이므로 userspace는 이 값을 _offset과 달리 _raw reading에 적용해서는 안 됩니다. 또한 calibbias와 달리 _zeropoint의 효과가 differential pair의 두 inputs에서 상쇄되므로 측정된 differential value에 영향을 주지 않습니다. 목적은 differential 측정 전에 개별 signals를 device의 measurement range 안으로 가져오는 것입니다. Differential pair를 이루는 별도 inputs를 _raw units로 graph에 그렸을 때 이 값이 measurement axis의 zero point가 나타내는 값이므로 이런 이름을 사용합니다. _raw와 같은 scaling으로 표현합니다. |
Temperature raw와 scaled input
234-256| What | 공통 metadata |
|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_temp_raw | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_tempY_raw | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
| /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw | KernelVersion 2.6.35 / linux-iio@vger.kernel.org |
Raw temperature measurement입니다. Scale 적용이나 bias 제거 등을 하지 않은 값입니다. Axis가 지정되면 일반적으로 temperature sensor가 compound device의 특정 부분(예: gyroscope axis)과 연결되었음을 뜻합니다. Ambient와 object modifiers는 contactless measurements에서 ambient(reference) temperature와 distant-object temperature를 구분합니다. Scale과 offset 적용 뒤의 단위는 milli-degrees Celsius입니다.
| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_tempY_input | 2.6.38 / linux-iio@vger.kernel.org | Milli-degrees Celsius 단위의 scaled temperature measurement입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_temp_input | 2.6.38 / linux-iio@vger.kernel.org | Milli-degrees Celsius 단위의 scaled temperature measurement입니다. |
Acceleration, gravity와 delta measurements
258-315| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw | 2.6.35 / linux-iio@vger.kernel.org | x, y 또는 z 방향 acceleration입니다. 축은 임의로 지정할 수 있지만 device의 다른 같은 종류 assignment와 일치해야 합니다. voltageY와 동등한 모든 parameters를 갖습니다. Scale과 offset 적용 뒤의 단위는 m/s^2입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw | 6.1 / linux-iio@vger.kernel.org | in_accel_X_raw attributes와 같지만 gravity로 인한 acceleration을 뺀 값입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw | 4.11 / linux-iio@vger.kernel.org | x, y 또는 z 방향 gravity입니다. 축은 임의로 지정할 수 있지만 device의 다른 같은 종류 assignment와 일치해야 합니다. Scale과 offset 적용 뒤의 단위는 m/s^2입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_deltaangl_x_raw /sys/bus/iio/devices/iio:deviceX/in_deltaangl_y_raw /sys/bus/iio/devices/iio:deviceX/in_deltaangl_z_raw | 6.5 / linux-iio@vger.kernel.org | x, y 또는 z에서 연속한 두 samples 사이의 angular displacement입니다. 축은 임의로 지정할 수 있지만 device의 다른 같은 종류 assignment와 일치해야 합니다. 원하는 기간의 total angular displacement를 계산하려면 application이 그 기간에 얻은 delta-angle samples를 합해야 합니다. Scale과 offset 적용 뒤의 단위는 radians입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_x_raw /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_y_raw /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_z_raw | 6.5 / linux-iio@vger.kernel.org | x, y 또는 z에서 연속한 두 samples 사이의 linear velocity change입니다. 축은 임의로 지정할 수 있지만 device의 다른 같은 종류 assignment와 일치해야 합니다. 원하는 기간의 total linear velocity change를 계산하려면 application이 그 기간에 얻은 delta-velocity samples를 합해야 합니다. Scale과 offset 적용 뒤의 단위는 meters per second입니다. |
Angle, position, angular velocity, inclination과 magnetic field
317-366| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_angl_raw /sys/bus/iio/devices/iio:deviceX/in_anglY_raw | 4.17 / linux-iio@vger.kernel.org | Rotation angle입니다. Scale과 offset 적용 뒤의 단위는 radians입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw | 4.19 / linux-iio@vger.kernel.org | Pad의 x 또는 y 방향 relative position입니다. 축은 임의로 지정할 수 있지만 device의 다른 같은 종류 assignment와 일치해야 합니다. Scale과 offset 적용 뒤의 단위는 두 방향 모두 pad size에 대한 milli-percent입니다. Consumer가 calibration해야 합니다. |
| /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw | 2.6.35 / linux-iio@vger.kernel.org | x, y 또는 z axis에 대한 angular velocity입니다. 축은 임의로 지정할 수 있습니다. voltageY와 동등한 모든 parameters를 갖습니다. Scale과 offset 적용 뒤의 단위는 radians per second입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw | 2.6.35 / linux-iio@vger.kernel.org | x, y 또는 z axis에 대한 inclination raw reading입니다. 축은 임의로 지정할 수 있습니다. Offset과 scale을 적용하여 degrees로 변환합니다. |
| /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw | 2.6.35 / linux-iio@vger.kernel.org | x, y 또는 z axis를 따르는 magnetic field입니다. 축은 임의로 지정할 수 있습니다. Offset을 적용한 뒤 scale을 적용하여 Gauss로 변환합니다. |
Peak, trough와 squared-magnitude peak
368-394| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_peak_raw /sys/bus/iio/devices/iio:deviceX/in_temp_peak_raw | 2.6.36 / linux-iio@vger.kernel.org | 특정 reset condition 이후의 highest value입니다. 이 attributes로 해당 값에 접근하며, 그 밖의 면에서는 <type>Y[_name]_raw attributes와 직접적으로 동등합니다. |
| /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_trough_raw /sys/bus/iio/devices/iio:deviceX/in_temp_trough_raw | 6.7 / linux-iio@vger.kernel.org | 특정 reset condition 이후의 lowest value입니다. 이 attributes로 해당 값에 접근하며, 그 밖의 면에서는 <type>Y[_name]_raw attributes와 직접적으로 동등합니다. |
| /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw | 2.6.36 / linux-iio@vger.kernel.org | 지정한 directions의 underlying values에 대한 sum-squared magnitude를 기반으로 계산한 peak value입니다. |
Pressure, humidity와 averaged raw values
396-430| What | KernelVersion / Contact | 전문 번역 |
|---|---|---|
| /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw /sys/bus/iio/devices/iio:deviceX/in_pressure_raw | 3.8 / linux-iio@vger.kernel.org | Channel Y의 raw pressure measurement입니다. Scale과 offset 적용 뒤의 단위는 kilopascal입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_pressureY_input /sys/bus/iio/devices/iio:deviceX/in_pressure_input | 3.8 / linux-iio@vger.kernel.org | Channel Y의 scaled pressure measurement이며 단위는 kilopascal입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw | 3.14 / linux-iio@vger.kernel.org | Air의 raw humidity measurement입니다. Scale과 offset 적용 뒤의 단위는 milli-percent입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input | 3.14 / linux-iio@vger.kernel.org | Milli-percent 단위의 scaled humidity measurement입니다. |
| /sys/bus/iio/devices/iio:deviceX/in_Y_mean_raw | 3.5 / linux-iio@vger.kernel.org | Channel Y에서 얻은 averaged raw measurement입니다. Averaging에 사용하는 values 수는 device-specific입니다. 일반 raw values의 conversion rules가 averaged raw values에도 적용됩니다. |
Raw-value offsets
432-468/sys/bus/iio/devices/iio:deviceX/in_accel_offset
/sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
/sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
/sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
/sys/bus/iio/devices/iio:deviceX/in_altvoltage_q_offset
/sys/bus/iio/devices/iio:deviceX/in_altvoltage_i_offset
/sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
/sys/bus/iio/devices/iio:deviceX/in_voltage_offset
/sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset
/sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset
/sys/bus/iio/devices/iio:deviceX/in_currentY_offset
/sys/bus/iio/devices/iio:deviceX/in_current_offset
/sys/bus/iio/devices/iio:deviceX/in_tempY_offset
/sys/bus/iio/devices/iio:deviceX/in_temp_offset
/sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
/sys/bus/iio/devices/iio:deviceX/in_pressure_offset
/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
/sys/bus/iio/devices/iio:deviceX/in_magn_offset
/sys/bus/iio/devices/iio:deviceX/in_rot_offset
/sys/bus/iio/devices/iio:deviceX/in_angl_offset
/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_offset
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. Device에서 값을 아는 경우 <type> documentation이 지정한 단위의 값을 얻기 위해 <type>[Y]_raw에 더한 뒤 <type>[Y]_scale로 scaling할 offset입니다. Offset이 항상 0이거나 알 수 없으면 존재하지 않습니다. Y 또는 axis <x|y|z>가 없으면 같은 <type>의 모든 input channels에 적용됩니다. Device가 variable offset을 적용할 수 있으면 writable일 수 있습니다. 이는 part instances 사이의 variation을 보정하기 위해 device 또는 driver가 내부 적용하고 보통 hardware calibration procedure로 조정하는 calibbias와 다릅니다. Calibbias는 내부 적용되고 offset은 userspace가 _raw output에 적용합니다.
Raw-value scales
470-519/sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
/sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
/sys/bus/iio/devices/iio:deviceX/in_voltage_scale
/sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
/sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
/sys/bus/iio/devices/iio:deviceX/in_currentY_scale
/sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
/sys/bus/iio/devices/iio:deviceX/in_current_scale
/sys/bus/iio/devices/iio:deviceX/in_current_q_scale
/sys/bus/iio/devices/iio:deviceX/in_accel_scale
/sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
/sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
/sys/bus/iio/devices/iio:deviceX/in_energy_scale
/sys/bus/iio/devices/iio:deviceX/in_distance_scale
/sys/bus/iio/devices/iio:deviceX/in_magn_scale
/sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
/sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
/sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
/sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
/sys/bus/iio/devices/iio:deviceX/in_pressure_scale
/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
/sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
/sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
/sys/bus/iio/devices/iio:deviceX/in_countY_scale
/sys/bus/iio/devices/iio:deviceX/in_deltaangl_scale
/sys/bus/iio/devices/iio:deviceX/in_deltavelocity_scale
/sys/bus/iio/devices/iio:deviceX/in_angl_scale
/sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale
/sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale
/sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale
/sys/bus/iio/devices/iio:deviceX/in_intensity_red_scale
/sys/bus/iio/devices/iio:deviceX/in_intensity_green_scale
/sys/bus/iio/devices/iio:deviceX/in_intensity_blue_scale
/sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. Device에서 값을 아는 경우 <type>Y[_name]_raw에 <type>[Y][_name]_offset을 더한 뒤 적용하여 <type>Y[_name]_raw documentation이 지정한 단위의 measured value를 얻는 scale입니다. 모든 input channels가 공유하면 Y와 <x|y|z>가 없고 값 이름은 <type>[Y][_name]_scale입니다. Peak modifier가 있으면 이 값을 <type>Y[_name]_peak_raw values에 적용합니다.
Hardware calibration bias와 available values
521-566/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
/sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_calibbias
/sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_calibbias
/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
/sys/bus/iio/devices/iio:deviceX/in_capacitance_calibbias
/sys/bus/iio/devices/iio:deviceX/in_illuminance_calibbias
/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
/sys/bus/iio/devices/iio:deviceX/in_intensityY_calibbias
/sys/bus/iio/devices/iio:deviceX/in_magn_x_calibbias
/sys/bus/iio/devices/iio:deviceX/in_magn_y_calibbias
/sys/bus/iio/devices/iio:deviceX/in_magn_z_calibbias
/sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
/sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias
/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
/sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
/sys/bus/iio/devices/iio:deviceX/in_temp_calibbias
/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibbias
/sys/bus/iio/devices/iio:deviceX/out_currentY_calibbias
/sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. Production inaccuracies를 보정한다고 가정하는 hardware-applied calibration offset입니다. icm42600에서는 값이 실제 physical offsets이며 accelerometer는 m/s^2, gyroscope는 rad/s의 SI units로 표현됩니다.
/sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available
/sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available
/sys/bus/iio/devices/iio:deviceX/in_temp_calibbias_available
/sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias_available
/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibbias_available
/sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias_available
KernelVersion은 5.8, Contact는 linux-iio@vger.kernel.org입니다. 사용할 수 있는 calibbias values입니다. "0 2 4 6 8" 같은 작은 discrete 값 집합 또는 "[min step max]" range로 표현할 수 있습니다.
Per-channel conversion delay
568-590| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_convdelay |
| KernelVersion | 6.17 |
| Contact | linux-iio@vger.kernel.org |
| Description | 모든 channels가 공유하는 common reference point부터 conversion 시작까지의 delay입니다. Simultaneous-sampling ADC에 신호를 공급하는 external filters가 유발한 delay variation을 보정하는 데 사용하면 writable일 수 있습니다. 예를 들어 ad7606 ADC series에서 이 값은 선택적 external filtering circuit이 유발한 delay를 보정하는, seconds 단위 configurable time delay입니다. |
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_voltageY_convdelay_available |
| KernelVersion | 6.16 |
| Contact | linux-iio@vger.kernel.org |
| Description | 사용할 수 있는 convdelay values이며 "[min step max]" range로 표현할 수 있습니다. 모든 channels가 공유하면 <type>_convdelay_available을 사용합니다. |
Hardware calibration scale와 available values
592-635/sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
/sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
/sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
/sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale
/sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
/sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
/sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
/sys/bus/iio/devices/iio:deviceX/in_capacitance_calibscale
/sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
/sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
/sys/bus/iio/devices/iio:deviceX/in_intensity_both_calibscale
/sys/bus/iio/devices/iio:deviceX/in_intensity_calibscale
/sys/bus/iio/devices/iio:deviceX/in_intensity_ir_calibscale
/sys/bus/iio/devices/iio:deviceX/in_magn_x_calibscale
/sys/bus/iio/devices/iio:deviceX/in_magn_y_calibscale
/sys/bus/iio/devices/iio:deviceX/in_magn_z_calibscale
/sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
/sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
/sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
/sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
/sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
/sys/bus/iio/devices/iio:deviceX/out_currentY_calibscale
/sys/bus/iio/devices/iio:deviceX/out_voltageY_calibscale
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. Production inaccuracies를 보정한다고 가정하는 hardware-applied calibration scale factor입니다. 모든 channels가 공유하면 <type>_calibscale을 사용합니다.
/sys/bus/iio/devices/iio:deviceX/in_illuminanceY_calibscale_available
/sys/bus/iio/devices/iio:deviceX/in_intensityY_calibscale_available
/sys/bus/iio/devices/iio:deviceX/in_proximityY_calibscale_available
/sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale_available
KernelVersion은 4.8, Contact는 linux-iio@vger.kernel.org입니다. 사용할 수 있는 calibscale values입니다. "1 8 16" 같은 작은 discrete 값 집합 또는 "[min step max]" range로 표현할 수 있습니다. 모든 channels가 공유하면 <type>_calibscale_available을 사용합니다.
Pedometer user calibration metadata
637-673/sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
/sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
/sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
/sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 일부 pedometers가 stride length, distance, speed와 activity type을 계산하는 데 사용하는 사용자 gender(예: male, female)입니다.
/sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
/sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
/sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
/sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 사용할 수 있는 모든 gender values(예: male, female)를 나열합니다.
/sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
/sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
/sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
/sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 일부 pedometers가 stride length, distance, speed와 activity type을 계산하는 데 사용하는 사용자 height이며 단위는 meters입니다.
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight |
| KernelVersion | 4.0 |
| Contact | linux-iio@vger.kernel.org |
| Description | kg 단위의 사용자 weight입니다. 일부 pedometers가 사용자가 소모한 calories를 계산하는 데 필요합니다. |
Available scale values
675-694/sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
/sys/.../iio:deviceX/in_anglvel_scale_available
/sys/.../iio:deviceX/in_magn_scale_available
/sys/.../iio:deviceX/in_illuminance_scale_available
/sys/.../iio:deviceX/in_intensity_scale_available
/sys/.../iio:deviceX/in_proximity_scale_available
/sys/.../iio:deviceX/in_voltageY_scale_available
/sys/.../iio:deviceX/in_voltage-voltage_scale_available
/sys/.../iio:deviceX/out_voltageY_scale_available
/sys/.../iio:deviceX/out_altvoltageY_scale_available
/sys/.../iio:deviceX/in_capacitance_scale_available
/sys/.../iio:deviceX/in_pressure_scale_available
/sys/.../iio:deviceX/in_pressureY_scale_available
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. Discrete scale values 집합을 사용할 수 있으면 이 attribute에 나열합니다. Illuminance와 달리 intensity에 intensity_scale을 곱해도 표준화된 단위의 값이 되지는 않습니다.
Hardware-applied gain
696-714/sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
/sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
/sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
/sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
/sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
/sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
/sys/bus/iio/devices/iio:deviceX/in_illuminance_hardwaregain
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. Hardware가 적용하는 gain factor입니다. 모든 channels가 공유하면 <type>_hardwaregain을 사용합니다.
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available |
| KernelVersion | 5.10 |
| Contact | linux-iio@vger.kernel.org |
| Description | 사용할 수 있는 모든 hardware-applied gain factors를 나열합니다. 모든 channels가 공유합니다. |
Low-pass와 high-pass 3dB frequencies
716-734/sys/.../in_accel_filter_low_pass_3db_frequency
/sys/.../in_magn_filter_low_pass_3db_frequency
/sys/.../in_anglvel_filter_low_pass_3db_frequency
KernelVersion은 3.2, Contact는 linux-iio@vger.kernel.org입니다. Underlying data channel에 알려졌거나 제어 가능한 low-pass filter를 적용하면 이 parameter가 filter의 3dB frequency를 Hz로 제공합니다.
/sys/.../in_accel_filter_high_pass_3db_frequency
/sys/.../in_anglvel_filter_high_pass_3db_frequency
/sys/.../in_magn_filter_high_pass_3db_frequency
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. Underlying data channel에 알려졌거나 제어 가능한 high-pass filter를 적용하면 이 parameter가 filter의 3dB frequency를 Hz로 제공합니다.
Single-channel과 aggregate output raw values
736-756/sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. Channel Y의 raw output voltage이며 unscaled이고 bias 등을 적용하지 않은 값입니다. Output이 하나의 channel에 대응하면 number를 항상 지정해야 하고 고유해야 합니다. DAC 같은 devices는 일반적으로 out_voltage를 사용하고, DDS나 PLL처럼 continuous frequency를 생성하는 device는 out_altvoltage를 사용해야 합니다.
/sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. Channel Y, channel Z 등의 aggregate에 대한 raw output voltage이며 unscaled이고 bias 등을 적용하지 않은 값입니다. 하나의 output이 여러 channels의 값을 동시에 설정하는 경우 이 interface를 사용할 수 있습니다.
Output powerdown mode와 enable
758-805/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
KernelVersion은 2.6.38, Contact는 linux-iio@vger.kernel.org입니다. Output powerdown mode를 지정합니다. DAC output stage는 amplifier에서 disconnect됩니다.
| Mode | 전문 번역 |
|---|---|
| 1kohm_to_gnd | 1kOhm resistor를 통해 ground에 연결합니다. |
| 2.5kohm_to_gnd | 2.5kOhm resistor를 통해 ground에 연결합니다. |
| 6kohm_to_gnd | 6kOhm resistor를 통해 ground에 연결합니다. |
| 7.7kohm_to_gnd | 7.7kOhm resistor를 통해 ground에 연결합니다. |
| 20kohm_to_gnd | 20kOhm resistor를 통해 ground에 연결합니다. |
| 32kohm_to_gnd | 32kOhm resistor를 통해 ground에 연결합니다. |
| 42kohm_to_gnd | 42kOhm resistor를 통해 ground에 연결합니다. |
| 90kohm_to_gnd | 90kOhm resistor를 통해 ground에 연결합니다. |
| 100kohm_to_gnd | 100kOhm resistor를 통해 ground에 연결합니다. |
| 125kohm_to_gnd | 125kOhm resistor를 통해 ground에 연결합니다. |
| 500kohm_to_gnd | 500kOhm resistor를 통해 ground에 연결합니다. |
| 640kohm_to_gnd | 640kOhm resistor를 통해 ground에 연결합니다. |
| three_state | Floating 상태로 둡니다. |
사용할 수 있는 output powerdown options 목록은 outX_powerdown_mode_available을 읽습니다. Y가 없으면 mode를 모든 outputs가 공유합니다.
/sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
/sys/.../iio:deviceX/out_voltage_powerdown_mode_available
/sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
/sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
KernelVersion은 2.6.38, Contact는 linux-iio@vger.kernel.org입니다. 사용할 수 있는 모든 output powerdown modes를 나열합니다. Y가 없으면 mode를 모든 outputs가 공유합니다.
/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
KernelVersion은 2.6.38, Contact는 linux-iio@vger.kernel.org입니다. 1을 쓰면 output Y가 corresponding outY_powerdown_mode가 지정한 powerdown mode로 들어가고 DAC output stage가 amplifier에서 disconnect됩니다. 값을 clear하면 normal operation으로 돌아갑니다. 모든 outputs를 함께 제어하면 Y를 생략할 수 있습니다.
Alternate-voltage output frequency
807-832| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency |
| KernelVersion | 3.4.0 |
| Contact | linux-iio@vger.kernel.org |
| Description | Channel Y의 output frequency이며 단위는 Hz입니다. Output이 single channel에 대응하면 number를 항상 지정해야 하고 고유해야 합니다. |
| ADF4371 channel | 전문 번역 |
|---|---|
| VCO | Integrated VCO의 fundamental output frequency 범위는 4000000000 Hz에서 8000000000 Hz입니다. |
| out_altvoltage0_frequency | 1, 2, 4, 8, 16 또는 32로 divide하는 circuit이 62500000 Hz에서 8000000000 Hz까지의 frequencies를 생성합니다. |
| out_altvoltage1_frequency | Channel 0 frequency를 복제합니다. |
| out_altvoltage2_frequency | Frequency doubler가 8000000000 Hz에서 16000000000 Hz까지의 frequencies를 생성합니다. |
| out_altvoltage3_frequency | Frequency quadrupler가 16000000000 Hz에서 32000000000 Hz까지의 frequencies를 생성합니다. |
어느 channel에 쓰더라도 VCO fundamental output frequency를 변경하므로 다른 모든 channels의 frequency에 영향을 줍니다.
Signal phase와 output current
834-857/sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_phase
/sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_phase
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_i_phase
/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_q_phase
KernelVersion은 3.4.0, Contact는 linux-iio@vger.kernel.org입니다. Device X의 다른 frequency/clock output(out_altvoltageZ)을 기준으로 한 frequency/clock output Y(out_altvoltageY)의 phase이며 단위는 radians입니다. Output이 single channel에 대응하면 number를 항상 지정해야 하고 고유해야 합니다.
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/out_currentY_raw |
| Date | 2012년 5월 |
| KernelVersion | 3.5 |
| Contact | Johan Hovold <jhovold@gmail.com> |
| Description | Channel Y의 output current를 설정하거나 가져옵니다. Scale과 offset 적용 뒤의 단위는 milliamps입니다. 일부 devices에서는 current channels를 다른 type의 measurement에 사용하는 elements에 공급할 current를 지정하는 데 사용합니다. 예를 들면 LED currents입니다. |
Hardware event configuration
859-864| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/events |
| KernelVersion | 2.6.35 |
| Contact | linux-iio@vger.kernel.org |
| Description | Hardware가 생성한 events 가운데 어느 것을 userspace에 전달할지 구성합니다. |
Threshold event enable controls
866-921/sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
/sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
/sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
/sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
/sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
/sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
/sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
/sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
/sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
/sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
/sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
/sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
/sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
/sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
/sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
/sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
/sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
/sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
/sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
/sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
/sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
/sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
/sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
/sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
/sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
/sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. Channel이 지정한 rising 또는 falling 방향으로 threshold를 통과하면 event를 생성합니다. Direction을 지정하지 않으면 device가 하나의 threshold value(예: <type>[Y][_name]_<raw|input>_thresh_value)를 어느 방향으로든 통과할 때 event를 보고하거나, rising과 falling values가 서로 다를 수 있지만 device는 두 thresholds를 함께 enable하거나 둘 다 disable할 수만 있습니다.
Driver는 지원하는 event 수를 p라고 할 때 마지막으로 요청된 p events를 enable 대상으로 간주합니다. p는 정확히 요청한 집합에 따라 달라질 수 있습니다. 의도한 설정인지 확실히 하려면 모든 구성을 마친 뒤 이 attributes의 내용을 확인해야 합니다. Driver는 미래에 특정 event type을 enable할 때 해당 parameters가 일관되고 이전에 enable된 다른 event의 parameters를 쓰지 않도록 parameters를 buffer해야 할 수 있습니다.
Rate-of-change event enable controls
923-976/sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
/sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
/sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
/sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
/sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
/sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
/sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
/sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
/sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
/sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
/sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
/sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
/sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
/sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
/sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
/sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
/sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
/sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
/sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
/sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
/sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
/sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
/sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
/sys/.../iio:deviceX/events/in_tempY_roc_rising_en
/sys/.../iio:deviceX/events/in_tempY_roc_falling_en
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. Channel의 rate of change, 즉 first differential이 지정한 rising 또는 falling 방향으로 threshold를 통과하면 event를 생성합니다. Direction을 지정하지 않으면 하나의 ROC threshold를 어느 방향으로 통과해도 event를 보고하거나, rising·falling ROC values가 서로 다를 수 있지만 두 rate-of-change thresholds를 함께 enable하거나 둘 다 disable할 수만 있습니다.
Driver는 지원하는 수 p만큼 마지막에 요청된 events를 enable 대상으로 간주하며 p는 요청 집합에 따라 달라질 수 있습니다. 모든 구성을 마친 뒤 attributes를 다시 읽어 설정을 확인해야 합니다. 특정 event type을 나중에 enable할 때 이전 event parameters와 섞이지 않도록 driver가 parameters를 buffer해야 할 수 있습니다.
Adaptive threshold enable과 tracking timeout
978-1002/sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
/sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
KernelVersion은 5.13, Contact는 linux-iio@vger.kernel.org입니다. Adaptive thresholds는 일반 fixed thresholds와 비슷하지만 value를 channel 자체의 low-frequency approximation을 제공하는 값으로부터의 offset으로 표현합니다. 따라서 지정한 방향의 rapid change가 tracking value + offset을 넘는지 감지합니다. Tracking value 계산은 device-specific입니다.
/sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
/sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. Adaptive thresholds를 사용할 때 tracking signal이 raw signal의 step changes를 너무 느리게 따라갈 수 있습니다. 이 attributes는 slow tracking signal과 raw signal의 차이가 out-of-range 상태로 머물 수 있는 시간을 seconds로 지정합니다. 이 시간이 지나면 tracking signal을 raw signal과 같게 만드는 reset event가 발생하여 slow tracking을 재개하고 adaptive-threshold event detection이 예상대로 동작하게 합니다.
이벤트 임계값
1004-1061/sys/.../events/in_accel_thresh_rising_value
/sys/.../events/in_accel_thresh_falling_value
/sys/.../events/in_accel_x_raw_thresh_rising_value
/sys/.../events/in_accel_x_raw_thresh_falling_value
/sys/.../events/in_accel_y_raw_thresh_rising_value
/sys/.../events/in_accel_y_raw_thresh_falling_value
/sys/.../events/in_accel_z_raw_thresh_rising_value
/sys/.../events/in_accel_z_raw_thresh_falling_value
/sys/.../events/in_anglvel_x_raw_thresh_rising_value
/sys/.../events/in_anglvel_x_raw_thresh_falling_value
/sys/.../events/in_anglvel_y_raw_thresh_rising_value
/sys/.../events/in_anglvel_y_raw_thresh_falling_value
/sys/.../events/in_anglvel_z_raw_thresh_rising_value
/sys/.../events/in_anglvel_z_raw_thresh_falling_value
/sys/.../events/in_magn_x_raw_thresh_rising_value
/sys/.../events/in_magn_x_raw_thresh_falling_value
/sys/.../events/in_magn_y_raw_thresh_rising_value
/sys/.../events/in_magn_y_raw_thresh_falling_value
/sys/.../events/in_magn_z_raw_thresh_rising_value
/sys/.../events/in_magn_z_raw_thresh_falling_value
/sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
/sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
/sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
/sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
/sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
/sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
/sys/.../events/in_voltageY_supply_raw_thresh_rising_value
/sys/.../events/in_voltageY_supply_raw_thresh_falling_value
/sys/.../events/in_voltageY_raw_thresh_rising_value
/sys/.../events/in_voltageY_raw_thresh_falling_value
/sys/.../events/in_tempY_raw_thresh_rising_value
/sys/.../events/in_tempY_raw_thresh_falling_value
/sys/.../events/in_illuminance0_thresh_falling_value
/sys/.../events/in_illuminance0_thresh_rising_value
/sys/.../events/in_proximity0_thresh_falling_value
/sys/.../events/in_proximity0_thresh_rising_value
/sys/.../events/in_illuminance_thresh_rising_value
/sys/.../events/in_illuminance_thresh_falling_value
/sys/.../events/in_capacitanceY_thresh_rising_value
/sys/.../events/in_capacitanceY_thresh_falling_value
/sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
/sys/.../events/in_capacitanceY_thresh_falling_rising_value
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. 이 속성들은 <type>Y[_name]_thresh[_rising|falling]_en으로 활성화한 이벤트에서 장치가 비교할 임계값을 지정합니다.
두 방향에 대한 속성이 따로 존재하지만 이 속성 이름에는 방향이 지정되지 않았다면, 하나의 임계값을 양쪽 방향 모두에 적용합니다. 이름의 raw 또는 input 요소는 값이 장치 원시 단위인지 처리된 단위인지를 나타내며, sysfs 직접 채널 읽기 속성의 _raw 및 _input과 같은 의미입니다.
이벤트 임계값 변환 스케일
1063-1079/sys/.../events/in_accel_scale
/sys/.../events/in_accel_peak_scale
/sys/.../events/in_anglvel_scale
/sys/.../events/in_magn_scale
/sys/.../events/in_rot_from_north_magnetic_scale
/sys/.../events/in_rot_from_north_true_scale
/sys/.../events/in_voltage_scale
/sys/.../events/in_voltage_supply_scale
/sys/.../events/in_temp_scale
/sys/.../events/in_illuminance_scale
/sys/.../events/in_proximity_scale
KernelVersion은 3.21, Contact는 linux-iio@vger.kernel.org입니다. 이벤트 트리거 임계값을 설정할 때 표준 단위를 장치별 단위로 변환하는 계수를 지정합니다.
이벤트 임계값 히스테리시스
1081-1148/sys/.../events/in_accel_x_thresh_rising_hysteresis
/sys/.../events/in_accel_x_thresh_falling_hysteresis
/sys/.../events/in_accel_x_thresh_either_hysteresis
/sys/.../events/in_accel_y_thresh_rising_hysteresis
/sys/.../events/in_accel_y_thresh_falling_hysteresis
/sys/.../events/in_accel_y_thresh_either_hysteresis
/sys/.../events/in_accel_z_thresh_rising_hysteresis
/sys/.../events/in_accel_z_thresh_falling_hysteresis
/sys/.../events/in_accel_z_thresh_either_hysteresis
/sys/.../events/in_anglvel_x_thresh_rising_hysteresis
/sys/.../events/in_anglvel_x_thresh_falling_hysteresis
/sys/.../events/in_anglvel_x_thresh_either_hysteresis
/sys/.../events/in_anglvel_y_thresh_rising_hysteresis
/sys/.../events/in_anglvel_y_thresh_falling_hysteresis
/sys/.../events/in_anglvel_y_thresh_either_hysteresis
/sys/.../events/in_anglvel_z_thresh_rising_hysteresis
/sys/.../events/in_anglvel_z_thresh_falling_hysteresis
/sys/.../events/in_anglvel_z_thresh_either_hysteresis
/sys/.../events/in_magn_x_thresh_rising_hysteresis
/sys/.../events/in_magn_x_thresh_falling_hysteresis
/sys/.../events/in_magn_x_thresh_either_hysteresis
/sys/.../events/in_magn_y_thresh_rising_hysteresis
/sys/.../events/in_magn_y_thresh_falling_hysteresis
/sys/.../events/in_magn_y_thresh_either_hysteresis
/sys/.../events/in_magn_z_thresh_rising_hysteresis
/sys/.../events/in_magn_z_thresh_falling_hysteresis
/sys/.../events/in_magn_z_thresh_either_hysteresis
/sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
/sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
/sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
/sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
/sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
/sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
/sys/.../events/in_voltageY_thresh_rising_hysteresis
/sys/.../events/in_voltageY_thresh_falling_hysteresis
/sys/.../events/in_voltageY_thresh_either_hysteresis
/sys/.../events/in_tempY_thresh_rising_hysteresis
/sys/.../events/in_tempY_thresh_falling_hysteresis
/sys/.../events/in_tempY_thresh_either_hysteresis
/sys/.../events/in_illuminance0_thresh_falling_hysteresis
/sys/.../events/in_illuminance0_thresh_rising_hysteresis
/sys/.../events/in_illuminance0_thresh_either_hysteresis
/sys/.../events/in_proximity0_thresh_falling_hysteresis
/sys/.../events/in_proximity0_thresh_rising_hysteresis
/sys/.../events/in_proximity0_thresh_either_hysteresis
KernelVersion은 3.13, Contact는 linux-iio@vger.kernel.org입니다. 이 속성들은 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis 이벤트에 장치가 적용할 임계값 히스테리시스를 지정합니다. 두 방향의 속성이 따로 있지만 이 속성에 방향이 지정되지 않았다면 하나의 히스테리시스 값을 양쪽 방향 모두에 적용합니다.
Falling 이벤트에서는 이벤트의 _value 속성에 히스테리시스를 더해 정상 상태로 돌아갈 때의 상한 임계값을 구하고, rising 이벤트에서는 _value 속성에서 히스테리시스를 뺍니다. 예를 들어 in_voltage0_raw_thresh_rising_value가 1200이고 in_voltage0_raw_thresh_rising_hysteresis가 50이면, in_voltage0_raw가 1200을 넘을 때 이벤트가 활성화되고 값이 1150 아래로 내려가면 다시 비활성화됩니다.
변화율 이벤트 임계값
1150-1194/sys/.../events/in_accel_x_raw_roc_rising_value
/sys/.../events/in_accel_x_raw_roc_falling_value
/sys/.../events/in_accel_y_raw_roc_rising_value
/sys/.../events/in_accel_y_raw_roc_falling_value
/sys/.../events/in_accel_z_raw_roc_rising_value
/sys/.../events/in_accel_z_raw_roc_falling_value
/sys/.../events/in_anglvel_x_raw_roc_rising_value
/sys/.../events/in_anglvel_x_raw_roc_falling_value
/sys/.../events/in_anglvel_y_raw_roc_rising_value
/sys/.../events/in_anglvel_y_raw_roc_falling_value
/sys/.../events/in_anglvel_z_raw_roc_rising_value
/sys/.../events/in_anglvel_z_raw_roc_falling_value
/sys/.../events/in_magn_x_raw_roc_rising_value
/sys/.../events/in_magn_x_raw_roc_falling_value
/sys/.../events/in_magn_y_raw_roc_rising_value
/sys/.../events/in_magn_y_raw_roc_falling_value
/sys/.../events/in_magn_z_raw_roc_rising_value
/sys/.../events/in_magn_z_raw_roc_falling_value
/sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
/sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
/sys/.../events/in_rot_from_north_true_raw_roc_rising_value
/sys/.../events/in_rot_from_north_true_raw_roc_falling_value
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
/sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
/sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
/sys/.../events/in_voltageY_supply_raw_roc_rising_value
/sys/.../events/in_voltageY_supply_raw_roc_falling_value
/sys/.../events/in_voltageY_raw_roc_rising_value
/sys/.../events/in_voltageY_raw_roc_falling_value
/sys/.../events/in_tempY_raw_roc_rising_value
/sys/.../events/in_tempY_raw_roc_falling_value
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. 이 속성들은 <type>[Y][_name]_roc[_rising|falling]_en으로 활성화한 이벤트에서 장치가 비교할 변화율 임계값을 지정합니다.
두 방향에 대한 속성이 따로 존재하지만 이 속성에 방향이 지정되지 않았다면 하나의 임계값을 양쪽 방향 모두에 적용합니다. 이름의 raw 또는 input 요소는 값이 장치 원시 단위인지 처리된 단위인지를 나타내며, sysfs 직접 채널 읽기 속성의 _raw 및 _input과 같은 의미입니다.
이벤트 조건 유지 시간
1196-1277/sys/.../events/in_accel_x_thresh_rising_period
/sys/.../events/in_accel_x_thresh_falling_period
/sys/.../events/in_accel_x_roc_rising_period
/sys/.../events/in_accel_x_roc_falling_period
/sys/.../events/in_accel_y_thresh_rising_period
/sys/.../events/in_accel_y_thresh_falling_period
/sys/.../events/in_accel_y_roc_rising_period
/sys/.../events/in_accel_y_roc_falling_period
/sys/.../events/in_accel_z_thresh_rising_period
/sys/.../events/in_accel_z_thresh_falling_period
/sys/.../events/in_accel_z_roc_rising_period
/sys/.../events/in_accel_z_roc_falling_period
/sys/.../events/in_anglvel_x_thresh_rising_period
/sys/.../events/in_anglvel_x_thresh_falling_period
/sys/.../events/in_anglvel_x_roc_rising_period
/sys/.../events/in_anglvel_x_roc_falling_period
/sys/.../events/in_anglvel_y_thresh_rising_period
/sys/.../events/in_anglvel_y_thresh_falling_period
/sys/.../events/in_anglvel_y_roc_rising_period
/sys/.../events/in_anglvel_y_roc_falling_period
/sys/.../events/in_anglvel_z_thresh_rising_period
/sys/.../events/in_anglvel_z_thresh_falling_period
/sys/.../events/in_anglvel_z_roc_rising_period
/sys/.../events/in_anglvel_z_roc_falling_period
/sys/.../events/in_magn_x_thresh_rising_period
/sys/.../events/in_magn_x_thresh_falling_period
/sys/.../events/in_magn_x_roc_rising_period
/sys/.../events/in_magn_x_roc_falling_period
/sys/.../events/in_magn_y_thresh_rising_period
/sys/.../events/in_magn_y_thresh_falling_period
/sys/.../events/in_magn_y_roc_rising_period
/sys/.../events/in_magn_y_roc_falling_period
/sys/.../events/in_magn_z_thresh_rising_period
/sys/.../events/in_magn_z_thresh_falling_period
/sys/.../events/in_magn_z_roc_rising_period
/sys/.../events/in_magn_z_roc_falling_period
/sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
/sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
/sys/.../events/in_rot_from_north_magnetic_roc_rising_period
/sys/.../events/in_rot_from_north_magnetic_roc_falling_period
/sys/.../events/in_rot_from_north_true_thresh_rising_period
/sys/.../events/in_rot_from_north_true_thresh_falling_period
/sys/.../events/in_rot_from_north_true_roc_rising_period
/sys/.../events/in_rot_from_north_true_roc_falling_period
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
/sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
/sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
/sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
/sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
/sys/.../events/in_voltageY_supply_thresh_rising_period
/sys/.../events/in_voltageY_supply_thresh_falling_period
/sys/.../events/in_voltageY_supply_roc_rising_period
/sys/.../events/in_voltageY_supply_roc_falling_period
/sys/.../events/in_voltageY_thresh_rising_period
/sys/.../events/in_voltageY_thresh_falling_period
/sys/.../events/in_voltageY_roc_rising_period
/sys/.../events/in_voltageY_roc_falling_period
/sys/.../events/in_tempY_thresh_rising_period
/sys/.../events/in_tempY_thresh_falling_period
/sys/.../events/in_tempY_roc_rising_period
/sys/.../events/in_tempY_roc_falling_period
/sys/.../events/in_accel_x&y&z_mag_falling_period
/sys/.../events/in_intensity0_thresh_period
/sys/.../events/in_proximity0_thresh_period
/sys/.../events/in_activity_still_thresh_rising_period
/sys/.../events/in_activity_still_thresh_falling_period
/sys/.../events/in_activity_walking_thresh_rising_period
/sys/.../events/in_activity_walking_thresh_falling_period
/sys/.../events/in_activity_jogging_thresh_rising_period
/sys/.../events/in_activity_jogging_thresh_falling_period
/sys/.../events/in_activity_running_thresh_rising_period
/sys/.../events/in_activity_running_thresh_falling_period
/sys/.../events/in_illuminance_thresh_either_period
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. 이벤트가 생성되기 전에 해당 조건이 계속 충족되어야 하는 시간을 초 단위로 지정합니다. 방향을 지정하지 않으면 이 유지 시간을 양쪽 방향 모두에 적용합니다.
이벤트 생성 저역 통과 필터
1279-1287/sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
/sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
/sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 이벤트 생성에 저역 통과 필터를 적용할 수 있는 경우 이 속성은 3 dB 주파수를 Hz 단위로 제공합니다. 값 0은 필터를 비활성화합니다.
이벤트 생성 고역 통과 필터
1289-1297/sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
/sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
/sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 이벤트 생성에 고역 통과 필터를 적용할 수 있는 경우 이 속성은 3 dB 주파수를 Hz 단위로 제공합니다. 값 0은 필터를 비활성화합니다.
활동 상태 이벤트 활성화
1299-1311/sys/.../events/in_activity_still_thresh_rising_en
/sys/.../events/in_activity_still_thresh_falling_en
/sys/.../events/in_activity_walking_thresh_rising_en
/sys/.../events/in_activity_walking_thresh_falling_en
/sys/.../events/in_activity_jogging_thresh_rising_en
/sys/.../events/in_activity_jogging_thresh_falling_en
/sys/.../events/in_activity_running_thresh_rising_en
/sys/.../events/in_activity_running_thresh_falling_en
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 활동 이벤트를 활성화하거나 비활성화합니다. 방향에 따라 센서가 지정한 상태에 진입하거나 그 상태에서 이탈할 때 이벤트를 생성합니다.
활동 상태 이벤트 신뢰도
1313-1331/sys/.../events/in_activity_still_thresh_rising_value
/sys/.../events/in_activity_still_thresh_falling_value
/sys/.../events/in_activity_walking_thresh_rising_value
/sys/.../events/in_activity_walking_thresh_falling_value
/sys/.../events/in_activity_jogging_thresh_rising_value
/sys/.../events/in_activity_jogging_thresh_falling_value
/sys/.../events/in_activity_running_thresh_rising_value
/sys/.../events/in_activity_running_thresh_falling_value
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 이벤트 생성 여부를 결정하는 데 사용할 신뢰도 값을 백분율 단위로 지정합니다.
달리기를 예로 들면 센서가 보고한 신뢰도 값이 in_activity_running_thresh_rising_value보다 크면 센서는 달리기 상태에 진입합니다. 반대로 센서가 보고한 신뢰도 값이 in_activity_running_thresh_falling_value보다 작으면 센서는 달리기 상태에서 이탈합니다.
가속도 크기 이벤트 활성화
1333-1352/sys/.../iio:deviceX/events/in_accel_mag_en
/sys/.../iio:deviceX/events/in_accel_mag_rising_en
/sys/.../iio:deviceX/events/in_accel_mag_falling_en
/sys/.../iio:deviceX/events/in_accel_x_mag_en
/sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
/sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
/sys/.../iio:deviceX/events/in_accel_y_mag_en
/sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
/sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
/sys/.../iio:deviceX/events/in_accel_z_mag_en
/sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
/sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
/sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. in_accel_x_thresh[_rising|_falling]_en과 비슷하지만, 여기서는 채널의 부호 있는 값이 아니라 채널 크기를 임계값과 비교합니다.
가속도 크기 이벤트 값
1354-1363/sys/.../events/in_accel_raw_mag_value
/sys/.../events/in_accel_x_raw_mag_rising_value
/sys/.../events/in_accel_y_raw_mag_rising_value
/sys/.../events/in_accel_z_raw_mag_rising_value
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. 채널의 크기를 비교할 값을 지정합니다. 번호나 방향을 지정하지 않으면 이 유형의 모든 채널에 적용합니다.
기준 크기 상대 이벤트 활성화
1365-1376/sys/.../iio:deviceX/events/in_accel_mag_referenced_en
/sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en
/sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en
/sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en
/sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en
/sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en
KernelVersion은 5.18, Contact는 linux-iio@vger.kernel.org입니다. in_accel_mag[_y][_rising|_falling]_en과 비슷하지만 이벤트 값이 기준 크기에 상대적입니다. 기준 크기에는 중력 가속도가 포함됩니다.
기준 크기 상대 이벤트 값
1378-1389/sys/.../iio:deviceX/events/in_accel_mag_referenced_value
/sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value
/sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value
/sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value
/sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value
/sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value
KernelVersion은 5.18, Contact는 linux-iio@vger.kernel.org입니다. 채널의 기준 크기를 비교할 값을 지정합니다. 축을 지정하지 않으면 이 유형의 모든 채널에 적용합니다.
걸음 수 절대 변화 이벤트
1391-1398/sys/.../events/in_steps_change_en
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 채널 값의 절대 변화가 임계값을 지날 때 이벤트를 생성합니다. 걸음 수의 경우 사용자가 N걸음을 걸을 때마다 걸음 변화 이벤트를 생성하며, N은 in_steps_change_value로 설정합니다.
걸음 수 변화 임계값
1400-1408/sys/.../events/in_steps_change_value
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. <type>[Y][_name]_roc[_rising|falling|]_en으로 활성화한 이벤트에서 장치가 비교할 변화 임계값을 지정합니다. 예를 들어 걸음 수에서 값을 3으로 설정하면 3걸음마다 걸음 변화 이벤트를 생성합니다.
현재 트리거 소스
1410-1415/sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
KernelVersion은 2.6.35, Contact는 linux-iio@vger.kernel.org입니다. 현재 사용하는 트리거 소스의 이름이며, /sys/class/iio/triggerY/name에 제공된 문자열을 사용합니다.
버퍼 스캔 수
1417-1421/sys/bus/iio/devices/iio:deviceX/bufferY/length
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 버퍼에 들어 있는 스캔 수를 나타냅니다.
버퍼 캡처 활성화
1423-1432/sys/bus/iio/devices/iio:deviceX/bufferY/enable
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 실제 버퍼 캡처를 시작합니다. 첫 번째 장치이고 조건이 맞으면 트리거도 시작합니다.
이벤트, 스케일, 샘플링 속도처럼 현재 활성화된 버퍼 캡처 세션에 영향을 주는 다른 속성은 캡처 중에 구성할 수 없을 수도 있습니다.
버퍼별 캡처 인터페이스
1434-1442/sys/bus/iio/devices/iio:deviceX/bufferY
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 버퍼에서 트리거 한 번의 샘플 집합으로 캡처할 요소의 인터페이스가 들어 있는 디렉터리입니다.
커널 5.11부터 scan_elements 속성은 bufferY 디렉터리에 병합되어 버퍼별로 구성할 수 있습니다.
버퍼 스캔 요소 선택
1444-1476/sys/.../iio:deviceX/bufferY/in_accel_x_en
/sys/.../iio:deviceX/bufferY/in_accel_y_en
/sys/.../iio:deviceX/bufferY/in_accel_z_en
/sys/.../iio:deviceX/bufferY/in_deltaangl_x_en
/sys/.../iio:deviceX/bufferY/in_deltaangl_y_en
/sys/.../iio:deviceX/bufferY/in_deltaangl_z_en
/sys/.../iio:deviceX/bufferY/in_deltavelocity_x_en
/sys/.../iio:deviceX/bufferY/in_deltavelocity_y_en
/sys/.../iio:deviceX/bufferY/in_deltavelocity_z_en
/sys/.../iio:deviceX/bufferY/in_anglvel_x_en
/sys/.../iio:deviceX/bufferY/in_anglvel_y_en
/sys/.../iio:deviceX/bufferY/in_anglvel_z_en
/sys/.../iio:deviceX/bufferY/in_magn_x_en
/sys/.../iio:deviceX/bufferY/in_magn_y_en
/sys/.../iio:deviceX/bufferY/in_magn_z_en
/sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
/sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
/sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
/sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
/sys/.../iio:deviceX/bufferY/in_timestamp_en
/sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
/sys/.../iio:deviceX/bufferY/in_voltageY_en
/sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
/sys/.../iio:deviceX/bufferY/in_incli_x_en
/sys/.../iio:deviceX/bufferY/in_incli_y_en
/sys/.../iio:deviceX/bufferY/in_pressureY_en
/sys/.../iio:deviceX/bufferY/in_pressure_en
/sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
/sys/.../iio:deviceX/bufferY/in_proximity_en
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 트리거 방식 데이터 캡처에 포함할 스캔 요소를 제어합니다.
버퍼 스캔 요소 저장 형식
1478-1513/sys/.../iio:deviceX/bufferY/in_accel_type
/sys/.../iio:deviceX/bufferY/in_deltaangl_type
/sys/.../iio:deviceX/bufferY/in_deltavelocity_type
/sys/.../iio:deviceX/bufferY/in_anglvel_type
/sys/.../iio:deviceX/bufferY/in_magn_type
/sys/.../iio:deviceX/bufferY/in_incli_type
/sys/.../iio:deviceX/bufferY/in_voltageY_type
/sys/.../iio:deviceX/bufferY/in_voltage_type
/sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
/sys/.../iio:deviceX/bufferY/in_timestamp_type
/sys/.../iio:deviceX/bufferY/in_pressureY_type
/sys/.../iio:deviceX/bufferY/in_pressure_type
/sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
/sys/.../iio:deviceX/bufferY/in_proximity_type
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 버퍼 안에서 스캔 요소 데이터를 저장하는 형식, 즉 사용자 공간에서 읽는 형식을 설명합니다. 형식은 [be|le]:[s|u]bits/storagebits[>>shift]입니다.
| 필드 | 전문 번역 |
|---|---|
| be 또는 le | 빅 엔디언 또는 리틀 엔디언을 지정합니다. |
| s 또는 u | 부호 있는 값(2의 보수)인지 부호 없는 값인지 지정합니다. |
| bits | 데이터 비트 수입니다. |
| storagebits | 패딩 후 데이터가 버퍼에서 차지하는 공간이며 데이터 정렬도 지정합니다. |
| shift | 지정된 경우 사용하지 않는 비트를 마스킹하기 전에 적용해야 할 시프트입니다. |
일부 장치는 전송 요소의 가운데에 데이터를 배치하고 양쪽에 추가 정보를 둡니다. 사용하지 않는 비트에도 추가 정보가 들어 있을 수 있으므로 깨끗한 값을 얻으려면 bits 값을 사용해 버퍼 출력 값을 적절히 마스킹해야 합니다.
예를 들어 s48/64>>2는 64비트 경계에 맞춰진 64비트 위치에 저장된 부호 있는 48비트 정수입니다. 깨끗한 값을 얻으려면 오른쪽으로 2비트 시프트한 뒤 결과의 상위 16비트를 0으로 만드는 마스크를 적용합니다. 다른 저장 조합을 지원할 때는 이 속성 형식을 적절히 확장합니다.
사용 가능한 스캔 요소 형식
1515-1520/sys/.../iio:deviceX/scan_elements/in_accel_type_available
KernelVersion은 2.6.37, Contact는 linux-iio@vger.kernel.org입니다. type 매개변수가 소수의 값 가운데 하나를 취할 수 있다면 이 속성이 그 값들을 나열합니다.
버퍼 스캔 요소 인덱스
1522-1559/sys/.../iio:deviceX/bufferY/in_voltageY_index
/sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
/sys/.../iio:deviceX/bufferY/in_accel_x_index
/sys/.../iio:deviceX/bufferY/in_accel_y_index
/sys/.../iio:deviceX/bufferY/in_accel_z_index
/sys/.../iio:deviceX/bufferY/in_deltaangl_x_index
/sys/.../iio:deviceX/bufferY/in_deltaangl_y_index
/sys/.../iio:deviceX/bufferY/in_deltaangl_z_index
/sys/.../iio:deviceX/bufferY/in_deltavelocity_x_index
/sys/.../iio:deviceX/bufferY/in_deltavelocity_y_index
/sys/.../iio:deviceX/bufferY/in_deltavelocity_z_index
/sys/.../iio:deviceX/bufferY/in_anglvel_x_index
/sys/.../iio:deviceX/bufferY/in_anglvel_y_index
/sys/.../iio:deviceX/bufferY/in_anglvel_z_index
/sys/.../iio:deviceX/bufferY/in_magn_x_index
/sys/.../iio:deviceX/bufferY/in_magn_y_index
/sys/.../iio:deviceX/bufferY/in_magn_z_index
/sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
/sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
/sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
/sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
/sys/.../iio:deviceX/bufferY/in_incli_x_index
/sys/.../iio:deviceX/bufferY/in_incli_y_index
/sys/.../iio:deviceX/bufferY/in_timestamp_index
/sys/.../iio:deviceX/bufferY/in_pressureY_index
/sys/.../iio:deviceX/bufferY/in_pressure_index
/sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
/sys/.../iio:deviceX/bufferY/in_proximity_index
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 하나의 양의 정수로 버퍼 안에서 이 스캔 요소의 위치를 지정합니다. 이 인덱스는 어떤 요소가 활성화되어 있는지에 따라 달라지지 않으며 연속적이지 않을 수도 있습니다.
따라서 사용자 공간에서 전체 레이아웃을 확정하려면 모든 _en 속성과 함께 인덱스를 사용해 어떤 채널이 존재하는지 알아내고, 관련 _type 속성으로 데이터 저장 형식을 알아내야 합니다.
활동 상태 신뢰도 읽기
1561-1569/sys/.../iio:deviceX/in_activity_still_input
/sys/.../iio:deviceX/in_activity_walking_input
/sys/.../iio:deviceX/in_activity_jogging_input
/sys/.../iio:deviceX/in_activity_running_input
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 활동에 대한 신뢰도를 백분율 단위로 읽는 속성입니다.
각속도 직교 오차
1571-1576/sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
KernelVersion은 2.6.38, Contact는 linux-iio@vger.kernel.org입니다. 특정 시점에 장치에 존재하는 직교 오차의 양을 읽는 속성입니다.
가속도계 전력 모드
1578-1586/sys/.../iio:deviceX/in_accelY_power_mode
KernelVersion은 3.11, Contact는 linux-iio@vger.kernel.org입니다. 칩의 전력 모드를 지정합니다.
| 모드 | 전문 번역 |
|---|---|
| low_noise | ADC의 잡음 수준을 낮춥니다. |
| low_power | 낮은 전류 소비를 활성화합니다. |
사용 가능한 출력 전력 모드 목록은 in_accel_power_mode_available에서 읽습니다.
에너지 측정값
1588-1598/sys/.../iio:deviceX/in_energy_input
/sys/.../iio:deviceX/in_energy_raw
/sys/.../iio:deviceX/in_energyY_active_raw
/sys/.../iio:deviceX/in_energyY_reactive_raw
/sys/.../iio:deviceX/in_energyY_apparent_raw
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 장치가 보고한 에너지 값을 읽습니다. 예를 들어 사람 활동 센서는 사용자가 소비한 에너지를 보고합니다. 스케일 적용 후 단위는 줄(J)입니다.
거리 측정값
1600-1607/sys/.../iio:deviceX/in_distance_input
/sys/.../iio:deviceX/in_distance_raw
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 물체까지 측정한 거리 또는 기능이 활성화된 동안 마지막 재부팅 이후 사용자가 이동한 거리를 읽습니다. 스케일 적용 후 단위는 미터입니다.
현재 구성을 EEPROM에 저장
1609-1615/sys/bus/iio/devices/iio:deviceX/store_eeprom
KernelVersion은 3.4.0, Contact는 linux-iio@vger.kernel.org입니다. '1'을 쓰면 현재 장치 구성을 칩 내장 EEPROM에 저장합니다. 전원을 켜거나 칩을 재설정한 뒤 장치는 저장된 구성을 자동으로 불러옵니다.
근접 측정값
1617-1630/sys/.../iio:deviceX/in_proximity_raw
/sys/.../iio:deviceX/in_proximity_input
/sys/.../iio:deviceX/in_proximityY_raw
KernelVersion은 3.4, Contact는 linux-iio@vger.kernel.org입니다. 일반적으로 센서가 방출한 적외선이나 초음파의 반사도를 관찰해 어떤 물체가 센서 가까이에 있음을 나타내는 근접 측정값입니다.
이 센서들은 단위가 없는 경우가 많아 SI 단위로 변환할 수 없을 수 있습니다. 근접 측정값이 클수록 물체가 가깝고, 작을수록 멉니다. 스케일과 오프셋 적용 후 단위는 미터입니다.
조도 측정값
1632-1643/sys/.../iio:deviceX/in_illuminance_input
/sys/.../iio:deviceX/in_illuminance_raw
/sys/.../iio:deviceX/in_illuminanceY_input
/sys/.../iio:deviceX/in_illuminanceY_raw
/sys/.../iio:deviceX/in_illuminanceY_mean_raw
/sys/.../iio:deviceX/in_illuminance_ir_raw
/sys/.../iio:deviceX/in_illuminance_clear_raw
KernelVersion은 3.4, Contact는 linux-iio@vger.kernel.org입니다. 조도 측정값이며, 스케일과 오프셋 적용 후 단위는 lux입니다.
무단위 광세기 측정값
1645-1665/sys/.../iio:deviceX/in_intensityY_raw
/sys/.../iio:deviceX/in_intensityY_ir_raw
/sys/.../iio:deviceX/in_intensityY_both_raw
/sys/.../iio:deviceX/in_intensityY_uv_raw
/sys/.../iio:deviceX/in_intensityY_uva_raw
/sys/.../iio:deviceX/in_intensityY_uvb_raw
/sys/.../iio:deviceX/in_intensityY_duv_raw
/sys/.../iio:deviceX/in_intensity_red_raw
/sys/.../iio:deviceX/in_intensity_green_raw
/sys/.../iio:deviceX/in_intensity_blue_raw
/sys/.../iio:deviceX/in_intensity_clear_raw
KernelVersion은 3.4, Contact는 linux-iio@vger.kernel.org입니다. 단위가 없는 광세기입니다. both 수정자는 측정값에 가시광과 적외선 성분이 모두 들어 있음을, ir 수정자는 적외선 성분만 들어 있음을 나타냅니다.
uv 수정자는 측정값에 자외선 성분이 들어 있음을 나타냅니다. uva, uvb, duv 수정자는 각각 A, B, 심자외선(C) 성분이 들어 있음을 나타냅니다.
UV 지수
1667-1674/sys/.../iio:deviceX/in_uvindex_input
KernelVersion은 4.6, Contact는 linux-iio@vger.kernel.org입니다. 표준화된 CIE 홍반 작용 스펙트럼에 따라 햇빛의 파장별 사람 피부 반응에 가중치를 주어 측정한 자외선 강도 지수입니다. UV 지수는 0(낮음)에서 11 이상(극심)까지입니다.
광 측정 적분 시간
1676-1687/sys/.../iio:deviceX/in_intensity_integration_time
/sys/.../iio:deviceX/in_intensity_red_integration_time
/sys/.../iio:deviceX/in_intensity_green_integration_time
/sys/.../iio:deviceX/in_intensity_blue_integration_time
/sys/.../iio:deviceX/in_intensity_clear_integration_time
/sys/.../iio:deviceX/in_illuminance_integration_time
KernelVersion은 3.12, Contact는 linux-iio@vger.kernel.org입니다. 적분 시간을 초 단위로 읽거나 설정합니다. 지정한 유형의 모든 채널이 적분 시간을 공유하면 <type>_integration_time을 사용합니다.
속도 계산 시간
1689-1693/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 속력을 계산하는 시간 구간을 초 단위로 지정합니다.
회전 쿼터니언 원시값
1695-1702/sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
KernelVersion은 3.15, Contact는 linux-iio@vger.kernel.org입니다. x y z w 형식을 사용하는 쿼터니언 구성 요소의 원시값입니다. x, y, z 구성 요소는 회전이 일어날 축을 나타내고 w 구성 요소는 회전량을 나타냅니다.
북쪽 기준 회전 원시값
1704-1712/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
/sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
KernelVersion은 3.15, Contact는 linux-iio@vger.kernel.org입니다. 기울기 센서의 보상을 적용하거나 적용하지 않고 측정한 진북 또는 자북 기준 회전의 원시값입니다.
전류 측정 원시값
1714-1729/sys/bus/iio/devices/iio:deviceX/in_currentY_raw
/sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
KernelVersion은 3.17, Contact는 linux-iio@vger.kernel.org입니다. 채널 Y의 원시 전류 측정값입니다. 스케일과 오프셋 적용 후 단위는 mA입니다. 오프셋이나 스케일이 없다면 출력을 mA 단위로 처리된 값으로 간주해야 합니다. 채널이 외부에서 사용할 수 있는 입력에 해당하지 않는 특수한 경우 이름이 붙은 형식 가운데 하나를 사용할 수 있습니다.
'i'와 'q' 수정자가 붙은 채널은 항상 쌍으로 존재하며 두 채널 모두 같은 신호를 가리킵니다. 'i' 채널에는 신호의 동상 성분이, 'q' 채널에는 직교 성분이 들어 있습니다.
교류 RMS 전류 원시값
1731-1737/sys/bus/iio/devices/iio:deviceX/in_altcurrentY_rms_raw
KernelVersion은 6.18, Contact는 linux-iio@vger.kernel.org입니다. 채널 Y에서 측정한 원시, 즉 스케일 미적용·바이어스 미제거 상태의 제곱평균제곱근(RMS) 전류입니다. 스케일과 오프셋 적용 후 단위는 mA입니다.
펌웨어·하드웨어 기능 활성화
1739-1749/sys/.../iio:deviceX/in_energy_en
/sys/.../iio:deviceX/in_distance_en
/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
/sys/.../iio:deviceX/in_steps_en
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 펌웨어나 하드웨어에서 실행되는 장치 기능을 활성화합니다.
걸음 수를 예로 들면 보수계는 사용하지 않을 때 전력을 절약합니다. 기능을 활성화하면 펌웨어에서 사용자의 걸음 수를 세고 in_steps_input을 통해 내보냅니다.
누적 걸음 수
1751-1756/sys/.../iio:deviceX/in_steps_input
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 기능이 활성화된 동안 마지막 재부팅 이후 사용자가 걸은 횟수를 읽습니다.
현재 속력
1758-1765/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
/sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
KernelVersion은 3.19, Contact는 linux-iio@vger.kernel.org입니다. 사용자의 현재 속력, 즉 속도 벡터의 노름 또는 크기를 읽습니다. 스케일 적용 후 단위는 m/s입니다.
걸음 판정 디바운스 횟수
1767-1773/sys/.../iio:deviceX/in_steps_debounce_count
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 보수계가 사용자가 걷고 있다고 판단하려면 in_steps_filter_debounce_time 안에 발생해야 하는 걸음 수를 지정합니다.
걸음 판정 디바운스 시간
1775-1780/sys/.../iio:deviceX/in_steps_debounce_time
KernelVersion은 4.0, Contact는 linux-iio@vger.kernel.org입니다. 사용자가 걷고 있는지 판단하기 위해 발생한 걸음 수를 계산할 시간 구간을 초 단위로 지정합니다.
버퍼 워터마크
1782-1798/sys/bus/iio/devices/iio:deviceX/bufferY/watermark
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 대기할 최대 스캔 요소 수를 하나의 양의 정수로 지정합니다. poll은 워터마크에 도달할 때까지 차단됩니다.
차단 읽기는 요청한 읽기 양과 하위 워터마크 가운데 더 작은 양을 사용할 수 있을 때까지 기다립니다. 비차단 읽기는 사용 가능한 샘플 수가 워터마크 수준보다 적더라도 버퍼에서 그 샘플을 가져옵니다.
따라서 애플리케이션은 timeout이 있는 poll에서 차단한 뒤 timeout이 만료되면 사용 가능한 샘플을 읽어 최대 지연 시간을 보장할 수 있습니다.
버퍼 데이터 가용량
1800-1808/sys/bus/iio/devices/iio:deviceX/bufferY/data_available
KernelVersion은 5.11, Contact는 linux-iio@vger.kernel.org입니다. 버퍼에서 사용할 수 있는 데이터의 바이트 수를 나타내는 읽기 전용 값입니다. 출력 버퍼에서는 데이터를 쓸 수 있는 빈 공간의 양을, 입력 버퍼에서는 읽을 수 있는 데이터의 양을 나타냅니다.
하드웨어 FIFO 활성 상태
1810-1832/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 하드웨어 FIFO가 현재 활성화되어 있는지를 나타내는 읽기 전용 불리언 값입니다. 장치에 하드웨어 FIFO가 없으면 이 항목은 존재하지 않습니다.
현재 하드웨어 FIFO 워터마크 수준이 설정되어 있고 현재의 다른 장치 설정도 허용한다면 버퍼를 활성화할 때 하드웨어 FIFO도 활성화됩니다. 예를 들어 하드웨어 FIFO와 다른 방식으로 데이터를 샘플링하는 트리거를 설정했다면 하드웨어 FIFO는 활성화되지 않습니다.
하드웨어 FIFO가 활성화된 상태에서 그 수준이 하드웨어 FIFO 워터마크에 도달하면 장치는 하드웨어 FIFO를 장치 버퍼로 flush합니다. 장치 버퍼에 샘플이 없을 때 장치에서 비차단 읽기를 수행해도 flush가 강제됩니다.
하드웨어 FIFO가 활성화되어 있으면 워터마크 설정이 하드웨어 FIFO를 장치 버퍼로 flush하도록 보장하므로 버퍼 모드를 사용하는 데 트리거가 필요하지 않습니다.
하드웨어 FIFO 보고 지연
1834-1843/sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
KernelVersion은 4.12, Contact는 linux-iio@vger.kernel.org입니다. timeout에 도달할 때까지 샘플 보고를 늦출 수 있게 하는 읽기/쓰기 속성입니다. 센서가 내부 FIFO에 샘플을 저장하는 동안 호스트 프로세서는 절전 상태로 머물 수 있습니다.
hwfifo_timeout을 설정해 최대 timeout을 초 단위로 지정하고, 같은 속성을 읽어 현재 지연 시간을 확인합니다. 값 0은 timeout이 없음을 뜻합니다.
현재 하드웨어 FIFO 워터마크
1845-1857/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 하드웨어 FIFO의 현재 워터마크 수준을 하나의 정수로 담는 읽기 전용 항목입니다. 장치에 하드웨어 FIFO가 없으면 이 항목은 존재하지 않습니다.
드라이버는 사용자가 buffer/watermark에 설정한 값을 바탕으로 하되 하드웨어 제한을 고려해 하드웨어 FIFO 워터마크를 정합니다. 예를 들어 대부분의 하드웨어 버퍼는 32~64개 샘플로 제한되고, 일부 하드웨어 버퍼는 워터마크가 고정되어 있거나 최솟값을 가집니다. 값 0은 하드웨어 워터마크가 설정되지 않았음을 뜻합니다.
하드웨어 FIFO 최소 워터마크
1859-1868/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 이 장치의 하드웨어 FIFO에 사용할 최소 워터마크 수준을 하나의 양의 정수로 지정합니다. 장치에 하드웨어 FIFO가 없으면 이 항목은 존재하지 않습니다.
사용자가 buffer/watermark를 이 값보다 작게 설정하면 하드웨어 워터마크는 설정되지 않은 상태로 남습니다.
하드웨어 FIFO 최대 워터마크
1870-1879/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 이 장치의 하드웨어 FIFO에 사용할 최대 워터마크 수준을 하나의 양의 정수로 지정합니다. 장치에 하드웨어 FIFO가 없으면 이 항목은 존재하지 않습니다.
사용자가 buffer/watermark를 이 값보다 크게 설정하면 하드웨어 워터마크는 이 값으로 제한됩니다.
사용 가능한 하드웨어 FIFO 워터마크
1881-1893/sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 하드웨어 FIFO에 사용할 수 있는 워터마크 수준을 양의 정수 목록으로 지정합니다. 이 항목은 선택 사항이며, 없으면 hwfifo_watermark_min과 hwfifo_watermark_max 사이의 모든 값을 지원한다는 뜻입니다.
사용자가 buffer/watermark를 hwfifo_watermak_min보다 크지만 이 목록의 어떤 값과도 같지 않은 값으로 설정하면 드라이버가 하드웨어 FIFO 워터마크 수준에 적합한 값을 선택합니다.
비접촉 온도 센서 방사율 보정
1895-1904/sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
/sys/bus/iio/devices/iio:deviceX/in_tempY_calibemissivity
/sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
/sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibemissivity
KernelVersion은 4.1, Contact는 linux-iio@vger.kernel.org입니다. 비접촉 온도 센서의 시야에 들어오는 표면의 방사율 비율입니다. 방사율은 0에서 1까지이며, 1은 흑체의 방사율입니다.
자기장 오버샘플링 비율
1906-1916/sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
/sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
/sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
KernelVersion은 4.2, Contact는 linux-iio@vger.kernel.org입니다. 하나의 데이터 지점을 얻기 위해 하드웨어가 수행하는 측정 횟수입니다. 하드웨어는 <type>[_name]_oversampling_ratio번 측정하고 그 평균값을 출력 데이터로 반환합니다.
<type>[_name]_oversampling_ratio번 측정해 얻은 각 값은 <type>[_name]_sampling_frequency에서 하나의 샘플로 간주합니다.
물질 농도 원시값
1918-1934/sys/bus/iio/devices/iio:deviceX/in_concentration_raw
/sys/bus/iio/devices/iio:deviceX/in_concentrationY_raw
/sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
/sys/bus/iio/devices/iio:deviceX/in_concentrationY_co2_raw
/sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
/sys/bus/iio/devices/iio:deviceX/in_concentrationY_ethanol_raw
/sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
/sys/bus/iio/devices/iio:deviceX/in_concentrationY_h2_raw
/sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
/sys/bus/iio/devices/iio:deviceX/in_concentrationY_o2_raw
/sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
/sys/bus/iio/devices/iio:deviceX/in_concentrationY_voc_raw
KernelVersion은 4.3, Contact는 linux-iio@vger.kernel.org입니다. 물질의 원시값, 즉 스케일과 오프셋 등을 적용하지 않은 판독값입니다. 스케일과 오프셋 적용 후 단위는 백분율입니다.
저항 원시값
1936-1944/sys/bus/iio/devices/iio:deviceX/in_resistance_raw
/sys/bus/iio/devices/iio:deviceX/in_resistanceY_raw
/sys/bus/iio/devices/iio:deviceX/out_resistance_raw
/sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw
KernelVersion은 4.3, Contact는 linux-iio@vger.kernel.org입니다. 스케일과 오프셋 등을 적용하지 않은 저항 원시 판독값입니다. 스케일과 오프셋 적용 후 단위는 옴입니다.
센서 히터 활성화
1946-1955/sys/bus/iio/devices/iio:deviceX/heater_enable
KernelVersion은 4.1.0, Contact는 linux-iio@vger.kernel.org입니다. '1'은 히터 기능 활성화, '0'은 비활성화를 지정하며 읽을 때도 같은 값이 적용됩니다.
이 ABI는 특히 습도 센서에서 장치를 가열해 특정 습도 환경에서 생긴 결로를 제거하는 데 적용됩니다.
pH 원시값
1957-1962/sys/bus/iio/devices/iio:deviceX/in_ph_raw
KernelVersion은 4.5, Contact는 linux-iio@vger.kernel.org입니다. 물 1리터 안의 하이드로늄 이온을 밑이 10인 음의 로그로 나타낸 물질의 pH 원시값이며, 스케일과 오프셋 등을 적용하지 않은 값입니다.
IIO 센서 장착 행렬
1964-2024/sys/bus/iio/devices/iio:deviceX/mount_matrix
/sys/bus/iio/devices/iio:deviceX/in_mount_matrix
/sys/bus/iio/devices/iio:deviceX/out_mount_matrix
/sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
/sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
KernelVersion은 4.6, Contact는 linux-iio@vger.kernel.org입니다. IIO 센서의 장착 행렬입니다. 센서 칩이 장착된 주 하드웨어에 대해 센서 칩이 어떻게 배치되었는지를 사용자 공간에 알려 주는 회전 행렬입니다.
주 하드웨어의 배치는 센서가 측정하는 물리량과 관련된 로컬 기준 좌표계에 따라 정의합니다. 회전 행렬은 플랫폼 데이터 및/또는 Device Tree를 통해 보드별 방식으로 정의하므로 주 하드웨어 기준 좌표계의 정의는 구현자가 선택합니다. 아래 자기계 예시가 그 선택을 보여 줍니다.
애플리케이션은 샘플에 이 회전 행렬을 적용해야 합니다. 그러면 주 하드웨어 기준 좌표계를 로컬 기준 좌표계에 맞췄을 때 센서 칩 기준 좌표계도 정확히 맞춰집니다.
| 행렬 | 의미 |
|---|---|
| [0, 1, 0; 1, 0, 0; 0, 0, -1] | 일반적인 3×3 유니터리 장착 행렬의 예입니다. |
| [1, 0, 0; 0, 1, 0; 0, 0, 1] | 센서 칩과 주 하드웨어가 서로 완전히 정렬된 항등 행렬입니다. |
자기계 센서의 장착 행렬은 주 하드웨어에 대한 센서 칩의 방향을 사용자 공간에 알려 줍니다. 더 구체적으로 주 하드웨어 방향은 로컬 지구 지자기 기준 좌표계를 기준으로 다음과 같이 정의합니다.
| 기준 좌표계 | X축 | Y축 | Z축 |
|---|---|---|---|
| 로컬 지구 지자기 | 지면에 있고 북쪽 축에 수직이며 동쪽이 양의 방향입니다. | 지면에 있고 자북 방향이 양의 방향입니다. | 지면에 수직이며 위쪽이 양의 방향입니다. |
| 휴대형 장치: 전면 카메라가 위쪽인 자연스러운 방향 | 화면 평면에 있고 Y축에 수직이며 화면 오른쪽이 양의 방향입니다. | 화면 평면에 있고 화면 위쪽이 양의 방향입니다. | 화면 평면에 수직이며 화면 바깥쪽이 양의 방향입니다. |
| 쿼드로터 UAV | 프로펠러 평면에 있고 Y축에 수직이며 UAV의 우현이 양의 방향입니다. | 프로펠러 평면에 있고 전방 카메라 방향이 양의 방향입니다. | 프로펠러 평면에 수직이며 위쪽이 양의 방향입니다. |
전기전도도 원시값
2026-2032/sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
KernelVersion은 4.8, Contact는 linux-iio@vger.kernel.org입니다. 스케일과 오프셋 등을 적용하지 않은 전기전도도 원시 판독값입니다. 스케일과 오프셋 적용 후 단위는 지멘스/미터입니다.
카운터 채널 계수
2034-2042/sys/bus/iio/devices/iio:deviceX/in_countY_raw
KernelVersion은 4.10, Contact는 linux-iio@vger.kernel.org입니다. 이 인터페이스는 폐기 예정이므로 Counter 서브시스템을 사용하십시오.
채널 Y에서 가져온 카운터 장치의 원시 계수입니다. 직교 카운터에서는 사용 가능한 [Y]_scale을 곱하면 채널 Y의 단일 직교 신호 위상에 대한 계수가 됩니다.
카운터 위치 기준 인덱스
2044-2053/sys/bus/iio/devices/iio:deviceX/in_indexY_raw
KernelVersion은 4.10, Contact는 linux-iio@vger.kernel.org입니다. 이 인터페이스는 폐기 예정이므로 Counter 서브시스템을 사용하십시오.
채널 Y의 카운터 장치 원시 인덱스 값입니다. 이 속성은 회전당 한 번의 펄스 같은 절대 위치 기준을 제공하며, 필요에 따라 위치 시스템의 원점을 맞추는 데 사용할 수 있습니다.
사용 가능한 카운터 방향
2055-2064/sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
KernelVersion은 4.12, Contact는 linux-iio@vger.kernel.org입니다. 이 인터페이스는 폐기 예정이므로 Counter 서브시스템을 사용하십시오.
| 값 | 전문 번역 |
|---|---|
| up | 카운터 장치의 값이 증가합니다. |
| down | 카운터 장치의 값이 감소합니다. |
카운터 채널 방향
2066-2072/sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
KernelVersion은 4.12, Contact는 linux-iio@vger.kernel.org입니다. 이 인터페이스는 폐기 예정이므로 Counter 서브시스템을 사용하십시오. 채널 Y에 대한 카운터 장치 원시 카운터의 방향입니다.
전압 채널 심볼 라벨
2074-2082/sys/bus/iio/devices/iio:deviceX/in_voltageY_label
/sys/bus/iio/devices/iio:deviceX/out_voltageY_label
KernelVersion은 5.8, Contact는 linux-iio@vger.kernel.org입니다. 장치 채널에 붙이는 선택적 심볼 라벨입니다. 이 채널에 라벨이 정의되어 있다면 채널별 속성에 그 라벨을 추가합니다. 사용자 공간이 개별 채널을 더 잘 식별하는 데 유용합니다.
위상차 원시값
2084-2089/sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
KernelVersion은 4.18, Contact는 linux-iio@vger.kernel.org입니다. 채널 Y의 스케일 미적용 위상차 원시 판독값입니다. 스케일과 오프셋 적용 후 단위는 라디안입니다.
미세먼지 질량 농도
2091-2104/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
/sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
KernelVersion은 4.22, Contact는 linux-iio@vger.kernel.org입니다. 입자상 물질의 질량 농도를 ug / m3 단위로 읽습니다. pmX는 공기역학적 직경이 X 마이크로미터 이하인 입자로 구성됩니다.
사용 가능한 조도 이벤트 유지 시간
2106-2112/sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
Date는 2019년 11월, KernelVersion은 5.4, Contact는 linux-iio@vger.kernel.org입니다. 인터럽트를 발생시키기 전에 광세기가 임계값보다 높게 유지되어야 하는 유효 시간 목록을 초 단위로 제공합니다.
노치 필터 중심 주파수
2114-2119/sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
KernelVersion은 5.5, Contact는 linux-iio@vger.kernel.org입니다. 노치 필터의 중심 주파수를 Hz 단위로 지정합니다. 예를 들어 전원선 잡음을 억제하는 데 사용합니다.
열전대 유형
2121-2125/sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
KernelVersion은 5.5, Contact는 linux-iio@vger.kernel.org입니다. B, E, J, K, N, R, S, T 가운데 하나의 열전대 유형입니다.
물체 온도 계산용 보정 주변 온도
2127-2133/sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
/sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibambient
KernelVersion은 5.10, Contact는 linux-iio@vger.kernel.org입니다. 물체 온도 계산에 사용하는 보정된 주변 온도이며 단위는 밀리도 섭씨입니다.
CIE 색 공간 광세기
2135-2142/sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
/sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
/sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
KernelVersion은 5.10, Contact는 linux-iio@vger.kernel.org입니다. CIE 1931/DIN 5033 색 공간에 따른 스케일 미적용 광세기입니다. 스케일 적용 후 단위는 원문 표기상 nano nanowatts per square meter입니다.
각도 채널 라벨
2144-2152/sys/bus/iio/devices/iio:deviceX/in_anglY_label
KernelVersion은 5.12, Contact는 linux-iio@vger.kernel.org입니다. 채널 Y에 붙이는 선택적 심볼 라벨입니다. Intel HID 힌지 센서의 라벨 값은 hinge, keyboard, screen이며, 세 채널은 각각 힌지 각도, 키보드 각도, 화면 각도에 대응합니다.
광 센서 상대 히스테리시스
2154-2161/sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
/sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
KernelVersion은 5.12, Contact는 linux-iio@vger.kernel.org입니다. 이벤트를 생성하기 전에 데이터 필드가 채널 절대값에 대해 얼마나 변해야 하는지를 광 센서용 백분율로 지정합니다. 단위는 이전 판독값에 대한 백분율입니다.
런타임 자동 교정
2163-2176/sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
Date는 2020년 6월, KernelVersion은 5.8, Contact는 linux-iio@vger.kernel.org입니다. 일부 센서는 런타임에 자동 교정을 적용할 수 있습니다. 예를 들어 측정 챔버에 오염 물질이 쌓이거나 광학 요소가 열화되어 센서 드리프트가 생기는 것을 보상해야 할 수 있습니다.
이 속성에 1을 쓰면 자동 교정 기능을 활성화하고 0을 쓰면 비활성화합니다. 읽으면 현재 상태를 반환합니다.
기준값을 이용한 강제 교정
2178-2194/sys/bus/iio/devices/iio:deviceX/calibration_forced_value
Date는 2020년 6월, KernelVersion은 5.8, Contact는 linux-iio@vger.kernel.org입니다. 일부 센서는 외부 기준 장치 등에서 얻은 알려진 측정값을 사용해 수동 교정을 적용할 수 있습니다.
이 속성에 값을 쓰면 해당 교정 변경을 강제로 수행합니다. scd30에서는 값이 [400 1 2000] 범위에 있어야 합니다.
scd30에서는 값을 한 번 쓴 뒤에야 유효한 값을 얻을 수 있습니다. 그 전에는 이 값을 다시 읽은 결과를 무시해야 합니다. scd4x에서는 수동 교정이 실패하면 즉시 오류를 반환합니다.
강제 교정값 가용 범위
2196-2203/sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available
KernelVersion은 5.15, Contact는 linux-iio@vger.kernel.org입니다. 강제 교정값에 사용할 수 있는 범위를 [min step max] 형식으로 제공합니다.
채널별 샘플링 주파수
2204-2213/sys/bus/iio/devices/iio:deviceX/in_voltageY_sampling_frequency
/sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
/sys/bus/iio/devices/iio:deviceX/in_currentY_sampling_frequency
KernelVersion은 5.20, Contact는 linux-iio@vger.kernel.org입니다. 일부 장치는 개별 채널의 샘플링 주파수를 따로 제어합니다. 하나의 스캔에서 여러 채널을 활성화하면 채널별 샘플링 주파수로부터 스캔의 sampling_frequency를 계산할 수 있습니다.
단일·이중 탭 이벤트 활성화
2215-2220/sys/.../events/in_accel_gesture_singletap_en
/sys/.../events/in_accel_gesture_doubletap_en
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 장치는 단일 탭 또는 이중 탭을 감지하면 이벤트를 생성합니다.
탭 제스처 임계값
2222-2230/sys/.../events/in_accel_gesture_singletap_value
/sys/.../events/in_accel_gesture_doubletap_value
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 탭 제스처 이벤트를 생성하기 위해 장치가 비교할 임계값을 지정합니다. 임계값이 낮을수록 탭 감지 감도가 높아집니다. 단위와 값의 정확한 의미는 장치별로 다릅니다.
사용 가능한 탭 감지 임계값
2232-2237/sys/.../events/in_accel_gesture_tap_value_available
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 탭 감지 감도를 조절하는 데 사용할 수 있는 모든 임계값을 나열합니다.
탭 감지기 reset timeout
2239-2247/sys/.../events/in_accel_gesture_singletap_reset_timeout
/sys/.../events/in_accel_gesture_doubletap_reset_timeout
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 탭 이벤트가 발생한 뒤 탭 감지기가 다른 탭 이벤트를 찾지 않을 timeout을 초 단위로 지정합니다. 즉, 두 단일 탭 사이 또는 두 이중 탭 사이의 최소 정지 시간입니다.
사용 가능한 탭 reset timeout
2249-2253/sys/.../events/in_accel_gesture_tap_reset_timeout_available
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 사용할 수 있는 모든 탭 reset timeout 값을 나열하며 단위는 초입니다.
이중 탭의 두 번째 탭 최소 지연
2255-2260/sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 이중 탭을 이루는 두 탭 사이의 최소 정지 시간을 초 단위로 지정합니다.
사용 가능한 이중 탭 지연
2262-2267/sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 이중 탭의 두 탭 사이에 사용할 수 있는 모든 지연 값을 나열하며 단위는 초입니다.
탭 상단·하단 peak 간 최대 시간
2269-2275/sys/.../events/in_accel_gesture_tap_maxtomin_time
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 탭을 유효한 이벤트로 간주하기 위해 허용할 상단 peak와 하단 peak 사이의 최대 시간 차이를 지정합니다. 단위는 초입니다.
사용 가능한 탭 peak 간 시간
2277-2282/sys/.../events/in_accel_gesture_tap_maxtomin_time_available
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 상단 peak에서 하단 peak까지 사용할 수 있는 모든 시간 값을 나열하며 단위는 초입니다.
Euler 각 원시값
2284-2291/sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
/sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
/sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 스케일 미적용 Euler 각 원시 판독값입니다. 스케일 적용 후 단위는 도(deg)입니다.
센서 일련번호
2293-2298/sys/bus/iio/devices/iio:deviceX/serialnumber
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 예시 형식은 센서의 고유 ID 번호를 나타내는 16바이트 HEX 문자열이며, 바이트마다 숫자 두 자리로 표현합니다.
사용 가능한 필터 모드
2300-2336/sys/bus/iio/devices/iio:deviceX/filter_type_available
/sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_type_available
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 읽으면 사용할 수 있는 필터 모드 목록을 반환합니다. 속성의 선택지는 다음과 같습니다.
| 값 | 전문 번역 |
|---|---|
| none | 필터를 비활성화하거나 우회합니다. |
| sinc1 | 디지털 sinc1 필터입니다. 첫 변환 시간이 빠르지만 잡음 성능이 좋지 않습니다. |
| sinc3 | 디지털 sinc3 필터입니다. 첫 변환 시간이 중간 정도이고 잡음 성능이 좋습니다. |
| sinc3+pf1 | Sinc3 + 장치별 Post Filter 1입니다. |
| sinc3+pf2 | Sinc3 + 장치별 Post Filter 2입니다. |
| sinc3+pf3 | Sinc3 + 장치별 Post Filter 3입니다. |
| sinc3+pf4 | Sinc3 + 장치별 Post Filter 4입니다. |
| sinc3+rej60 | Sinc3 + 60 Hz 제거입니다. |
| sinc3+sinc1 | Sinc3 + 8회 평균입니다. 첫 변환 시간이 짧습니다. |
| sinc4 | Sinc4입니다. 잡음 성능이 매우 좋지만 첫 변환 시간이 깁니다. |
| sinc4+lp | Sinc4 + Low Pass Filter입니다. |
| sinc4+sinc1 | Sinc4 + 8회 평균입니다. 첫 변환 시간이 짧습니다. |
| sinc4+rej60 | Sinc4 + 60 Hz 제거입니다. |
| sinc5 | 디지털 sinc5 필터입니다. 잡음 성능이 매우 좋습니다. |
| sinc5+avg | Sinc5 + 4회 평균입니다. |
| sinc5+pf1 | Sinc5 + 장치별 Post Filter 1입니다. |
| sinc5+sinc1 | Sinc5 + Sinc1입니다. |
| sinc5+sinc1+pf1 | Sinc5 + Sinc1 + 장치별 Post Filter 1입니다. |
| sinc5+sinc1+pf2 | Sinc5 + Sinc1 + 장치별 Post Filter 2입니다. |
| sinc5+sinc1+pf3 | Sinc5 + Sinc1 + 장치별 Post Filter 3입니다. |
| sinc5+sinc1+pf4 | Sinc5 + Sinc1 + 장치별 Post Filter 4입니다. |
| wideband | 리플이 낮은 광대역 통과대역과 급격한 천이대역을 가진 필터입니다. |
채널 필터 유형
2338-2344/sys/bus/iio/devices/iio:deviceX/filter_type
/sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_type
KernelVersion은 6.1, Contact는 linux-iio@vger.kernel.org입니다. 채널에 적용할 필터 유형을 지정합니다. 가능한 값은 filter_type_available 속성이 제공합니다.
근접 이벤트 누적 판정 시간
2346-2353/sys/.../events/in_proximity_thresh_either_runningperiod
KernelVersion은 6.6, Contact는 linux-iio@vger.kernel.org입니다. 이벤트를 생성하기 전에 in_proximity_thresh_either_runningcount개의 조건이 발생해야 하는 진행 시간 구간을 초 단위로 지정합니다. 방향을 지정하지 않으면 이 시간 구간을 양쪽 방향 모두에 적용합니다.
근접 이벤트 누적 조건 수
2355-2360/sys/.../events/in_proximity_thresh_either_runningcount
KernelVersion은 6.6, Contact는 linux-iio@vger.kernel.org입니다. 진행 시간 구간 안에 이벤트를 생성하기 위해 발생해야 하는 조건의 수입니다.
광원 색온도
2362-2367/sys/bus/iio/devices/iio:deviceX/in_colortemp_raw
KernelVersion은 6.7, Contact는 linux-iio@vger.kernel.org입니다. 빛의 색온도를 나타내며 Kelvin 단위로 측정합니다.
CIE 1931 색도 좌표
2369-2375/sys/bus/iio/devices/iio:deviceX/in_chromaticity_x_raw
/sys/bus/iio/devices/iio:deviceX/in_chromaticity_y_raw
KernelVersion은 6.7, Contact는 linux-iio@vger.kernel.org입니다. CIE 1931 색도도에서 빛의 x 및 y 색 좌표입니다.
장치 채널 이벤트 라벨
2377-2390/sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_either_label
/sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_rising_label
/sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_falling_label
/sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_rising_label
/sys/bus/iio/devices/iio:deviceX/events/in_anglvelY_mag_rising_label
/sys/bus/iio/devices/iio:deviceX/events/in_anglY_thresh_rising_label
/sys/bus/iio/devices/iio:deviceX/events/in_phaseY_mag_rising_label
KernelVersion은 6.7, Contact는 linux-iio@vger.kernel.org입니다. 장치 채널 이벤트에 붙이는 선택적 심볼 라벨입니다. 이벤트에 라벨이 정의되어 있다면 이벤트별 속성에 그 라벨을 추가합니다. 사용자 공간이 개별 이벤트를 더 잘 식별하는 데 유용합니다.
탭 제스처 확인 timeout 활성화
2392-2396/sys/.../events/in_accel_gesture_tap_wait_timeout
KernelVersion은 6.7, Contact는 linux-iio@vger.kernel.org입니다. timeout을 사용하는 탭 제스처 확인을 활성화합니다.
탭 제스처 확인 timeout
2398-2402/sys/.../events/in_accel_gesture_tap_wait_dur
KernelVersion은 6.7, Contact는 linux-iio@vger.kernel.org입니다. 탭 제스처 확인의 timeout 값을 초 단위로 지정합니다.
사용 가능한 탭 확인 timeout
2404-2408/sys/.../events/in_accel_gesture_tap_wait_dur_available
KernelVersion은 6.7, Contact는 linux-iio@vger.kernel.org입니다. 탭 제스처 확인에 사용할 수 있는 timeout 값의 목록입니다.
전류 감지 shunt 저항
2410-2416/sys/.../iio:deviceX/in_shunt_resistor
/sys/.../iio:deviceX/in_current_shunt_resistor
/sys/.../iio:deviceX/in_power_shunt_resistor
KernelVersion은 6.10, Contact는 linux-iio@vger.kernel.org입니다. 전류 감지 저항의 값을 옴 단위로 나타냅니다.
사용자 attention 값
2418-2424/sys/.../iio:deviceX/in_attention_input
KernelVersion은 6.13, Contact는 linux-iio@vger.kernel.org입니다. 시스템에 대한 사용자의 attention을 백분율 단위로 나타내는 값입니다. 일반적으로 사용자가 화면을 보고 있는지를 의미합니다.
IIO objects and channel identity
sysfs-bus-iio:1-85IIO는 deviceX, triggerX와 buffer를 분리해 센서 채널, 캡처 시점, 저장을 구성합니다. name과 label은 물리 장치와 표준 위치·용도를 사용자 공간에서 안정적으로 식별하게 합니다.