Debian Codegraph @

Documentation/ABI/testing/sysfs-bus-iio

raw
1 What: /sys/bus/iio/devices/iio:deviceX
2 KernelVersion: 2.6.35
3 Contact: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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: [email protected]
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 <[email protected]>
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: [email protected]
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 What: /sys/.../iio:deviceX/events/in_pressure_thresh_rising_en
902 KernelVersion: 2.6.37
903 Contact: [email protected]
904 Description:
905 Event generated when channel passes a threshold in the specified
906 (_rising|_falling) direction. If the direction is not specified,
907 then either the device will report an event which ever direction
908 a single threshold value is passed in (e.g.
909 <type>[Y][_name]_<raw|input>_thresh_value) or
910 <type>[Y][_name]_<raw|input>_thresh_rising_value and
911 <type>[Y][_name]_<raw|input>_thresh_falling_value may take
912 different values, but the device can only enable both thresholds
913 or neither.
914
915 Note the driver will assume the last p events requested are
916 to be enabled where p is how many it supports (which may vary
917 depending on the exact set requested. So if you want to be
918 sure you have set what you think you have, check the contents of
919 these attributes after everything is configured. Drivers may
920 have to buffer any parameters so that they are consistent when
921 a given event type is enabled at a future point (and not those for
922 whatever event was previously enabled).
923
924 What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
925 What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
926 What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
927 What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
928 What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
929 What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
930 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_roc_rising_en
931 What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
932 What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
933 What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
934 What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
935 What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
936 What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
937 What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
938 What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
939 What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
940 What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
941 What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
942 What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
943 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
944 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
945 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
946 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
947 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
948 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
949 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
950 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
951 What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
952 What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
953 What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
954 What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
955 What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
956 What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
957 KernelVersion: 2.6.37
958 Contact: [email protected]
959 Description:
960 Event generated when channel passes a threshold on the rate of
961 change (1st differential) in the specified (_rising|_falling)
962 direction. If the direction is not specified, then either the
963 device will report an event which ever direction a single
964 threshold value is passed in (e.g.
965 <type>[Y][_name]_<raw|input>_roc_value) or
966 <type>[Y][_name]_<raw|input>_roc_rising_value and
967 <type>[Y][_name]_<raw|input>_roc_falling_value may take
968 different values, but the device can only enable both rate of
969 change thresholds or neither.
970
971 Note the driver will assume the last p events requested are
972 to be enabled where p is however many it supports (which may
973 vary depending on the exact set requested. So if you want to be
974 sure you have set what you think you have, check the contents of
975 these attributes after everything is configured. Drivers may
976 have to buffer any parameters so that they are consistent when
977 a given event type is enabled a future point (and not those for
978 whatever event was previously enabled).
979
980 What: /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
981 What: /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
982 KernelVersion: 5.13
983 Contact: [email protected]
984 Description:
985 Adaptive thresholds are similar to normal fixed thresholds
986 but the value is expressed as an offset from a value which
987 provides a low frequency approximation of the channel itself.
988 Thus these detect if a rapid change occurs in the specified
989 direction which crosses tracking value + offset.
990 Tracking value calculation is devices specific.
991
992 What: /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
993 What: /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
994 KernelVersion: 5.11
995 Contact: [email protected]
996 Description:
997 When adaptive thresholds are used, the tracking signal
998 may adjust too slowly to step changes in the raw signal.
999 Thus these specify the time in seconds for which the
1000 difference between the slow tracking signal and the raw
1001 signal is allowed to remain out-of-range before a reset
1002 event occurs in which the tracking signal is made equal
1003 to the raw signal, allowing slow tracking to resume and the
1004 adaptive threshold event detection to function as expected.
1005
1006 What: /sys/.../events/in_accel_mag_adaptive_rising_value
1007 What: /sys/.../events/in_accel_thresh_rising_value
1008 What: /sys/.../events/in_accel_thresh_falling_value
1009 What: /sys/.../events/in_accel_x_raw_thresh_rising_value
1010 What: /sys/.../events/in_accel_x_raw_thresh_falling_value
1011 What: /sys/.../events/in_accel_y_raw_thresh_rising_value
1012 What: /sys/.../events/in_accel_y_raw_thresh_falling_value
1013 What: /sys/.../events/in_accel_z_raw_thresh_rising_value
1014 What: /sys/.../events/in_accel_z_raw_thresh_falling_value
1015 What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value
1016 What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value
1017 What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value
1018 What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value
1019 What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value
1020 What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value
1021 What: /sys/.../events/in_magn_x_raw_thresh_rising_value
1022 What: /sys/.../events/in_magn_x_raw_thresh_falling_value
1023 What: /sys/.../events/in_magn_y_raw_thresh_rising_value
1024 What: /sys/.../events/in_magn_y_raw_thresh_falling_value
1025 What: /sys/.../events/in_magn_z_raw_thresh_rising_value
1026 What: /sys/.../events/in_magn_z_raw_thresh_falling_value
1027 What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
1028 What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
1029 What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
1030 What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
1031 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
1032 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
1033 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
1034 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
1035 What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
1036 What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
1037 What: /sys/.../events/in_voltageY_raw_thresh_rising_value
1038 What: /sys/.../events/in_voltageY_raw_thresh_falling_value
1039 What: /sys/.../events/in_tempY_raw_thresh_rising_value
1040 What: /sys/.../events/in_tempY_raw_thresh_falling_value
1041 What: /sys/.../events/in_illuminance0_thresh_falling_value
1042 What: /sys/.../events/in_illuminance0_thresh_rising_value
1043 What: /sys/.../events/in_proximity0_thresh_falling_value
1044 What: /sys/.../events/in_proximity0_thresh_rising_value
1045 What: /sys/.../events/in_illuminance_thresh_rising_value
1046 What: /sys/.../events/in_illuminance_thresh_falling_value
1047 What: /sys/.../events/in_capacitanceY_thresh_rising_value
1048 What: /sys/.../events/in_capacitanceY_thresh_falling_value
1049 What: /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
1050 What: /sys/.../events/in_capacitanceY_thresh_falling_rising_value
1051 What: /sys/.../events/in_pressure_thresh_rising_value
1052 KernelVersion: 2.6.37
1053 Contact: [email protected]
1054 Description:
1055 Specifies the value of threshold that the device is comparing
1056 against for the events enabled by
1057 <type>Y[_name]_thresh[_rising|falling]_en.
1058
1059 If separate attributes exist for the two directions, but
1060 direction is not specified for this attribute, then a single
1061 threshold value applies to both directions.
1062
1063 The raw or input element of the name indicates whether the
1064 value is in raw device units or in processed units (as _raw
1065 and _input do on sysfs direct channel read attributes).
1066
1067 What: /sys/.../events/in_accel_scale
1068 What: /sys/.../events/in_accel_peak_scale
1069 What: /sys/.../events/in_anglvel_scale
1070 What: /sys/.../events/in_magn_scale
1071 What: /sys/.../events/in_rot_from_north_magnetic_scale
1072 What: /sys/.../events/in_rot_from_north_true_scale
1073 What: /sys/.../events/in_voltage_scale
1074 What: /sys/.../events/in_voltage_supply_scale
1075 What: /sys/.../events/in_temp_scale
1076 What: /sys/.../events/in_illuminance_scale
1077 What: /sys/.../events/in_proximity_scale
1078 KernelVersion: 3.21
1079 Contact: [email protected]
1080 Description:
1081 Specifies the conversion factor from the standard units
1082 to device specific units used to set the event trigger
1083 threshold.
1084
1085 What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
1086 What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
1087 What: /sys/.../events/in_accel_x_thresh_either_hysteresis
1088 What: /sys/.../events/in_accel_y_thresh_rising_hysteresis
1089 What: /sys/.../events/in_accel_y_thresh_falling_hysteresis
1090 What: /sys/.../events/in_accel_y_thresh_either_hysteresis
1091 What: /sys/.../events/in_accel_z_thresh_rising_hysteresis
1092 What: /sys/.../events/in_accel_z_thresh_falling_hysteresis
1093 What: /sys/.../events/in_accel_z_thresh_either_hysteresis
1094 What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
1095 What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
1096 What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis
1097 What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
1098 What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
1099 What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis
1100 What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
1101 What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
1102 What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis
1103 What: /sys/.../events/in_magn_x_thresh_rising_hysteresis
1104 What: /sys/.../events/in_magn_x_thresh_falling_hysteresis
1105 What: /sys/.../events/in_magn_x_thresh_either_hysteresis
1106 What: /sys/.../events/in_magn_y_thresh_rising_hysteresis
1107 What: /sys/.../events/in_magn_y_thresh_falling_hysteresis
1108 What: /sys/.../events/in_magn_y_thresh_either_hysteresis
1109 What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
1110 What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
1111 What: /sys/.../events/in_magn_z_thresh_either_hysteresis
1112 What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
1113 What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
1114 What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
1115 What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
1116 What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
1117 What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
1118 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
1119 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
1120 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
1121 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
1122 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
1123 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
1124 What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
1125 What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
1126 What: /sys/.../events/in_voltageY_thresh_either_hysteresis
1127 What: /sys/.../events/in_tempY_thresh_rising_hysteresis
1128 What: /sys/.../events/in_tempY_thresh_falling_hysteresis
1129 What: /sys/.../events/in_tempY_thresh_either_hysteresis
1130 What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis
1131 What: /sys/.../events/in_illuminance0_thresh_rising_hysteresis
1132 What: /sys/.../events/in_illuminance0_thresh_either_hysteresis
1133 What: /sys/.../events/in_proximity0_thresh_falling_hysteresis
1134 What: /sys/.../events/in_proximity0_thresh_rising_hysteresis
1135 What: /sys/.../events/in_proximity0_thresh_either_hysteresis
1136 KernelVersion: 3.13
1137 Contact: [email protected]
1138 Description:
1139 Specifies the hysteresis of threshold that the device is comparing
1140 against for the events enabled by
1141 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
1142 If separate attributes exist for the two directions, but
1143 direction is not specified for this attribute, then a single
1144 hysteresis value applies to both directions.
1145
1146 For falling events the hysteresis is added to the _value attribute for
1147 this event to get the upper threshold for when the event goes back to
1148 normal, for rising events the hysteresis is subtracted from the _value
1149 attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
1150 and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
1151 will get activated once in_voltage0_raw goes above 1200 and will become
1152 deactivated again once the value falls below 1150.
1153
1154 What: /sys/.../events/in_accel_roc_rising_value
1155 What: /sys/.../events/in_accel_x_raw_roc_rising_value
1156 What: /sys/.../events/in_accel_x_raw_roc_falling_value
1157 What: /sys/.../events/in_accel_y_raw_roc_rising_value
1158 What: /sys/.../events/in_accel_y_raw_roc_falling_value
1159 What: /sys/.../events/in_accel_z_raw_roc_rising_value
1160 What: /sys/.../events/in_accel_z_raw_roc_falling_value
1161 What: /sys/.../events/in_anglvel_x_raw_roc_rising_value
1162 What: /sys/.../events/in_anglvel_x_raw_roc_falling_value
1163 What: /sys/.../events/in_anglvel_y_raw_roc_rising_value
1164 What: /sys/.../events/in_anglvel_y_raw_roc_falling_value
1165 What: /sys/.../events/in_anglvel_z_raw_roc_rising_value
1166 What: /sys/.../events/in_anglvel_z_raw_roc_falling_value
1167 What: /sys/.../events/in_magn_x_raw_roc_rising_value
1168 What: /sys/.../events/in_magn_x_raw_roc_falling_value
1169 What: /sys/.../events/in_magn_y_raw_roc_rising_value
1170 What: /sys/.../events/in_magn_y_raw_roc_falling_value
1171 What: /sys/.../events/in_magn_z_raw_roc_rising_value
1172 What: /sys/.../events/in_magn_z_raw_roc_falling_value
1173 What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
1174 What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
1175 What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
1176 What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
1177 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
1178 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
1179 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
1180 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
1181 What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
1182 What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
1183 What: /sys/.../events/in_voltageY_raw_roc_rising_value
1184 What: /sys/.../events/in_voltageY_raw_roc_falling_value
1185 What: /sys/.../events/in_tempY_raw_roc_rising_value
1186 What: /sys/.../events/in_tempY_raw_roc_falling_value
1187 KernelVersion: 2.6.37
1188 Contact: [email protected]
1189 Description:
1190 Specifies the value of rate of change threshold that the
1191 device is comparing against for the events enabled by
1192 <type>[Y][_name]_roc[_rising|falling]_en.
1193
1194 If separate attributes exist for the two directions,
1195 but direction is not specified for this attribute,
1196 then a single threshold value applies to both directions.
1197 The raw or input element of the name indicates whether the
1198 value is in raw device units or in processed units (as _raw
1199 and _input do on sysfs direct channel read attributes).
1200
1201 What: /sys/.../events/in_accel_mag_adaptive_rising_period
1202 What: /sys/.../events/in_accel_roc_rising_period
1203 What: /sys/.../events/in_accel_x_thresh_rising_period
1204 What: /sys/.../events/in_accel_x_thresh_falling_period
1205 What: /sys/.../events/in_accel_x_roc_rising_period
1206 What: /sys/.../events/in_accel_x_roc_falling_period
1207 What: /sys/.../events/in_accel_y_thresh_rising_period
1208 What: /sys/.../events/in_accel_y_thresh_falling_period
1209 What: /sys/.../events/in_accel_y_roc_rising_period
1210 What: /sys/.../events/in_accel_y_roc_falling_period
1211 What: /sys/.../events/in_accel_z_thresh_rising_period
1212 What: /sys/.../events/in_accel_z_thresh_falling_period
1213 What: /sys/.../events/in_accel_z_roc_rising_period
1214 What: /sys/.../events/in_accel_z_roc_falling_period
1215 What: /sys/.../events/in_anglvel_x_thresh_rising_period
1216 What: /sys/.../events/in_anglvel_x_thresh_falling_period
1217 What: /sys/.../events/in_anglvel_x_roc_rising_period
1218 What: /sys/.../events/in_anglvel_x_roc_falling_period
1219 What: /sys/.../events/in_anglvel_y_thresh_rising_period
1220 What: /sys/.../events/in_anglvel_y_thresh_falling_period
1221 What: /sys/.../events/in_anglvel_y_roc_rising_period
1222 What: /sys/.../events/in_anglvel_y_roc_falling_period
1223 What: /sys/.../events/in_anglvel_z_thresh_rising_period
1224 What: /sys/.../events/in_anglvel_z_thresh_falling_period
1225 What: /sys/.../events/in_anglvel_z_roc_rising_period
1226 What: /sys/.../events/in_anglvel_z_roc_falling_period
1227 What: /sys/.../events/in_magn_x_thresh_rising_period
1228 What: /sys/.../events/in_magn_x_thresh_falling_period
1229 What: /sys/.../events/in_magn_x_roc_rising_period
1230 What: /sys/.../events/in_magn_x_roc_falling_period
1231 What: /sys/.../events/in_magn_y_thresh_rising_period
1232 What: /sys/.../events/in_magn_y_thresh_falling_period
1233 What: /sys/.../events/in_magn_y_roc_rising_period
1234 What: /sys/.../events/in_magn_y_roc_falling_period
1235 What: /sys/.../events/in_magn_z_thresh_rising_period
1236 What: /sys/.../events/in_magn_z_thresh_falling_period
1237 What: /sys/.../events/in_magn_z_roc_rising_period
1238 What: /sys/.../events/in_magn_z_roc_falling_period
1239 What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
1240 What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
1241 What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
1242 What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
1243 What: /sys/.../events/in_rot_from_north_true_thresh_rising_period
1244 What: /sys/.../events/in_rot_from_north_true_thresh_falling_period
1245 What: /sys/.../events/in_rot_from_north_true_roc_rising_period
1246 What: /sys/.../events/in_rot_from_north_true_roc_falling_period
1247 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
1248 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
1249 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
1250 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
1251 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
1252 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
1253 What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
1254 What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
1255 What: /sys/.../events/in_voltageY_supply_thresh_rising_period
1256 What: /sys/.../events/in_voltageY_supply_thresh_falling_period
1257 What: /sys/.../events/in_voltageY_supply_roc_rising_period
1258 What: /sys/.../events/in_voltageY_supply_roc_falling_period
1259 What: /sys/.../events/in_voltageY_thresh_rising_period
1260 What: /sys/.../events/in_voltageY_thresh_falling_period
1261 What: /sys/.../events/in_voltageY_roc_rising_period
1262 What: /sys/.../events/in_voltageY_roc_falling_period
1263 What: /sys/.../events/in_tempY_thresh_rising_period
1264 What: /sys/.../events/in_tempY_thresh_falling_period
1265 What: /sys/.../events/in_tempY_roc_rising_period
1266 What: /sys/.../events/in_tempY_roc_falling_period
1267 What: /sys/.../events/in_accel_x&y&z_mag_falling_period
1268 What: /sys/.../events/in_intensity0_thresh_period
1269 What: /sys/.../events/in_proximity0_thresh_period
1270 What: /sys/.../events/in_activity_still_thresh_rising_period
1271 What: /sys/.../events/in_activity_still_thresh_falling_period
1272 What: /sys/.../events/in_activity_walking_thresh_rising_period
1273 What: /sys/.../events/in_activity_walking_thresh_falling_period
1274 What: /sys/.../events/in_activity_jogging_thresh_rising_period
1275 What: /sys/.../events/in_activity_jogging_thresh_falling_period
1276 What: /sys/.../events/in_activity_running_thresh_rising_period
1277 What: /sys/.../events/in_activity_running_thresh_falling_period
1278 What: /sys/.../events/in_illuminance_thresh_either_period
1279 KernelVersion: 2.6.37
1280 Contact: [email protected]
1281 Description:
1282 Period of time (in seconds) for which the condition must be
1283 met before an event is generated. If direction is not
1284 specified then this period applies to both directions.
1285
1286 What: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
1287 What: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
1288 What: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
1289 KernelVersion: 4.2
1290 Contact: [email protected]
1291 Description:
1292 If a low pass filter can be applied to the event generation
1293 this property gives its 3db frequency in Hz.
1294 A value of zero disables the filter.
1295
1296 What: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
1297 What: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
1298 What: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
1299 KernelVersion: 4.2
1300 Contact: [email protected]
1301 Description:
1302 If a high pass filter can be applied to the event generation
1303 this property gives its 3db frequency in Hz.
1304 A value of zero disables the filter.
1305
1306 What: /sys/.../events/in_activity_still_thresh_rising_en
1307 What: /sys/.../events/in_activity_still_thresh_falling_en
1308 What: /sys/.../events/in_activity_walking_thresh_rising_en
1309 What: /sys/.../events/in_activity_walking_thresh_falling_en
1310 What: /sys/.../events/in_activity_jogging_thresh_rising_en
1311 What: /sys/.../events/in_activity_jogging_thresh_falling_en
1312 What: /sys/.../events/in_activity_running_thresh_rising_en
1313 What: /sys/.../events/in_activity_running_thresh_falling_en
1314 KernelVersion: 3.19
1315 Contact: [email protected]
1316 Description:
1317 Enables or disables activity events. Depending on direction
1318 an event is generated when sensor ENTERS or LEAVES a given state.
1319
1320 What: /sys/.../events/in_activity_still_thresh_rising_value
1321 What: /sys/.../events/in_activity_still_thresh_falling_value
1322 What: /sys/.../events/in_activity_walking_thresh_rising_value
1323 What: /sys/.../events/in_activity_walking_thresh_falling_value
1324 What: /sys/.../events/in_activity_jogging_thresh_rising_value
1325 What: /sys/.../events/in_activity_jogging_thresh_falling_value
1326 What: /sys/.../events/in_activity_running_thresh_rising_value
1327 What: /sys/.../events/in_activity_running_thresh_falling_value
1328 KernelVersion: 3.19
1329 Contact: [email protected]
1330 Description:
1331 Confidence value (in units as percentage) to be used
1332 for deciding when an event should be generated. E.g for
1333 running: If the confidence value reported by the sensor
1334 is greater than in_activity_running_thresh_rising_value
1335 then the sensor ENTERS running state. Conversely, if the
1336 confidence value reported by the sensor is lower than
1337 in_activity_running_thresh_falling_value then the sensor
1338 is LEAVING running state.
1339
1340 What: /sys/.../iio:deviceX/events/in_accel_mag_en
1341 What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en
1342 What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en
1343 What: /sys/.../iio:deviceX/events/in_accel_x_mag_en
1344 What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
1345 What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
1346 What: /sys/.../iio:deviceX/events/in_accel_y_mag_en
1347 What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
1348 What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
1349 What: /sys/.../iio:deviceX/events/in_accel_z_mag_en
1350 What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
1351 What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
1352 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
1353 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
1354 KernelVersion: 2.6.37
1355 Contact: [email protected]
1356 Description:
1357 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
1358 magnitude of the channel is compared to the threshold, not its
1359 signed value.
1360
1361 What: /sys/.../events/in_accel_raw_mag_value
1362 What: /sys/.../events/in_accel_x_raw_mag_rising_value
1363 What: /sys/.../events/in_accel_y_raw_mag_rising_value
1364 What: /sys/.../events/in_accel_z_raw_mag_rising_value
1365 KernelVersion: 2.6.37
1366 Contact: [email protected]
1367 Description:
1368 The value to which the magnitude of the channel is compared. If
1369 number or direction is not specified, applies to all channels of
1370 this type.
1371
1372 What: /sys/.../iio:deviceX/events/in_accel_x_mag_adaptive_rising_en
1373 What: /sys/.../iio:deviceX/events/in_accel_y_mag_adaptive_rising_en
1374 What: /sys/.../iio:deviceX/events/in_accel_z_mag_adaptive_rising_en
1375 KernelVersion: 2.6.37
1376 Contact: [email protected]
1377 Description:
1378 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
1379 magnitude of the channel is compared to the adaptive threshold.
1380
1381 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_en
1382 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en
1383 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en
1384 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en
1385 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en
1386 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en
1387 KernelVersion: 5.18
1388 Contact: [email protected]
1389 Description:
1390 Similar to in_accel_mag[_y][_rising|_falling]_en, but the event
1391 value is relative to a reference magnitude. The reference magnitude
1392 includes the graviational acceleration.
1393
1394 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_value
1395 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value
1396 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value
1397 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value
1398 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value
1399 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value
1400 KernelVersion: 5.18
1401 Contact: [email protected]
1402 Description:
1403 The value to which the reference magnitude of the channel is
1404 compared. If the axis is not specified, it applies to all channels
1405 of this type.
1406
1407 What: /sys/.../events/in_steps_change_en
1408 KernelVersion: 4.0
1409 Contact: [email protected]
1410 Description:
1411 Event generated when channel passes a threshold on the absolute
1412 change in value. E.g. for steps: a step change event is
1413 generated each time the user takes N steps, where N is set using
1414 in_steps_change_value.
1415
1416 What: /sys/.../events/in_steps_change_value
1417 KernelVersion: 4.0
1418 Contact: [email protected]
1419 Description:
1420 Specifies the value of change threshold that the
1421 device is comparing against for the events enabled by
1422 <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
1423 if set to 3, a step change event will be generated every 3
1424 steps.
1425
1426 What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
1427 KernelVersion: 2.6.35
1428 Contact: [email protected]
1429 Description:
1430 The name of the trigger source being used, as per string given
1431 in /sys/class/iio/triggerY/name.
1432
1433 What: /sys/bus/iio/devices/iio:deviceX/bufferY/length
1434 KernelVersion: 5.11
1435 Contact: [email protected]
1436 Description:
1437 Number of scans contained by the buffer.
1438
1439 What: /sys/bus/iio/devices/iio:deviceX/bufferY/enable
1440 KernelVersion: 5.11
1441 Contact: [email protected]
1442 Description:
1443 Actually start the buffer capture up. Will start trigger
1444 if first device and appropriate.
1445
1446 Note that it might be impossible to configure other attributes,
1447 (e.g.: events, scale, sampling rate) if they impact the currently
1448 active buffer capture session.
1449
1450 What: /sys/bus/iio/devices/iio:deviceX/bufferY
1451 KernelVersion: 5.11
1452 Contact: [email protected]
1453 Description:
1454 Directory containing interfaces for elements that will be
1455 captured for a single triggered sample set in the buffer.
1456
1457 Since kernel 5.11 the scan_elements attributes are merged into
1458 the bufferY directory, to be configurable per buffer.
1459
1460 What: /sys/.../iio:deviceX/bufferY/in_accel_x_en
1461 What: /sys/.../iio:deviceX/bufferY/in_accel_y_en
1462 What: /sys/.../iio:deviceX/bufferY/in_accel_z_en
1463 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_x_en
1464 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_y_en
1465 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_z_en
1466 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_x_en
1467 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_y_en
1468 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_z_en
1469 What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_en
1470 What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_en
1471 What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_en
1472 What: /sys/.../iio:deviceX/bufferY/in_magn_x_en
1473 What: /sys/.../iio:deviceX/bufferY/in_magn_y_en
1474 What: /sys/.../iio:deviceX/bufferY/in_magn_z_en
1475 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
1476 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
1477 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
1478 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
1479 What: /sys/.../iio:deviceX/bufferY/in_timestamp_en
1480 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
1481 What: /sys/.../iio:deviceX/bufferY/in_voltageY_en
1482 What: /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
1483 What: /sys/.../iio:deviceX/bufferY/in_incli_x_en
1484 What: /sys/.../iio:deviceX/bufferY/in_incli_y_en
1485 What: /sys/.../iio:deviceX/bufferY/in_pressureY_en
1486 What: /sys/.../iio:deviceX/bufferY/in_pressure_en
1487 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
1488 What: /sys/.../iio:deviceX/bufferY/in_proximity_en
1489 KernelVersion: 5.11
1490 Contact: [email protected]
1491 Description:
1492 Scan element control for triggered data capture.
1493
1494 What: /sys/.../iio:deviceX/bufferY/in_accel_type
1495 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_type
1496 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_type
1497 What: /sys/.../iio:deviceX/bufferY/in_anglvel_type
1498 What: /sys/.../iio:deviceX/bufferY/in_magn_type
1499 What: /sys/.../iio:deviceX/bufferY/in_incli_type
1500 What: /sys/.../iio:deviceX/bufferY/in_voltageY_type
1501 What: /sys/.../iio:deviceX/bufferY/in_voltage_type
1502 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
1503 What: /sys/.../iio:deviceX/bufferY/in_timestamp_type
1504 What: /sys/.../iio:deviceX/bufferY/in_pressureY_type
1505 What: /sys/.../iio:deviceX/bufferY/in_pressure_type
1506 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
1507 What: /sys/.../iio:deviceX/bufferY/in_proximity_type
1508 KernelVersion: 5.11
1509 Contact: [email protected]
1510 Description:
1511 Description of the scan element data storage within the buffer
1512 and hence the form in which it is read from user-space.
1513 Form is [be|le]:[s|u]bits/storagebits[>>shift].
1514 be or le specifies big or little endian. s or u specifies if
1515 signed (2's complement) or unsigned. bits is the number of bits
1516 of data and storagebits is the space (after padding) that it
1517 occupies in the buffer. shift if specified, is the shift that
1518 needs to be applied prior to masking out unused bits. Some
1519 devices put their data in the middle of the transferred elements
1520 with additional information on both sides. Note that some
1521 devices will have additional information in the unused bits
1522 so to get a clean value, the bits value must be used to mask
1523 the buffer output value appropriately. The storagebits value
1524 also specifies the data alignment. So s48/64>>2 will be a
1525 signed 48 bit integer stored in a 64 bit location aligned to
1526 a 64 bit boundary. To obtain the clean value, shift right 2
1527 and apply a mask to zero the top 16 bits of the result.
1528 For other storage combinations this attribute will be extended
1529 appropriately.
1530
1531 What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
1532 KernelVersion: 2.6.37
1533 Contact: [email protected]
1534 Description:
1535 If the type parameter can take one of a small set of values,
1536 this attribute lists them.
1537
1538 What: /sys/.../iio:deviceX/bufferY/in_voltageY_index
1539 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
1540 What: /sys/.../iio:deviceX/bufferY/in_accel_x_index
1541 What: /sys/.../iio:deviceX/bufferY/in_accel_y_index
1542 What: /sys/.../iio:deviceX/bufferY/in_accel_z_index
1543 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_x_index
1544 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_y_index
1545 What: /sys/.../iio:deviceX/bufferY/in_deltaangl_z_index
1546 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_x_index
1547 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_y_index
1548 What: /sys/.../iio:deviceX/bufferY/in_deltavelocity_z_index
1549 What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_index
1550 What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_index
1551 What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_index
1552 What: /sys/.../iio:deviceX/bufferY/in_magn_x_index
1553 What: /sys/.../iio:deviceX/bufferY/in_magn_y_index
1554 What: /sys/.../iio:deviceX/bufferY/in_magn_z_index
1555 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
1556 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
1557 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
1558 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
1559 What: /sys/.../iio:deviceX/bufferY/in_incli_x_index
1560 What: /sys/.../iio:deviceX/bufferY/in_incli_y_index
1561 What: /sys/.../iio:deviceX/bufferY/in_timestamp_index
1562 What: /sys/.../iio:deviceX/bufferY/in_pressureY_index
1563 What: /sys/.../iio:deviceX/bufferY/in_pressure_index
1564 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
1565 What: /sys/.../iio:deviceX/bufferY/in_proximity_index
1566 KernelVersion: 5.11
1567 Contact: [email protected]
1568 Description:
1569 A single positive integer specifying the position of this
1570 scan element in the buffer. Note these are not dependent on
1571 what is enabled and may not be contiguous. Thus for user-space
1572 to establish the full layout these must be used in conjunction
1573 with all _en attributes to establish which channels are present,
1574 and the relevant _type attributes to establish the data storage
1575 format.
1576
1577 What: /sys/.../iio:deviceX/in_activity_still_input
1578 What: /sys/.../iio:deviceX/in_activity_walking_input
1579 What: /sys/.../iio:deviceX/in_activity_jogging_input
1580 What: /sys/.../iio:deviceX/in_activity_running_input
1581 KernelVersion: 3.19
1582 Contact: [email protected]
1583 Description:
1584 This attribute is used to read the confidence for an activity
1585 expressed in units as percentage.
1586
1587 What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
1588 KernelVersion: 2.6.38
1589 Contact: [email protected]
1590 Description:
1591 This attribute is used to read the amount of quadrature error
1592 present in the device at a given time.
1593
1594 What: /sys/.../iio:deviceX/in_accelY_power_mode
1595 KernelVersion: 3.11
1596 Contact: [email protected]
1597 Description:
1598 Specifies the chip power mode.
1599 low_noise: reduce noise level from ADC,
1600 low_power: enable low current consumption.
1601 For a list of available output power modes read
1602 in_accel_power_mode_available.
1603
1604 What: /sys/.../iio:deviceX/in_energy_input
1605 What: /sys/.../iio:deviceX/in_energy_raw
1606 What: /sys/.../iio:deviceX/in_energyY_active_raw
1607 What: /sys/.../iio:deviceX/in_energyY_reactive_raw
1608 What: /sys/.../iio:deviceX/in_energyY_apparent_raw
1609 KernelVersion: 4.0
1610 Contact: [email protected]
1611 Description:
1612 This attribute is used to read the energy value reported by the
1613 device (e.g.: human activity sensors report energy burnt by the
1614 user). Units after application of scale are Joules.
1615
1616 What: /sys/.../iio:deviceX/in_distance_input
1617 What: /sys/.../iio:deviceX/in_distance_raw
1618 KernelVersion: 4.0
1619 Contact: [email protected]
1620 Description:
1621 This attribute is used to read the measured distance to an object
1622 or the distance covered by the user since the last reboot while
1623 activated. Units after application of scale are meters.
1624
1625 What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
1626 KernelVersion: 3.4.0
1627 Contact: [email protected]
1628 Description:
1629 Writing '1' stores the current device configuration into
1630 on-chip EEPROM. After power-up or chip reset the device will
1631 automatically load the saved configuration.
1632
1633 What: /sys/.../iio:deviceX/in_proximity_raw
1634 What: /sys/.../iio:deviceX/in_proximity_input
1635 What: /sys/.../iio:deviceX/in_proximityY_raw
1636 KernelVersion: 3.4
1637 Contact: [email protected]
1638 Description:
1639 Proximity measurement indicating that some
1640 object is near the sensor, usually by observing
1641 reflectivity of infrared or ultrasound emitted.
1642
1643 Often these sensors are unit less and as such conversion
1644 to SI units is not possible. Higher proximity measurements
1645 indicate closer objects, and vice versa. Units after
1646 application of scale and offset are meters.
1647
1648 What: /sys/.../iio:deviceX/in_illuminance_input
1649 What: /sys/.../iio:deviceX/in_illuminance_raw
1650 What: /sys/.../iio:deviceX/in_illuminanceY_input
1651 What: /sys/.../iio:deviceX/in_illuminanceY_raw
1652 What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
1653 What: /sys/.../iio:deviceX/in_illuminance_ir_raw
1654 What: /sys/.../iio:deviceX/in_illuminance_clear_raw
1655 KernelVersion: 3.4
1656 Contact: [email protected]
1657 Description:
1658 Illuminance measurement, units after application of scale
1659 and offset are lux.
1660
1661 What: /sys/.../iio:deviceX/in_intensityY_raw
1662 What: /sys/.../iio:deviceX/in_intensityY_ir_raw
1663 What: /sys/.../iio:deviceX/in_intensityY_both_raw
1664 What: /sys/.../iio:deviceX/in_intensityY_uv_raw
1665 What: /sys/.../iio:deviceX/in_intensityY_uva_raw
1666 What: /sys/.../iio:deviceX/in_intensityY_uvb_raw
1667 What: /sys/.../iio:deviceX/in_intensityY_duv_raw
1668 What: /sys/.../iio:deviceX/in_intensity_red_raw
1669 What: /sys/.../iio:deviceX/in_intensity_green_raw
1670 What: /sys/.../iio:deviceX/in_intensity_blue_raw
1671 What: /sys/.../iio:deviceX/in_intensity_clear_raw
1672 KernelVersion: 3.4
1673 Contact: [email protected]
1674 Description:
1675 Unit-less light intensity. Modifiers both and ir indicate
1676 that measurements contain visible and infrared light
1677 components or just infrared light, respectively. Modifier
1678 uv indicates that measurements contain ultraviolet light
1679 components. Modifiers uva, uvb and duv indicate that
1680 measurements contain A, B or deep (C) ultraviolet light
1681 components respectively.
1682
1683 What: /sys/.../iio:deviceX/in_uvindex_input
1684 KernelVersion: 4.6
1685 Contact: [email protected]
1686 Description:
1687 UV light intensity index measuring the human skin's response to
1688 different wavelength of sunlight weighted according to the
1689 standardised CIE Erythemal Action Spectrum. UV index values range
1690 from 0 (low) to >=11 (extreme).
1691
1692 What: /sys/.../iio:deviceX/in_intensity_integration_time
1693 What: /sys/.../iio:deviceX/in_intensity_red_integration_time
1694 What: /sys/.../iio:deviceX/in_intensity_green_integration_time
1695 What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
1696 What: /sys/.../iio:deviceX/in_intensity_clear_integration_time
1697 What: /sys/.../iio:deviceX/in_illuminance_integration_time
1698 KernelVersion: 3.12
1699 Contact: [email protected]
1700 Description:
1701 This attribute is used to get/set the integration time in
1702 seconds. If shared across all channels of a given type,
1703 <type>_integration_time is used.
1704
1705 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
1706 KernelVersion: 4.0
1707 Contact: [email protected]
1708 Description:
1709 Number of seconds in which to compute speed.
1710
1711 What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
1712 KernelVersion: 3.15
1713 Contact: [email protected]
1714 Description:
1715 Raw value of quaternion components using a format
1716 x y z w. Here x, y, and z component represents the axis about
1717 which a rotation will occur and w component represents the
1718 amount of rotation.
1719
1720 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1721 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1722 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1723 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1724 KernelVersion: 3.15
1725 Contact: [email protected]
1726 Description:
1727 Raw value of rotation from true/magnetic north measured with
1728 or without compensation from tilt sensors.
1729
1730 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
1731 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
1732 KernelVersion: 3.17
1733 Contact: [email protected]
1734 Description:
1735 Raw current measurement from channel Y. Units are in milliamps
1736 after application of scale and offset. If no offset or scale is
1737 present, output should be considered as processed with the
1738 unit in milliamps. In special cases where the channel does not
1739 correspond to externally available input one of the named
1740 versions may be used.
1741
1742 Channels with 'i' and 'q' modifiers always exist in pairs and both
1743 channels refer to the same signal. The 'i' channel contains the in-phase
1744 component of the signal while the 'q' channel contains the quadrature
1745 component.
1746
1747 What: /sys/bus/iio/devices/iio:deviceX/in_altcurrentY_rms_raw
1748 KernelVersion: 6.18
1749 Contact: [email protected]
1750 Description:
1751 Raw (unscaled no bias removal etc.) Root Mean Square (RMS) current
1752 measurement from channel Y. Units after application of scale and
1753 offset are milliamps.
1754
1755 What: /sys/.../iio:deviceX/in_energy_en
1756 What: /sys/.../iio:deviceX/in_distance_en
1757 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
1758 What: /sys/.../iio:deviceX/in_steps_en
1759 KernelVersion: 3.19
1760 Contact: [email protected]
1761 Description:
1762 Activates a device feature that runs in firmware/hardware.
1763 E.g. for steps: the pedometer saves power while not used;
1764 when activated, it will count the steps taken by the user in
1765 firmware and export them through in_steps_input.
1766
1767 What: /sys/.../iio:deviceX/in_steps_input
1768 KernelVersion: 3.19
1769 Contact: [email protected]
1770 Description:
1771 This attribute is used to read the number of steps taken by the user
1772 since the last reboot while activated.
1773
1774 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
1775 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
1776 KernelVersion: 3.19
1777 Contact: [email protected]
1778 Description:
1779 This attribute is used to read the current speed value of the
1780 user (which is the norm or magnitude of the velocity vector).
1781 Units after application of scale are m/s.
1782
1783 What: /sys/.../iio:deviceX/in_steps_debounce_count
1784 KernelVersion: 4.0
1785 Contact: [email protected]
1786 Description:
1787 Specifies the number of steps that must occur within
1788 in_steps_filter_debounce_time for the pedometer to decide the
1789 consumer is making steps.
1790
1791 What: /sys/.../iio:deviceX/in_steps_debounce_time
1792 KernelVersion: 4.0
1793 Contact: [email protected]
1794 Description:
1795 Specifies number of seconds in which we compute the steps
1796 that occur in order to decide if the consumer is making steps.
1797
1798 What: /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
1799 KernelVersion: 5.11
1800 Contact: [email protected]
1801 Description:
1802 A single positive integer specifying the maximum number of scan
1803 elements to wait for.
1804
1805 Poll will block until the watermark is reached.
1806
1807 Blocking read will wait until the minimum between the requested
1808 read amount or the low water mark is available.
1809
1810 Non-blocking read will retrieve the available samples from the
1811 buffer even if there are less samples then watermark level. This
1812 allows the application to block on poll with a timeout and read
1813 the available samples after the timeout expires and thus have a
1814 maximum delay guarantee.
1815
1816 What: /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
1817 KernelVersion: 5.11
1818 Contact: [email protected]
1819 Description:
1820 A read-only value indicating the bytes of data available in the
1821 buffer. In the case of an output buffer, this indicates the
1822 amount of empty space available to write data to. In the case of
1823 an input buffer, this indicates the amount of data available for
1824 reading.
1825
1826 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
1827 KernelVersion: 4.2
1828 Contact: [email protected]
1829 Description:
1830 A read-only boolean value that indicates if the hardware fifo is
1831 currently enabled or disabled. If the device does not have a
1832 hardware fifo this entry is not present.
1833 The hardware fifo is enabled when the buffer is enabled if the
1834 current hardware fifo watermark level is set and other current
1835 device settings allows it (e.g. if a trigger is set that samples
1836 data differently that the hardware fifo does then hardware fifo
1837 will not enabled).
1838
1839 If the hardware fifo is enabled and the level of the hardware
1840 fifo reaches the hardware fifo watermark level the device will
1841 flush its hardware fifo to the device buffer. Doing a non
1842 blocking read on the device when no samples are present in the
1843 device buffer will also force a flush.
1844
1845 When the hardware fifo is enabled there is no need to use a
1846 trigger to use buffer mode since the watermark settings
1847 guarantees that the hardware fifo is flushed to the device
1848 buffer.
1849
1850 What: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
1851 KernelVersion: 4.12
1852 Contact: [email protected]
1853 Description:
1854 A read/write property to provide capability to delay reporting of
1855 samples till a timeout is reached. This allows host processors to
1856 sleep, while the sensor is storing samples in its internal fifo.
1857 The maximum timeout in seconds can be specified by setting
1858 hwfifo_timeout.The current delay can be read by reading
1859 hwfifo_timeout. A value of 0 means that there is no timeout.
1860
1861 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
1862 KernelVersion: 4.2
1863 Contact: [email protected]
1864 Description:
1865 Read-only entry that contains a single integer specifying the
1866 current watermark level for the hardware fifo. If the device
1867 does not have a hardware fifo this entry is not present.
1868 The watermark level for the hardware fifo is set by the driver
1869 based on the value set by the user in buffer/watermark but
1870 taking into account hardware limitations (e.g. most hardware
1871 buffers are limited to 32-64 samples, some hardware buffers
1872 watermarks are fixed or have minimum levels). A value of 0
1873 means that the hardware watermark is unset.
1874
1875 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
1876 KernelVersion: 4.2
1877 Contact: [email protected]
1878 Description:
1879 A single positive integer specifying the minimum watermark level
1880 for the hardware fifo of this device. If the device does not
1881 have a hardware fifo this entry is not present.
1882
1883 If the user sets buffer/watermark to a value less than this one,
1884 then the hardware watermark will remain unset.
1885
1886 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
1887 KernelVersion: 4.2
1888 Contact: [email protected]
1889 Description:
1890 A single positive integer specifying the maximum watermark level
1891 for the hardware fifo of this device. If the device does not
1892 have a hardware fifo this entry is not present.
1893
1894 If the user sets buffer/watermark to a value greater than this
1895 one, then the hardware watermark will be capped at this value.
1896
1897 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
1898 KernelVersion: 4.2
1899 Contact: [email protected]
1900 Description:
1901 A list of positive integers specifying the available watermark
1902 levels for the hardware fifo. This entry is optional and if it
1903 is not present it means that all the values between
1904 hwfifo_watermark_min and hwfifo_watermark_max are supported.
1905
1906 If the user sets buffer/watermark to a value greater than
1907 hwfifo_watermak_min but not equal to any of the values in this
1908 list, the driver will chose an appropriate value for the
1909 hardware fifo watermark level.
1910
1911 What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1912 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_calibemissivity
1913 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1914 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibemissivity
1915 KernelVersion: 4.1
1916 Contact: [email protected]
1917 Description:
1918 The emissivity ratio of the surface in the field of view of the
1919 contactless temperature sensor. Emissivity varies from 0 to 1,
1920 with 1 being the emissivity of a black body.
1921
1922 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
1923 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
1924 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
1925 KernelVersion: 4.2
1926 Contact: [email protected]
1927 Description:
1928 Hardware applied number of measurements for acquiring one
1929 data point. The HW will do <type>[_name]_oversampling_ratio
1930 measurements and return the average value as output data. Each
1931 value resulted from <type>[_name]_oversampling_ratio measurements
1932 is considered as one sample for <type>[_name]_sampling_frequency.
1933
1934 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
1935 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_raw
1936 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
1937 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_co2_raw
1938 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1939 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_ethanol_raw
1940 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1941 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_h2_raw
1942 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
1943 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_o2_raw
1944 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
1945 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationY_voc_raw
1946 KernelVersion: 4.3
1947 Contact: [email protected]
1948 Description:
1949 Raw (unscaled no offset etc.) reading of a substance. Units
1950 after application of scale and offset are percents.
1951
1952 What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1953 What: /sys/bus/iio/devices/iio:deviceX/in_resistanceY_raw
1954 What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1955 What: /sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw
1956 KernelVersion: 4.3
1957 Contact: [email protected]
1958 Description:
1959 Raw (unscaled no offset etc.) resistance reading.
1960 Units after application of scale and offset are ohms.
1961
1962 What: /sys/bus/iio/devices/iio:deviceX/heater_enable
1963 KernelVersion: 4.1.0
1964 Contact: [email protected]
1965 Description:
1966 '1' (enable) or '0' (disable) specifying the enable
1967 of heater function. Same reading values apply.
1968
1969 This ABI is especially applicable for humidity sensors
1970 to heatup the device and get rid of any condensation
1971 in some humidity environment
1972
1973 What: /sys/bus/iio/devices/iio:deviceX/in_ph_raw
1974 KernelVersion: 4.5
1975 Contact: [email protected]
1976 Description:
1977 Raw (unscaled no offset etc.) pH reading of a substance as a negative
1978 base-10 logarithm of hydrodium ions in a litre of water.
1979
1980 What: /sys/bus/iio/devices/iio:deviceX/mount_matrix
1981 What: /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
1982 What: /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
1983 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
1984 What: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
1985 KernelVersion: 4.6
1986 Contact: [email protected]
1987 Description:
1988 Mounting matrix for IIO sensors. This is a rotation matrix which
1989 informs userspace about sensor chip's placement relative to the
1990 main hardware it is mounted on.
1991
1992 Main hardware placement is defined according to the local
1993 reference frame related to the physical quantity the sensor
1994 measures.
1995
1996 Given that the rotation matrix is defined in a board specific
1997 way (platform data and / or device-tree), the main hardware
1998 reference frame definition is left to the implementor's choice
1999 (see below for a magnetometer example).
2000
2001 Applications should apply this rotation matrix to samples so
2002 that when main hardware reference frame is aligned onto local
2003 reference frame, then sensor chip reference frame is also
2004 perfectly aligned with it.
2005
2006 Matrix is a 3x3 unitary matrix and typically looks like
2007 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
2008 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
2009 are perfectly aligned with each other.
2010
2011 For example, a mounting matrix for a magnetometer sensor informs
2012 userspace about sensor chip's ORIENTATION relative to the main
2013 hardware.
2014
2015 More specifically, main hardware orientation is defined with
2016 respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
2017
2018 * Y is in the ground plane and positive towards magnetic North ;
2019 * X is in the ground plane, perpendicular to the North axis and
2020 positive towards the East ;
2021 * Z is perpendicular to the ground plane and positive upwards.
2022
2023 An implementor might consider that for a hand-held device, a
2024 'natural' orientation would be 'front facing camera at the top'.
2025 The main hardware reference frame could then be described as :
2026
2027 * Y is in the plane of the screen and is positive towards the
2028 top of the screen ;
2029 * X is in the plane of the screen, perpendicular to Y axis, and
2030 positive towards the right hand side of the screen ;
2031 * Z is perpendicular to the screen plane and positive out of the
2032 screen.
2033
2034 Another example for a quadrotor UAV might be :
2035
2036 * Y is in the plane of the propellers and positive towards the
2037 front-view camera;
2038 * X is in the plane of the propellers, perpendicular to Y axis,
2039 and positive towards the starboard side of the UAV ;
2040 * Z is perpendicular to propellers plane and positive upwards.
2041
2042 What: /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
2043 KernelVersion: 4.8
2044 Contact: [email protected]
2045 Description:
2046 Raw (unscaled no offset etc.) electric conductivity reading.
2047 Units after application of scale and offset are siemens per
2048 meter.
2049
2050 What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw
2051 KernelVersion: 4.10
2052 Contact: [email protected]
2053 Description:
2054 This interface is deprecated; please use the Counter subsystem.
2055
2056 Raw counter device counts from channel Y. For quadrature
2057 counters, multiplication by an available [Y]_scale results in
2058 the counts of a single quadrature signal phase from channel Y.
2059
2060 What: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
2061 KernelVersion: 4.10
2062 Contact: [email protected]
2063 Description:
2064 This interface is deprecated; please use the Counter subsystem.
2065
2066 Raw counter device index value from channel Y. This attribute
2067 provides an absolute positional reference (e.g. a pulse once per
2068 revolution) which may be used to home positional systems as
2069 required.
2070
2071 What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
2072 KernelVersion: 4.12
2073 Contact: [email protected]
2074 Description:
2075 This interface is deprecated; please use the Counter subsystem.
2076
2077 A list of possible counting directions which are:
2078
2079 - "up" : counter device is increasing.
2080 - "down": counter device is decreasing.
2081
2082 What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
2083 KernelVersion: 4.12
2084 Contact: [email protected]
2085 Description:
2086 This interface is deprecated; please use the Counter subsystem.
2087
2088 Raw counter device counters direction for channel Y.
2089
2090 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
2091 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
2092 KernelVersion: 5.8
2093 Contact: [email protected]
2094 Description:
2095 Optional symbolic label to a device channel.
2096 If a label is defined for this channel add that to the channel
2097 specific attributes. This is useful for userspace to be able to
2098 better identify an individual channel.
2099
2100 What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
2101 KernelVersion: 4.18
2102 Contact: [email protected]
2103 Description:
2104 Raw (unscaled) phase difference reading from channel Y.
2105 Units after application of scale and offset are radians.
2106
2107 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
2108 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
2109 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
2110 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
2111 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
2112 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
2113 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
2114 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
2115 KernelVersion: 4.22
2116 Contact: [email protected]
2117 Description:
2118 Mass concentration reading of particulate matter in ug / m3.
2119 pmX consists of particles with aerodynamic diameter less or
2120 equal to X micrometers.
2121
2122 What: /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
2123 Date: November 2019
2124 KernelVersion: 5.4
2125 Contact: [email protected]
2126 Description:
2127 List of valid periods (in seconds) for which the light intensity
2128 must be above the threshold level before interrupt is asserted.
2129
2130 What: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
2131 KernelVersion: 5.5
2132 Contact: [email protected]
2133 Description:
2134 Center frequency in Hz for a notch filter. Used i.e. for line
2135 noise suppression.
2136
2137 What: /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
2138 KernelVersion: 5.5
2139 Contact: [email protected]
2140 Description:
2141 One of the following thermocouple types: B, E, J, K, N, R, S, T.
2142
2143 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
2144 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_object_calibambient
2145 KernelVersion: 5.10
2146 Contact: [email protected]
2147 Description:
2148 Calibrated ambient temperature for object temperature
2149 calculation in milli degrees Celsius.
2150
2151 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
2152 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
2153 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
2154 KernelVersion: 5.10
2155 Contact: [email protected]
2156 Description:
2157 Unscaled light intensity according to CIE 1931/DIN 5033 color space.
2158 Units after application of scale are nano nanowatts per square meter.
2159
2160 What: /sys/bus/iio/devices/iio:deviceX/in_anglY_label
2161 KernelVersion: 5.12
2162 Contact: [email protected]
2163 Description:
2164 Optional symbolic label for channel Y.
2165 For Intel hid hinge sensor, the label values are:
2166 hinge, keyboard, screen. It means the three channels
2167 each correspond respectively to hinge angle, keyboard angle,
2168 and screen angle.
2169
2170 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
2171 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
2172 KernelVersion: 5.12
2173 Contact: [email protected]
2174 Description:
2175 Specify the percent for light sensor relative to the channel
2176 absolute value that a data field should change before an event
2177 is generated. Units are a percentage of the prior reading.
2178
2179 What: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
2180 Date: June 2020
2181 KernelVersion: 5.8
2182 Contact: [email protected]
2183 Description:
2184 Some sensors have the ability to apply auto calibration at
2185 runtime. For example, it may be necessary to compensate for
2186 contaminant build-up in a measurement chamber or optical
2187 element deterioration that would otherwise lead to sensor drift.
2188
2189 Writing 1 or 0 to this attribute will respectively activate or
2190 deactivate this auto calibration function.
2191
2192 Upon reading, the current status is returned.
2193
2194 What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value
2195 Date: June 2020
2196 KernelVersion: 5.8
2197 Contact: [email protected]
2198 Description:
2199 Some sensors have the ability to apply a manual calibration using
2200 a known measurement value, perhaps obtained from an external
2201 reference device.
2202
2203 Writing a value to this function will force such a calibration
2204 change. For the scd30 the value should be from the range
2205 [400 1 2000].
2206
2207 Note for the scd30 that a valid value may only be obtained once
2208 it is has been written. Until then any read back of this value
2209 should be ignored. As for the scd4x an error will be returned
2210 immediately if the manual calibration has failed.
2211
2212 What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available
2213 KernelVersion: 5.15
2214 Contact: [email protected]
2215 Description:
2216 Available range for the forced calibration value, expressed as:
2217
2218 - a range specified as "[min step max]"
2219
2220 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sampling_frequency
2221 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
2222 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_sampling_frequency
2223 KernelVersion: 5.20
2224 Contact: [email protected]
2225 Description:
2226 Some devices have separate controls of sampling frequency for
2227 individual channels. If multiple channels are enabled in a scan,
2228 then the sampling_frequency of the scan may be computed from the
2229 per channel sampling frequencies.
2230
2231 What: /sys/.../events/in_accel_gesture_singletap_en
2232 What: /sys/.../events/in_accel_gesture_doubletap_en
2233 KernelVersion: 6.1
2234 Contact: [email protected]
2235 Description:
2236 Device generates an event on a single or double tap.
2237
2238 What: /sys/.../events/in_accel_gesture_singletap_value
2239 What: /sys/.../events/in_accel_gesture_doubletap_value
2240 KernelVersion: 6.1
2241 Contact: [email protected]
2242 Description:
2243 Specifies the threshold value that the device is comparing
2244 against to generate the tap gesture event. The lower
2245 threshold value increases the sensitivity of tap detection.
2246 Units and the exact meaning of value are device-specific.
2247
2248 What: /sys/.../events/in_accel_gesture_tap_value_available
2249 KernelVersion: 6.1
2250 Contact: [email protected]
2251 Description:
2252 Lists all available threshold values which can be used to
2253 modify the sensitivity of the tap detection.
2254
2255 What: /sys/.../events/in_accel_gesture_singletap_reset_timeout
2256 What: /sys/.../events/in_accel_gesture_doubletap_reset_timeout
2257 KernelVersion: 6.1
2258 Contact: [email protected]
2259 Description:
2260 Specifies the timeout value in seconds for the tap detector
2261 to not to look for another tap event after the event as
2262 occurred. Basically the minimum quiet time between the two
2263 single-tap's or two double-tap's.
2264
2265 What: /sys/.../events/in_accel_gesture_tap_reset_timeout_available
2266 KernelVersion: 6.1
2267 Contact: [email protected]
2268 Description:
2269 Lists all available tap reset timeout values. Units in seconds.
2270
2271 What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
2272 KernelVersion: 6.1
2273 Contact: [email protected]
2274 Description:
2275 Specifies the minimum quiet time in seconds between the two
2276 taps of a double tap.
2277
2278 What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
2279 KernelVersion: 6.1
2280 Contact: [email protected]
2281 Description:
2282 Lists all available delay values between two taps in the double
2283 tap. Units in seconds.
2284
2285 What: /sys/.../events/in_accel_gesture_tap_maxtomin_time
2286 KernelVersion: 6.1
2287 Contact: [email protected]
2288 Description:
2289 Specifies the maximum time difference allowed between upper
2290 and lower peak of tap to consider it as the valid tap event.
2291 Units in seconds.
2292
2293 What: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available
2294 KernelVersion: 6.1
2295 Contact: [email protected]
2296 Description:
2297 Lists all available time values between upper peak to lower
2298 peak. Units in seconds.
2299
2300 What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
2301 What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
2302 What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
2303 KernelVersion: 6.1
2304 Contact: [email protected]
2305 Description:
2306 Raw (unscaled) euler angles readings. Units after
2307 application of scale are deg.
2308
2309 What: /sys/bus/iio/devices/iio:deviceX/serialnumber
2310 KernelVersion: 6.1
2311 Contact: [email protected]
2312 Description:
2313 An example format is 16-bytes, 2-digits-per-byte, HEX-string
2314 representing the sensor unique ID number.
2315
2316 What: /sys/bus/iio/devices/iio:deviceX/filter_type_available
2317 What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_type_available
2318 KernelVersion: 6.1
2319 Contact: [email protected]
2320 Description:
2321 Reading returns a list with the possible filter modes. Options
2322 for the attribute:
2323
2324 * "none" - Filter is disabled/bypassed.
2325 * "sinc1" - The digital sinc1 filter. Fast 1st
2326 conversion time. Poor noise performance.
2327 * "sinc3" - The digital sinc3 filter. Moderate 1st
2328 conversion time. Good noise performance.
2329 * "sinc3+pf1" - Sinc3 + device specific Post Filter 1.
2330 * "sinc3+pf2" - Sinc3 + device specific Post Filter 2.
2331 * "sinc3+pf3" - Sinc3 + device specific Post Filter 3.
2332 * "sinc3+pf4" - Sinc3 + device specific Post Filter 4.
2333 * "sinc3+rej60" - Sinc3 + 60Hz rejection.
2334 * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion
2335 time.
2336 * "sinc4" - Sinc 4. Excellent noise performance. Long
2337 1st conversion time.
2338 * "sinc4+lp" - Sinc4 + Low Pass Filter.
2339 * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion
2340 time.
2341 * "sinc4+rej60" - Sinc4 + 60Hz rejection.
2342 * "sinc5" - The digital sinc5 filter. Excellent noise
2343 performance
2344 * "sinc5+avg" - Sinc5 + averaging by 4.
2345 * "sinc5+pf1" - Sinc5 + device specific Post Filter 1.
2346 * "sinc5+sinc1" - Sinc5 + Sinc1.
2347 * "sinc5+sinc1+pf1" - Sinc5 + Sinc1 + device specific Post Filter 1.
2348 * "sinc5+sinc1+pf2" - Sinc5 + Sinc1 + device specific Post Filter 2.
2349 * "sinc5+sinc1+pf3" - Sinc5 + Sinc1 + device specific Post Filter 3.
2350 * "sinc5+sinc1+pf4" - Sinc5 + Sinc1 + device specific Post Filter 4.
2351 * "wideband" - filter with wideband low ripple passband
2352 and sharp transition band.
2353
2354 What: /sys/bus/iio/devices/iio:deviceX/filter_type
2355 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_type
2356 KernelVersion: 6.1
2357 Contact: [email protected]
2358 Description:
2359 Specifies which filter type apply to the channel. The possible
2360 values are given by the filter_type_available attribute.
2361
2362 What: /sys/.../events/in_proximity_thresh_either_runningperiod
2363 KernelVersion: 6.6
2364 Contact: [email protected]
2365 Description:
2366 A running period of time (in seconds) for which
2367 in_proximity_thresh_either_runningcount amount of conditions
2368 must occur before an event is generated. If direction is not
2369 specified then this period applies to both directions.
2370
2371 What: /sys/.../events/in_proximity_thresh_either_runningcount
2372 KernelVersion: 6.6
2373 Contact: [email protected]
2374 Description:
2375 Number of conditions that must occur, during a running
2376 period, before an event is generated.
2377
2378 What: /sys/bus/iio/devices/iio:deviceX/in_colortemp_raw
2379 KernelVersion: 6.7
2380 Contact: [email protected]
2381 Description:
2382 Represents light color temperature, which measures light color
2383 temperature in Kelvin.
2384
2385 What: /sys/bus/iio/devices/iio:deviceX/in_chromaticity_x_raw
2386 What: /sys/bus/iio/devices/iio:deviceX/in_chromaticity_y_raw
2387 KernelVersion: 6.7
2388 Contact: [email protected]
2389 Description:
2390 The x and y light color coordinate on the CIE 1931 chromaticity
2391 diagram.
2392
2393 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_either_label
2394 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_mag_rising_label
2395 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_falling_label
2396 What: /sys/bus/iio/devices/iio:deviceX/events/in_altvoltageY_thresh_rising_label
2397 What: /sys/bus/iio/devices/iio:deviceX/events/in_anglvelY_mag_rising_label
2398 What: /sys/bus/iio/devices/iio:deviceX/events/in_anglY_thresh_rising_label
2399 What: /sys/bus/iio/devices/iio:deviceX/events/in_phaseY_mag_rising_label
2400 KernelVersion: 6.7
2401 Contact: [email protected]
2402 Description:
2403 Optional symbolic label to a device channel event.
2404 If a label is defined for this event add that to the event
2405 specific attributes. This is useful for userspace to be able to
2406 better identify an individual event.
2407
2408 What: /sys/.../events/in_accel_gesture_tap_wait_timeout
2409 KernelVersion: 6.7
2410 Contact: [email protected]
2411 Description:
2412 Enable tap gesture confirmation with timeout.
2413
2414 What: /sys/.../events/in_accel_gesture_tap_wait_dur
2415 KernelVersion: 6.7
2416 Contact: [email protected]
2417 Description:
2418 Timeout value in seconds for tap gesture confirmation.
2419
2420 What: /sys/.../events/in_accel_gesture_tap_wait_dur_available
2421 KernelVersion: 6.7
2422 Contact: [email protected]
2423 Description:
2424 List of available timeout value for tap gesture confirmation.
2425
2426 What: /sys/.../iio:deviceX/in_shunt_resistor
2427 What: /sys/.../iio:deviceX/in_current_shunt_resistor
2428 What: /sys/.../iio:deviceX/in_power_shunt_resistor
2429 KernelVersion: 6.10
2430 Contact: [email protected]
2431 Description:
2432 The value of current sense resistor in Ohms.
2433
2434 What: /sys/.../iio:deviceX/in_attention_input
2435 KernelVersion: 6.13
2436 Contact: [email protected]
2437 Description:
2438 Value representing the user's attention to the system expressed
2439 in units as percentage. This usually means if the user is
2440 looking at the screen or not.
2441
2442 What: /sys/.../events/in_accel_value_available
2443 KernelVersion: 6.18
2444 Contact: [email protected]
2445 Description:
2446 List of available threshold values for acceleration event
2447 generation. Applies to all event types on in_accel channels.
2448 Units after application of scale and offset are m/s^2.
2449 Expressed as:
2450
2451 - a range specified as "[min step max]"
2452
2453 What: /sys/.../events/in_accel_period_available
2454 KernelVersion: 6.18
2455 Contact: [email protected]
2456 Description:
2457 List of available periods for accelerometer event detection in
2458 seconds, expressed as:
2459
2460 - a range specified as "[min step max]"