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