1 What: /sys/bus/iio/devices/deviceX
5 Hardware chip or device accessed by on communication port.
6 Corresponds to a grouping of sensor channels. X is the IIO
9 What: /sys/bus/iio/devices/triggerX
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 Contains trigger type specific elements. These do not
19 generalize well and hence are not documented in this file.
20 X is the IIO index of the trigger.
22 What: /sys/bus/iio/devices/deviceX:buffer
26 Link to /sys/class/iio/deviceX/deviceX:buffer. X indicates
27 the device with which this buffer buffer is associated.
29 What: /sys/bus/iio/devices/deviceX/name
33 Description of the physical chip / device for device X.
34 Typically a part number.
36 What: /sys/bus/iio/devices/deviceX/sampling_frequency
40 Some devices have internal clocks. This parameter sets the
41 resulting sampling frequency. In many devices this
42 parameter has an effect on input filters etc rather than
43 simply controlling when the input is sampled. As this
44 effects datardy triggers, hardware buffers and the sysfs
45 direct access interfaces, it may be found in any of the
46 relevant directories. If it effects all of the above
47 then it is to be found in the base device directory as here.
49 What: /sys/bus/iio/devices/deviceX/sampling_frequency_available
53 When the internal sampling clock can only take a small
54 discrete set of values, this file lists those available.
56 What: /sys/bus/iio/devices/deviceX/inY_raw
57 What: /sys/bus/iio/devices/deviceX/inY_supply_raw
61 Raw (unscaled no bias removal etc) voltage measurement from
62 channel Y. In special cases where the channel does not
63 correspond to externally available input one of the named
64 versions may be used. The number must always be specified and
65 unique to allow association with event codes.
67 What: /sys/bus/iio/devices/deviceX/inY-inZ_raw
71 Raw (unscaled) differential voltage measurement equivalent to
72 channel Y - channel Z where these channel numbers apply to the
73 physically equivalent inputs when non differential readings are
74 separately available. In differential only parts, then all that
75 is required is a consistent labeling.
77 What: /sys/bus/iio/devices/deviceX/temp_raw
78 What: /sys/bus/iio/devices/deviceX/temp_x_raw
79 What: /sys/bus/iio/devices/deviceX/temp_y_raw
80 What: /sys/bus/iio/devices/deviceX/temp_z_raw
84 Raw (unscaled no bias removal etc) temperature measurement.
85 It an axis is specified it generally means that the temperature
86 sensor is associated with one part of a compound device (e.g.
89 What: /sys/bus/iio/devices/deviceX/accel_x_raw
90 What: /sys/bus/iio/devices/deviceX/accel_y_raw
91 What: /sys/bus/iio/devices/deviceX/accel_z_raw
95 Acceleration in direction x, y or z (may be arbitrarily assigned
96 but should match other such assignments on device)
97 channel m (not present if only one accelerometer channel at
98 this orientation). Has all of the equivalent parameters as per
99 inY. Units after application of scale and offset are m/s^2.
101 What: /sys/bus/iio/devices/deviceX/gyro_x_raw
102 What: /sys/bus/iio/devices/deviceX/gyro_y_raw
103 What: /sys/bus/iio/devices/deviceX/gyro_z_raw
104 KernelVersion: 2.6.35
107 Angular velocity about axis x, y or z (may be arbitrarily
108 assigned) Data converted by application of offset then scale to
109 radians per second. Has all the equivalent parameters as
112 What: /sys/bus/iio/devices/deviceX/incli_x_raw
113 What: /sys/bus/iio/devices/deviceX/incli_y_raw
114 What: /sys/bus/iio/devices/deviceX/incli_z_raw
115 KernelVersion: 2.6.35
118 Inclination raw reading about axis x, y or z (may be
119 arbitrarily assigned). Data converted by application of offset
120 and scale to Degrees.
122 What: /sys/bus/iio/devices/deviceX/magn_x_raw
123 What: /sys/bus/iio/devices/deviceX/magn_y_raw
124 What: /sys/bus/iio/devices/deviceX/magn_z_raw
125 KernelVersion: 2.6.35
128 Magnetic field along axis x, y or z (may be arbitrarily
129 assigned) channel m (not present if only one magnetometer
130 at this orientation). Data converted by application of
131 offset then scale to Gauss. Has all the equivalent modifiers
134 What: /sys/bus/iio/devices/deviceX/accel_x_peak_raw
135 What: /sys/bus/iio/devices/deviceX/accel_y_peak_raw
136 What: /sys/bus/iio/devices/deviceX/accel_z_peak_raw
137 KernelVersion: 2.6.36
140 Some devices provide a store of the highest value seen since
141 some reset condition. These attributes allow access to this
142 and are otherwise the direct equivalent of the
143 <type>Y[_name]_raw attributes.
145 What: /sys/bus/iio/devices/deviceX/accel_xyz_squared_peak_raw
146 KernelVersion: 2.6.36
149 A computed peak value based on the sum squared magnitude of
150 the underlying value in the specified directions.
152 What: /sys/bus/iio/devices/deviceX/accel_offset
153 What: /sys/bus/iio/devices/deviceX/temp_offset
154 KernelVersion: 2.6.35
157 If known for a device, offset to be added to <type>[Y]_raw prior
158 to scaling by <type>[Y]_scale in order to obtain value in the
159 <type> units as specified in <type>[y]_raw documentation.
160 Not present if the offset is always 0 or unknown. If Y is not
161 present, then the offset applies to all in channels of <type>.
162 May be writable if a variable offset can be applied on the
163 device. Note that this is different to calibbias which
164 is for devices (or drivers) that apply offsets to compensate
165 for variation between different instances of the part, typically
166 adjusted by using some hardware supported calibration procedure.
168 What: /sys/bus/iio/devices/deviceX/inY_scale
169 What: /sys/bus/iio/devices/deviceX/inY_supply_scale
170 What: /sys/bus/iio/devices/deviceX/in_scale
171 What: /sys/bus/iio/devices/deviceX/accel_scale
172 What: /sys/bus/iio/devices/deviceX/accel_peak_scale
173 What: /sys/bus/iio/devices/deviceX/gyro_scale
174 What: /sys/bus/iio/devices/deviceX/magn_scale
175 What: /sys/bus/iio/devices/deviceX/magn_x_scale
176 What: /sys/bus/iio/devices/deviceX/magn_y_scale
177 What: /sys/bus/iio/devices/deviceX/magn_z_scale
178 KernelVersion: 2.6.35
181 If known for a device, scale to be applied to <type>Y[_name]_raw
182 post addition of <type>[Y][_name]_offset in order to obtain the
183 measured value in <type> units as specified in
184 <type>[Y][_name]_raw documentation.. If shared across all in
185 channels then Y is not present and the value is called
186 <type>[Y][_name]_scale. The peak modifier means this value
187 is applied to <type>Y[_name]_peak_raw values.
189 What: /sys/bus/iio/devices/deviceX/accel_x_calibbias
190 What: /sys/bus/iio/devices/deviceX/accel_y_calibbias
191 What: /sys/bus/iio/devices/deviceX/accel_z_calibbias
192 What: /sys/bus/iio/devices/deviceX/gyro_x_calibbias
193 What: /sys/bus/iio/devices/deviceX/gyro_y_calibbias
194 What: /sys/bus/iio/devices/deviceX/gyro_z_calibbias
195 KernelVersion: 2.6.35
198 Hardware applied calibration offset. (assumed to fix production
199 inaccuracies). If shared across all channels, <type>_calibbias
202 What /sys/bus/iio/devices/deviceX/inY_calibscale
203 What /sys/bus/iio/devices/deviceX/inY_supply_calibscale
204 What /sys/bus/iio/devices/deviceX/in_calibscale
205 What /sys/bus/iio/devices/deviceX/accel_x_calibscale
206 What /sys/bus/iio/devices/deviceX/accel_y_calibscale
207 What /sys/bus/iio/devices/deviceX/accel_z_calibscale
208 What /sys/bus/iio/devices/deviceX/gyro_x_calibscale
209 What /sys/bus/iio/devices/deviceX/gyro_y_calibscale
210 What /sys/bus/iio/devices/deviceX/gyro_z_calibscale
211 KernelVersion: 2.6.35
214 Hardware applied calibration scale factor. (assumed to fix
215 production inaccuracies). If shared across all channels,
216 <type>_calibscale is used.
218 What: /sys/bus/iio/devices/deviceX/accel_scale_available
222 If a discrete set of scale values are available, they
223 are listed in this attribute.
225 What: /sys/bus/iio/devices/deviceX/deviceX:eventY
226 KernelVersion: 2.6.35
229 Configuration of which hardware generated events are passed up
232 What: /sys/bus/iio/devices/deviceX:event/dev
233 What: /sys/bus/iio/devices/deviceX:eventY/dev
234 KernelVersion: 2.6.35
237 major:minor character device numbers for the event line Y of
240 What: /sys/.../deviceX:eventY/accel_x_thresh_rising_en
241 What: /sys/.../deviceX:eventY/accel_x_thresh_falling_en
242 What: /sys/.../deviceX:eventY/accel_y_thresh_rising_en
243 What: /sys/.../deviceX:eventY/accel_y_thresh_falling_en
244 What: /sys/.../deviceX:eventY/accel_z_thresh_rising_en
245 What: /sys/.../deviceX:eventY/accel_z_thresh_falling_en
246 What: /sys/.../deviceX:eventY/gyro_x_thresh_rising_en
247 What: /sys/.../deviceX:eventY/gyro_x_thresh_falling_en
248 What: /sys/.../deviceX:eventY/gyro_y_thresh_rising_en
249 What: /sys/.../deviceX:eventY/gyro_y_thresh_falling_en
250 What: /sys/.../deviceX:eventY/gyro_z_thresh_rising_en
251 What: /sys/.../deviceX:eventY/gyro_z_thresh_falling_en
252 What: /sys/.../deviceX:eventY/magn_x_thresh_rising_en
253 What: /sys/.../deviceX:eventY/magn_x_thresh_falling_en
254 What: /sys/.../deviceX:eventY/magn_y_thresh_rising_en
255 What: /sys/.../deviceX:eventY/magn_y_thresh_falling_en
256 What: /sys/.../deviceX:eventY/magn_z_thresh_rising_en
257 What: /sys/.../deviceX:eventY/magn_z_thresh_falling_en
258 What: /sys/.../deviceX:eventY/inZ_supply_thresh_rising_en
259 What: /sys/.../deviceX:eventY/inZ_supply_thresh_falling_en
260 What: /sys/.../deviceX:eventY/inZ_thresh_rising_en
261 What: /sys/.../deviceX:eventY/inZ_thresh_falling_en
262 What: /sys/.../deviceX:eventY/temp_thresh_rising_en
263 What: /sys/.../deviceX:eventY/temp_thresh_falling_en
264 KernelVersion: 2.6.37
267 Event generated when channel passes a threshold in the specified
268 (_rising|_falling) direction. If the direction is not specified,
269 then either the device will report an event which ever direction
270 a single threshold value is called in (e.g.
271 <type>[Z][_name]_<raw|input>_thresh_value) or
272 <type>[Z][_name]_<raw|input>_thresh_rising_value and
273 <type>[Z][_name]_<raw|input>_thresh_falling_value may take
274 different values, but the device can only enable both thresholds
276 Note the driver will assume the last p events requested are
277 to be enabled where p is however many it supports (which may
278 vary depending on the exact set requested. So if you want to be
279 sure you have set what you think you have, check the contents of
280 these attributes after everything is configured. Drivers may
281 have to buffer any parameters so that they are consistent when
282 a given event type is enabled a future point (and not those for
283 whatever event was previously enabled).
285 What: /sys/.../deviceX:eventY/accel_x_roc_rising_en
286 What: /sys/.../deviceX:eventY/accel_x_roc_falling_en
287 What: /sys/.../deviceX:eventY/accel_y_roc_rising_en
288 What: /sys/.../deviceX:eventY/accel_y_roc_falling_en
289 What: /sys/.../deviceX:eventY/accel_z_roc_rising_en
290 What: /sys/.../deviceX:eventY/accel_z_roc_falling_en
291 What: /sys/.../deviceX:eventY/gyro_x_roc_rising_en
292 What: /sys/.../deviceX:eventY/gyro_x_roc_falling_en
293 What: /sys/.../deviceX:eventY/gyro_y_roc_rising_en
294 What: /sys/.../deviceX:eventY/gyro_y_roc_falling_en
295 What: /sys/.../deviceX:eventY/gyro_z_roc_rising_en
296 What: /sys/.../deviceX:eventY/gyro_z_roc_falling_en
297 What: /sys/.../deviceX:eventY/magn_x_roc_rising_en
298 What: /sys/.../deviceX:eventY/magn_x_roc_falling_en
299 What: /sys/.../deviceX:eventY/magn_y_roc_rising_en
300 What: /sys/.../deviceX:eventY/magn_y_roc_falling_en
301 What: /sys/.../deviceX:eventY/magn_z_roc_rising_en
302 What: /sys/.../deviceX:eventY/magn_z_roc_falling_en
303 What: /sys/.../deviceX:eventY/inZ_supply_roc_rising_en
304 What: /sys/.../deviceX:eventY/inZ_supply_roc_falling_en
305 What: /sys/.../deviceX:eventY/inZ_roc_rising_en
306 What: /sys/.../deviceX:eventY/inZ_roc_falling_en
307 What: /sys/.../deviceX:eventY/temp_roc_rising_en
308 What: /sys/.../deviceX:eventY/temp_roc_falling_en
309 KernelVersion: 2.6.37
312 Event generated when channel passes a threshold on the rate of
313 change (1st differential) in the specified (_rising|_falling)
314 direction. If the direction is not specified, then either the
315 device will report an event which ever direction a single
316 threshold value is called in (e.g.
317 <type>[Z][_name]_<raw|input>_roc_value) or
318 <type>[Z][_name]_<raw|input>_roc_rising_value and
319 <type>[Z][_name]_<raw|input>_roc_falling_value may take
320 different values, but the device can only enable both rate of
321 change thresholds or neither.
322 Note the driver will assume the last p events requested are
323 to be enabled where p is however many it supports (which may
324 vary depending on the exact set requested. So if you want to be
325 sure you have set what you think you have, check the contents of
326 these attributes after everything is configured. Drivers may
327 have to buffer any parameters so that they are consistent when
328 a given event type is enabled a future point (and not those for
329 whatever event was previously enabled).
331 What: /sys/.../deviceX:eventY/accel_x_raw_thresh_rising_value
332 What: /sys/.../deviceX:eventY/accel_x_raw_thresh_falling_value
333 What: /sys/.../deviceX:eventY/accel_y_raw_thresh_rising_value
334 What: /sys/.../deviceX:eventY/accel_y_raw_thresh_falling_value
335 What: /sys/.../deviceX:eventY/accel_z_raw_thresh_rising_value
336 What: /sys/.../deviceX:eventY/accel_z_raw_thresh_falling_value
337 What: /sys/.../deviceX:eventY/gyro_x_raw_thresh_rising_value
338 What: /sys/.../deviceX:eventY/gyro_x_raw_thresh_falling_value
339 What: /sys/.../deviceX:eventY/gyro_y_raw_thresh_rising_value
340 What: /sys/.../deviceX:eventY/gyro_y_raw_thresh_falling_value
341 What: /sys/.../deviceX:eventY/gyro_z_raw_thresh_rising_value
342 What: /sys/.../deviceX:eventY/gyro_z_raw_thresh_falling_value
343 What: /sys/.../deviceX:eventY/magn_x_raw_thresh_rising_value
344 What: /sys/.../deviceX:eventY/magn_x_raw_thresh_falling_value
345 What: /sys/.../deviceX:eventY/magn_y_raw_thresh_rising_value
346 What: /sys/.../deviceX:eventY/magn_y_raw_thresh_falling_value
347 What: /sys/.../deviceX:eventY/magn_z_raw_thresh_rising_value
348 What: /sys/.../deviceX:eventY/magn_z_raw_thresh_falling_value
349 What: /sys/.../deviceX:eventY/inZ_supply_raw_thresh_rising_value
350 What: /sys/.../deviceX:eventY/inZ_supply_raw_thresh_falling_value
351 What: /sys/.../deviceX:eventY/inZ_raw_thresh_falling_value
352 What: /sys/.../deviceX:eventY/inZ_raw_thresh_falling_value
353 What: /sys/.../deviceX:eventY/temp_raw_thresh_falling_value
354 What: /sys/.../deviceX:eventY/temp_raw_thresh_falling_value
355 KernelVersion: 2.6.37
358 Specifies the value of threshold that the device is comparing
359 against for the events enabled by
360 <type>Z[_name]_thresh[_rising|falling]_en.
361 If separate attributes exist for the two directions, but
362 direction is not specified for this attribute, then a single
363 threshold value applies to both directions.
364 The raw or input element of the name indicates whether the
365 value is in raw device units or in processed units (as _raw
366 and _input do on sysfs direct channel read attributes).
368 What: /sys/.../deviceX:eventY/accel_x_raw_roc_rising_value
369 What: /sys/.../deviceX:eventY/accel_x_raw_roc_falling_value
370 What: /sys/.../deviceX:eventY/accel_y_raw_roc_rising_value
371 What: /sys/.../deviceX:eventY/accel_y_raw_roc_falling_value
372 What: /sys/.../deviceX:eventY/accel_z_raw_roc_rising_value
373 What: /sys/.../deviceX:eventY/accel_z_raw_roc_falling_value
374 What: /sys/.../deviceX:eventY/gyro_x_raw_roc_rising_value
375 What: /sys/.../deviceX:eventY/gyro_x_raw_roc_falling_value
376 What: /sys/.../deviceX:eventY/gyro_y_raw_roc_rising_value
377 What: /sys/.../deviceX:eventY/gyro_y_raw_roc_falling_value
378 What: /sys/.../deviceX:eventY/gyro_z_raw_roc_rising_value
379 What: /sys/.../deviceX:eventY/gyro_z_raw_roc_falling_value
380 What: /sys/.../deviceX:eventY/magn_x_raw_roc_rising_value
381 What: /sys/.../deviceX:eventY/magn_x_raw_roc_falling_value
382 What: /sys/.../deviceX:eventY/magn_y_raw_roc_rising_value
383 What: /sys/.../deviceX:eventY/magn_y_raw_roc_falling_value
384 What: /sys/.../deviceX:eventY/magn_z_raw_roc_rising_value
385 What: /sys/.../deviceX:eventY/magn_z_raw_roc_falling_value
386 What: /sys/.../deviceX:eventY/inZ_supply_raw_roc_rising_value
387 What: /sys/.../deviceX:eventY/inZ_supply_raw_roc_falling_value
388 What: /sys/.../deviceX:eventY/inZ_raw_roc_falling_value
389 What: /sys/.../deviceX:eventY/inZ_raw_roc_falling_value
390 What: /sys/.../deviceX:eventY/temp_raw_roc_falling_value
391 What: /sys/.../deviceX:eventY/temp_raw_roc_falling_value
392 KernelVersion: 2.6.37
395 Specifies the value of rate of change threshold that the
396 device is comparing against for the events enabled by
397 <type>[Z][_name]_roc[_rising|falling]_en.
398 If separate attributes exist for the two directions,
399 but direction is not specified for this attribute,
400 then a single threshold value applies to both directions.
401 The raw or input element of the name indicates whether the
402 value is in raw device units or in processed units (as _raw
403 and _input do on sysfs direct channel read attributes).
405 What: /sys/.../deviceX:eventY/accel_x_thresh_rising_period
406 What: /sys/.../deviceX:eventY/accel_x_thresh_falling_period
407 hat: /sys/.../deviceX:eventY/accel_x_roc_rising_period
408 What: /sys/.../deviceX:eventY/accel_x_roc_falling_period
409 What: /sys/.../deviceX:eventY/accel_y_thresh_rising_period
410 What: /sys/.../deviceX:eventY/accel_y_thresh_falling_period
411 What: /sys/.../deviceX:eventY/accel_y_roc_rising_period
412 What: /sys/.../deviceX:eventY/accel_y_roc_falling_period
413 What: /sys/.../deviceX:eventY/accel_z_thresh_rising_period
414 What: /sys/.../deviceX:eventY/accel_z_thresh_falling_period
415 What: /sys/.../deviceX:eventY/accel_z_roc_rising_period
416 What: /sys/.../deviceX:eventY/accel_z_roc_falling_period
417 What: /sys/.../deviceX:eventY/gyro_x_thresh_rising_period
418 What: /sys/.../deviceX:eventY/gyro_x_thresh_falling_period
419 What: /sys/.../deviceX:eventY/gyro_x_roc_rising_period
420 What: /sys/.../deviceX:eventY/gyro_x_roc_falling_period
421 What: /sys/.../deviceX:eventY/gyro_y_thresh_rising_period
422 What: /sys/.../deviceX:eventY/gyro_y_thresh_falling_period
423 What: /sys/.../deviceX:eventY/gyro_y_roc_rising_period
424 What: /sys/.../deviceX:eventY/gyro_y_roc_falling_period
425 What: /sys/.../deviceX:eventY/gyro_z_thresh_rising_period
426 What: /sys/.../deviceX:eventY/gyro_z_thresh_falling_period
427 What: /sys/.../deviceX:eventY/gyro_z_roc_rising_period
428 What: /sys/.../deviceX:eventY/gyro_z_roc_falling_period
429 What: /sys/.../deviceX:eventY/magn_x_thresh_rising_period
430 What: /sys/.../deviceX:eventY/magn_x_thresh_falling_period
431 What: /sys/.../deviceX:eventY/magn_x_roc_rising_period
432 What: /sys/.../deviceX:eventY/magn_x_roc_falling_period
433 What: /sys/.../deviceX:eventY/magn_y_thresh_rising_period
434 What: /sys/.../deviceX:eventY/magn_y_thresh_falling_period
435 What: /sys/.../deviceX:eventY/magn_y_roc_rising_period
436 What: /sys/.../deviceX:eventY/magn_y_roc_falling_period
437 What: /sys/.../deviceX:eventY/magn_z_thresh_rising_period
438 What: /sys/.../deviceX:eventY/magn_z_thresh_falling_period
439 What: /sys/.../deviceX:eventY/magn_z_roc_rising_period
440 What: /sys/.../deviceX:eventY/magn_z_roc_falling_period
441 What: /sys/.../deviceX:eventY/inZ_supply_thresh_rising_period
442 What: /sys/.../deviceX:eventY/inZ_supply_thresh_falling_period
443 What: /sys/.../deviceX:eventY/inz_supply_roc_rising_period
444 What: /sys/.../deviceX:eventY/inZ_supply_roc_falling_period
445 What: /sys/.../deviceX:eventY/inZ_thresh_rising_period
446 What: /sys/.../deviceX:eventY/inZ_thresh_falling_period
447 What: /sys/.../deviceX:eventY/inZ_roc_rising_period
448 What: /sys/.../deviceX:eventY/inZ_roc_falling_period
449 What: /sys/.../deviceX:eventY/temp_thresh_rising_period
450 What: /sys/.../deviceX:eventY/temp_thresh_falling_period
451 What: /sys/.../deviceX:eventY/temp_roc_rising_period
452 What: /sys/.../deviceX:eventY/temp_roc_falling_period
453 What: /sys/.../deviceX:eventY/accel_x&y&z_mag_falling_period
454 KernelVersion: 2.6.37
457 Period of time (in seconds) for which the condition must be
458 met before an event is generated. If direction is not
459 specified then this period applies to both directions.
461 What: /sys/.../deviceX:eventY/accel_mag_en
462 What: /sys/.../deviceX:eventY/accel_mag_rising_en
463 What: /sys/.../deviceX:eventY/accel_mag_falling_en
464 What: /sys/.../deviceX:eventY/accel_x_mag_en
465 What: /sys/.../deviceX:eventY/accel_x_mag_rising_en
466 What: /sys/.../deviceX:eventY/accel_x_mag_falling_en
467 What: /sys/.../deviceX:eventY/accel_y_mag_en
468 What: /sys/.../deviceX:eventY/accel_y_mag_rising_en
469 What: /sys/.../deviceX:eventY/accel_y_mag_falling_en
470 What: /sys/.../deviceX:eventY/accel_z_mag_en
471 What: /sys/.../deviceX:eventY/accel_z_mag_rising_en
472 What: /sys/.../deviceX:eventY/accel_z_mag_falling_en
473 What: /sys/.../deviceX:eventY/accel_x&y&z_mag_rising_en
474 What: /sys/.../deviceX:eventY/accel_x&y&z_mag_falling_en
475 KernelVersion: 2.6.37
478 Similar to accel_x_thresh[_rising|_falling]_en, but here the
479 magnitude of the channel is compared to the threshold, not its
482 What: /sys/.../accel_raw_mag_value
483 What: /sys/.../accel_x_raw_mag_rising_value
484 What: /sys/.../accel_y_raw_mag_rising_value
485 What: /sys/.../accel_z_raw_mag_rising_value
486 KernelVersion: 2.6.37
489 The value to which the magnitude of the channel is compared. If
490 number or direction is not specified, applies to all channels of
493 What: /sys/bus/iio/devices/deviceX:buffer:event/dev
494 KernelVersion: 2.6.35
497 Buffer for device X event character device major:minor numbers.
499 What: /sys/bus/iio/devices/deviceX:buffer:access/dev
500 KernelVersion: 2.6.35
503 Buffer for device X access character device major:minor numbers.
505 What: /sys/bus/iio/devices/deviceX:buffer/trigger
506 KernelVersion: 2.6.35
509 The name of the trigger source being used, as per string given
510 in /sys/class/iio/triggerY/name.
512 What: /sys/bus/iio/devices/deviceX:buffer/length
513 KernelVersion: 2.6.35
516 Number of scans contained by the buffer.
518 What: /sys/bus/iio/devices/deviceX:buffer/bytes_per_datum
519 KernelVersion: 2.6.37
522 Bytes per scan. Due to alignment fun, the scan may be larger
523 than implied directly by the scan_element parameters.
525 What: /sys/bus/iio/devices/deviceX:buffer/enable
526 KernelVersion: 2.6.35
529 Actually start the buffer capture up. Will start trigger
530 if first device and appropriate.
532 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements
533 KernelVersion: 2.6.37
536 Directory containing interfaces for elements that will be
537 captured for a single triggered sample set in the buffer.
539 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_x_en
540 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_y_en
541 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_z_en
542 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_x_en
543 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_y_en
544 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_z_en
545 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_x_en
546 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_y_en
547 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_z_en
548 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/timestamp_en
549 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_supply_en
550 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_en
551 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY-inZ_en
552 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_x_en
553 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_y_en
554 KernelVersion: 2.6.37
557 Scan element control for triggered data capture.
559 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_type
560 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_type
561 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_type
562 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_type
563 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_type
564 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/in-in_type
565 What: /sys/.../deviceX:buffer/scan_elements/inY_supply_type
566 What: /sys/.../deviceX:buffer/scan_elements/timestamp_type
567 KernelVersion: 2.6.37
570 Description of the scan element data storage within the buffer
571 and hence the form in which it is read from user-space.
572 Form is [s|u]bits/storagebits[>>shift]. s or u specifies if
573 signed (2's complement) or unsigned. bits is the number of bits
574 of data and storagebits is the space (after padding) that it
575 occupies in the buffer. shift if specified, is the shift that
576 needs to be applied prior to masking out unused bits. Some
577 devices put their data in the middle of the transferred elements
578 with additional information on both sides. Note that some
579 devices will have additional information in the unused bits
580 so to get a clean value, the bits value must be used to mask
581 the buffer output value appropriately. The storagebits value
582 also specifies the data alignment. So s48/64>>2 will be a
583 signed 48 bit integer stored in a 64 bit location aligned to
584 a a64 bit boundary. To obtain the clean value, shift right 2
585 and apply a mask to zero the top 16 bits of the result.
586 For other storage combinations this attribute will be extended
589 What: /sys/.../deviceX:buffer/scan_elements/accel_type_available
590 KernelVersion: 2.6.37
593 If the type parameter can take one of a small set of values,
594 this attribute lists them.
596 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/inY_index
597 What: /sys/.../deviceX:buffer/scan_elements/inY_supply_index
598 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_x_index
599 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_y_index
600 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/accel_z_index
601 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_x_index
602 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_y_index
603 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/gyro_z_index
604 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_x_index
605 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_y_index
606 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/magn_z_index
607 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_x_index
608 What: /sys/bus/iio/devices/deviceX:buffer/scan_elements/incli_y_index
609 What: /sys/.../deviceX:buffer/scan_elements/timestamp_index
610 KernelVersion: 2.6.37
613 A single positive integer specifying the position of this
614 scan element in the buffer. Note these are not dependent on
615 what is enabled and may not be contiguous. Thus for user-space
616 to establish the full layout these must be used in conjunction
617 with all _en attributes to establish which channels are present,
618 and the relevant _type attributes to establish the data storage