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