1What: /sys/bus/iio/devices/iio:deviceX 2KernelVersion: 2.6.35 3Contact: linux-iio@vger.kernel.org 4Description: 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 9What: /sys/bus/iio/devices/triggerX 10KernelVersion: 2.6.35 11Contact: linux-iio@vger.kernel.org 12Description: 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. 21 22What: /sys/bus/iio/devices/iio:deviceX/buffer 23KernelVersion: 2.6.35 24Contact: linux-iio@vger.kernel.org 25Description: 26 Directory of attributes relating to the buffer for the device. 27 28What: /sys/bus/iio/devices/iio:deviceX/name 29KernelVersion: 2.6.35 30Contact: linux-iio@vger.kernel.org 31Description: 32 Description of the physical chip / device for device X. 33 Typically a part number. 34 35What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock 36KernelVersion: 4.5 37Contact: linux-iio@vger.kernel.org 38Description: 39 String identifying current posix clock used to timestamp 40 buffered samples and events for device X. 41 42What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency 43What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency 44What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency 45What: /sys/bus/iio/devices/triggerX/sampling_frequency 46KernelVersion: 2.6.35 47Contact: linux-iio@vger.kernel.org 48Description: 49 Some devices have internal clocks. This parameter sets the 50 resulting sampling frequency. In many devices this 51 parameter has an effect on input filters etc. rather than 52 simply controlling when the input is sampled. As this 53 affects data ready triggers, hardware buffers and the sysfs 54 direct access interfaces, it may be found in any of the 55 relevant directories. If it affects all of the above 56 then it is to be found in the base device directory. 57 58What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available 59What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available 60What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available 61What: /sys/.../iio:deviceX/buffer/sampling_frequency_available 62What: /sys/bus/iio/devices/triggerX/sampling_frequency_available 63KernelVersion: 2.6.35 64Contact: linux-iio@vger.kernel.org 65Description: 66 When the internal sampling clock can only take a specific set of 67 frequencies, we can specify the available values with: 68 - a small discrete set of values like "0 2 4 6 8" 69 - a range with minimum, step and maximum frequencies like 70 "[min step max]" 71 72What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio 73KernelVersion: 2.6.38 74Contact: linux-iio@vger.kernel.org 75Description: 76 Hardware dependent ADC oversampling. Controls the sampling ratio 77 of the digital filter if available. 78 79What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available 80KernelVersion: 2.6.38 81Contact: linux-iio@vger.kernel.org 82Description: 83 Hardware dependent values supported by the oversampling filter. 84 85What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw 86What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw 87What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw 88What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw 89KernelVersion: 2.6.35 90Contact: linux-iio@vger.kernel.org 91Description: 92 Raw (unscaled no bias removal etc.) voltage measurement from 93 channel Y. In special cases where the channel does not 94 correspond to externally available input one of the named 95 versions may be used. The number must always be specified and 96 unique to allow association with event codes. Units after 97 application of scale and offset are millivolts. 98 99 Channels with 'i' and 'q' modifiers always exist in pairs and both 100 channels refer to the same signal. The 'i' channel contains the in-phase 101 component of the signal while the 'q' channel contains the quadrature 102 component. 103 104What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw 105KernelVersion: 2.6.35 106Contact: linux-iio@vger.kernel.org 107Description: 108 Raw (unscaled) differential voltage measurement equivalent to 109 channel Y - channel Z where these channel numbers apply to the 110 physically equivalent inputs when non differential readings are 111 separately available. In differential only parts, then all that 112 is required is a consistent labeling. Units after application 113 of scale and offset are millivolts. 114 115What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw 116What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw 117KernelVersion: 3.17 118Contact: linux-iio@vger.kernel.org 119Description: 120 Raw (unscaled no bias removal etc.) current measurement from 121 channel Y. In special cases where the channel does not 122 correspond to externally available input one of the named 123 versions may be used. The number must always be specified and 124 unique to allow association with event codes. Units after 125 application of scale and offset are milliamps. 126 127What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw 128KernelVersion: 4.5 129Contact: linux-iio@vger.kernel.org 130Description: 131 Raw (unscaled no bias removal etc.) power measurement from 132 channel Y. The number must always be specified and 133 unique to allow association with event codes. Units after 134 application of scale and offset are milliwatts. 135 136What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw 137KernelVersion: 3.2 138Contact: linux-iio@vger.kernel.org 139Description: 140 Raw capacitance measurement from channel Y. Units after 141 application of scale and offset are nanofarads. 142 143What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw 144KernelVersion: 3.2 145Contact: linux-iio@vger.kernel.org 146Description: 147 Raw differential capacitance measurement equivalent to 148 channel Y - channel Z where these channel numbers apply to the 149 physically equivalent inputs when non differential readings are 150 separately available. In differential only parts, then all that 151 is required is a consistent labeling. Units after application 152 of scale and offset are nanofarads. 153 154What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw 155What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw 156What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw 157What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw 158What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw 159What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw 160KernelVersion: 2.6.35 161Contact: linux-iio@vger.kernel.org 162Description: 163 Raw (unscaled no bias removal etc.) temperature measurement. 164 If an axis is specified it generally means that the temperature 165 sensor is associated with one part of a compound device (e.g. 166 a gyroscope axis). The ambient and object modifiers distinguish 167 between ambient (reference) and distant temperature for contact- 168 less measurements. Units after application of scale and offset 169 are milli degrees Celsius. 170 171What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input 172KernelVersion: 2.6.38 173Contact: linux-iio@vger.kernel.org 174Description: 175 Scaled temperature measurement in milli degrees Celsius. 176 177What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw 178What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw 179What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw 180KernelVersion: 2.6.35 181Contact: linux-iio@vger.kernel.org 182Description: 183 Acceleration in direction x, y or z (may be arbitrarily assigned 184 but should match other such assignments on device). 185 Has all of the equivalent parameters as per voltageY. Units 186 after application of scale and offset are m/s^2. 187 188What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw 189What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw 190What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw 191KernelVersion: 4.11 192Contact: linux-iio@vger.kernel.org 193Description: 194 Gravity in direction x, y or z (may be arbitrarily assigned 195 but should match other such assignments on device). 196 Units after application of scale and offset are m/s^2. 197 198What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw 199KernelVersion: 4.17 200Contact: linux-iio@vger.kernel.org 201Description: 202 Angle of rotation. Units after application of scale and offset 203 are radians. 204 205What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw 206What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw 207KernelVersion: 4.19 208Contact: linux-iio@vger.kernel.org 209Description: 210 Relative position in direction x or y on a pad (may be 211 arbitrarily assigned but should match other such assignments on 212 device). 213 Units after application of scale and offset are milli percents 214 from the pad's size in both directions. Should be calibrated by 215 the consumer. 216 217What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw 218What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw 219What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw 220KernelVersion: 2.6.35 221Contact: linux-iio@vger.kernel.org 222Description: 223 Angular velocity about axis x, y or z (may be arbitrarily 224 assigned). Has all the equivalent parameters as per voltageY. 225 Units after application of scale and offset are radians per 226 second. 227 228What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw 229What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw 230What: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw 231KernelVersion: 2.6.35 232Contact: linux-iio@vger.kernel.org 233Description: 234 Inclination raw reading about axis x, y or z (may be 235 arbitrarily assigned). Data converted by application of offset 236 and scale to degrees. 237 238What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw 239What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw 240What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw 241KernelVersion: 2.6.35 242Contact: linux-iio@vger.kernel.org 243Description: 244 Magnetic field along axis x, y or z (may be arbitrarily 245 assigned). Data converted by application of offset 246 then scale to Gauss. 247 248What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw 249What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw 250What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw 251KernelVersion: 2.6.36 252Contact: linux-iio@vger.kernel.org 253Description: 254 Highest value since some reset condition. These 255 attributes allow access to this and are otherwise 256 the direct equivalent of the <type>Y[_name]_raw attributes. 257 258What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw 259KernelVersion: 2.6.36 260Contact: linux-iio@vger.kernel.org 261Description: 262 A computed peak value based on the sum squared magnitude of 263 the underlying value in the specified directions. 264 265What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw 266What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw 267KernelVersion: 3.8 268Contact: linux-iio@vger.kernel.org 269Description: 270 Raw pressure measurement from channel Y. Units after 271 application of scale and offset are kilopascal. 272 273What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input 274What: /sys/bus/iio/devices/iio:deviceX/in_pressure_input 275KernelVersion: 3.8 276Contact: linux-iio@vger.kernel.org 277Description: 278 Scaled pressure measurement from channel Y, in kilopascal. 279 280What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw 281KernelVersion: 3.14 282Contact: linux-iio@vger.kernel.org 283Description: 284 Raw humidity measurement of air. Units after application of 285 scale and offset are milli percent. 286 287What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input 288KernelVersion: 3.14 289Contact: linux-iio@vger.kernel.org 290Description: 291 Scaled humidity measurement in milli percent. 292 293What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw 294KernelVersion: 3.5 295Contact: linux-iio@vger.kernel.org 296Description: 297 Averaged raw measurement from channel X. The number of values 298 used for averaging is device specific. The converting rules for 299 normal raw values also applies to the averaged raw values. 300 301What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset 302What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset 303What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset 304What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset 305What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset 306What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset 307What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset 308What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset 309What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset 310What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset 311What: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset 312What: /sys/bus/iio/devices/iio:deviceX/in_current_offset 313What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset 314What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset 315What: /sys/bus/iio/devices/iio:deviceX/in_current_q_offset 316What: /sys/bus/iio/devices/iio:deviceX/in_current_i_offset 317What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset 318What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset 319What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset 320What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset 321What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset 322What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset 323What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset 324What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset 325KernelVersion: 2.6.35 326Contact: linux-iio@vger.kernel.org 327Description: 328 If known for a device, offset to be added to <type>[Y]_raw prior 329 to scaling by <type>[Y]_scale in order to obtain value in the 330 <type> units as specified in <type>[Y]_raw documentation. 331 Not present if the offset is always 0 or unknown. If Y or 332 axis <x|y|z> is not present, then the offset applies to all 333 in channels of <type>. 334 May be writable if a variable offset can be applied on the 335 device. Note that this is different to calibbias which 336 is for devices (or drivers) that apply offsets to compensate 337 for variation between different instances of the part, typically 338 adjusted by using some hardware supported calibration procedure. 339 Calibbias is applied internally, offset is applied in userspace 340 to the _raw output. 341 342What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale 343What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale 344What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale 345What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale 346What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale 347What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale 348What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale 349What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale 350What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale 351What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale 352What: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale 353What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale 354What: /sys/bus/iio/devices/iio:deviceX/in_current_scale 355What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale 356What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale 357What: /sys/bus/iio/devices/iio:deviceX/in_current_i_scale 358What: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale 359What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale 360What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale 361What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale 362What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale 363What: /sys/bus/iio/devices/iio:deviceX/in_distance_scale 364What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale 365What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale 366What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale 367What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale 368What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale 369What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale 370What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale 371What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale 372What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale 373What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale 374What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale 375What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale 376What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale 377What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale 378What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale 379What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale 380What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale 381What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale 382KernelVersion: 2.6.35 383Contact: linux-iio@vger.kernel.org 384Description: 385 If known for a device, scale to be applied to <type>Y[_name]_raw 386 post addition of <type>[Y][_name]_offset in order to obtain the 387 measured value in <type> units as specified in 388 <type>[Y][_name]_raw documentation. If shared across all in 389 channels then Y and <x|y|z> are not present and the value is 390 called <type>[Y][_name]_scale. The peak modifier means this 391 value is applied to <type>Y[_name]_peak_raw values. 392 393What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias 394What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias 395What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias 396What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias 397What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias 398What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias 399What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias 400What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias 401What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias 402What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias 403KernelVersion: 2.6.35 404Contact: linux-iio@vger.kernel.org 405Description: 406 Hardware applied calibration offset (assumed to fix production 407 inaccuracies). 408 409What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale 410What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale 411What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale 412What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale 413What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale 414What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale 415What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale 416What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale 417What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale 418What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale 419What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale 420What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale 421What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale 422What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale 423What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale 424What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale 425What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale 426What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale 427KernelVersion: 2.6.35 428Contact: linux-iio@vger.kernel.org 429Description: 430 Hardware applied calibration scale factor (assumed to fix 431 production inaccuracies). If shared across all channels, 432 <type>_calibscale is used. 433 434What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender 435What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender 436What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender 437What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender 438KernelVersion: 4.0 439Contact: linux-iio@vger.kernel.org 440Description: 441 Gender of the user (e.g.: male, female) used by some pedometers 442 to compute the stride length, distance, speed and activity 443 type. 444 445What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available 446What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available 447What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available 448What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available 449KernelVersion: 4.0 450Contact: linux-iio@vger.kernel.org 451Description: 452 Lists all available gender values (e.g.: male, female). 453 454What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight 455What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight 456What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight 457What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight 458KernelVersion: 3.19 459Contact: linux-iio@vger.kernel.org 460Description: 461 Height of the user (in meters) used by some pedometers 462 to compute the stride length, distance, speed and activity 463 type. 464 465What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight 466KernelVersion: 4.0 467Contact: linux-iio@vger.kernel.org 468Description: 469 Weight of the user (in kg). It is needed by some pedometers 470 to compute the calories burnt by the user. 471 472What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available 473What: /sys/.../iio:deviceX/in_anglvel_scale_available 474What: /sys/.../iio:deviceX/in_magn_scale_available 475What: /sys/.../iio:deviceX/in_illuminance_scale_available 476What: /sys/.../iio:deviceX/in_intensity_scale_available 477What: /sys/.../iio:deviceX/in_proximity_scale_available 478What: /sys/.../iio:deviceX/in_voltageX_scale_available 479What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available 480What: /sys/.../iio:deviceX/out_voltageX_scale_available 481What: /sys/.../iio:deviceX/out_altvoltageX_scale_available 482What: /sys/.../iio:deviceX/in_capacitance_scale_available 483What: /sys/.../iio:deviceX/in_pressure_scale_available 484What: /sys/.../iio:deviceX/in_pressureY_scale_available 485KernelVersion: 2.6.35 486Contact: linux-iio@vger.kernel.org 487Description: 488 If a discrete set of scale values is available, they 489 are listed in this attribute. 490 491What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain 492What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain 493What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain 494What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain 495What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain 496What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain 497KernelVersion: 2.6.35 498Contact: linux-iio@vger.kernel.org 499Description: 500 Hardware applied gain factor. If shared across all channels, 501 <type>_hardwaregain is used. 502 503What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available 504KernelVersion: 5.10 505Contact: linux-iio@vger.kernel.org 506Description: 507 Lists all available hardware applied gain factors. Shared across all 508 channels. 509 510What: /sys/.../in_accel_filter_low_pass_3db_frequency 511What: /sys/.../in_magn_filter_low_pass_3db_frequency 512What: /sys/.../in_anglvel_filter_low_pass_3db_frequency 513KernelVersion: 3.2 514Contact: linux-iio@vger.kernel.org 515Description: 516 If a known or controllable low pass filter is applied 517 to the underlying data channel, then this parameter 518 gives the 3dB frequency of the filter in Hz. 519 520What: /sys/.../in_accel_filter_high_pass_3db_frequency 521What: /sys/.../in_anglvel_filter_high_pass_3db_frequency 522What: /sys/.../in_magn_filter_high_pass_3db_frequency 523KernelVersion: 4.2 524Contact: linux-iio@vger.kernel.org 525Description: 526 If a known or controllable high pass filter is applied 527 to the underlying data channel, then this parameter 528 gives the 3dB frequency of the filter in Hz. 529 530What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw 531What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw 532KernelVersion: 2.6.37 533Contact: linux-iio@vger.kernel.org 534Description: 535 Raw (unscaled, no bias etc.) output voltage for 536 channel Y. The number must always be specified and 537 unique if the output corresponds to a single channel. 538 While DAC like devices typically use out_voltage, 539 a continuous frequency generating device, such as 540 a DDS or PLL should use out_altvoltage. 541 542What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw 543What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw 544KernelVersion: 2.6.37 545Contact: linux-iio@vger.kernel.org 546Description: 547 Raw (unscaled, no bias etc.) output voltage for an aggregate of 548 channel Y, channel Z, etc. This interface is available in cases 549 where a single output sets the value for multiple channels 550 simultaneously. 551 552What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode 553What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode 554What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode 555What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode 556KernelVersion: 2.6.38 557Contact: linux-iio@vger.kernel.org 558Description: 559 Specifies the output powerdown mode. 560 DAC output stage is disconnected from the amplifier and 561 1kohm_to_gnd: connected to ground via an 1kOhm resistor, 562 2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor, 563 6kohm_to_gnd: connected to ground via a 6kOhm resistor, 564 20kohm_to_gnd: connected to ground via a 20kOhm resistor, 565 90kohm_to_gnd: connected to ground via a 90kOhm resistor, 566 100kohm_to_gnd: connected to ground via an 100kOhm resistor, 567 125kohm_to_gnd: connected to ground via an 125kOhm resistor, 568 500kohm_to_gnd: connected to ground via a 500kOhm resistor, 569 640kohm_to_gnd: connected to ground via a 640kOhm resistor, 570 three_state: left floating. 571 For a list of available output power down options read 572 outX_powerdown_mode_available. If Y is not present the 573 mode is shared across all outputs. 574 575What: /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available 576What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available 577What: /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available 578What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available 579KernelVersion: 2.6.38 580Contact: linux-iio@vger.kernel.org 581Description: 582 Lists all available output power down modes. 583 If Y is not present the mode is shared across all outputs. 584 585What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown 586What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown 587What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown 588What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown 589KernelVersion: 2.6.38 590Contact: linux-iio@vger.kernel.org 591Description: 592 Writing 1 causes output Y to enter the power down mode specified 593 by the corresponding outY_powerdown_mode. DAC output stage is 594 disconnected from the amplifier. Clearing returns to normal 595 operation. Y may be suppressed if all outputs are controlled 596 together. 597 598What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency 599KernelVersion: 3.4.0 600Contact: linux-iio@vger.kernel.org 601Description: 602 Output frequency for channel Y in Hz. The number must always be 603 specified and unique if the output corresponds to a single 604 channel. 605 606What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase 607KernelVersion: 3.4.0 608Contact: linux-iio@vger.kernel.org 609Description: 610 Phase in radians of one frequency/clock output Y 611 (out_altvoltageY) relative to another frequency/clock output 612 (out_altvoltageZ) of the device X. The number must always be 613 specified and unique if the output corresponds to a single 614 channel. 615 616What: /sys/bus/iio/devices/iio:deviceX/events 617KernelVersion: 2.6.35 618Contact: linux-iio@vger.kernel.org 619Description: 620 Configuration of which hardware generated events are passed up 621 to user-space. 622 623What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en 624What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en 625What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en 626What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en 627What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en 628What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en 629What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en 630What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en 631What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en 632What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en 633What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en 634What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en 635What: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en 636What: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en 637What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en 638What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en 639What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en 640What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en 641What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en 642What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en 643What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en 644What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en 645What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en 646What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en 647What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en 648What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en 649What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en 650What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en 651What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en 652What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en 653What: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en 654What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en 655What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en 656KernelVersion: 2.6.37 657Contact: linux-iio@vger.kernel.org 658Description: 659 Event generated when channel passes a threshold in the specified 660 (_rising|_falling) direction. If the direction is not specified, 661 then either the device will report an event which ever direction 662 a single threshold value is passed in (e.g. 663 <type>[Y][_name]_<raw|input>_thresh_value) or 664 <type>[Y][_name]_<raw|input>_thresh_rising_value and 665 <type>[Y][_name]_<raw|input>_thresh_falling_value may take 666 different values, but the device can only enable both thresholds 667 or neither. 668 Note the driver will assume the last p events requested are 669 to be enabled where p is how many it supports (which may vary 670 depending on the exact set requested. So if you want to be 671 sure you have set what you think you have, check the contents of 672 these attributes after everything is configured. Drivers may 673 have to buffer any parameters so that they are consistent when 674 a given event type is enabled at a future point (and not those for 675 whatever event was previously enabled). 676 677What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en 678What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en 679What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en 680What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en 681What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en 682What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en 683What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en 684What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en 685What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en 686What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en 687What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en 688What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en 689What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en 690What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en 691What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en 692What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en 693What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en 694What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en 695What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en 696What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en 697What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en 698What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en 699What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en 700What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en 701What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en 702What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en 703What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en 704What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en 705What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en 706What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en 707What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en 708What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en 709KernelVersion: 2.6.37 710Contact: linux-iio@vger.kernel.org 711Description: 712 Event generated when channel passes a threshold on the rate of 713 change (1st differential) in the specified (_rising|_falling) 714 direction. If the direction is not specified, then either the 715 device will report an event which ever direction a single 716 threshold value is passed in (e.g. 717 <type>[Y][_name]_<raw|input>_roc_value) or 718 <type>[Y][_name]_<raw|input>_roc_rising_value and 719 <type>[Y][_name]_<raw|input>_roc_falling_value may take 720 different values, but the device can only enable both rate of 721 change thresholds or neither. 722 Note the driver will assume the last p events requested are 723 to be enabled where p is however many it supports (which may 724 vary depending on the exact set requested. So if you want to be 725 sure you have set what you think you have, check the contents of 726 these attributes after everything is configured. Drivers may 727 have to buffer any parameters so that they are consistent when 728 a given event type is enabled a future point (and not those for 729 whatever event was previously enabled). 730 731What: /sys/.../events/in_accel_thresh_rising_value 732What: /sys/.../events/in_accel_thresh_falling_value 733What: /sys/.../events/in_accel_x_raw_thresh_rising_value 734What: /sys/.../events/in_accel_x_raw_thresh_falling_value 735What: /sys/.../events/in_accel_y_raw_thresh_rising_value 736What: /sys/.../events/in_accel_y_raw_thresh_falling_value 737What: /sys/.../events/in_accel_z_raw_thresh_rising_value 738What: /sys/.../events/in_accel_z_raw_thresh_falling_value 739What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value 740What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value 741What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value 742What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value 743What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value 744What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value 745What: /sys/.../events/in_magn_x_raw_thresh_rising_value 746What: /sys/.../events/in_magn_x_raw_thresh_falling_value 747What: /sys/.../events/in_magn_y_raw_thresh_rising_value 748What: /sys/.../events/in_magn_y_raw_thresh_falling_value 749What: /sys/.../events/in_magn_z_raw_thresh_rising_value 750What: /sys/.../events/in_magn_z_raw_thresh_falling_value 751What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value 752What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value 753What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value 754What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value 755What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value 756What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value 757What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value 758What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value 759What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value 760What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value 761What: /sys/.../events/in_voltageY_raw_thresh_rising_value 762What: /sys/.../events/in_voltageY_raw_thresh_falling_value 763What: /sys/.../events/in_tempY_raw_thresh_rising_value 764What: /sys/.../events/in_tempY_raw_thresh_falling_value 765What: /sys/.../events/in_illuminance0_thresh_falling_value 766What: /sys/.../events/in_illuminance0_thresh_rising_value 767What: /sys/.../events/in_proximity0_thresh_falling_value 768What: /sys/.../events/in_proximity0_thresh_rising_value 769What: /sys/.../events/in_illuminance_thresh_rising_value 770What: /sys/.../events/in_illuminance_thresh_falling_value 771KernelVersion: 2.6.37 772Contact: linux-iio@vger.kernel.org 773Description: 774 Specifies the value of threshold that the device is comparing 775 against for the events enabled by 776 <type>Y[_name]_thresh[_rising|falling]_en. 777 If separate attributes exist for the two directions, but 778 direction is not specified for this attribute, then a single 779 threshold value applies to both directions. 780 The raw or input element of the name indicates whether the 781 value is in raw device units or in processed units (as _raw 782 and _input do on sysfs direct channel read attributes). 783 784What: /sys/.../events/in_accel_scale 785What: /sys/.../events/in_accel_peak_scale 786What: /sys/.../events/in_anglvel_scale 787What: /sys/.../events/in_magn_scale 788What: /sys/.../events/in_rot_from_north_magnetic_scale 789What: /sys/.../events/in_rot_from_north_true_scale 790What: /sys/.../events/in_voltage_scale 791What: /sys/.../events/in_voltage_supply_scale 792What: /sys/.../events/in_temp_scale 793What: /sys/.../events/in_illuminance_scale 794What: /sys/.../events/in_proximity_scale 795KernelVersion: 3.21 796Contact: linux-iio@vger.kernel.org 797Description: 798 Specifies the conversion factor from the standard units 799 to device specific units used to set the event trigger 800 threshold. 801 802What: /sys/.../events/in_accel_x_thresh_rising_hysteresis 803What: /sys/.../events/in_accel_x_thresh_falling_hysteresis 804What: /sys/.../events/in_accel_x_thresh_either_hysteresis 805What: /sys/.../events/in_accel_y_thresh_rising_hysteresis 806What: /sys/.../events/in_accel_y_thresh_falling_hysteresis 807What: /sys/.../events/in_accel_y_thresh_either_hysteresis 808What: /sys/.../events/in_accel_z_thresh_rising_hysteresis 809What: /sys/.../events/in_accel_z_thresh_falling_hysteresis 810What: /sys/.../events/in_accel_z_thresh_either_hysteresis 811What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis 812What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis 813What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis 814What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis 815What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis 816What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis 817What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis 818What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis 819What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis 820What: /sys/.../events/in_magn_x_thresh_rising_hysteresis 821What: /sys/.../events/in_magn_x_thresh_falling_hysteresis 822What: /sys/.../events/in_magn_x_thresh_either_hysteresis 823What: /sys/.../events/in_magn_y_thresh_rising_hysteresis 824What: /sys/.../events/in_magn_y_thresh_falling_hysteresis 825What: /sys/.../events/in_magn_y_thresh_either_hysteresis 826What: /sys/.../events/in_magn_z_thresh_rising_hysteresis 827What: /sys/.../events/in_magn_z_thresh_falling_hysteresis 828What: /sys/.../events/in_magn_z_thresh_either_hysteresis 829What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis 830What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis 831What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis 832What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis 833What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis 834What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis 835What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis 836What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis 837What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis 838What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis 839What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis 840What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis 841What: /sys/.../events/in_voltageY_thresh_rising_hysteresis 842What: /sys/.../events/in_voltageY_thresh_falling_hysteresis 843What: /sys/.../events/in_voltageY_thresh_either_hysteresis 844What: /sys/.../events/in_tempY_thresh_rising_hysteresis 845What: /sys/.../events/in_tempY_thresh_falling_hysteresis 846What: /sys/.../events/in_tempY_thresh_either_hysteresis 847What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis 848What: /sys/.../events/in_illuminance0_thresh_rising_hysteresis 849What: /sys/.../events/in_illuminance0_thresh_either_hysteresis 850What: /sys/.../events/in_proximity0_thresh_falling_hysteresis 851What: /sys/.../events/in_proximity0_thresh_rising_hysteresis 852What: /sys/.../events/in_proximity0_thresh_either_hysteresis 853KernelVersion: 3.13 854Contact: linux-iio@vger.kernel.org 855Description: 856 Specifies the hysteresis of threshold that the device is comparing 857 against for the events enabled by 858 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis. 859 If separate attributes exist for the two directions, but 860 direction is not specified for this attribute, then a single 861 hysteresis value applies to both directions. 862 For falling events the hysteresis is added to the _value attribute for 863 this event to get the upper threshold for when the event goes back to 864 normal, for rising events the hysteresis is subtracted from the _value 865 attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200 866 and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event 867 will get activated once in_voltage0_raw goes above 1200 and will become 868 deactivated again once the value falls below 1150. 869 870What: /sys/.../events/in_accel_x_raw_roc_rising_value 871What: /sys/.../events/in_accel_x_raw_roc_falling_value 872What: /sys/.../events/in_accel_y_raw_roc_rising_value 873What: /sys/.../events/in_accel_y_raw_roc_falling_value 874What: /sys/.../events/in_accel_z_raw_roc_rising_value 875What: /sys/.../events/in_accel_z_raw_roc_falling_value 876What: /sys/.../events/in_anglvel_x_raw_roc_rising_value 877What: /sys/.../events/in_anglvel_x_raw_roc_falling_value 878What: /sys/.../events/in_anglvel_y_raw_roc_rising_value 879What: /sys/.../events/in_anglvel_y_raw_roc_falling_value 880What: /sys/.../events/in_anglvel_z_raw_roc_rising_value 881What: /sys/.../events/in_anglvel_z_raw_roc_falling_value 882What: /sys/.../events/in_magn_x_raw_roc_rising_value 883What: /sys/.../events/in_magn_x_raw_roc_falling_value 884What: /sys/.../events/in_magn_y_raw_roc_rising_value 885What: /sys/.../events/in_magn_y_raw_roc_falling_value 886What: /sys/.../events/in_magn_z_raw_roc_rising_value 887What: /sys/.../events/in_magn_z_raw_roc_falling_value 888What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value 889What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value 890What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value 891What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value 892What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value 893What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value 894What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value 895What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value 896What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value 897What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value 898What: /sys/.../events/in_voltageY_raw_roc_rising_value 899What: /sys/.../events/in_voltageY_raw_roc_falling_value 900What: /sys/.../events/in_tempY_raw_roc_rising_value 901What: /sys/.../events/in_tempY_raw_roc_falling_value 902KernelVersion: 2.6.37 903Contact: linux-iio@vger.kernel.org 904Description: 905 Specifies the value of rate of change threshold that the 906 device is comparing against for the events enabled by 907 <type>[Y][_name]_roc[_rising|falling]_en. 908 If separate attributes exist for the two directions, 909 but direction is not specified for this attribute, 910 then a single threshold value applies to both directions. 911 The raw or input element of the name indicates whether the 912 value is in raw device units or in processed units (as _raw 913 and _input do on sysfs direct channel read attributes). 914 915What: /sys/.../events/in_accel_x_thresh_rising_period 916What: /sys/.../events/in_accel_x_thresh_falling_period 917What: /sys/.../events/in_accel_x_roc_rising_period 918What: /sys/.../events/in_accel_x_roc_falling_period 919What: /sys/.../events/in_accel_y_thresh_rising_period 920What: /sys/.../events/in_accel_y_thresh_falling_period 921What: /sys/.../events/in_accel_y_roc_rising_period 922What: /sys/.../events/in_accel_y_roc_falling_period 923What: /sys/.../events/in_accel_z_thresh_rising_period 924What: /sys/.../events/in_accel_z_thresh_falling_period 925What: /sys/.../events/in_accel_z_roc_rising_period 926What: /sys/.../events/in_accel_z_roc_falling_period 927What: /sys/.../events/in_anglvel_x_thresh_rising_period 928What: /sys/.../events/in_anglvel_x_thresh_falling_period 929What: /sys/.../events/in_anglvel_x_roc_rising_period 930What: /sys/.../events/in_anglvel_x_roc_falling_period 931What: /sys/.../events/in_anglvel_y_thresh_rising_period 932What: /sys/.../events/in_anglvel_y_thresh_falling_period 933What: /sys/.../events/in_anglvel_y_roc_rising_period 934What: /sys/.../events/in_anglvel_y_roc_falling_period 935What: /sys/.../events/in_anglvel_z_thresh_rising_period 936What: /sys/.../events/in_anglvel_z_thresh_falling_period 937What: /sys/.../events/in_anglvel_z_roc_rising_period 938What: /sys/.../events/in_anglvel_z_roc_falling_period 939What: /sys/.../events/in_magn_x_thresh_rising_period 940What: /sys/.../events/in_magn_x_thresh_falling_period 941What: /sys/.../events/in_magn_x_roc_rising_period 942What: /sys/.../events/in_magn_x_roc_falling_period 943What: /sys/.../events/in_magn_y_thresh_rising_period 944What: /sys/.../events/in_magn_y_thresh_falling_period 945What: /sys/.../events/in_magn_y_roc_rising_period 946What: /sys/.../events/in_magn_y_roc_falling_period 947What: /sys/.../events/in_magn_z_thresh_rising_period 948What: /sys/.../events/in_magn_z_thresh_falling_period 949What: /sys/.../events/in_magn_z_roc_rising_period 950What: /sys/.../events/in_magn_z_roc_falling_period 951What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period 952What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period 953What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period 954What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period 955What: /sys/.../events/in_rot_from_north_true_thresh_rising_period 956What: /sys/.../events/in_rot_from_north_true_thresh_falling_period 957What: /sys/.../events/in_rot_from_north_true_roc_rising_period 958What: /sys/.../events/in_rot_from_north_true_roc_falling_period 959What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period 960What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period 961What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period 962What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period 963What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period 964What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period 965What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period 966What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period 967What: /sys/.../events/in_voltageY_supply_thresh_rising_period 968What: /sys/.../events/in_voltageY_supply_thresh_falling_period 969What: /sys/.../events/in_voltageY_supply_roc_rising_period 970What: /sys/.../events/in_voltageY_supply_roc_falling_period 971What: /sys/.../events/in_voltageY_thresh_rising_period 972What: /sys/.../events/in_voltageY_thresh_falling_period 973What: /sys/.../events/in_voltageY_roc_rising_period 974What: /sys/.../events/in_voltageY_roc_falling_period 975What: /sys/.../events/in_tempY_thresh_rising_period 976What: /sys/.../events/in_tempY_thresh_falling_period 977What: /sys/.../events/in_tempY_roc_rising_period 978What: /sys/.../events/in_tempY_roc_falling_period 979What: /sys/.../events/in_accel_x&y&z_mag_falling_period 980What: /sys/.../events/in_intensity0_thresh_period 981What: /sys/.../events/in_proximity0_thresh_period 982What: /sys/.../events/in_activity_still_thresh_rising_period 983What: /sys/.../events/in_activity_still_thresh_falling_period 984What: /sys/.../events/in_activity_walking_thresh_rising_period 985What: /sys/.../events/in_activity_walking_thresh_falling_period 986What: /sys/.../events/in_activity_jogging_thresh_rising_period 987What: /sys/.../events/in_activity_jogging_thresh_falling_period 988What: /sys/.../events/in_activity_running_thresh_rising_period 989What: /sys/.../events/in_activity_running_thresh_falling_period 990What: /sys/.../events/in_illuminance_thresh_either_period 991KernelVersion: 2.6.37 992Contact: linux-iio@vger.kernel.org 993Description: 994 Period of time (in seconds) for which the condition must be 995 met before an event is generated. If direction is not 996 specified then this period applies to both directions. 997 998What: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db 999What: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db 1000What: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db 1001KernelVersion: 4.2 1002Contact: linux-iio@vger.kernel.org 1003Description: 1004 If a low pass filter can be applied to the event generation 1005 this property gives its 3db frequency in Hz. 1006 A value of zero disables the filter. 1007 1008What: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db 1009What: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db 1010What: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db 1011KernelVersion: 4.2 1012Contact: linux-iio@vger.kernel.org 1013Description: 1014 If a high pass filter can be applied to the event generation 1015 this property gives its 3db frequency in Hz. 1016 A value of zero disables the filter. 1017 1018What: /sys/.../events/in_activity_still_thresh_rising_en 1019What: /sys/.../events/in_activity_still_thresh_falling_en 1020What: /sys/.../events/in_activity_walking_thresh_rising_en 1021What: /sys/.../events/in_activity_walking_thresh_falling_en 1022What: /sys/.../events/in_activity_jogging_thresh_rising_en 1023What: /sys/.../events/in_activity_jogging_thresh_falling_en 1024What: /sys/.../events/in_activity_running_thresh_rising_en 1025What: /sys/.../events/in_activity_running_thresh_falling_en 1026KernelVersion: 3.19 1027Contact: linux-iio@vger.kernel.org 1028Description: 1029 Enables or disables activity events. Depending on direction 1030 an event is generated when sensor ENTERS or LEAVES a given state. 1031 1032What: /sys/.../events/in_activity_still_thresh_rising_value 1033What: /sys/.../events/in_activity_still_thresh_falling_value 1034What: /sys/.../events/in_activity_walking_thresh_rising_value 1035What: /sys/.../events/in_activity_walking_thresh_falling_value 1036What: /sys/.../events/in_activity_jogging_thresh_rising_value 1037What: /sys/.../events/in_activity_jogging_thresh_falling_value 1038What: /sys/.../events/in_activity_running_thresh_rising_value 1039What: /sys/.../events/in_activity_running_thresh_falling_value 1040KernelVersion: 3.19 1041Contact: linux-iio@vger.kernel.org 1042Description: 1043 Confidence value (in units as percentage) to be used 1044 for deciding when an event should be generated. E.g for 1045 running: If the confidence value reported by the sensor 1046 is greater than in_activity_running_thresh_rising_value 1047 then the sensor ENTERS running state. Conversely, if the 1048 confidence value reported by the sensor is lower than 1049 in_activity_running_thresh_falling_value then the sensor 1050 is LEAVING running state. 1051 1052What: /sys/.../iio:deviceX/events/in_accel_mag_en 1053What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en 1054What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en 1055What: /sys/.../iio:deviceX/events/in_accel_x_mag_en 1056What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en 1057What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en 1058What: /sys/.../iio:deviceX/events/in_accel_y_mag_en 1059What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en 1060What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en 1061What: /sys/.../iio:deviceX/events/in_accel_z_mag_en 1062What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en 1063What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en 1064What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en 1065What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en 1066KernelVersion: 2.6.37 1067Contact: linux-iio@vger.kernel.org 1068Description: 1069 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the 1070 magnitude of the channel is compared to the threshold, not its 1071 signed value. 1072 1073What: /sys/.../events/in_accel_raw_mag_value 1074What: /sys/.../events/in_accel_x_raw_mag_rising_value 1075What: /sys/.../events/in_accel_y_raw_mag_rising_value 1076What: /sys/.../events/in_accel_z_raw_mag_rising_value 1077KernelVersion: 2.6.37 1078Contact: linux-iio@vger.kernel.org 1079Description: 1080 The value to which the magnitude of the channel is compared. If 1081 number or direction is not specified, applies to all channels of 1082 this type. 1083 1084What: /sys/.../events/in_steps_change_en 1085KernelVersion: 4.0 1086Contact: linux-iio@vger.kernel.org 1087Description: 1088 Event generated when channel passes a threshold on the absolute 1089 change in value. E.g. for steps: a step change event is 1090 generated each time the user takes N steps, where N is set using 1091 in_steps_change_value. 1092 1093What: /sys/.../events/in_steps_change_value 1094KernelVersion: 4.0 1095Contact: linux-iio@vger.kernel.org 1096Description: 1097 Specifies the value of change threshold that the 1098 device is comparing against for the events enabled by 1099 <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps: 1100 if set to 3, a step change event will be generated every 3 1101 steps. 1102 1103What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger 1104KernelVersion: 2.6.35 1105Contact: linux-iio@vger.kernel.org 1106Description: 1107 The name of the trigger source being used, as per string given 1108 in /sys/class/iio/triggerY/name. 1109 1110What: /sys/bus/iio/devices/iio:deviceX/buffer/length 1111KernelVersion: 2.6.35 1112Contact: linux-iio@vger.kernel.org 1113Description: 1114 Number of scans contained by the buffer. 1115 1116What: /sys/bus/iio/devices/iio:deviceX/buffer/enable 1117KernelVersion: 2.6.35 1118Contact: linux-iio@vger.kernel.org 1119Description: 1120 Actually start the buffer capture up. Will start trigger 1121 if first device and appropriate. 1122 1123What: /sys/bus/iio/devices/iio:deviceX/scan_elements 1124KernelVersion: 2.6.37 1125Contact: linux-iio@vger.kernel.org 1126Description: 1127 Directory containing interfaces for elements that will be 1128 captured for a single triggered sample set in the buffer. 1129 1130What: /sys/.../iio:deviceX/scan_elements/in_accel_x_en 1131What: /sys/.../iio:deviceX/scan_elements/in_accel_y_en 1132What: /sys/.../iio:deviceX/scan_elements/in_accel_z_en 1133What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_en 1134What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_en 1135What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_en 1136What: /sys/.../iio:deviceX/scan_elements/in_magn_x_en 1137What: /sys/.../iio:deviceX/scan_elements/in_magn_y_en 1138What: /sys/.../iio:deviceX/scan_elements/in_magn_z_en 1139What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_en 1140What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_en 1141What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_en 1142What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_en 1143What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en 1144What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en 1145What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en 1146What: /sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en 1147What: /sys/.../iio:deviceX/scan_elements/in_voltageY_i_en 1148What: /sys/.../iio:deviceX/scan_elements/in_voltageY_q_en 1149What: /sys/.../iio:deviceX/scan_elements/in_voltage_i_en 1150What: /sys/.../iio:deviceX/scan_elements/in_voltage_q_en 1151What: /sys/.../iio:deviceX/scan_elements/in_incli_x_en 1152What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en 1153What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en 1154What: /sys/.../iio:deviceX/scan_elements/in_pressure_en 1155What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en 1156What: /sys/.../iio:deviceX/scan_elements/in_proximity_en 1157KernelVersion: 2.6.37 1158Contact: linux-iio@vger.kernel.org 1159Description: 1160 Scan element control for triggered data capture. 1161 1162What: /sys/.../iio:deviceX/scan_elements/in_accel_type 1163What: /sys/.../iio:deviceX/scan_elements/in_anglvel_type 1164What: /sys/.../iio:deviceX/scan_elements/in_magn_type 1165What: /sys/.../iio:deviceX/scan_elements/in_incli_type 1166What: /sys/.../iio:deviceX/scan_elements/in_voltageY_type 1167What: /sys/.../iio:deviceX/scan_elements/in_voltage_type 1168What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type 1169What: /sys/.../iio:deviceX/scan_elements/in_voltageY_i_type 1170What: /sys/.../iio:deviceX/scan_elements/in_voltageY_q_type 1171What: /sys/.../iio:deviceX/scan_elements/in_voltage_i_type 1172What: /sys/.../iio:deviceX/scan_elements/in_voltage_q_type 1173What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type 1174What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type 1175What: /sys/.../iio:deviceX/scan_elements/in_pressure_type 1176What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type 1177What: /sys/.../iio:deviceX/scan_elements/in_proximity_type 1178KernelVersion: 2.6.37 1179Contact: linux-iio@vger.kernel.org 1180Description: 1181 Description of the scan element data storage within the buffer 1182 and hence the form in which it is read from user-space. 1183 Form is [be|le]:[s|u]bits/storagebits[>>shift]. 1184 be or le specifies big or little endian. s or u specifies if 1185 signed (2's complement) or unsigned. bits is the number of bits 1186 of data and storagebits is the space (after padding) that it 1187 occupies in the buffer. shift if specified, is the shift that 1188 needs to be applied prior to masking out unused bits. Some 1189 devices put their data in the middle of the transferred elements 1190 with additional information on both sides. Note that some 1191 devices will have additional information in the unused bits 1192 so to get a clean value, the bits value must be used to mask 1193 the buffer output value appropriately. The storagebits value 1194 also specifies the data alignment. So s48/64>>2 will be a 1195 signed 48 bit integer stored in a 64 bit location aligned to 1196 a 64 bit boundary. To obtain the clean value, shift right 2 1197 and apply a mask to zero the top 16 bits of the result. 1198 For other storage combinations this attribute will be extended 1199 appropriately. 1200 1201What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available 1202KernelVersion: 2.6.37 1203Contact: linux-iio@vger.kernel.org 1204Description: 1205 If the type parameter can take one of a small set of values, 1206 this attribute lists them. 1207 1208What: /sys/.../iio:deviceX/scan_elements/in_voltageY_index 1209What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index 1210What: /sys/.../iio:deviceX/scan_elements/in_voltageY_i_index 1211What: /sys/.../iio:deviceX/scan_elements/in_voltageY_q_index 1212What: /sys/.../iio:deviceX/scan_elements/in_voltage_i_index 1213What: /sys/.../iio:deviceX/scan_elements/in_voltage_q_index 1214What: /sys/.../iio:deviceX/scan_elements/in_accel_x_index 1215What: /sys/.../iio:deviceX/scan_elements/in_accel_y_index 1216What: /sys/.../iio:deviceX/scan_elements/in_accel_z_index 1217What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_index 1218What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_index 1219What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_index 1220What: /sys/.../iio:deviceX/scan_elements/in_magn_x_index 1221What: /sys/.../iio:deviceX/scan_elements/in_magn_y_index 1222What: /sys/.../iio:deviceX/scan_elements/in_magn_z_index 1223What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_index 1224What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_index 1225What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_index 1226What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_index 1227What: /sys/.../iio:deviceX/scan_elements/in_incli_x_index 1228What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index 1229What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index 1230What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index 1231What: /sys/.../iio:deviceX/scan_elements/in_pressure_index 1232What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index 1233What: /sys/.../iio:deviceX/scan_elements/in_proximity_index 1234KernelVersion: 2.6.37 1235Contact: linux-iio@vger.kernel.org 1236Description: 1237 A single positive integer specifying the position of this 1238 scan element in the buffer. Note these are not dependent on 1239 what is enabled and may not be contiguous. Thus for user-space 1240 to establish the full layout these must be used in conjunction 1241 with all _en attributes to establish which channels are present, 1242 and the relevant _type attributes to establish the data storage 1243 format. 1244 1245What: /sys/.../iio:deviceX/in_activity_still_input 1246What: /sys/.../iio:deviceX/in_activity_walking_input 1247What: /sys/.../iio:deviceX/in_activity_jogging_input 1248What: /sys/.../iio:deviceX/in_activity_running_input 1249KernelVersion: 3.19 1250Contact: linux-iio@vger.kernel.org 1251Description: 1252 This attribute is used to read the confidence for an activity 1253 expressed in units as percentage. 1254 1255What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw 1256KernelVersion: 2.6.38 1257Contact: linux-iio@vger.kernel.org 1258Description: 1259 This attribute is used to read the amount of quadrature error 1260 present in the device at a given time. 1261 1262What: /sys/.../iio:deviceX/in_accelX_power_mode 1263KernelVersion: 3.11 1264Contact: linux-iio@vger.kernel.org 1265Description: 1266 Specifies the chip power mode. 1267 low_noise: reduce noise level from ADC, 1268 low_power: enable low current consumption. 1269 For a list of available output power modes read 1270 in_accel_power_mode_available. 1271 1272What: /sys/.../iio:deviceX/in_energy_input 1273What: /sys/.../iio:deviceX/in_energy_raw 1274KernelVersion: 4.0 1275Contact: linux-iio@vger.kernel.org 1276Description: 1277 This attribute is used to read the energy value reported by the 1278 device (e.g.: human activity sensors report energy burnt by the 1279 user). Units after application of scale are Joules. 1280 1281What: /sys/.../iio:deviceX/in_distance_input 1282What: /sys/.../iio:deviceX/in_distance_raw 1283KernelVersion: 4.0 1284Contact: linux-iio@vger.kernel.org 1285Description: 1286 This attribute is used to read the measured distance to an object 1287 or the distance covered by the user since the last reboot while 1288 activated. Units after application of scale are meters. 1289 1290What: /sys/bus/iio/devices/iio:deviceX/store_eeprom 1291KernelVersion: 3.4.0 1292Contact: linux-iio@vger.kernel.org 1293Description: 1294 Writing '1' stores the current device configuration into 1295 on-chip EEPROM. After power-up or chip reset the device will 1296 automatically load the saved configuration. 1297 1298What: /sys/.../iio:deviceX/in_proximity_raw 1299What: /sys/.../iio:deviceX/in_proximity_input 1300What: /sys/.../iio:deviceX/in_proximityY_raw 1301KernelVersion: 3.4 1302Contact: linux-iio@vger.kernel.org 1303Description: 1304 Proximity measurement indicating that some 1305 object is near the sensor, usually by observing 1306 reflectivity of infrared or ultrasound emitted. 1307 Often these sensors are unit less and as such conversion 1308 to SI units is not possible. Higher proximity measurements 1309 indicate closer objects, and vice versa. Units after 1310 application of scale and offset are meters. 1311 1312What: /sys/.../iio:deviceX/in_illuminance_input 1313What: /sys/.../iio:deviceX/in_illuminance_raw 1314What: /sys/.../iio:deviceX/in_illuminanceY_input 1315What: /sys/.../iio:deviceX/in_illuminanceY_raw 1316What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw 1317What: /sys/.../iio:deviceX/in_illuminance_ir_raw 1318What: /sys/.../iio:deviceX/in_illuminance_clear_raw 1319KernelVersion: 3.4 1320Contact: linux-iio@vger.kernel.org 1321Description: 1322 Illuminance measurement, units after application of scale 1323 and offset are lux. 1324 1325What: /sys/.../iio:deviceX/in_intensityY_raw 1326What: /sys/.../iio:deviceX/in_intensityY_ir_raw 1327What: /sys/.../iio:deviceX/in_intensityY_both_raw 1328What: /sys/.../iio:deviceX/in_intensityY_uv_raw 1329What: /sys/.../iio:deviceX/in_intensityY_duv_raw 1330KernelVersion: 3.4 1331Contact: linux-iio@vger.kernel.org 1332Description: 1333 Unit-less light intensity. Modifiers both and ir indicate 1334 that measurements contain visible and infrared light 1335 components or just infrared light, respectively. Modifier 1336 uv indicates that measurements contain ultraviolet light 1337 components. Modifier duv indicates that measurements 1338 contain deep ultraviolet light components. 1339 1340What: /sys/.../iio:deviceX/in_uvindex_input 1341KernelVersion: 4.6 1342Contact: linux-iio@vger.kernel.org 1343Description: 1344 UV light intensity index measuring the human skin's response to 1345 different wavelength of sunlight weighted according to the 1346 standardised CIE Erythemal Action Spectrum. UV index values range 1347 from 0 (low) to >=11 (extreme). 1348 1349What: /sys/.../iio:deviceX/in_intensity_integration_time 1350What: /sys/.../iio:deviceX/in_intensity_red_integration_time 1351What: /sys/.../iio:deviceX/in_intensity_green_integration_time 1352What: /sys/.../iio:deviceX/in_intensity_blue_integration_time 1353What: /sys/.../iio:deviceX/in_intensity_clear_integration_time 1354What: /sys/.../iio:deviceX/in_illuminance_integration_time 1355KernelVersion: 3.12 1356Contact: linux-iio@vger.kernel.org 1357Description: 1358 This attribute is used to get/set the integration time in 1359 seconds. If shared across all channels of a given type, 1360 <type>_integration_time is used. 1361 1362What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time 1363KernelVersion: 4.0 1364Contact: linux-iio@vger.kernel.org 1365Description: 1366 Number of seconds in which to compute speed. 1367 1368What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw 1369KernelVersion: 3.15 1370Contact: linux-iio@vger.kernel.org 1371Description: 1372 Raw value of quaternion components using a format 1373 x y z w. Here x, y, and z component represents the axis about 1374 which a rotation will occur and w component represents the 1375 amount of rotation. 1376 1377What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw 1378What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw 1379What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw 1380What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw 1381KernelVersion: 3.15 1382Contact: linux-iio@vger.kernel.org 1383Description: 1384 Raw value of rotation from true/magnetic north measured with 1385 or without compensation from tilt sensors. 1386 1387What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw 1388What: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw 1389What: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw 1390KernelVersion: 3.18 1391Contact: linux-iio@vger.kernel.org 1392Description: 1393 Raw current measurement from channel X. Units are in milliamps 1394 after application of scale and offset. If no offset or scale is 1395 present, output should be considered as processed with the 1396 unit in milliamps. 1397 1398 Channels with 'i' and 'q' modifiers always exist in pairs and both 1399 channels refer to the same signal. The 'i' channel contains the in-phase 1400 component of the signal while the 'q' channel contains the quadrature 1401 component. 1402 1403What: /sys/.../iio:deviceX/in_energy_en 1404What: /sys/.../iio:deviceX/in_distance_en 1405What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en 1406What: /sys/.../iio:deviceX/in_steps_en 1407KernelVersion: 3.19 1408Contact: linux-iio@vger.kernel.org 1409Description: 1410 Activates a device feature that runs in firmware/hardware. 1411 E.g. for steps: the pedometer saves power while not used; 1412 when activated, it will count the steps taken by the user in 1413 firmware and export them through in_steps_input. 1414 1415What: /sys/.../iio:deviceX/in_steps_input 1416KernelVersion: 3.19 1417Contact: linux-iio@vger.kernel.org 1418Description: 1419 This attribute is used to read the number of steps taken by the user 1420 since the last reboot while activated. 1421 1422What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input 1423What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw 1424KernelVersion: 3.19 1425Contact: linux-iio@vger.kernel.org 1426Description: 1427 This attribute is used to read the current speed value of the 1428 user (which is the norm or magnitude of the velocity vector). 1429 Units after application of scale are m/s. 1430 1431What: /sys/.../iio:deviceX/in_steps_debounce_count 1432KernelVersion: 4.0 1433Contact: linux-iio@vger.kernel.org 1434Description: 1435 Specifies the number of steps that must occur within 1436 in_steps_filter_debounce_time for the pedometer to decide the 1437 consumer is making steps. 1438 1439What: /sys/.../iio:deviceX/in_steps_debounce_time 1440KernelVersion: 4.0 1441Contact: linux-iio@vger.kernel.org 1442Description: 1443 Specifies number of seconds in which we compute the steps 1444 that occur in order to decide if the consumer is making steps. 1445 1446What: /sys/bus/iio/devices/iio:deviceX/buffer/watermark 1447KernelVersion: 4.2 1448Contact: linux-iio@vger.kernel.org 1449Description: 1450 A single positive integer specifying the maximum number of scan 1451 elements to wait for. 1452 Poll will block until the watermark is reached. 1453 Blocking read will wait until the minimum between the requested 1454 read amount or the low water mark is available. 1455 Non-blocking read will retrieve the available samples from the 1456 buffer even if there are less samples then watermark level. This 1457 allows the application to block on poll with a timeout and read 1458 the available samples after the timeout expires and thus have a 1459 maximum delay guarantee. 1460 1461What: /sys/bus/iio/devices/iio:deviceX/buffer/data_available 1462KernelVersion: 4.16 1463Contact: linux-iio@vger.kernel.org 1464Description: 1465 A read-only value indicating the bytes of data available in the 1466 buffer. In the case of an output buffer, this indicates the 1467 amount of empty space available to write data to. In the case of 1468 an input buffer, this indicates the amount of data available for 1469 reading. 1470 1471What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled 1472KernelVersion: 4.2 1473Contact: linux-iio@vger.kernel.org 1474Description: 1475 A read-only boolean value that indicates if the hardware fifo is 1476 currently enabled or disabled. If the device does not have a 1477 hardware fifo this entry is not present. 1478 The hardware fifo is enabled when the buffer is enabled if the 1479 current hardware fifo watermark level is set and other current 1480 device settings allows it (e.g. if a trigger is set that samples 1481 data differently that the hardware fifo does then hardware fifo 1482 will not enabled). 1483 If the hardware fifo is enabled and the level of the hardware 1484 fifo reaches the hardware fifo watermark level the device will 1485 flush its hardware fifo to the device buffer. Doing a non 1486 blocking read on the device when no samples are present in the 1487 device buffer will also force a flush. 1488 When the hardware fifo is enabled there is no need to use a 1489 trigger to use buffer mode since the watermark settings 1490 guarantees that the hardware fifo is flushed to the device 1491 buffer. 1492 1493What: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout 1494KernelVersion: 4.12 1495Contact: linux-iio@vger.kernel.org 1496Description: 1497 A read/write property to provide capability to delay reporting of 1498 samples till a timeout is reached. This allows host processors to 1499 sleep, while the sensor is storing samples in its internal fifo. 1500 The maximum timeout in seconds can be specified by setting 1501 hwfifo_timeout.The current delay can be read by reading 1502 hwfifo_timeout. A value of 0 means that there is no timeout. 1503 1504What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark 1505KernelVersion: 4.2 1506Contact: linux-iio@vger.kernel.org 1507Description: 1508 Read-only entry that contains a single integer specifying the 1509 current watermark level for the hardware fifo. If the device 1510 does not have a hardware fifo this entry is not present. 1511 The watermark level for the hardware fifo is set by the driver 1512 based on the value set by the user in buffer/watermark but 1513 taking into account hardware limitations (e.g. most hardware 1514 buffers are limited to 32-64 samples, some hardware buffers 1515 watermarks are fixed or have minimum levels). A value of 0 1516 means that the hardware watermark is unset. 1517 1518What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min 1519KernelVersion: 4.2 1520Contact: linux-iio@vger.kernel.org 1521Description: 1522 A single positive integer specifying the minimum watermark level 1523 for the hardware fifo of this device. If the device does not 1524 have a hardware fifo this entry is not present. 1525 If the user sets buffer/watermark to a value less than this one, 1526 then the hardware watermark will remain unset. 1527 1528What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max 1529KernelVersion: 4.2 1530Contact: linux-iio@vger.kernel.org 1531Description: 1532 A single positive integer specifying the maximum watermark level 1533 for the hardware fifo of this device. If the device does not 1534 have a hardware fifo this entry is not present. 1535 If the user sets buffer/watermark to a value greater than this 1536 one, then the hardware watermark will be capped at this value. 1537 1538What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available 1539KernelVersion: 4.2 1540Contact: linux-iio@vger.kernel.org 1541Description: 1542 A list of positive integers specifying the available watermark 1543 levels for the hardware fifo. This entry is optional and if it 1544 is not present it means that all the values between 1545 hwfifo_watermark_min and hwfifo_watermark_max are supported. 1546 If the user sets buffer/watermark to a value greater than 1547 hwfifo_watermak_min but not equal to any of the values in this 1548 list, the driver will chose an appropriate value for the 1549 hardware fifo watermark level. 1550 1551What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity 1552What: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity 1553What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity 1554What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity 1555KernelVersion: 4.1 1556Contact: linux-iio@vger.kernel.org 1557Description: 1558 The emissivity ratio of the surface in the field of view of the 1559 contactless temperature sensor. Emissivity varies from 0 to 1, 1560 with 1 being the emissivity of a black body. 1561 1562What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio 1563What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio 1564What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio 1565KernelVersion: 4.2 1566Contact: linux-iio@vger.kernel.org 1567Description: 1568 Hardware applied number of measurements for acquiring one 1569 data point. The HW will do <type>[_name]_oversampling_ratio 1570 measurements and return the average value as output data. Each 1571 value resulted from <type>[_name]_oversampling_ratio measurements 1572 is considered as one sample for <type>[_name]_sampling_frequency. 1573 1574What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw 1575What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw 1576What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw 1577What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw 1578What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw 1579What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw 1580What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw 1581What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw 1582What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw 1583What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw 1584What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw 1585What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw 1586KernelVersion: 4.3 1587Contact: linux-iio@vger.kernel.org 1588Description: 1589 Raw (unscaled no offset etc.) reading of a substance. Units 1590 after application of scale and offset are percents. 1591 1592What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw 1593What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw 1594What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw 1595What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw 1596KernelVersion: 4.3 1597Contact: linux-iio@vger.kernel.org 1598Description: 1599 Raw (unscaled no offset etc.) resistance reading that can be processed 1600 into an ohm value. 1601 1602What: /sys/bus/iio/devices/iio:deviceX/heater_enable 1603KernelVersion: 4.1.0 1604Contact: linux-iio@vger.kernel.org 1605Description: 1606 '1' (enable) or '0' (disable) specifying the enable 1607 of heater function. Same reading values apply 1608 This ABI is especially applicable for humidity sensors 1609 to heatup the device and get rid of any condensation 1610 in some humidity environment 1611 1612What: /sys/bus/iio/devices/iio:deviceX/in_ph_raw 1613KernelVersion: 4.5 1614Contact: linux-iio@vger.kernel.org 1615Description: 1616 Raw (unscaled no offset etc.) pH reading of a substance as a negative 1617 base-10 logarithm of hydrodium ions in a litre of water. 1618 1619What: /sys/bus/iio/devices/iio:deviceX/mount_matrix 1620What: /sys/bus/iio/devices/iio:deviceX/in_mount_matrix 1621What: /sys/bus/iio/devices/iio:deviceX/out_mount_matrix 1622What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix 1623What: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix 1624KernelVersion: 4.6 1625Contact: linux-iio@vger.kernel.org 1626Description: 1627 Mounting matrix for IIO sensors. This is a rotation matrix which 1628 informs userspace about sensor chip's placement relative to the 1629 main hardware it is mounted on. 1630 Main hardware placement is defined according to the local 1631 reference frame related to the physical quantity the sensor 1632 measures. 1633 Given that the rotation matrix is defined in a board specific 1634 way (platform data and / or device-tree), the main hardware 1635 reference frame definition is left to the implementor's choice 1636 (see below for a magnetometer example). 1637 Applications should apply this rotation matrix to samples so 1638 that when main hardware reference frame is aligned onto local 1639 reference frame, then sensor chip reference frame is also 1640 perfectly aligned with it. 1641 Matrix is a 3x3 unitary matrix and typically looks like 1642 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix 1643 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware 1644 are perfectly aligned with each other. 1645 1646 For example, a mounting matrix for a magnetometer sensor informs 1647 userspace about sensor chip's ORIENTATION relative to the main 1648 hardware. 1649 More specifically, main hardware orientation is defined with 1650 respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where : 1651 * Y is in the ground plane and positive towards magnetic North ; 1652 * X is in the ground plane, perpendicular to the North axis and 1653 positive towards the East ; 1654 * Z is perpendicular to the ground plane and positive upwards. 1655 1656 An implementor might consider that for a hand-held device, a 1657 'natural' orientation would be 'front facing camera at the top'. 1658 The main hardware reference frame could then be described as : 1659 * Y is in the plane of the screen and is positive towards the 1660 top of the screen ; 1661 * X is in the plane of the screen, perpendicular to Y axis, and 1662 positive towards the right hand side of the screen ; 1663 * Z is perpendicular to the screen plane and positive out of the 1664 screen. 1665 Another example for a quadrotor UAV might be : 1666 * Y is in the plane of the propellers and positive towards the 1667 front-view camera; 1668 * X is in the plane of the propellers, perpendicular to Y axis, 1669 and positive towards the starboard side of the UAV ; 1670 * Z is perpendicular to propellers plane and positive upwards. 1671 1672What: /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw 1673KernelVersion: 4.8 1674Contact: linux-iio@vger.kernel.org 1675Description: 1676 Raw (unscaled no offset etc.) electric conductivity reading that 1677 can be processed to siemens per meter. 1678 1679What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw 1680KernelVersion: 4.10 1681Contact: linux-iio@vger.kernel.org 1682Description: 1683 This interface is deprecated; please use the Counter subsystem. 1684 1685 Raw counter device counts from channel Y. For quadrature 1686 counters, multiplication by an available [Y]_scale results in 1687 the counts of a single quadrature signal phase from channel Y. 1688 1689What: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw 1690KernelVersion: 4.10 1691Contact: linux-iio@vger.kernel.org 1692Description: 1693 This interface is deprecated; please use the Counter subsystem. 1694 1695 Raw counter device index value from channel Y. This attribute 1696 provides an absolute positional reference (e.g. a pulse once per 1697 revolution) which may be used to home positional systems as 1698 required. 1699 1700What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available 1701KernelVersion: 4.12 1702Contact: linux-iio@vger.kernel.org 1703Description: 1704 This interface is deprecated; please use the Counter subsystem. 1705 1706 A list of possible counting directions which are: 1707 - "up" : counter device is increasing. 1708 - "down": counter device is decreasing. 1709 1710What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction 1711KernelVersion: 4.12 1712Contact: linux-iio@vger.kernel.org 1713Description: 1714 This interface is deprecated; please use the Counter subsystem. 1715 1716 Raw counter device counters direction for channel Y. 1717 1718What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw 1719KernelVersion: 4.18 1720Contact: linux-iio@vger.kernel.org 1721Description: 1722 Raw (unscaled) phase difference reading from channel Y 1723 that can be processed to radians. 1724 1725What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input 1726What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input 1727What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input 1728What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input 1729What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input 1730What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input 1731What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input 1732What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input 1733KernelVersion: 4.22 1734Contact: linux-iio@vger.kernel.org 1735Description: 1736 Mass concentration reading of particulate matter in ug / m3. 1737 pmX consists of particles with aerodynamic diameter less or 1738 equal to X micrometers. 1739 1740What: /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available 1741Date: November 2019 1742KernelVersion: 5.4 1743Contact: linux-iio@vger.kernel.org 1744Description: 1745 List of valid periods (in seconds) for which the light intensity 1746 must be above the threshold level before interrupt is asserted. 1747 1748What: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency 1749KernelVersion: 5.5 1750Contact: linux-iio@vger.kernel.org 1751Description: 1752 Center frequency in Hz for a notch filter. Used i.e. for line 1753 noise suppression. 1754 1755What: /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type 1756KernelVersion: 5.5 1757Contact: linux-iio@vger.kernel.org 1758Description: 1759 One of the following thermocouple types: B, E, J, K, N, R, S, T. 1760 1761What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient 1762What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient 1763KernelVersion: 5.10 1764Contact: linux-iio@vger.kernel.org 1765Description: 1766 Calibrated ambient temperature for object temperature 1767 calculation in milli degrees Celsius. 1768 1769What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw 1770What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw 1771What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw 1772KernelVersion: 5.10 1773Contact: linux-iio@vger.kernel.org 1774Description: 1775 Unscaled light intensity according to CIE 1931/DIN 5033 color space. 1776 Units after application of scale are nano nanowatts per square meter. 1777