← Documents Documentation/ABI/testing/sysfs-bus-iio GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Industrial I/O sysfs ABI

IIO device·trigger·buffer 구조, 채널 측정·보정·이벤트 ABI, buffered scan 형식, FIFO, 좌표계와 최신 센서별 속성을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-iio
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

IIO objects and channel identity

sysfs-bus-iio:1-85

IIO는 deviceX, triggerX와 buffer를 분리해 센서 채널, 캡처 시점, 저장을 구성합니다. name과 label은 물리 장치와 표준 위치·용도를 사용자 공간에서 안정적으로 식별하게 합니다.

Sampling, units and processed values

sysfs-bus-iio:87-316

sampling_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-1893

current_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-2424

sinc 계열과 post filter·60 Hz 제거·wideband 모드를 선택하고, 근접 누적 조건과 색온도·색도·이벤트 라벨·탭 확인 timeout·shunt 저항·attention 같은 최신 ABI를 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/bus/iio/devices/iio:deviceX
2 KernelVersion: 2.6.35
3 Contact: linux-iio@vger.kernel.org
4 Description:
5 Hardware chip or device accessed by one communication port.
6 Corresponds to a grouping of sensor channels. X is the IIO
7 index of the device.
8
9 What: /sys/bus/iio/devices/triggerX
10 KernelVersion: 2.6.35
11 Contact: linux-iio@vger.kernel.org
12 Description:
13 An event driven driver of data capture to an in kernel buffer.
14 May be provided by a device driver that also has an IIO device
15 based on hardware generated events (e.g. data ready) or
16 provided by a separate driver for other hardware (e.g.
17 periodic timer, GPIO or high resolution timer).
18
19 Contains trigger type specific elements. These do not
20 generalize well and hence are not documented in this file.
21 X is the IIO index of the trigger.
22
23 What: /sys/bus/iio/devices/iio:deviceX/buffer
24 KernelVersion: 2.6.35
25 Contact: linux-iio@vger.kernel.org
26 Description:
27 Directory of attributes relating to the buffer for the device.
28
29 What: /sys/bus/iio/devices/iio:deviceX/name
30 KernelVersion: 2.6.35
31 Contact: linux-iio@vger.kernel.org
32 Description:
33 Description of the physical chip / device for device X.
34 Typically a part number.
35
36 What: /sys/bus/iio/devices/iio:deviceX/label
37 KernelVersion: 5.8
38 Contact: linux-iio@vger.kernel.org
39 Description:
40 Optional symbolic label for a device.
41 This is useful for userspace to be able to better identify an
42 individual device.
43
44 The contents of the label are free-form, but there are some
45 standardized uses:
46
47 For proximity sensors which give the proximity (of a person) to
48 a certain wlan or wwan antenna the following standardized labels
49 are used:
50
51 * "proximity-wifi"
52 * "proximity-lte"
53 * "proximity-wifi-lte"
54 * "proximity-wifi-left"
55 * "proximity-wifi-right"
56
57 These are used to indicate to userspace that these proximity
58 sensors may be used to tune transmit power to ensure that
59 Specific Absorption Rate (SAR) limits are honored.
60 The "-left" and "-right" labels are for devices with multiple
61 antennas.
62
63 In some laptops/tablets the standardized proximity sensor labels
64 instead indicate proximity to a specific part of the device:
65
66 * "proximity-palmrest" indicates proximity to the keyboard's palmrest
67 * "proximity-palmrest-left" indicates proximity to the left part of the palmrest
68 * "proximity-palmrest-right" indicates proximity to the right part of the palmrest
69 * "proximity-lap" indicates the device is being used on someone's lap
70
71 Note "proximity-lap" is special in that its value may be
72 calculated by firmware from other sensor readings, rather then
73 being a raw sensor reading.
74
75 For accelerometers used in 2-in-1s with 360° (yoga-style) hinges,
76 which have an accelerometer in both their base and their display,
77 the following standardized labels are used:
78
79 * "accel-base"
80 * "accel-display"
81
82 For devices where an accelerometer is housed in the swivel camera subassembly
83 (for AR application), the following standardized label is used:
84
85 * "accel-camera"
86
87 What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
88 KernelVersion: 4.5
89 Contact: linux-iio@vger.kernel.org
90 Description:
91 String identifying current posix clock used to timestamp
92 buffered samples and events for device X.
93
94 What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
95 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency
96 What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
97 What: /sys/bus/iio/devices/iio:deviceX/events/sampling_frequency
98 What: /sys/bus/iio/devices/triggerX/sampling_frequency
99 KernelVersion: 2.6.35
100 Contact: linux-iio@vger.kernel.org
101 Description:
102 Some devices have internal clocks. This parameter sets the
103 resulting sampling frequency. In many devices this
104 parameter has an effect on input filters etc. rather than
105 simply controlling when the input is sampled. As this
106 affects data ready triggers, hardware buffers and the sysfs
107 direct access interfaces, it may be found in any of the
108 relevant directories. If it affects all of the above
109 then it is to be found in the base device directory.
110
111 The stm32-timer-trigger has the additional characteristic that
112 a sampling_frequency of 0 is defined to stop sampling.
113
114 What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
115 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
116 What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
117 What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
118 What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
119 KernelVersion: 2.6.35
120 Contact: linux-iio@vger.kernel.org
121 Description:
122 When the internal sampling clock can only take a specific set of
123 frequencies, we can specify the available values with:
124
125 - a small discrete set of values like "0 2 4 6 8"
126 - a range with minimum, step and maximum frequencies like
127 "[min step max]"
128
129 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
130 KernelVersion: 2.6.38
131 Contact: linux-iio@vger.kernel.org
132 Description:
133 Hardware dependent ADC oversampling. Controls the sampling ratio
134 of the digital filter if available.
135
136 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
137 KernelVersion: 2.6.38
138 Contact: linux-iio@vger.kernel.org
139 Description:
140 Hardware dependent values supported by the oversampling filter.
141
142 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
143 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
144 KernelVersion: 2.6.35
145 Contact: linux-iio@vger.kernel.org
146 Description:
147 Raw (unscaled no bias removal etc.) voltage measurement from
148 channel Y. In special cases where the channel does not
149 correspond to externally available input one of the named
150 versions may be used. The number must always be specified and
151 unique to allow association with event codes. Units after
152 application of scale and offset are millivolts.
153
154 Channels with 'i' and 'q' modifiers always exist in pairs and both
155 channels refer to the same signal. The 'i' channel contains the in-phase
156 component of the signal while the 'q' channel contains the quadrature
157 component.
158
159 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
160 KernelVersion: 2.6.35
161 Contact: linux-iio@vger.kernel.org
162 Description:
163 Raw (unscaled) differential voltage measurement equivalent to
164 channel Y - channel Z where these channel numbers apply to the
165 physically equivalent inputs when non differential readings are
166 separately available. In differential only parts, then all that
167 is required is a consistent labeling. Units after application
168 of scale and offset are millivolts.
169
170 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_rms_raw
171 KernelVersion: 6.18
172 Contact: linux-iio@vger.kernel.org
173 Description:
174 Raw (unscaled) Root Mean Square (RMS) voltage measurement from
175 channel Y. Units after application of scale and offset are
176 millivolts.
177
178 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
179 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_active_raw
180 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_reactive_raw
181 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_apparent_raw
182 KernelVersion: 4.5
183 Contact: linux-iio@vger.kernel.org
184 Description:
185 Raw (unscaled no bias removal etc.) power measurement from
186 channel Y. The number must always be specified and
187 unique to allow association with event codes. Units after
188 application of scale and offset are milliwatts.
189
190 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_powerfactor
191 KernelVersion: 6.18
192 Contact: linux-iio@vger.kernel.org
193 Description:
194 Power factor measurement from channel Y. Power factor is the
195 ratio of active power to apparent power. The value is unitless.
196
197 What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
198 KernelVersion: 3.2
199 Contact: linux-iio@vger.kernel.org
200 Description:
201 Raw capacitance measurement from channel Y. Units after
202 application of scale and offset are nanofarads.
203
204 What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
205 KernelVersion: 3.2
206 Contact: linux-iio@vger.kernel.org
207 Description:
208 Raw differential capacitance measurement equivalent to
209 channel Y - channel Z where these channel numbers apply to the
210 physically equivalent inputs when non differential readings are
211 separately available. In differential only parts, then all that
212 is required is a consistent labeling. Units after application
213 of scale and offset are nanofarads.
214
215 What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint
216 KernelVersion: 6.1
217 Contact: linux-iio@vger.kernel.org
218 Description:
219 For differential channels, this an offset that is applied
220 equally to both inputs. As the reading is of the difference
221 between the two inputs, this should not be applied to the _raw
222 reading by userspace (unlike _offset) and unlike calibbias
223 it does not affect the differential value measured because
224 the effect of _zeropoint cancels out across the two inputs
225 that make up the differential pair. It's purpose is to bring
226 the individual signals, before the differential is measured,
227 within the measurement range of the device. The naming is
228 chosen because if the separate inputs that make the
229 differential pair are drawn on a graph in their
230 _raw units, this is the value that the zero point on the
231 measurement axis represents. It is expressed with the
232 same scaling as _raw.
233
234 What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
235 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_raw
236 What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
237 What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
238 What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
239 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
240 KernelVersion: 2.6.35
241 Contact: linux-iio@vger.kernel.org
242 Description:
243 Raw (unscaled no bias removal etc.) temperature measurement.
244 If an axis is specified it generally means that the temperature
245 sensor is associated with one part of a compound device (e.g.
246 a gyroscope axis). The ambient and object modifiers distinguish
247 between ambient (reference) and distant temperature for contact-
248 less measurements. Units after application of scale and offset
249 are milli degrees Celsius.
250
251 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input
252 What: /sys/bus/iio/devices/iio:deviceX/in_temp_input
253 KernelVersion: 2.6.38
254 Contact: linux-iio@vger.kernel.org
255 Description:
256 Scaled temperature measurement in milli degrees Celsius.
257
258 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
259 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
260 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
261 KernelVersion: 2.6.35
262 Contact: linux-iio@vger.kernel.org
263 Description:
264 Acceleration in direction x, y or z (may be arbitrarily assigned
265 but should match other such assignments on device).
266 Has all of the equivalent parameters as per voltageY. Units
267 after application of scale and offset are m/s^2.
268
269 What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw
270 What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
271 What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
272 KernelVersion: 6.1
273 Contact: linux-iio@vger.kernel.org
274 Description:
275 As per in_accel_X_raw attributes, but minus the
276 acceleration due to gravity.
277
278 What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
279 What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
280 What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
281 KernelVersion: 4.11
282 Contact: linux-iio@vger.kernel.org
283 Description:
284 Gravity in direction x, y or z (may be arbitrarily assigned
285 but should match other such assignments on device).
286 Units after application of scale and offset are m/s^2.
287
288 What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_x_raw
289 What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_y_raw
290 What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_z_raw
291 KernelVersion: 6.5
292 Contact: linux-iio@vger.kernel.org
293 Description:
294 Angular displacement between two consecutive samples on x, y or
295 z (may be arbitrarily assigned but should match other such
296 assignments on device).
297 In order to compute the total angular displacement during a
298 desired period of time, the application should sum-up the delta
299 angle samples acquired during that time.
300 Units after application of scale and offset are radians.
301
302 What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_x_raw
303 What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_y_raw
304 What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_z_raw
305 KernelVersion: 6.5
306 Contact: linux-iio@vger.kernel.org
307 Description:
308 The linear velocity change between two consecutive samples on x,
309 y or z (may be arbitrarily assigned but should match other such
310 assignments on device).
311 In order to compute the total linear velocity change during a
312 desired period of time, the application should sum-up the delta
313 velocity samples acquired during that time.
314 Units after application of scale and offset are meters per
315 second.
316
317 What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw
318 What: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw
319 KernelVersion: 4.17
320 Contact: linux-iio@vger.kernel.org
321 Description:
322 Angle of rotation. Units after application of scale and offset
323 are radians.
324
325 What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw
326 What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw
327 KernelVersion: 4.19
328 Contact: linux-iio@vger.kernel.org
329 Description:
330 Relative position in direction x or y on a pad (may be
331 arbitrarily assigned but should match other such assignments on
332 device).
333 Units after application of scale and offset are milli percents
334 from the pad's size in both directions. Should be calibrated by
335 the consumer.
336
337 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
338 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
339 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
340 KernelVersion: 2.6.35
341 Contact: linux-iio@vger.kernel.org
342 Description:
343 Angular velocity about axis x, y or z (may be arbitrarily
344 assigned). Has all the equivalent parameters as per voltageY.
345 Units after application of scale and offset are radians per
346 second.
347
348 What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
349 What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
350 What: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
351 KernelVersion: 2.6.35
352 Contact: linux-iio@vger.kernel.org
353 Description:
354 Inclination raw reading about axis x, y or z (may be
355 arbitrarily assigned). Data converted by application of offset
356 and scale to degrees.
357
358 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
359 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
360 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
361 KernelVersion: 2.6.35
362 Contact: linux-iio@vger.kernel.org
363 Description:
364 Magnetic field along axis x, y or z (may be arbitrarily
365 assigned). Data converted by application of offset
366 then scale to Gauss.
367
368 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
369 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
370 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
371 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_peak_raw
372 What: /sys/bus/iio/devices/iio:deviceX/in_temp_peak_raw
373 KernelVersion: 2.6.36
374 Contact: linux-iio@vger.kernel.org
375 Description:
376 Highest value since some reset condition. These
377 attributes allow access to this and are otherwise
378 the direct equivalent of the <type>Y[_name]_raw attributes.
379
380 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_trough_raw
381 What: /sys/bus/iio/devices/iio:deviceX/in_temp_trough_raw
382 KernelVersion: 6.7
383 Contact: linux-iio@vger.kernel.org
384 Description:
385 Lowest value since some reset condition. These
386 attributes allow access to this and are otherwise
387 the direct equivalent of the <type>Y[_name]_raw attributes.
388
389 What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
390 KernelVersion: 2.6.36
391 Contact: linux-iio@vger.kernel.org
392 Description:
393 A computed peak value based on the sum squared magnitude of
394 the underlying value in the specified directions.
395
396 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
397 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw
398 KernelVersion: 3.8
399 Contact: linux-iio@vger.kernel.org
400 Description:
401 Raw pressure measurement from channel Y. Units after
402 application of scale and offset are kilopascal.
403
404 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input
405 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_input
406 KernelVersion: 3.8
407 Contact: linux-iio@vger.kernel.org
408 Description:
409 Scaled pressure measurement from channel Y, in kilopascal.
410
411 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
412 KernelVersion: 3.14
413 Contact: linux-iio@vger.kernel.org
414 Description:
415 Raw humidity measurement of air. Units after application of
416 scale and offset are milli percent.
417
418 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
419 KernelVersion: 3.14
420 Contact: linux-iio@vger.kernel.org
421 Description:
422 Scaled humidity measurement in milli percent.
423
424 What: /sys/bus/iio/devices/iio:deviceX/in_Y_mean_raw
425 KernelVersion: 3.5
426 Contact: linux-iio@vger.kernel.org
427 Description:
428 Averaged raw measurement from channel Y. The number of values
429 used for averaging is device specific. The converting rules for
430 normal raw values also applies to the averaged raw values.
431
432 What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
433 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
434 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
435 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
436 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_q_offset
437 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_i_offset
438 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
439 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
440 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset
441 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset
442 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset
443 What: /sys/bus/iio/devices/iio:deviceX/in_current_offset
444 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
445 What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
446 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
447 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
448 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
449 What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset
450 What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset
451 What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset
452 What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_offset
453 KernelVersion: 2.6.35
454 Contact: linux-iio@vger.kernel.org
455 Description:
456 If known for a device, offset to be added to <type>[Y]_raw prior
457 to scaling by <type>[Y]_scale in order to obtain value in the
458 <type> units as specified in <type>[Y]_raw documentation.
459 Not present if the offset is always 0 or unknown. If Y or
460 axis <x|y|z> is not present, then the offset applies to all
461 in channels of <type>.
462 May be writable if a variable offset can be applied on the
463 device. Note that this is different to calibbias which
464 is for devices (or drivers) that apply offsets to compensate
465 for variation between different instances of the part, typically
466 adjusted by using some hardware supported calibration procedure.
467 Calibbias is applied internally, offset is applied in userspace
468 to the _raw output.
469
470 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
471 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
472 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
473 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
474 What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
475 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
476 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
477 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale
478 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
479 What: /sys/bus/iio/devices/iio:deviceX/in_current_scale
480 What: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale
481 What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
482 What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
483 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
484 What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale
485 What: /sys/bus/iio/devices/iio:deviceX/in_distance_scale
486 What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
487 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
488 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
489 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
490 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
491 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
492 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
493 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
494 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
495 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
496 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
497 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
498 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
499 What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale
500 What: /sys/bus/iio/devices/iio:deviceX/in_deltaangl_scale
501 What: /sys/bus/iio/devices/iio:deviceX/in_deltavelocity_scale
502 What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale
503 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale
504 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale
505 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale
506 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_scale
507 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_scale
508 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_scale
509 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
510 KernelVersion: 2.6.35
511 Contact: linux-iio@vger.kernel.org
512 Description:
513 If known for a device, scale to be applied to <type>Y[_name]_raw
514 post addition of <type>[Y][_name]_offset in order to obtain the
515 measured value in <type> units as specified in
516 <type>[Y][_name]_raw documentation. If shared across all in
517 channels then Y and <x|y|z> are not present and the value is
518 called <type>[Y][_name]_scale. The peak modifier means this
519 value is applied to <type>Y[_name]_peak_raw values.
520
521 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
522 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
523 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
524 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_calibbias
525 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_calibbias
526 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
527 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
528 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
529 What: /sys/bus/iio/devices/iio:deviceX/in_capacitance_calibbias
530 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibbias
531 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
532 What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibbias
533 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_calibbias
534 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_calibbias
535 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_calibbias
536 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
537 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
538 What: /sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias
539 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
540 What: /sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
541 What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibbias
542 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibbias
543 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_calibbias
544 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias
545 KernelVersion: 2.6.35
546 Contact: linux-iio@vger.kernel.org
547 Description:
548 Hardware applied calibration offset (assumed to fix production
549 inaccuracies).
550 icm42600: For this device values are real physical offsets
551 expressed in SI units (m/s^2 for accelerometers and rad/s
552 for gyroscope)/
553
554 What: /sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available
555 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available
556 What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibbias_available
557 What: /sys/bus/iio/devices/iio:deviceX/in_proximity_calibbias_available
558 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibbias_available
559 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibbias_available
560 KernelVersion: 5.8
561 Contact: linux-iio@vger.kernel.org
562 Description:
563 Available values of calibbias. Maybe expressed as either of:
564
565 - a small discrete set of values like "0 2 4 6 8"
566 - a range specified as "[min step max]"
567
568 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_convdelay
569 KernelVersion: 6.17
570 Contact: linux-iio@vger.kernel.org
571 Description:
572 Delay of start of conversion from common reference point shared
573 by all channels. Can be writable when used to compensate for
574 delay variation introduced by external filters feeding a
575 simultaneous sampling ADC.
576
577 E.g., for the ad7606 ADC series, this value is intended as a
578 configurable time delay in seconds, to correct delay introduced
579 by an optional external filtering circuit.
580
581 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_convdelay_available
582 KernelVersion: 6.16
583 Contact: linux-iio@vger.kernel.org
584 Description:
585 Available values of convdelay. Maybe expressed as:
586
587 - a range specified as "[min step max]"
588
589 If shared across all channels, <type>_convdelay_available
590 is used.
591
592 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
593 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
594 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
595 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale
596 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
597 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
598 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
599 What: /sys/bus/iio/devices/iio:deviceX/in_capacitance_calibscale
600 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
601 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
602 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_both_calibscale
603 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_calibscale
604 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_calibscale
605 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_calibscale
606 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_calibscale
607 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_calibscale
608 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
609 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
610 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
611 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
612 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
613 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
614 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_calibscale
615 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_calibscale
616 KernelVersion: 2.6.35
617 Contact: linux-iio@vger.kernel.org
618 Description:
619 Hardware applied calibration scale factor (assumed to fix
620 production inaccuracies). If shared across all channels,
621 <type>_calibscale is used.
622
623 What: /sys/bus/iio/devices/iio:deviceX/in_illuminanceY_calibscale_available
624 What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibscale_available
625 What: /sys/bus/iio/devices/iio:deviceX/in_proximityY_calibscale_available
626 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale_available
627 KernelVersion: 4.8
628 Contact: linux-iio@vger.kernel.org
629 Description:
630 Available values of calibscale. Maybe expressed as either of:
631
632 - a small discrete set of values like "1 8 16"
633 - a range specified as "[min step max]"
634
635 If shared across all channels, <type>_calibscale_available is used.
636
637 What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
638 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
639 What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
640 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
641 KernelVersion: 4.0
642 Contact: linux-iio@vger.kernel.org
643 Description:
644 Gender of the user (e.g.: male, female) used by some pedometers
645 to compute the stride length, distance, speed and activity
646 type.
647
648 What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
649 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
650 What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
651 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
652 KernelVersion: 4.0
653 Contact: linux-iio@vger.kernel.org
654 Description:
655 Lists all available gender values (e.g.: male, female).
656
657 What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
658 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
659 What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
660 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
661 KernelVersion: 3.19
662 Contact: linux-iio@vger.kernel.org
663 Description:
664 Height of the user (in meters) used by some pedometers
665 to compute the stride length, distance, speed and activity
666 type.
667
668 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
669 KernelVersion: 4.0
670 Contact: linux-iio@vger.kernel.org
671 Description:
672 Weight of the user (in kg). It is needed by some pedometers
673 to compute the calories burnt by the user.
674
675 What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
676 What: /sys/.../iio:deviceX/in_anglvel_scale_available
677 What: /sys/.../iio:deviceX/in_magn_scale_available
678 What: /sys/.../iio:deviceX/in_illuminance_scale_available
679 What: /sys/.../iio:deviceX/in_intensity_scale_available
680 What: /sys/.../iio:deviceX/in_proximity_scale_available
681 What: /sys/.../iio:deviceX/in_voltageY_scale_available
682 What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
683 What: /sys/.../iio:deviceX/out_voltageY_scale_available
684 What: /sys/.../iio:deviceX/out_altvoltageY_scale_available
685 What: /sys/.../iio:deviceX/in_capacitance_scale_available
686 What: /sys/.../iio:deviceX/in_pressure_scale_available
687 What: /sys/.../iio:deviceX/in_pressureY_scale_available
688 KernelVersion: 2.6.35
689 Contact: linux-iio@vger.kernel.org
690 Description:
691 If a discrete set of scale values is available, they
692 are listed in this attribute. Unlike illumination,
693 multiplying intensity by intensity_scale does not
694 yield value with any standardized unit.
695
696 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
697 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
698 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
699 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
700 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
701 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
702 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hardwaregain
703 KernelVersion: 2.6.35
704 Contact: linux-iio@vger.kernel.org
705 Description:
706 Hardware applied gain factor. If shared across all channels,
707 <type>_hardwaregain is used.
708
709 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available
710 KernelVersion: 5.10
711 Contact: linux-iio@vger.kernel.org
712 Description:
713 Lists all available hardware applied gain factors. Shared across all
714 channels.
715
716 What: /sys/.../in_accel_filter_low_pass_3db_frequency
717 What: /sys/.../in_magn_filter_low_pass_3db_frequency
718 What: /sys/.../in_anglvel_filter_low_pass_3db_frequency
719 KernelVersion: 3.2
720 Contact: linux-iio@vger.kernel.org
721 Description:
722 If a known or controllable low pass filter is applied
723 to the underlying data channel, then this parameter
724 gives the 3dB frequency of the filter in Hz.
725
726 What: /sys/.../in_accel_filter_high_pass_3db_frequency
727 What: /sys/.../in_anglvel_filter_high_pass_3db_frequency
728 What: /sys/.../in_magn_filter_high_pass_3db_frequency
729 KernelVersion: 4.2
730 Contact: linux-iio@vger.kernel.org
731 Description:
732 If a known or controllable high pass filter is applied
733 to the underlying data channel, then this parameter
734 gives the 3dB frequency of the filter in Hz.
735
736 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
737 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
738 KernelVersion: 2.6.37
739 Contact: linux-iio@vger.kernel.org
740 Description:
741 Raw (unscaled, no bias etc.) output voltage for
742 channel Y. The number must always be specified and
743 unique if the output corresponds to a single channel.
744 While DAC like devices typically use out_voltage,
745 a continuous frequency generating device, such as
746 a DDS or PLL should use out_altvoltage.
747
748 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
749 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
750 KernelVersion: 2.6.37
751 Contact: linux-iio@vger.kernel.org
752 Description:
753 Raw (unscaled, no bias etc.) output voltage for an aggregate of
754 channel Y, channel Z, etc. This interface is available in cases
755 where a single output sets the value for multiple channels
756 simultaneously.
757
758 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
759 What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
760 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
761 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
762 KernelVersion: 2.6.38
763 Contact: linux-iio@vger.kernel.org
764 Description:
765 Specifies the output powerdown mode.
766 DAC output stage is disconnected from the amplifier and
767 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
768 2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
769 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
770 7.7kohm_to_gnd: connected to ground via a 7.7kOhm resistor,
771 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
772 32kohm_to_gnd: connected to ground via a 32kOhm resistor,
773 42kohm_to_gnd: connected to ground via a 42kOhm resistor,
774 90kohm_to_gnd: connected to ground via a 90kOhm resistor,
775 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
776 125kohm_to_gnd: connected to ground via an 125kOhm resistor,
777 500kohm_to_gnd: connected to ground via a 500kOhm resistor,
778 640kohm_to_gnd: connected to ground via a 640kOhm resistor,
779 three_state: left floating.
780 For a list of available output power down options read
781 outX_powerdown_mode_available. If Y is not present the
782 mode is shared across all outputs.
783
784 What: /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
785 What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
786 What: /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
787 What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
788 KernelVersion: 2.6.38
789 Contact: linux-iio@vger.kernel.org
790 Description:
791 Lists all available output power down modes.
792 If Y is not present the mode is shared across all outputs.
793
794 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
795 What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
796 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
797 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
798 KernelVersion: 2.6.38
799 Contact: linux-iio@vger.kernel.org
800 Description:
801 Writing 1 causes output Y to enter the power down mode specified
802 by the corresponding outY_powerdown_mode. DAC output stage is
803 disconnected from the amplifier. Clearing returns to normal
804 operation. Y may be suppressed if all outputs are controlled
805 together.
806
807 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
808 KernelVersion: 3.4.0
809 Contact: linux-iio@vger.kernel.org
810 Description:
811 Output frequency for channel Y in Hz. The number must always be
812 specified and unique if the output corresponds to a single
813 channel.
814 Some drivers have additional constraints:
815 ADF4371 has an integrated VCO with fundamendal output
816 frequency ranging from 4000000000 Hz 8000000000 Hz.
817
818 out_altvoltage0_frequency:
819 A divide by 1, 2, 4, 8, 16, 32 or circuit generates
820 frequencies from 62500000 Hz to 8000000000 Hz.
821 out_altvoltage1_frequency:
822 This channel duplicates the channel 0 frequency
823 out_altvoltage2_frequency:
824 A frequency doubler generates frequencies from
825 8000000000 Hz to 16000000000 Hz.
826 out_altvoltage3_frequency:
827 A frequency quadrupler generates frequencies from
828 16000000000 Hz to 32000000000 Hz.
829
830 Note: writes to one of the channels will affect the frequency of
831 all the other channels, since it involves changing the VCO
832 fundamental output frequency.
833
834 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_i_phase
835 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_q_phase
836 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
837 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_i_phase
838 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_q_phase
839 KernelVersion: 3.4.0
840 Contact: linux-iio@vger.kernel.org
841 Description:
842 Phase in radians of one frequency/clock output Y
843 (out_altvoltageY) relative to another frequency/clock output
844 (out_altvoltageZ) of the device X. The number must always be
845 specified and unique if the output corresponds to a single
846 channel.
847
848 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
849 Date: May 2012
850 KernelVersion: 3.5
851 Contact: Johan Hovold <jhovold@gmail.com>
852 Description:
853 Set/get output current for channel Y. Units after application
854 of scale and offset are milliamps.
855 For some devices current channels are used to specify
856 current supplied to elements used in taking a measurement
857 of a different type. E.g. LED currents.
858
859 What: /sys/bus/iio/devices/iio:deviceX/events
860 KernelVersion: 2.6.35
861 Contact: linux-iio@vger.kernel.org
862 Description:
863 Configuration of which hardware generated events are passed up
864 to user-space.
865
866 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
867 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
868 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
869 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
870 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
871 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
872 What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
873 What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
874 What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
875 What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
876 What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
877 What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
878 What: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
879 What: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
880 What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
881 What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
882 What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
883 What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
884 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
885 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
886 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
887 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
888 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
889 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
890 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
891 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
892 What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
893 What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
894 What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
895 What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
896 What: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
897 What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
898 What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
899 What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
900 What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
901 KernelVersion: 2.6.37
902 Contact: linux-iio@vger.kernel.org
903 Description:
904 Event generated when channel passes a threshold in the specified
905 (_rising|_falling) direction. If the direction is not specified,
906 then either the device will report an event which ever direction
907 a single threshold value is passed in (e.g.
908 <type>[Y][_name]_<raw|input>_thresh_value) or
909 <type>[Y][_name]_<raw|input>_thresh_rising_value and
910 <type>[Y][_name]_<raw|input>_thresh_falling_value may take
911 different values, but the device can only enable both thresholds
912 or neither.
913
914 Note the driver will assume the last p events requested are
915 to be enabled where p is how many it supports (which may vary
916 depending on the exact set requested. So if you want to be
917 sure you have set what you think you have, check the contents of
918 these attributes after everything is configured. Drivers may
919 have to buffer any parameters so that they are consistent when
920 a given event type is enabled at a future point (and not those for
921 whatever event was previously enabled).
922
923 What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
924 What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
925 What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
926 What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
927 What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
928 What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
929 What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
930 What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
931 What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
932 What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
933 What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
934 What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
935 What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
936 What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
937 What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
938 What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
939 What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
940 What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
941 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
942 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
943 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
944 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
945 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
946 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
947 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
948 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
949 What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
950 What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
951 What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
952 What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
953 What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
954 What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
955 KernelVersion: 2.6.37
956 Contact: linux-iio@vger.kernel.org
957 Description:
958 Event generated when channel passes a threshold on the rate of
959 change (1st differential) in the specified (_rising|_falling)
960 direction. If the direction is not specified, then either the
961 device will report an event which ever direction a single
962 threshold value is passed in (e.g.
963 <type>[Y][_name]_<raw|input>_roc_value) or
964 <type>[Y][_name]_<raw|input>_roc_rising_value and
965 <type>[Y][_name]_<raw|input>_roc_falling_value may take
966 different values, but the device can only enable both rate of
967 change thresholds or neither.
968
969 Note the driver will assume the last p events requested are
970 to be enabled where p is however many it supports (which may
971 vary depending on the exact set requested. So if you want to be
972 sure you have set what you think you have, check the contents of
973 these attributes after everything is configured. Drivers may
974 have to buffer any parameters so that they are consistent when
975 a given event type is enabled a future point (and not those for
976 whatever event was previously enabled).
977
978 What: /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
979 What: /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
980 KernelVersion: 5.13
981 Contact: linux-iio@vger.kernel.org
982 Description:
983 Adaptive thresholds are similar to normal fixed thresholds
984 but the value is expressed as an offset from a value which
985 provides a low frequency approximation of the channel itself.
986 Thus these detect if a rapid change occurs in the specified
987 direction which crosses tracking value + offset.
988 Tracking value calculation is devices specific.
989
990 What: /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
991 What: /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
992 KernelVersion: 5.11
993 Contact: linux-iio@vger.kernel.org
994 Description:
995 When adaptive thresholds are used, the tracking signal
996 may adjust too slowly to step changes in the raw signal.
997 Thus these specify the time in seconds for which the
998 difference between the slow tracking signal and the raw
999 signal is allowed to remain out-of-range before a reset
1000 event occurs in which the tracking signal is made equal
1001 to the raw signal, allowing slow tracking to resume and the
1002 adaptive threshold event detection to function as expected.
1004 What: /sys/.../events/in_accel_thresh_rising_value
1005 What: /sys/.../events/in_accel_thresh_falling_value
1006 What: /sys/.../events/in_accel_x_raw_thresh_rising_value
1007 What: /sys/.../events/in_accel_x_raw_thresh_falling_value
1008 What: /sys/.../events/in_accel_y_raw_thresh_rising_value
1009 What: /sys/.../events/in_accel_y_raw_thresh_falling_value
1010 What: /sys/.../events/in_accel_z_raw_thresh_rising_value
1011 What: /sys/.../events/in_accel_z_raw_thresh_falling_value
1012 What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value
1013 What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value
1014 What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value
1015 What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value
1016 What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value
1017 What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value
1018 What: /sys/.../events/in_magn_x_raw_thresh_rising_value
1019 What: /sys/.../events/in_magn_x_raw_thresh_falling_value
1020 What: /sys/.../events/in_magn_y_raw_thresh_rising_value
1021 What: /sys/.../events/in_magn_y_raw_thresh_falling_value
1022 What: /sys/.../events/in_magn_z_raw_thresh_rising_value
1023 What: /sys/.../events/in_magn_z_raw_thresh_falling_value
1024 What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
1025 What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
1026 What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
1027 What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
1028 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
1029 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
1030 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
1031 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
1032 What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
1033 What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
1034 What: /sys/.../events/in_voltageY_raw_thresh_rising_value
1035 What: /sys/.../events/in_voltageY_raw_thresh_falling_value
1036 What: /sys/.../events/in_tempY_raw_thresh_rising_value
1037 What: /sys/.../events/in_tempY_raw_thresh_falling_value
1038 What: /sys/.../events/in_illuminance0_thresh_falling_value
1039 What: /sys/.../events/in_illuminance0_thresh_rising_value
1040 What: /sys/.../events/in_proximity0_thresh_falling_value
1041 What: /sys/.../events/in_proximity0_thresh_rising_value
1042 What: /sys/.../events/in_illuminance_thresh_rising_value
1043 What: /sys/.../events/in_illuminance_thresh_falling_value
1044 What: /sys/.../events/in_capacitanceY_thresh_rising_value
1045 What: /sys/.../events/in_capacitanceY_thresh_falling_value
1046 What: /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
1047 What: /sys/.../events/in_capacitanceY_thresh_falling_rising_value
1048 KernelVersion: 2.6.37
1049 Contact: linux-iio@vger.kernel.org
1050 Description:
1051 Specifies the value of threshold that the device is comparing
1052 against for the events enabled by
1053 <type>Y[_name]_thresh[_rising|falling]_en.
1055 If separate attributes exist for the two directions, but
1056 direction is not specified for this attribute, then a single
1057 threshold value applies to both directions.
1059 The raw or input element of the name indicates whether the
1060 value is in raw device units or in processed units (as _raw
1061 and _input do on sysfs direct channel read attributes).
1063 What: /sys/.../events/in_accel_scale
1064 What: /sys/.../events/in_accel_peak_scale
1065 What: /sys/.../events/in_anglvel_scale
1066 What: /sys/.../events/in_magn_scale
1067 What: /sys/.../events/in_rot_from_north_magnetic_scale
1068 What: /sys/.../events/in_rot_from_north_true_scale
1069 What: /sys/.../events/in_voltage_scale
1070 What: /sys/.../events/in_voltage_supply_scale
1071 What: /sys/.../events/in_temp_scale
1072 What: /sys/.../events/in_illuminance_scale
1073 What: /sys/.../events/in_proximity_scale
1074 KernelVersion: 3.21
1075 Contact: linux-iio@vger.kernel.org
1076 Description:
1077 Specifies the conversion factor from the standard units
1078 to device specific units used to set the event trigger
1079 threshold.
1081 What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
1082 What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
1083 What: /sys/.../events/in_accel_x_thresh_either_hysteresis
1084 What: /sys/.../events/in_accel_y_thresh_rising_hysteresis
1085 What: /sys/.../events/in_accel_y_thresh_falling_hysteresis
1086 What: /sys/.../events/in_accel_y_thresh_either_hysteresis
1087 What: /sys/.../events/in_accel_z_thresh_rising_hysteresis
1088 What: /sys/.../events/in_accel_z_thresh_falling_hysteresis
1089 What: /sys/.../events/in_accel_z_thresh_either_hysteresis
1090 What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
1091 What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
1092 What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis
1093 What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
1094 What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
1095 What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis
1096 What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
1097 What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
1098 What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis
1099 What: /sys/.../events/in_magn_x_thresh_rising_hysteresis
1100 What: /sys/.../events/in_magn_x_thresh_falling_hysteresis
1101 What: /sys/.../events/in_magn_x_thresh_either_hysteresis
1102 What: /sys/.../events/in_magn_y_thresh_rising_hysteresis
1103 What: /sys/.../events/in_magn_y_thresh_falling_hysteresis
1104 What: /sys/.../events/in_magn_y_thresh_either_hysteresis
1105 What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
1106 What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
1107 What: /sys/.../events/in_magn_z_thresh_either_hysteresis
1108 What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
1109 What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
1110 What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
1111 What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
1112 What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
1113 What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
1114 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
1115 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
1116 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
1117 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
1118 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
1119 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
1120 What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
1121 What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
1122 What: /sys/.../events/in_voltageY_thresh_either_hysteresis
1123 What: /sys/.../events/in_tempY_thresh_rising_hysteresis
1124 What: /sys/.../events/in_tempY_thresh_falling_hysteresis
1125 What: /sys/.../events/in_tempY_thresh_either_hysteresis
1126 What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis
1127 What: /sys/.../events/in_illuminance0_thresh_rising_hysteresis
1128 What: /sys/.../events/in_illuminance0_thresh_either_hysteresis
1129 What: /sys/.../events/in_proximity0_thresh_falling_hysteresis
1130 What: /sys/.../events/in_proximity0_thresh_rising_hysteresis
1131 What: /sys/.../events/in_proximity0_thresh_either_hysteresis
1132 KernelVersion: 3.13
1133 Contact: linux-iio@vger.kernel.org
1134 Description:
1135 Specifies the hysteresis of threshold that the device is comparing
1136 against for the events enabled by
1137 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
1138 If separate attributes exist for the two directions, but
1139 direction is not specified for this attribute, then a single
1140 hysteresis value applies to both directions.
1142 For falling events the hysteresis is added to the _value attribute for
1143 this event to get the upper threshold for when the event goes back to
1144 normal, for rising events the hysteresis is subtracted from the _value
1145 attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
1146 and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
1147 will get activated once in_voltage0_raw goes above 1200 and will become
1148 deactivated again once the value falls below 1150.
1150 What: /sys/.../events/in_accel_x_raw_roc_rising_value
1151 What: /sys/.../events/in_accel_x_raw_roc_falling_value
1152 What: /sys/.../events/in_accel_y_raw_roc_rising_value
1153 What: /sys/.../events/in_accel_y_raw_roc_falling_value
1154 What: /sys/.../events/in_accel_z_raw_roc_rising_value
1155 What: /sys/.../events/in_accel_z_raw_roc_falling_value
1156 What: /sys/.../events/in_anglvel_x_raw_roc_rising_value
1157 What: /sys/.../events/in_anglvel_x_raw_roc_falling_value
1158 What: /sys/.../events/in_anglvel_y_raw_roc_rising_value
1159 What: /sys/.../events/in_anglvel_y_raw_roc_falling_value
1160 What: /sys/.../events/in_anglvel_z_raw_roc_rising_value
1161 What: /sys/.../events/in_anglvel_z_raw_roc_falling_value
1162 What: /sys/.../events/in_magn_x_raw_roc_rising_value
1163 What: /sys/.../events/in_magn_x_raw_roc_falling_value
1164 What: /sys/.../events/in_magn_y_raw_roc_rising_value
1165 What: /sys/.../events/in_magn_y_raw_roc_falling_value
1166 What: /sys/.../events/in_magn_z_raw_roc_rising_value
1167 What: /sys/.../events/in_magn_z_raw_roc_falling_value
1168 What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
1169 What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
1170 What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
1171 What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
1172 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
1173 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
1174 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
1175 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
1176 What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
1177 What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
1178 What: /sys/.../events/in_voltageY_raw_roc_rising_value
1179 What: /sys/.../events/in_voltageY_raw_roc_falling_value
1180 What: /sys/.../events/in_tempY_raw_roc_rising_value
1181 What: /sys/.../events/in_tempY_raw_roc_falling_value
1182 KernelVersion: 2.6.37
1183 Contact: linux-iio@vger.kernel.org
1184 Description:
1185 Specifies the value of rate of change threshold that the
1186 device is comparing against for the events enabled by
1187 <type>[Y][_name]_roc[_rising|falling]_en.
1189 If separate attributes exist for the two directions,
1190 but direction is not specified for this attribute,
1191 then a single threshold value applies to both directions.
1192 The raw or input element of the name indicates whether the
1193 value is in raw device units or in processed units (as _raw
1194 and _input do on sysfs direct channel read attributes).
1196 What: /sys/.../events/in_accel_x_thresh_rising_period
1197 What: /sys/.../events/in_accel_x_thresh_falling_period
1198 What: /sys/.../events/in_accel_x_roc_rising_period
1199 What: /sys/.../events/in_accel_x_roc_falling_period
1200 What: /sys/.../events/in_accel_y_thresh_rising_period
1201 What: /sys/.../events/in_accel_y_thresh_falling_period
1202 What: /sys/.../events/in_accel_y_roc_rising_period
1203 What: /sys/.../events/in_accel_y_roc_falling_period
1204 What: /sys/.../events/in_accel_z_thresh_rising_period
1205 What: /sys/.../events/in_accel_z_thresh_falling_period
1206 What: /sys/.../events/in_accel_z_roc_rising_period
1207 What: /sys/.../events/in_accel_z_roc_falling_period
1208 What: /sys/.../events/in_anglvel_x_thresh_rising_period
1209 What: /sys/.../events/in_anglvel_x_thresh_falling_period
1210 What: /sys/.../events/in_anglvel_x_roc_rising_period
1211 What: /sys/.../events/in_anglvel_x_roc_falling_period
1212 What: /sys/.../events/in_anglvel_y_thresh_rising_period
1213 What: /sys/.../events/in_anglvel_y_thresh_falling_period
1214 What: /sys/.../events/in_anglvel_y_roc_rising_period
1215 What: /sys/.../events/in_anglvel_y_roc_falling_period
1216 What: /sys/.../events/in_anglvel_z_thresh_rising_period
1217 What: /sys/.../events/in_anglvel_z_thresh_falling_period
1218 What: /sys/.../events/in_anglvel_z_roc_rising_period
1219 What: /sys/.../events/in_anglvel_z_roc_falling_period
1220 What: /sys/.../events/in_magn_x_thresh_rising_period
1221 What: /sys/.../events/in_magn_x_thresh_falling_period
1222 What: /sys/.../events/in_magn_x_roc_rising_period
1223 What: /sys/.../events/in_magn_x_roc_falling_period
1224 What: /sys/.../events/in_magn_y_thresh_rising_period
1225 What: /sys/.../events/in_magn_y_thresh_falling_period
1226 What: /sys/.../events/in_magn_y_roc_rising_period
1227 What: /sys/.../events/in_magn_y_roc_falling_period
1228 What: /sys/.../events/in_magn_z_thresh_rising_period
1229 What: /sys/.../events/in_magn_z_thresh_falling_period
1230 What: /sys/.../events/in_magn_z_roc_rising_period
1231 What: /sys/.../events/in_magn_z_roc_falling_period
1232 What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
1233 What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
1234 What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
1235 What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
1236 What: /sys/.../events/in_rot_from_north_true_thresh_rising_period
1237 What: /sys/.../events/in_rot_from_north_true_thresh_falling_period
1238 What: /sys/.../events/in_rot_from_north_true_roc_rising_period
1239 What: /sys/.../events/in_rot_from_north_true_roc_falling_period
1240 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
1241 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
1242 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
1243 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
1244 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
1245 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
1246 What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
1247 What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
1248 What: /sys/.../events/in_voltageY_supply_thresh_rising_period
1249 What: /sys/.../events/in_voltageY_supply_thresh_falling_period
1250 What: /sys/.../events/in_voltageY_supply_roc_rising_period
1251 What: /sys/.../events/in_voltageY_supply_roc_falling_period
1252 What: /sys/.../events/in_voltageY_thresh_rising_period
1253 What: /sys/.../events/in_voltageY_thresh_falling_period
1254 What: /sys/.../events/in_voltageY_roc_rising_period
1255 What: /sys/.../events/in_voltageY_roc_falling_period
1256 What: /sys/.../events/in_tempY_thresh_rising_period
1257 What: /sys/.../events/in_tempY_thresh_falling_period
1258 What: /sys/.../events/in_tempY_roc_rising_period
1259 What: /sys/.../events/in_tempY_roc_falling_period
1260 What: /sys/.../events/in_accel_x&y&z_mag_falling_period
1261 What: /sys/.../events/in_intensity0_thresh_period
1262 What: /sys/.../events/in_proximity0_thresh_period
1263 What: /sys/.../events/in_activity_still_thresh_rising_period
1264 What: /sys/.../events/in_activity_still_thresh_falling_period
1265 What: /sys/.../events/in_activity_walking_thresh_rising_period
1266 What: /sys/.../events/in_activity_walking_thresh_falling_period
1267 What: /sys/.../events/in_activity_jogging_thresh_rising_period
1268 What: /sys/.../events/in_activity_jogging_thresh_falling_period
1269 What: /sys/.../events/in_activity_running_thresh_rising_period
1270 What: /sys/.../events/in_activity_running_thresh_falling_period
1271 What: /sys/.../events/in_illuminance_thresh_either_period
1272 KernelVersion: 2.6.37
1273 Contact: linux-iio@vger.kernel.org
1274 Description:
1275 Period of time (in seconds) for which the condition must be
1276 met before an event is generated. If direction is not
1277 specified then this period applies to both directions.
1279 What: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
1280 What: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
1281 What: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
1282 KernelVersion: 4.2
1283 Contact: linux-iio@vger.kernel.org
1284 Description:
1285 If a low pass filter can be applied to the event generation
1286 this property gives its 3db frequency in Hz.
1287 A value of zero disables the filter.
1289 What: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
1290 What: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
1291 What: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
1292 KernelVersion: 4.2
1293 Contact: linux-iio@vger.kernel.org
1294 Description:
1295 If a high pass filter can be applied to the event generation
1296 this property gives its 3db frequency in Hz.
1297 A value of zero disables the filter.
1299 What: /sys/.../events/in_activity_still_thresh_rising_en
1300 What: /sys/.../events/in_activity_still_thresh_falling_en
1301 What: /sys/.../events/in_activity_walking_thresh_rising_en
1302 What: /sys/.../events/in_activity_walking_thresh_falling_en
1303 What: /sys/.../events/in_activity_jogging_thresh_rising_en
1304 What: /sys/.../events/in_activity_jogging_thresh_falling_en
1305 What: /sys/.../events/in_activity_running_thresh_rising_en
1306 What: /sys/.../events/in_activity_running_thresh_falling_en
1307 KernelVersion: 3.19
1308 Contact: linux-iio@vger.kernel.org
1309 Description:
1310 Enables or disables activity events. Depending on direction
1311 an event is generated when sensor ENTERS or LEAVES a given state.
1313 What: /sys/.../events/in_activity_still_thresh_rising_value
1314 What: /sys/.../events/in_activity_still_thresh_falling_value
1315 What: /sys/.../events/in_activity_walking_thresh_rising_value
1316 What: /sys/.../events/in_activity_walking_thresh_falling_value
1317 What: /sys/.../events/in_activity_jogging_thresh_rising_value
1318 What: /sys/.../events/in_activity_jogging_thresh_falling_value
1319 What: /sys/.../events/in_activity_running_thresh_rising_value
1320 What: /sys/.../events/in_activity_running_thresh_falling_value
1321 KernelVersion: 3.19
1322 Contact: linux-iio@vger.kernel.org
1323 Description:
1324 Confidence value (in units as percentage) to be used
1325 for deciding when an event should be generated. E.g for
1326 running: If the confidence value reported by the sensor
1327 is greater than in_activity_running_thresh_rising_value
1328 then the sensor ENTERS running state. Conversely, if the
1329 confidence value reported by the sensor is lower than
1330 in_activity_running_thresh_falling_value then the sensor
1331 is LEAVING running state.
1333 What: /sys/.../iio:deviceX/events/in_accel_mag_en
1334 What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en
1335 What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en
1336 What: /sys/.../iio:deviceX/events/in_accel_x_mag_en
1337 What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
1338 What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
1339 What: /sys/.../iio:deviceX/events/in_accel_y_mag_en
1340 What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
1341 What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
1342 What: /sys/.../iio:deviceX/events/in_accel_z_mag_en
1343 What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
1344 What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
1345 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
1346 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
1347 KernelVersion: 2.6.37
1348 Contact: linux-iio@vger.kernel.org
1349 Description:
1350 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
1351 magnitude of the channel is compared to the threshold, not its
1352 signed value.
1354 What: /sys/.../events/in_accel_raw_mag_value
1355 What: /sys/.../events/in_accel_x_raw_mag_rising_value
1356 What: /sys/.../events/in_accel_y_raw_mag_rising_value
1357 What: /sys/.../events/in_accel_z_raw_mag_rising_value
1358 KernelVersion: 2.6.37
1359 Contact: linux-iio@vger.kernel.org
1360 Description:
1361 The value to which the magnitude of the channel is compared. If
1362 number or direction is not specified, applies to all channels of
1363 this type.
1365 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_en
1366 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en
1367 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en
1368 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en
1369 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en
1370 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en
1371 KernelVersion: 5.18
1372 Contact: linux-iio@vger.kernel.org
1373 Description:
1374 Similar to in_accel_mag[_y][_rising|_falling]_en, but the event
1375 value is relative to a reference magnitude. The reference magnitude
1376 includes the graviational acceleration.
1378 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_value
1379 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value
1380 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value
1381 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value
1382 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value
1383 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value
1384 KernelVersion: 5.18
1385 Contact: linux-iio@vger.kernel.org
1386 Description:
1387 The value to which the reference magnitude of the channel is
1388 compared. If the axis is not specified, it applies to all channels
1389 of this type.
1391 What: /sys/.../events/in_steps_change_en
1392 KernelVersion: 4.0
1393 Contact: linux-iio@vger.kernel.org
1394 Description:
1395 Event generated when channel passes a threshold on the absolute
1396 change in value. E.g. for steps: a step change event is
1397 generated each time the user takes N steps, where N is set using
1398 in_steps_change_value.
1400 What: /sys/.../events/in_steps_change_value
1401 KernelVersion: 4.0
1402 Contact: linux-iio@vger.kernel.org
1403 Description:
1404 Specifies the value of change threshold that the
1405 device is comparing against for the events enabled by
1406 <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
1407 if set to 3, a step change event will be generated every 3
1408 steps.
1410 What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
1411 KernelVersion: 2.6.35
1412 Contact: linux-iio@vger.kernel.org
1413 Description:
1414 The name of the trigger source being used, as per string given
1415 in /sys/class/iio/triggerY/name.
1417 What: /sys/bus/iio/devices/iio:deviceX/bufferY/length
1418 KernelVersion: 5.11
1419 Contact: linux-iio@vger.kernel.org
1420 Description:
1421 Number of scans contained by the buffer.
1423 What: /sys/bus/iio/devices/iio:deviceX/bufferY/enable
1424 KernelVersion: 5.11
1425 Contact: linux-iio@vger.kernel.org
1426 Description:
1427 Actually start the buffer capture up. Will start trigger
1428 if first device and appropriate.
1430 Note that it might be impossible to configure other attributes,
1431 (e.g.: events, scale, sampling rate) if they impact the currently
1432 active buffer capture session.
1434 What: /sys/bus/iio/devices/iio:deviceX/bufferY
1435 KernelVersion: 5.11
1436 Contact: linux-iio@vger.kernel.org
1437 Description:
1438 Directory containing interfaces for elements that will be
1439 captured for a single triggered sample set in the buffer.
1441 Since kernel 5.11 the scan_elements attributes are merged into
1442 the bufferY directory, to be configurable per buffer.
1444 What: /sys/.../iio:deviceX/bufferY/in_accel_x_en
1445 What: /sys/.../iio:deviceX/bufferY/in_accel_y_en
1446 What: /sys/.../iio:deviceX/bufferY/in_accel_z_en
1447 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_x_en
1448 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_y_en
1449 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_z_en
1450 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_x_en
1451 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_y_en
1452 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_z_en
1453 What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_en
1454 What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_en
1455 What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_en
1456 What: /sys/.../iio:deviceX/bufferY/in_magn_x_en
1457 What: /sys/.../iio:deviceX/bufferY/in_magn_y_en
1458 What: /sys/.../iio:deviceX/bufferY/in_magn_z_en
1459 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
1460 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
1461 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
1462 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
1463 What: /sys/.../iio:deviceX/bufferY/in_timestamp_en
1464 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
1465 What: /sys/.../iio:deviceX/bufferY/in_voltageY_en
1466 What: /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
1467 What: /sys/.../iio:deviceX/bufferY/in_incli_x_en
1468 What: /sys/.../iio:deviceX/bufferY/in_incli_y_en
1469 What: /sys/.../iio:deviceX/bufferY/in_pressureY_en
1470 What: /sys/.../iio:deviceX/bufferY/in_pressure_en
1471 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
1472 What: /sys/.../iio:deviceX/bufferY/in_proximity_en
1473 KernelVersion: 5.11
1474 Contact: linux-iio@vger.kernel.org
1475 Description:
1476 Scan element control for triggered data capture.
1478 What: /sys/.../iio:deviceX/bufferY/in_accel_type
1479 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_type
1480 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_type
1481 What: /sys/.../iio:deviceX/bufferY/in_anglvel_type
1482 What: /sys/.../iio:deviceX/bufferY/in_magn_type
1483 What: /sys/.../iio:deviceX/bufferY/in_incli_type
1484 What: /sys/.../iio:deviceX/bufferY/in_voltageY_type
1485 What: /sys/.../iio:deviceX/bufferY/in_voltage_type
1486 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
1487 What: /sys/.../iio:deviceX/bufferY/in_timestamp_type
1488 What: /sys/.../iio:deviceX/bufferY/in_pressureY_type
1489 What: /sys/.../iio:deviceX/bufferY/in_pressure_type
1490 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
1491 What: /sys/.../iio:deviceX/bufferY/in_proximity_type
1492 KernelVersion: 5.11
1493 Contact: linux-iio@vger.kernel.org
1494 Description:
1495 Description of the scan element data storage within the buffer
1496 and hence the form in which it is read from user-space.
1497 Form is [be|le]:[s|u]bits/storagebits[>>shift].
1498 be or le specifies big or little endian. s or u specifies if
1499 signed (2's complement) or unsigned. bits is the number of bits
1500 of data and storagebits is the space (after padding) that it
1501 occupies in the buffer. shift if specified, is the shift that
1502 needs to be applied prior to masking out unused bits. Some
1503 devices put their data in the middle of the transferred elements
1504 with additional information on both sides. Note that some
1505 devices will have additional information in the unused bits
1506 so to get a clean value, the bits value must be used to mask
1507 the buffer output value appropriately. The storagebits value
1508 also specifies the data alignment. So s48/64>>2 will be a
1509 signed 48 bit integer stored in a 64 bit location aligned to
1510 a 64 bit boundary. To obtain the clean value, shift right 2
1511 and apply a mask to zero the top 16 bits of the result.
1512 For other storage combinations this attribute will be extended
1513 appropriately.
1515 What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
1516 KernelVersion: 2.6.37
1517 Contact: linux-iio@vger.kernel.org
1518 Description:
1519 If the type parameter can take one of a small set of values,
1520 this attribute lists them.
1522 What: /sys/.../iio:deviceX/bufferY/in_voltageY_index
1523 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
1524 What: /sys/.../iio:deviceX/bufferY/in_accel_x_index
1525 What: /sys/.../iio:deviceX/bufferY/in_accel_y_index
1526 What: /sys/.../iio:deviceX/bufferY/in_accel_z_index
1527 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_x_index
1528 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_y_index
1529 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_z_index
1530 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_x_index
1531 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_y_index
1532 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_z_index
1533 What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_index
1534 What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_index
1535 What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_index
1536 What: /sys/.../iio:deviceX/bufferY/in_magn_x_index
1537 What: /sys/.../iio:deviceX/bufferY/in_magn_y_index
1538 What: /sys/.../iio:deviceX/bufferY/in_magn_z_index
1539 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
1540 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
1541 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
1542 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
1543 What: /sys/.../iio:deviceX/bufferY/in_incli_x_index
1544 What: /sys/.../iio:deviceX/bufferY/in_incli_y_index
1545 What: /sys/.../iio:deviceX/bufferY/in_timestamp_index
1546 What: /sys/.../iio:deviceX/bufferY/in_pressureY_index
1547 What: /sys/.../iio:deviceX/bufferY/in_pressure_index
1548 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
1549 What: /sys/.../iio:deviceX/bufferY/in_proximity_index
1550 KernelVersion: 5.11
1551 Contact: linux-iio@vger.kernel.org
1552 Description:
1553 A single positive integer specifying the position of this
1554 scan element in the buffer. Note these are not dependent on
1555 what is enabled and may not be contiguous. Thus for user-space
1556 to establish the full layout these must be used in conjunction
1557 with all _en attributes to establish which channels are present,
1558 and the relevant _type attributes to establish the data storage
1559 format.
1561 What: /sys/.../iio:deviceX/in_activity_still_input
1562 What: /sys/.../iio:deviceX/in_activity_walking_input
1563 What: /sys/.../iio:deviceX/in_activity_jogging_input
1564 What: /sys/.../iio:deviceX/in_activity_running_input
1565 KernelVersion: 3.19
1566 Contact: linux-iio@vger.kernel.org
1567 Description:
1568 This attribute is used to read the confidence for an activity
1569 expressed in units as percentage.
1571 What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
1572 KernelVersion: 2.6.38
1573 Contact: linux-iio@vger.kernel.org
1574 Description:
1575 This attribute is used to read the amount of quadrature error
1576 present in the device at a given time.
1578 What: /sys/.../iio:deviceX/in_accelY_power_mode
1579 KernelVersion: 3.11
1580 Contact: linux-iio@vger.kernel.org
1581 Description:
1582 Specifies the chip power mode.
1583 low_noise: reduce noise level from ADC,
1584 low_power: enable low current consumption.
1585 For a list of available output power modes read
1586 in_accel_power_mode_available.
1588 What: /sys/.../iio:deviceX/in_energy_input
1589 What: /sys/.../iio:deviceX/in_energy_raw
1590 What: /sys/.../iio:deviceX/in_energyY_active_raw
1591 What: /sys/.../iio:deviceX/in_energyY_reactive_raw
1592 What: /sys/.../iio:deviceX/in_energyY_apparent_raw
1593 KernelVersion: 4.0
1594 Contact: linux-iio@vger.kernel.org
1595 Description:
1596 This attribute is used to read the energy value reported by the
1597 device (e.g.: human activity sensors report energy burnt by the
1598 user). Units after application of scale are Joules.
1600 What: /sys/.../iio:deviceX/in_distance_input
1601 What: /sys/.../iio:deviceX/in_distance_raw
1602 KernelVersion: 4.0
1603 Contact: linux-iio@vger.kernel.org
1604 Description:
1605 This attribute is used to read the measured distance to an object
1606 or the distance covered by the user since the last reboot while
1607 activated. Units after application of scale are meters.
1609 What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
1610 KernelVersion: 3.4.0
1611 Contact: linux-iio@vger.kernel.org
1612 Description:
1613 Writing '1' stores the current device configuration into
1614 on-chip EEPROM. After power-up or chip reset the device will
1615 automatically load the saved configuration.
1617 What: /sys/.../iio:deviceX/in_proximity_raw
1618 What: /sys/.../iio:deviceX/in_proximity_input
1619 What: /sys/.../iio:deviceX/in_proximityY_raw
1620 KernelVersion: 3.4
1621 Contact: linux-iio@vger.kernel.org
1622 Description:
1623 Proximity measurement indicating that some
1624 object is near the sensor, usually by observing
1625 reflectivity of infrared or ultrasound emitted.
1627 Often these sensors are unit less and as such conversion
1628 to SI units is not possible. Higher proximity measurements
1629 indicate closer objects, and vice versa. Units after
1630 application of scale and offset are meters.
1632 What: /sys/.../iio:deviceX/in_illuminance_input
1633 What: /sys/.../iio:deviceX/in_illuminance_raw
1634 What: /sys/.../iio:deviceX/in_illuminanceY_input
1635 What: /sys/.../iio:deviceX/in_illuminanceY_raw
1636 What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
1637 What: /sys/.../iio:deviceX/in_illuminance_ir_raw
1638 What: /sys/.../iio:deviceX/in_illuminance_clear_raw
1639 KernelVersion: 3.4
1640 Contact: linux-iio@vger.kernel.org
1641 Description:
1642 Illuminance measurement, units after application of scale
1643 and offset are lux.
1645 What: /sys/.../iio:deviceX/in_intensityY_raw
1646 What: /sys/.../iio:deviceX/in_intensityY_ir_raw
1647 What: /sys/.../iio:deviceX/in_intensityY_both_raw
1648 What: /sys/.../iio:deviceX/in_intensityY_uv_raw
1649 What: /sys/.../iio:deviceX/in_intensityY_uva_raw
1650 What: /sys/.../iio:deviceX/in_intensityY_uvb_raw
1651 What: /sys/.../iio:deviceX/in_intensityY_duv_raw
1652 What: /sys/.../iio:deviceX/in_intensity_red_raw
1653 What: /sys/.../iio:deviceX/in_intensity_green_raw
1654 What: /sys/.../iio:deviceX/in_intensity_blue_raw
1655 What: /sys/.../iio:deviceX/in_intensity_clear_raw
1656 KernelVersion: 3.4
1657 Contact: linux-iio@vger.kernel.org
1658 Description:
1659 Unit-less light intensity. Modifiers both and ir indicate
1660 that measurements contain visible and infrared light
1661 components or just infrared light, respectively. Modifier
1662 uv indicates that measurements contain ultraviolet light
1663 components. Modifiers uva, uvb and duv indicate that
1664 measurements contain A, B or deep (C) ultraviolet light
1665 components respectively.
1667 What: /sys/.../iio:deviceX/in_uvindex_input
1668 KernelVersion: 4.6
1669 Contact: linux-iio@vger.kernel.org
1670 Description:
1671 UV light intensity index measuring the human skin's response to
1672 different wavelength of sunlight weighted according to the
1673 standardised CIE Erythemal Action Spectrum. UV index values range
1674 from 0 (low) to >=11 (extreme).
1676 What: /sys/.../iio:deviceX/in_intensity_integration_time
1677 What: /sys/.../iio:deviceX/in_intensity_red_integration_time
1678 What: /sys/.../iio:deviceX/in_intensity_green_integration_time
1679 What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
1680 What: /sys/.../iio:deviceX/in_intensity_clear_integration_time
1681 What: /sys/.../iio:deviceX/in_illuminance_integration_time
1682 KernelVersion: 3.12
1683 Contact: linux-iio@vger.kernel.org
1684 Description:
1685 This attribute is used to get/set the integration time in
1686 seconds. If shared across all channels of a given type,
1687 <type>_integration_time is used.
1689 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
1690 KernelVersion: 4.0
1691 Contact: linux-iio@vger.kernel.org
1692 Description:
1693 Number of seconds in which to compute speed.
1695 What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
1696 KernelVersion: 3.15
1697 Contact: linux-iio@vger.kernel.org
1698 Description:
1699 Raw value of quaternion components using a format
1700 x y z w. Here x, y, and z component represents the axis about
1701 which a rotation will occur and w component represents the
1702 amount of rotation.
1704 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1705 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1706 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1707 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1708 KernelVersion: 3.15
1709 Contact: linux-iio@vger.kernel.org
1710 Description:
1711 Raw value of rotation from true/magnetic north measured with
1712 or without compensation from tilt sensors.
1714 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
1715 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
1716 KernelVersion: 3.17
1717 Contact: linux-iio@vger.kernel.org
1718 Description:
1719 Raw current measurement from channel Y. Units are in milliamps
1720 after application of scale and offset. If no offset or scale is
1721 present, output should be considered as processed with the
1722 unit in milliamps. In special cases where the channel does not
1723 correspond to externally available input one of the named
1724 versions may be used.
1726 Channels with 'i' and 'q' modifiers always exist in pairs and both
1727 channels refer to the same signal. The 'i' channel contains the in-phase
1728 component of the signal while the 'q' channel contains the quadrature
1729 component.
1731 What: /sys/bus/iio/devices/iio:deviceX/in_altcurrentY_rms_raw
1732 KernelVersion: 6.18
1733 Contact: linux-iio@vger.kernel.org
1734 Description:
1735 Raw (unscaled no bias removal etc.) Root Mean Square (RMS) current
1736 measurement from channel Y. Units after application of scale and
1737 offset are milliamps.
1739 What: /sys/.../iio:deviceX/in_energy_en
1740 What: /sys/.../iio:deviceX/in_distance_en
1741 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
1742 What: /sys/.../iio:deviceX/in_steps_en
1743 KernelVersion: 3.19
1744 Contact: linux-iio@vger.kernel.org
1745 Description:
1746 Activates a device feature that runs in firmware/hardware.
1747 E.g. for steps: the pedometer saves power while not used;
1748 when activated, it will count the steps taken by the user in
1749 firmware and export them through in_steps_input.
1751 What: /sys/.../iio:deviceX/in_steps_input
1752 KernelVersion: 3.19
1753 Contact: linux-iio@vger.kernel.org
1754 Description:
1755 This attribute is used to read the number of steps taken by the user
1756 since the last reboot while activated.
1758 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
1759 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
1760 KernelVersion: 3.19
1761 Contact: linux-iio@vger.kernel.org
1762 Description:
1763 This attribute is used to read the current speed value of the
1764 user (which is the norm or magnitude of the velocity vector).
1765 Units after application of scale are m/s.
1767 What: /sys/.../iio:deviceX/in_steps_debounce_count
1768 KernelVersion: 4.0
1769 Contact: linux-iio@vger.kernel.org
1770 Description:
1771 Specifies the number of steps that must occur within
1772 in_steps_filter_debounce_time for the pedometer to decide the
1773 consumer is making steps.
1775 What: /sys/.../iio:deviceX/in_steps_debounce_time
1776 KernelVersion: 4.0
1777 Contact: linux-iio@vger.kernel.org
1778 Description:
1779 Specifies number of seconds in which we compute the steps
1780 that occur in order to decide if the consumer is making steps.
1782 What: /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
1783 KernelVersion: 5.11
1784 Contact: linux-iio@vger.kernel.org
1785 Description:
1786 A single positive integer specifying the maximum number of scan
1787 elements to wait for.
1789 Poll will block until the watermark is reached.
1791 Blocking read will wait until the minimum between the requested
1792 read amount or the low water mark is available.
1794 Non-blocking read will retrieve the available samples from the
1795 buffer even if there are less samples then watermark level. This
1796 allows the application to block on poll with a timeout and read
1797 the available samples after the timeout expires and thus have a
1798 maximum delay guarantee.
1800 What: /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
1801 KernelVersion: 5.11
1802 Contact: linux-iio@vger.kernel.org
1803 Description:
1804 A read-only value indicating the bytes of data available in the
1805 buffer. In the case of an output buffer, this indicates the
1806 amount of empty space available to write data to. In the case of
1807 an input buffer, this indicates the amount of data available for
1808 reading.
1810 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
1811 KernelVersion: 4.2
1812 Contact: linux-iio@vger.kernel.org
1813 Description:
1814 A read-only boolean value that indicates if the hardware fifo is
1815 currently enabled or disabled. If the device does not have a
1816 hardware fifo this entry is not present.
1817 The hardware fifo is enabled when the buffer is enabled if the
1818 current hardware fifo watermark level is set and other current
1819 device settings allows it (e.g. if a trigger is set that samples
1820 data differently that the hardware fifo does then hardware fifo
1821 will not enabled).
1823 If the hardware fifo is enabled and the level of the hardware
1824 fifo reaches the hardware fifo watermark level the device will
1825 flush its hardware fifo to the device buffer. Doing a non
1826 blocking read on the device when no samples are present in the
1827 device buffer will also force a flush.
1829 When the hardware fifo is enabled there is no need to use a
1830 trigger to use buffer mode since the watermark settings
1831 guarantees that the hardware fifo is flushed to the device
1832 buffer.
1834 What: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
1835 KernelVersion: 4.12
1836 Contact: linux-iio@vger.kernel.org
1837 Description:
1838 A read/write property to provide capability to delay reporting of
1839 samples till a timeout is reached. This allows host processors to
1840 sleep, while the sensor is storing samples in its internal fifo.
1841 The maximum timeout in seconds can be specified by setting
1842 hwfifo_timeout.The current delay can be read by reading
1843 hwfifo_timeout. A value of 0 means that there is no timeout.
1845 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
1846 KernelVersion: 4.2
1847 Contact: linux-iio@vger.kernel.org
1848 Description:
1849 Read-only entry that contains a single integer specifying the
1850 current watermark level for the hardware fifo. If the device
1851 does not have a hardware fifo this entry is not present.
1852 The watermark level for the hardware fifo is set by the driver
1853 based on the value set by the user in buffer/watermark but
1854 taking into account hardware limitations (e.g. most hardware
1855 buffers are limited to 32-64 samples, some hardware buffers
1856 watermarks are fixed or have minimum levels). A value of 0
1857 means that the hardware watermark is unset.
1859 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
1860 KernelVersion: 4.2
1861 Contact: linux-iio@vger.kernel.org
1862 Description:
1863 A single positive integer specifying the minimum watermark level
1864 for the hardware fifo of this device. If the device does not
1865 have a hardware fifo this entry is not present.
1867 If the user sets buffer/watermark to a value less than this one,
1868 then the hardware watermark will remain unset.
1870 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
1871 KernelVersion: 4.2
1872 Contact: linux-iio@vger.kernel.org
1873 Description:
1874 A single positive integer specifying the maximum watermark level
1875 for the hardware fifo of this device. If the device does not
1876 have a hardware fifo this entry is not present.
1878 If the user sets buffer/watermark to a value greater than this
1879 one, then the hardware watermark will be capped at this value.
1881 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
1882 KernelVersion: 4.2
1883 Contact: linux-iio@vger.kernel.org
1884 Description:
1885 A list of positive integers specifying the available watermark
1886 levels for the hardware fifo. This entry is optional and if it
1887 is not present it means that all the values between
1888 hwfifo_watermark_min and hwfifo_watermark_max are supported.
1890 If the user sets buffer/watermark to a value greater than
1891 hwfifo_watermak_min but not equal to any of the values in this
1892 list, the driver will chose an appropriate value for the
1893 hardware fifo watermark level.
1895 What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1896 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_calibemissivity
1897 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1898 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibemissivity
1899 KernelVersion: 4.1
1900 Contact: linux-iio@vger.kernel.org
1901 Description:
1902 The emissivity ratio of the surface in the field of view of the
1903 contactless temperature sensor. Emissivity varies from 0 to 1,
1904 with 1 being the emissivity of a black body.
1906 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
1907 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
1908 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
1909 KernelVersion: 4.2
1910 Contact: linux-iio@vger.kernel.org
1911 Description:
1912 Hardware applied number of measurements for acquiring one
1913 data point. The HW will do <type>[_name]_oversampling_ratio
1914 measurements and return the average value as output data. Each
1915 value resulted from <type>[_name]_oversampling_ratio measurements
1916 is considered as one sample for <type>[_name]_sampling_frequency.
1918 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
1919 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_raw
1920 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
1921 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_co2_raw
1922 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1923 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_ethanol_raw
1924 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1925 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_h2_raw
1926 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
1927 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_o2_raw
1928 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
1929 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_voc_raw
1930 KernelVersion: 4.3
1931 Contact: linux-iio@vger.kernel.org
1932 Description:
1933 Raw (unscaled no offset etc.) reading of a substance. Units
1934 after application of scale and offset are percents.
1936 What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1937 What: /sys/bus/iio/devices/iio:deviceX/in_resistanceY_raw
1938 What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1939 What: /sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw
1940 KernelVersion: 4.3
1941 Contact: linux-iio@vger.kernel.org
1942 Description:
1943 Raw (unscaled no offset etc.) resistance reading.
1944 Units after application of scale and offset are ohms.
1946 What: /sys/bus/iio/devices/iio:deviceX/heater_enable
1947 KernelVersion: 4.1.0
1948 Contact: linux-iio@vger.kernel.org
1949 Description:
1950 '1' (enable) or '0' (disable) specifying the enable
1951 of heater function. Same reading values apply.
1953 This ABI is especially applicable for humidity sensors
1954 to heatup the device and get rid of any condensation
1955 in some humidity environment
1957 What: /sys/bus/iio/devices/iio:deviceX/in_ph_raw
1958 KernelVersion: 4.5
1959 Contact: linux-iio@vger.kernel.org
1960 Description:
1961 Raw (unscaled no offset etc.) pH reading of a substance as a negative
1962 base-10 logarithm of hydrodium ions in a litre of water.
1964 What: /sys/bus/iio/devices/iio:deviceX/mount_matrix
1965 What: /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
1966 What: /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
1967 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
1968 What: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
1969 KernelVersion: 4.6
1970 Contact: linux-iio@vger.kernel.org
1971 Description:
1972 Mounting matrix for IIO sensors. This is a rotation matrix which
1973 informs userspace about sensor chip's placement relative to the
1974 main hardware it is mounted on.
1976 Main hardware placement is defined according to the local
1977 reference frame related to the physical quantity the sensor
1978 measures.
1980 Given that the rotation matrix is defined in a board specific
1981 way (platform data and / or device-tree), the main hardware
1982 reference frame definition is left to the implementor's choice
1983 (see below for a magnetometer example).
1985 Applications should apply this rotation matrix to samples so
1986 that when main hardware reference frame is aligned onto local
1987 reference frame, then sensor chip reference frame is also
1988 perfectly aligned with it.
1990 Matrix is a 3x3 unitary matrix and typically looks like
1991 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
1992 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
1993 are perfectly aligned with each other.
1995 For example, a mounting matrix for a magnetometer sensor informs
1996 userspace about sensor chip's ORIENTATION relative to the main
1997 hardware.
1999 More specifically, main hardware orientation is defined with
2000 respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
2002 * Y is in the ground plane and positive towards magnetic North ;
2003 * X is in the ground plane, perpendicular to the North axis and
2004 positive towards the East ;
2005 * Z is perpendicular to the ground plane and positive upwards.
2007 An implementor might consider that for a hand-held device, a
2008 'natural' orientation would be 'front facing camera at the top'.
2009 The main hardware reference frame could then be described as :
2011 * Y is in the plane of the screen and is positive towards the
2012 top of the screen ;
2013 * X is in the plane of the screen, perpendicular to Y axis, and
2014 positive towards the right hand side of the screen ;
2015 * Z is perpendicular to the screen plane and positive out of the
2016 screen.
2018 Another example for a quadrotor UAV might be :
2020 * Y is in the plane of the propellers and positive towards the
2021 front-view camera;
2022 * X is in the plane of the propellers, perpendicular to Y axis,
2023 and positive towards the starboard side of the UAV ;
2024 * Z is perpendicular to propellers plane and positive upwards.
2026 What: /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
2027 KernelVersion: 4.8
2028 Contact: linux-iio@vger.kernel.org
2029 Description:
2030 Raw (unscaled no offset etc.) electric conductivity reading.
2031 Units after application of scale and offset are siemens per
2032 meter.
2034 What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw
2035 KernelVersion: 4.10
2036 Contact: linux-iio@vger.kernel.org
2037 Description:
2038 This interface is deprecated; please use the Counter subsystem.
2040 Raw counter device counts from channel Y. For quadrature
2041 counters, multiplication by an available [Y]_scale results in
2042 the counts of a single quadrature signal phase from channel Y.
2044 What: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
2045 KernelVersion: 4.10
2046 Contact: linux-iio@vger.kernel.org
2047 Description:
2048 This interface is deprecated; please use the Counter subsystem.
2050 Raw counter device index value from channel Y. This attribute
2051 provides an absolute positional reference (e.g. a pulse once per
2052 revolution) which may be used to home positional systems as
2053 required.
2055 What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
2056 KernelVersion: 4.12
2057 Contact: linux-iio@vger.kernel.org
2058 Description:
2059 This interface is deprecated; please use the Counter subsystem.
2061 A list of possible counting directions which are:
2063 - "up" : counter device is increasing.
2064 - "down": counter device is decreasing.
2066 What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
2067 KernelVersion: 4.12
2068 Contact: linux-iio@vger.kernel.org
2069 Description:
2070 This interface is deprecated; please use the Counter subsystem.
2072 Raw counter device counters direction for channel Y.
2074 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
2075 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
2076 KernelVersion: 5.8
2077 Contact: linux-iio@vger.kernel.org
2078 Description:
2079 Optional symbolic label to a device channel.
2080 If a label is defined for this channel add that to the channel
2081 specific attributes. This is useful for userspace to be able to
2082 better identify an individual channel.
2084 What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
2085 KernelVersion: 4.18
2086 Contact: linux-iio@vger.kernel.org
2087 Description:
2088 Raw (unscaled) phase difference reading from channel Y.
2089 Units after application of scale and offset are radians.
2091 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
2092 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
2093 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
2094 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
2095 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
2096 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
2097 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
2098 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
2099 KernelVersion: 4.22
2100 Contact: linux-iio@vger.kernel.org
2101 Description:
2102 Mass concentration reading of particulate matter in ug / m3.
2103 pmX consists of particles with aerodynamic diameter less or
2104 equal to X micrometers.
2106 What: /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
2107 Date: November 2019
2108 KernelVersion: 5.4
2109 Contact: linux-iio@vger.kernel.org
2110 Description:
2111 List of valid periods (in seconds) for which the light intensity
2112 must be above the threshold level before interrupt is asserted.
2114 What: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
2115 KernelVersion: 5.5
2116 Contact: linux-iio@vger.kernel.org
2117 Description:
2118 Center frequency in Hz for a notch filter. Used i.e. for line
2119 noise suppression.
2121 What: /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
2122 KernelVersion: 5.5
2123 Contact: linux-iio@vger.kernel.org
2124 Description:
2125 One of the following thermocouple types: B, E, J, K, N, R, S, T.
2127 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
2128 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibambient
2129 KernelVersion: 5.10
2130 Contact: linux-iio@vger.kernel.org
2131 Description:
2132 Calibrated ambient temperature for object temperature
2133 calculation in milli degrees Celsius.
2135 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
2136 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
2137 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
2138 KernelVersion: 5.10
2139 Contact: linux-iio@vger.kernel.org
2140 Description:
2141 Unscaled light intensity according to CIE 1931/DIN 5033 color space.
2142 Units after application of scale are nano nanowatts per square meter.
2144 What: /sys/bus/iio/devices/iio:deviceX/in_anglY_label
2145 KernelVersion: 5.12
2146 Contact: linux-iio@vger.kernel.org
2147 Description:
2148 Optional symbolic label for channel Y.
2149 For Intel hid hinge sensor, the label values are:
2150 hinge, keyboard, screen. It means the three channels
2151 each correspond respectively to hinge angle, keyboard angle,
2152 and screen angle.
2154 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
2155 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
2156 KernelVersion: 5.12
2157 Contact: linux-iio@vger.kernel.org
2158 Description:
2159 Specify the percent for light sensor relative to the channel
2160 absolute value that a data field should change before an event
2161 is generated. Units are a percentage of the prior reading.
2163 What: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
2164 Date: June 2020
2165 KernelVersion: 5.8
2166 Contact: linux-iio@vger.kernel.org
2167 Description:
2168 Some sensors have the ability to apply auto calibration at
2169 runtime. For example, it may be necessary to compensate for
2170 contaminant build-up in a measurement chamber or optical
2171 element deterioration that would otherwise lead to sensor drift.
2173 Writing 1 or 0 to this attribute will respectively activate or
2174 deactivate this auto calibration function.
2176 Upon reading, the current status is returned.
2178 What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value
2179 Date: June 2020
2180 KernelVersion: 5.8
2181 Contact: linux-iio@vger.kernel.org
2182 Description:
2183 Some sensors have the ability to apply a manual calibration using
2184 a known measurement value, perhaps obtained from an external
2185 reference device.
2187 Writing a value to this function will force such a calibration
2188 change. For the scd30 the value should be from the range
2189 [400 1 2000].
2191 Note for the scd30 that a valid value may only be obtained once
2192 it is has been written. Until then any read back of this value
2193 should be ignored. As for the scd4x an error will be returned
2194 immediately if the manual calibration has failed.
2196 What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available
2197 KernelVersion: 5.15
2198 Contact: linux-iio@vger.kernel.org
2199 Description:
2200 Available range for the forced calibration value, expressed as:
2202 - a range specified as "[min step max]"
2204 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sampling_frequency
2205 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
2206 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_sampling_frequency
2207 KernelVersion: 5.20
2208 Contact: linux-iio@vger.kernel.org
2209 Description:
2210 Some devices have separate controls of sampling frequency for
2211 individual channels. If multiple channels are enabled in a scan,
2212 then the sampling_frequency of the scan may be computed from the
2213 per channel sampling frequencies.
2215 What: /sys/.../events/in_accel_gesture_singletap_en
2216 What: /sys/.../events/in_accel_gesture_doubletap_en
2217 KernelVersion: 6.1
2218 Contact: linux-iio@vger.kernel.org
2219 Description:
2220 Device generates an event on a single or double tap.
2222 What: /sys/.../events/in_accel_gesture_singletap_value
2223 What: /sys/.../events/in_accel_gesture_doubletap_value
2224 KernelVersion: 6.1
2225 Contact: linux-iio@vger.kernel.org
2226 Description:
2227 Specifies the threshold value that the device is comparing
2228 against to generate the tap gesture event. The lower
2229 threshold value increases the sensitivity of tap detection.
2230 Units and the exact meaning of value are device-specific.
2232 What: /sys/.../events/in_accel_gesture_tap_value_available
2233 KernelVersion: 6.1
2234 Contact: linux-iio@vger.kernel.org
2235 Description:
2236 Lists all available threshold values which can be used to
2237 modify the sensitivity of the tap detection.
2239 What: /sys/.../events/in_accel_gesture_singletap_reset_timeout
2240 What: /sys/.../events/in_accel_gesture_doubletap_reset_timeout
2241 KernelVersion: 6.1
2242 Contact: linux-iio@vger.kernel.org
2243 Description:
2244 Specifies the timeout value in seconds for the tap detector
2245 to not to look for another tap event after the event as
2246 occurred. Basically the minimum quiet time between the two
2247 single-tap's or two double-tap's.
2249 What: /sys/.../events/in_accel_gesture_tap_reset_timeout_available
2250 KernelVersion: 6.1
2251 Contact: linux-iio@vger.kernel.org
2252 Description:
2253 Lists all available tap reset timeout values. Units in seconds.
2255 What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
2256 KernelVersion: 6.1
2257 Contact: linux-iio@vger.kernel.org
2258 Description:
2259 Specifies the minimum quiet time in seconds between the two
2260 taps of a double tap.
2262 What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
2263 KernelVersion: 6.1
2264 Contact: linux-iio@vger.kernel.org
2265 Description:
2266 Lists all available delay values between two taps in the double
2267 tap. Units in seconds.
2269 What: /sys/.../events/in_accel_gesture_tap_maxtomin_time
2270 KernelVersion: 6.1
2271 Contact: linux-iio@vger.kernel.org
2272 Description:
2273 Specifies the maximum time difference allowed between upper
2274 and lower peak of tap to consider it as the valid tap event.
2275 Units in seconds.
2277 What: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available
2278 KernelVersion: 6.1
2279 Contact: linux-iio@vger.kernel.org
2280 Description:
2281 Lists all available time values between upper peak to lower
2282 peak. Units in seconds.
2284 What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
2285 What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
2286 What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
2287 KernelVersion: 6.1
2288 Contact: linux-iio@vger.kernel.org
2289 Description:
2290 Raw (unscaled) euler angles readings. Units after
2291 application of scale are deg.
2293 What: /sys/bus/iio/devices/iio:deviceX/serialnumber
2294 KernelVersion: 6.1
2295 Contact: linux-iio@vger.kernel.org
2296 Description:
2297 An example format is 16-bytes, 2-digits-per-byte, HEX-string
2298 representing the sensor unique ID number.
2300 What: /sys/bus/iio/devices/iio:deviceX/filter_type_available
2301 What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_type_available
2302 KernelVersion: 6.1
2303 Contact: linux-iio@vger.kernel.org
2304 Description:
2305 Reading returns a list with the possible filter modes. Options
2306 for the attribute:
2308 * "none" - Filter is disabled/bypassed.
2309 * "sinc1" - The digital sinc1 filter. Fast 1st
2310 conversion time. Poor noise performance.
2311 * "sinc3" - The digital sinc3 filter. Moderate 1st
2312 conversion time. Good noise performance.
2313 * "sinc3+pf1" - Sinc3 + device specific Post Filter 1.
2314 * "sinc3+pf2" - Sinc3 + device specific Post Filter 2.
2315 * "sinc3+pf3" - Sinc3 + device specific Post Filter 3.
2316 * "sinc3+pf4" - Sinc3 + device specific Post Filter 4.
2317 * "sinc3+rej60" - Sinc3 + 60Hz rejection.
2318 * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion
2319 time.
2320 * "sinc4" - Sinc 4. Excellent noise performance. Long
2321 1st conversion time.
2322 * "sinc4+lp" - Sinc4 + Low Pass Filter.
2323 * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion
2324 time.
2325 * "sinc4+rej60" - Sinc4 + 60Hz rejection.
2326 * "sinc5" - The digital sinc5 filter. Excellent noise
2327 performance
2328 * "sinc5+avg" - Sinc5 + averaging by 4.
2329 * "sinc5+pf1" - Sinc5 + device specific Post Filter 1.
2330 * "sinc5+sinc1" - Sinc5 + Sinc1.
2331 * "sinc5+sinc1+pf1" - Sinc5 + Sinc1 + device specific Post Filter 1.
2332 * "sinc5+sinc1+pf2" - Sinc5 + Sinc1 + device specific Post Filter 2.
2333 * "sinc5+sinc1+pf3" - Sinc5 + Sinc1 + device specific Post Filter 3.
2334 * "sinc5+sinc1+pf4" - Sinc5 + Sinc1 + device specific Post Filter 4.
2335 * "wideband" - filter with wideband low ripple passband
2336 and sharp transition band.
2338 What: /sys/bus/iio/devices/iio:deviceX/filter_type
2339 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_type
2340 KernelVersion: 6.1
2341 Contact: linux-iio@vger.kernel.org
2342 Description:
2343 Specifies which filter type apply to the channel. The possible
2344 values are given by the filter_type_available attribute.
2346 What: /sys/.../events/in_proximity_thresh_either_runningperiod
2347 KernelVersion: 6.6
2348 Contact: linux-iio@vger.kernel.org
2349 Description:
2350 A running period of time (in seconds) for which
2351 in_proximity_thresh_either_runningcount amount of conditions
2352 must occur before an event is generated. If direction is not
2353 specified then this period applies to both directions.
2355 What: /sys/.../events/in_proximity_thresh_either_runningcount
2356 KernelVersion: 6.6
2357 Contact: linux-iio@vger.kernel.org
2358 Description:
2359 Number of conditions that must occur, during a running
2360 period, before an event is generated.
2362 What: /sys/bus/iio/devices/iio:deviceX/in_colortemp_raw
2363 KernelVersion: 6.7
2364 Contact: linux-iio@vger.kernel.org
2365 Description:
2366 Represents light color temperature, which measures light color
2367 temperature in Kelvin.
2369 What: /sys/bus/iio/devices/iio:deviceX/in_chromaticity_x_raw
2370 What: /sys/bus/iio/devices/iio:deviceX/in_chromaticity_y_raw
2371 KernelVersion: 6.7
2372 Contact: linux-iio@vger.kernel.org
2373 Description:
2374 The x and y light color coordinate on the CIE 1931 chromaticity
2375 diagram.
2377 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_either_label
2378 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_rising_label
2379 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_falling_label
2380 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_rising_label
2381 What: /sys/bus/iio/devices/iio:deviceX/events/in_anglvelY_mag_rising_label
2382 What: /sys/bus/iio/devices/iio:deviceX/events/in_anglY_thresh_rising_label
2383 What: /sys/bus/iio/devices/iio:deviceX/events/in_phaseY_mag_rising_label
2384 KernelVersion: 6.7
2385 Contact: linux-iio@vger.kernel.org
2386 Description:
2387 Optional symbolic label to a device channel event.
2388 If a label is defined for this event add that to the event
2389 specific attributes. This is useful for userspace to be able to
2390 better identify an individual event.
2392 What: /sys/.../events/in_accel_gesture_tap_wait_timeout
2393 KernelVersion: 6.7
2394 Contact: linux-iio@vger.kernel.org
2395 Description:
2396 Enable tap gesture confirmation with timeout.
2398 What: /sys/.../events/in_accel_gesture_tap_wait_dur
2399 KernelVersion: 6.7
2400 Contact: linux-iio@vger.kernel.org
2401 Description:
2402 Timeout value in seconds for tap gesture confirmation.
2404 What: /sys/.../events/in_accel_gesture_tap_wait_dur_available
2405 KernelVersion: 6.7
2406 Contact: linux-iio@vger.kernel.org
2407 Description:
2408 List of available timeout value for tap gesture confirmation.
2410 What: /sys/.../iio:deviceX/in_shunt_resistor
2411 What: /sys/.../iio:deviceX/in_current_shunt_resistor
2412 What: /sys/.../iio:deviceX/in_power_shunt_resistor
2413 KernelVersion: 6.10
2414 Contact: linux-iio@vger.kernel.org
2415 Description:
2416 The value of current sense resistor in Ohms.
2418 What: /sys/.../iio:deviceX/in_attention_input
2419 KernelVersion: 6.13
2420 Contact: linux-iio@vger.kernel.org
2421 Description:
2422 Value representing the user's attention to the system expressed
2423 in units as percentage. This usually means if the user is
2424 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/triggerXKernel 내부 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/bufferDevice의 buffer와 관련된 attributes directory입니다.

IIO device name과 표준 label

29-85
항목전문 번역
What/sys/bus/iio/devices/iio:deviceX/name
KernelVersion2.6.35
Contactlinux-iio@vger.kernel.org
DescriptionDevice X의 physical chip/device 설명입니다. 일반적으로 part number입니다.
항목전문 번역
What/sys/bus/iio/devices/iio:deviceX/label
KernelVersion5.8
Contactlinux-iio@vger.kernel.org
DescriptionDevice의 선택적 symbolic label입니다. Userspace가 개별 device를 더 잘 식별하는 데 유용합니다. Label 내용은 free-form이지만 아래와 같은 표준 용도가 있습니다.
표준 label전문 번역
proximity-wifi특정 WLAN antenna와 사람 사이의 proximity를 나타냅니다.
proximity-lte특정 WWAN/LTE antenna와 사람 사이의 proximity를 나타냅니다.
proximity-wifi-lteWi-Fi와 LTE antennas에 관련된 proximity를 나타냅니다.
proximity-wifi-left여러 antennas가 있는 device의 왼쪽 Wi-Fi antenna proximity를 나타냅니다.
proximity-wifi-right여러 antennas가 있는 device의 오른쪽 Wi-Fi antenna proximity를 나타냅니다.
proximity-palmrestKeyboard palmrest와의 proximity를 나타냅니다.
proximity-palmrest-leftPalmrest 왼쪽 부분과의 proximity를 나타냅니다.
proximity-palmrest-rightPalmrest 오른쪽 부분과의 proximity를 나타냅니다.
proximity-lapDevice가 사용자의 lap 위에서 사용 중임을 나타냅니다. 이 값은 raw sensor reading이 아니라 firmware가 다른 sensor readings로 계산할 수 있다는 점에서 특별합니다.
accel-base360° yoga-style hinge가 있는 2-in-1의 base에 있는 accelerometer를 나타냅니다.
accel-display360° yoga-style hinge가 있는 2-in-1의 display에 있는 accelerometer를 나타냅니다.
accel-cameraAR 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
KernelVersion4.5
Contactlinux-iio@vger.kernel.org
DescriptionDevice X의 buffered samples와 events에 timestamp를 지정할 때 사용하는 현재 POSIX clock을 식별하는 string입니다.

Sampling frequency와 available values

94-127
What공통 metadata
/sys/bus/iio/devices/iio:deviceX/sampling_frequencyKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequencyKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequencyKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/events/sampling_frequencyKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/triggerX/sampling_frequencyKernelVersion 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_availableKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_availableKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_availableKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/.../iio:deviceX/buffer/sampling_frequency_availableKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/triggerX/sampling_frequency_availableKernelVersion 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
WhatKernelVersion / Contact전문 번역
/sys/bus/iio/devices/iio:deviceX/oversampling_ratio2.6.38 / linux-iio@vger.kernel.orgHardware-dependent ADC oversampling입니다. 사용할 수 있는 경우 digital filter의 sampling ratio를 제어합니다.
/sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available2.6.38 / linux-iio@vger.kernel.orgOversampling filter가 지원하는 hardware-dependent values입니다.

Voltage raw, differential와 RMS channels

142-176
WhatKernelVersion / Contact전문 번역
/sys/bus/iio/devices/iio:deviceX/in_voltageY_raw2.6.35 / linux-iio@vger.kernel.orgChannel 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_raw2.6.35 / linux-iio@vger.kernel.orgSupply로 이름 붙인 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
KernelVersion2.6.35
Contactlinux-iio@vger.kernel.org
DescriptionChannel 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
KernelVersion6.18
Contactlinux-iio@vger.kernel.org
DescriptionChannel 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_rawKernelVersion 4.5 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_powerY_active_rawKernelVersion 4.5 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_powerY_reactive_rawKernelVersion 4.5 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_powerY_apparent_rawKernelVersion 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
KernelVersion6.18
Contactlinux-iio@vger.kernel.org
DescriptionChannel 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
KernelVersion3.2
Contactlinux-iio@vger.kernel.org
DescriptionChannel Y의 raw capacitance measurement입니다. Scale과 offset 적용 뒤의 단위는 nanofarads입니다.
항목전문 번역
What/sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
KernelVersion3.2
Contactlinux-iio@vger.kernel.org
DescriptionChannel 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
KernelVersion6.1
Contactlinux-iio@vger.kernel.org
DescriptionDifferential 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_rawKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_tempY_rawKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_temp_x_rawKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_temp_y_rawKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_temp_ambient_rawKernelVersion 2.6.35 / linux-iio@vger.kernel.org
/sys/bus/iio/devices/iio:deviceX/in_temp_object_rawKernelVersion 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입니다.

WhatKernelVersion / Contact전문 번역
/sys/bus/iio/devices/iio:deviceX/in_tempY_input2.6.38 / linux-iio@vger.kernel.orgMilli-degrees Celsius 단위의 scaled temperature measurement입니다.
/sys/bus/iio/devices/iio:deviceX/in_temp_input2.6.38 / linux-iio@vger.kernel.orgMilli-degrees Celsius 단위의 scaled temperature measurement입니다.

Acceleration, gravity와 delta measurements

258-315
WhatKernelVersion / 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_raw2.6.35 / linux-iio@vger.kernel.orgx, 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_raw6.1 / linux-iio@vger.kernel.orgin_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_raw4.11 / linux-iio@vger.kernel.orgx, 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_raw6.5 / linux-iio@vger.kernel.orgx, 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_raw6.5 / linux-iio@vger.kernel.orgx, 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
WhatKernelVersion / Contact전문 번역
/sys/bus/iio/devices/iio:deviceX/in_angl_raw /sys/bus/iio/devices/iio:deviceX/in_anglY_raw4.17 / linux-iio@vger.kernel.orgRotation angle입니다. Scale과 offset 적용 뒤의 단위는 radians입니다.
/sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw4.19 / linux-iio@vger.kernel.orgPad의 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_raw2.6.35 / linux-iio@vger.kernel.orgx, 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_raw2.6.35 / linux-iio@vger.kernel.orgx, 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_raw2.6.35 / linux-iio@vger.kernel.orgx, y 또는 z axis를 따르는 magnetic field입니다. 축은 임의로 지정할 수 있습니다. Offset을 적용한 뒤 scale을 적용하여 Gauss로 변환합니다.

Peak, trough와 squared-magnitude peak

368-394
WhatKernelVersion / 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_raw2.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_raw6.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_raw2.6.36 / linux-iio@vger.kernel.org지정한 directions의 underlying values에 대한 sum-squared magnitude를 기반으로 계산한 peak value입니다.

Pressure, humidity와 averaged raw values

396-430
WhatKernelVersion / Contact전문 번역
/sys/bus/iio/devices/iio:deviceX/in_pressureY_raw /sys/bus/iio/devices/iio:deviceX/in_pressure_raw3.8 / linux-iio@vger.kernel.orgChannel Y의 raw pressure measurement입니다. Scale과 offset 적용 뒤의 단위는 kilopascal입니다.
/sys/bus/iio/devices/iio:deviceX/in_pressureY_input /sys/bus/iio/devices/iio:deviceX/in_pressure_input3.8 / linux-iio@vger.kernel.orgChannel Y의 scaled pressure measurement이며 단위는 kilopascal입니다.
/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw3.14 / linux-iio@vger.kernel.orgAir의 raw humidity measurement입니다. Scale과 offset 적용 뒤의 단위는 milli-percent입니다.
/sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input3.14 / linux-iio@vger.kernel.orgMilli-percent 단위의 scaled humidity measurement입니다.
/sys/bus/iio/devices/iio:deviceX/in_Y_mean_raw3.5 / linux-iio@vger.kernel.orgChannel 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
KernelVersion6.17
Contactlinux-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
KernelVersion6.16
Contactlinux-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
KernelVersion4.0
Contactlinux-iio@vger.kernel.org
Descriptionkg 단위의 사용자 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
KernelVersion5.10
Contactlinux-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_gnd1kOhm resistor를 통해 ground에 연결합니다.
2.5kohm_to_gnd2.5kOhm resistor를 통해 ground에 연결합니다.
6kohm_to_gnd6kOhm resistor를 통해 ground에 연결합니다.
7.7kohm_to_gnd7.7kOhm resistor를 통해 ground에 연결합니다.
20kohm_to_gnd20kOhm resistor를 통해 ground에 연결합니다.
32kohm_to_gnd32kOhm resistor를 통해 ground에 연결합니다.
42kohm_to_gnd42kOhm resistor를 통해 ground에 연결합니다.
90kohm_to_gnd90kOhm resistor를 통해 ground에 연결합니다.
100kohm_to_gnd100kOhm resistor를 통해 ground에 연결합니다.
125kohm_to_gnd125kOhm resistor를 통해 ground에 연결합니다.
500kohm_to_gnd500kOhm resistor를 통해 ground에 연결합니다.
640kohm_to_gnd640kOhm resistor를 통해 ground에 연결합니다.
three_stateFloating 상태로 둡니다.

사용할 수 있는 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
KernelVersion3.4.0
Contactlinux-iio@vger.kernel.org
DescriptionChannel Y의 output frequency이며 단위는 Hz입니다. Output이 single channel에 대응하면 number를 항상 지정해야 하고 고유해야 합니다.
ADF4371 channel전문 번역
VCOIntegrated VCO의 fundamental output frequency 범위는 4000000000 Hz에서 8000000000 Hz입니다.
out_altvoltage0_frequency1, 2, 4, 8, 16 또는 32로 divide하는 circuit이 62500000 Hz에서 8000000000 Hz까지의 frequencies를 생성합니다.
out_altvoltage1_frequencyChannel 0 frequency를 복제합니다.
out_altvoltage2_frequencyFrequency doubler가 8000000000 Hz에서 16000000000 Hz까지의 frequencies를 생성합니다.
out_altvoltage3_frequencyFrequency 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
Date2012년 5월
KernelVersion3.5
ContactJohan Hovold <jhovold@gmail.com>
DescriptionChannel 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
KernelVersion2.6.35
Contactlinux-iio@vger.kernel.org
DescriptionHardware가 생성한 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_noiseADC의 잡음 수준을 낮춥니다.
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+pf1Sinc3 + 장치별 Post Filter 1입니다.
sinc3+pf2Sinc3 + 장치별 Post Filter 2입니다.
sinc3+pf3Sinc3 + 장치별 Post Filter 3입니다.
sinc3+pf4Sinc3 + 장치별 Post Filter 4입니다.
sinc3+rej60Sinc3 + 60 Hz 제거입니다.
sinc3+sinc1Sinc3 + 8회 평균입니다. 첫 변환 시간이 짧습니다.
sinc4Sinc4입니다. 잡음 성능이 매우 좋지만 첫 변환 시간이 깁니다.
sinc4+lpSinc4 + Low Pass Filter입니다.
sinc4+sinc1Sinc4 + 8회 평균입니다. 첫 변환 시간이 짧습니다.
sinc4+rej60Sinc4 + 60 Hz 제거입니다.
sinc5디지털 sinc5 필터입니다. 잡음 성능이 매우 좋습니다.
sinc5+avgSinc5 + 4회 평균입니다.
sinc5+pf1Sinc5 + 장치별 Post Filter 1입니다.
sinc5+sinc1Sinc5 + Sinc1입니다.
sinc5+sinc1+pf1Sinc5 + Sinc1 + 장치별 Post Filter 1입니다.
sinc5+sinc1+pf2Sinc5 + Sinc1 + 장치별 Post Filter 2입니다.
sinc5+sinc1+pf3Sinc5 + Sinc1 + 장치별 Post Filter 3입니다.
sinc5+sinc1+pf4Sinc5 + 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을 백분율 단위로 나타내는 값입니다. 일반적으로 사용자가 화면을 보고 있는지를 의미합니다.