0001 What: /sys/bus/iio/devices/iio:deviceX
0002 KernelVersion: 2.6.35
0003 Contact: linux-iio@vger.kernel.org
0004 Description:
0005 Hardware chip or device accessed by one communication port.
0006 Corresponds to a grouping of sensor channels. X is the IIO
0007 index of the device.
0008
0009 What: /sys/bus/iio/devices/triggerX
0010 KernelVersion: 2.6.35
0011 Contact: linux-iio@vger.kernel.org
0012 Description:
0013 An event driven driver of data capture to an in kernel buffer.
0014 May be provided by a device driver that also has an IIO device
0015 based on hardware generated events (e.g. data ready) or
0016 provided by a separate driver for other hardware (e.g.
0017 periodic timer, GPIO or high resolution timer).
0018
0019 Contains trigger type specific elements. These do not
0020 generalize well and hence are not documented in this file.
0021 X is the IIO index of the trigger.
0022
0023 What: /sys/bus/iio/devices/iio:deviceX/buffer
0024 KernelVersion: 2.6.35
0025 Contact: linux-iio@vger.kernel.org
0026 Description:
0027 Directory of attributes relating to the buffer for the device.
0028
0029 What: /sys/bus/iio/devices/iio:deviceX/name
0030 KernelVersion: 2.6.35
0031 Contact: linux-iio@vger.kernel.org
0032 Description:
0033 Description of the physical chip / device for device X.
0034 Typically a part number.
0035
0036 What: /sys/bus/iio/devices/iio:deviceX/label
0037 KernelVersion: 5.8
0038 Contact: linux-iio@vger.kernel.org
0039 Description:
0040 Optional symbolic label for a device.
0041 This is useful for userspace to be able to better identify an
0042 individual device.
0043
0044 The contents of the label are free-form, but there are some
0045 standardized uses:
0046
0047 For proximity sensors which give the proximity (of a person) to
0048 a certain wlan or wwan antenna the following standardized labels
0049 are used:
0050
0051 * "proximity-wifi"
0052 * "proximity-lte"
0053 * "proximity-wifi-lte"
0054 * "proximity-wifi-left"
0055 * "proximity-wifi-right"
0056
0057 These are used to indicate to userspace that these proximity
0058 sensors may be used to tune transmit power to ensure that
0059 Specific Absorption Rate (SAR) limits are honored.
0060 The "-left" and "-right" labels are for devices with multiple
0061 antennas.
0062
0063 In some laptops/tablets the standardized proximity sensor labels
0064 instead indicate proximity to a specific part of the device:
0065
0066 * "proximity-palmrest" indicates proximity to the keyboard's palmrest
0067 * "proximity-palmrest-left" indicates proximity to the left part of the palmrest
0068 * "proximity-palmrest-right" indicates proximity to the right part of the palmrest
0069 * "proximity-lap" indicates the device is being used on someone's lap
0070
0071 Note "proximity-lap" is special in that its value may be
0072 calculated by firmware from other sensor readings, rather then
0073 being a raw sensor reading.
0074
0075 For accelerometers used in 2-in-1s with 360° (yoga-style) hinges,
0076 which have an accelerometer in both their base and their display,
0077 the following standardized labels are used:
0078
0079 * "accel-base"
0080 * "accel-display"
0081
0082 For devices where an accelerometer is housed in the swivel camera subassembly
0083 (for AR application), the following standardized label is used:
0084
0085 * "accel-camera"
0086
0087 What: /sys/bus/iio/devices/iio:deviceX/current_timestamp_clock
0088 KernelVersion: 4.5
0089 Contact: linux-iio@vger.kernel.org
0090 Description:
0091 String identifying current posix clock used to timestamp
0092 buffered samples and events for device X.
0093
0094 What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
0095 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency
0096 What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
0097 What: /sys/bus/iio/devices/triggerX/sampling_frequency
0098 KernelVersion: 2.6.35
0099 Contact: linux-iio@vger.kernel.org
0100 Description:
0101 Some devices have internal clocks. This parameter sets the
0102 resulting sampling frequency. In many devices this
0103 parameter has an effect on input filters etc. rather than
0104 simply controlling when the input is sampled. As this
0105 affects data ready triggers, hardware buffers and the sysfs
0106 direct access interfaces, it may be found in any of the
0107 relevant directories. If it affects all of the above
0108 then it is to be found in the base device directory.
0109
0110 The stm32-timer-trigger has the additional characteristic that
0111 a sampling_frequency of 0 is defined to stop sampling.
0112
0113 What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
0114 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency_available
0115 What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available
0116 What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
0117 What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
0118 KernelVersion: 2.6.35
0119 Contact: linux-iio@vger.kernel.org
0120 Description:
0121 When the internal sampling clock can only take a specific set of
0122 frequencies, we can specify the available values with:
0123
0124 - a small discrete set of values like "0 2 4 6 8"
0125 - a range with minimum, step and maximum frequencies like
0126 "[min step max]"
0127
0128 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
0129 KernelVersion: 2.6.38
0130 Contact: linux-iio@vger.kernel.org
0131 Description:
0132 Hardware dependent ADC oversampling. Controls the sampling ratio
0133 of the digital filter if available.
0134
0135 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
0136 KernelVersion: 2.6.38
0137 Contact: linux-iio@vger.kernel.org
0138 Description:
0139 Hardware dependent values supported by the oversampling filter.
0140
0141 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
0142 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
0143 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw
0144 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw
0145 KernelVersion: 2.6.35
0146 Contact: linux-iio@vger.kernel.org
0147 Description:
0148 Raw (unscaled no bias removal etc.) voltage measurement from
0149 channel Y. In special cases where the channel does not
0150 correspond to externally available input one of the named
0151 versions may be used. The number must always be specified and
0152 unique to allow association with event codes. Units after
0153 application of scale and offset are millivolts.
0154
0155 Channels with 'i' and 'q' modifiers always exist in pairs and both
0156 channels refer to the same signal. The 'i' channel contains the in-phase
0157 component of the signal while the 'q' channel contains the quadrature
0158 component.
0159
0160 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
0161 KernelVersion: 2.6.35
0162 Contact: linux-iio@vger.kernel.org
0163 Description:
0164 Raw (unscaled) differential voltage measurement equivalent to
0165 channel Y - channel Z where these channel numbers apply to the
0166 physically equivalent inputs when non differential readings are
0167 separately available. In differential only parts, then all that
0168 is required is a consistent labeling. Units after application
0169 of scale and offset are millivolts.
0170
0171 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
0172 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
0173 KernelVersion: 3.17
0174 Contact: linux-iio@vger.kernel.org
0175 Description:
0176 Raw (unscaled no bias removal etc.) current measurement from
0177 channel Y. In special cases where the channel does not
0178 correspond to externally available input one of the named
0179 versions may be used. The number must always be specified and
0180 unique to allow association with event codes. Units after
0181 application of scale and offset are milliamps.
0182
0183 What: /sys/bus/iio/devices/iio:deviceX/in_powerY_raw
0184 KernelVersion: 4.5
0185 Contact: linux-iio@vger.kernel.org
0186 Description:
0187 Raw (unscaled no bias removal etc.) power measurement from
0188 channel Y. The number must always be specified and
0189 unique to allow association with event codes. Units after
0190 application of scale and offset are milliwatts.
0191
0192 What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
0193 KernelVersion: 3.2
0194 Contact: linux-iio@vger.kernel.org
0195 Description:
0196 Raw capacitance measurement from channel Y. Units after
0197 application of scale and offset are nanofarads.
0198
0199 What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
0200 KernelVersion: 3.2
0201 Contact: linux-iio@vger.kernel.org
0202 Description:
0203 Raw differential capacitance measurement equivalent to
0204 channel Y - channel Z where these channel numbers apply to the
0205 physically equivalent inputs when non differential readings are
0206 separately available. In differential only parts, then all that
0207 is required is a consistent labeling. Units after application
0208 of scale and offset are nanofarads.
0209
0210 What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
0211 What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
0212 What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
0213 What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
0214 What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
0215 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
0216 KernelVersion: 2.6.35
0217 Contact: linux-iio@vger.kernel.org
0218 Description:
0219 Raw (unscaled no bias removal etc.) temperature measurement.
0220 If an axis is specified it generally means that the temperature
0221 sensor is associated with one part of a compound device (e.g.
0222 a gyroscope axis). The ambient and object modifiers distinguish
0223 between ambient (reference) and distant temperature for contact-
0224 less measurements. Units after application of scale and offset
0225 are milli degrees Celsius.
0226
0227 What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
0228 KernelVersion: 2.6.38
0229 Contact: linux-iio@vger.kernel.org
0230 Description:
0231 Scaled temperature measurement in milli degrees Celsius.
0232
0233 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
0234 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
0235 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
0236 KernelVersion: 2.6.35
0237 Contact: linux-iio@vger.kernel.org
0238 Description:
0239 Acceleration in direction x, y or z (may be arbitrarily assigned
0240 but should match other such assignments on device).
0241 Has all of the equivalent parameters as per voltageY. Units
0242 after application of scale and offset are m/s^2.
0243
0244 What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
0245 What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
0246 What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
0247 KernelVersion: 4.11
0248 Contact: linux-iio@vger.kernel.org
0249 Description:
0250 Gravity in direction x, y or z (may be arbitrarily assigned
0251 but should match other such assignments on device).
0252 Units after application of scale and offset are m/s^2.
0253
0254 What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw
0255 What: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw
0256 KernelVersion: 4.17
0257 Contact: linux-iio@vger.kernel.org
0258 Description:
0259 Angle of rotation. Units after application of scale and offset
0260 are radians.
0261
0262 What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_x_raw
0263 What: /sys/bus/iio/devices/iio:deviceX/in_positionrelative_y_raw
0264 KernelVersion: 4.19
0265 Contact: linux-iio@vger.kernel.org
0266 Description:
0267 Relative position in direction x or y on a pad (may be
0268 arbitrarily assigned but should match other such assignments on
0269 device).
0270 Units after application of scale and offset are milli percents
0271 from the pad's size in both directions. Should be calibrated by
0272 the consumer.
0273
0274 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
0275 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
0276 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
0277 KernelVersion: 2.6.35
0278 Contact: linux-iio@vger.kernel.org
0279 Description:
0280 Angular velocity about axis x, y or z (may be arbitrarily
0281 assigned). Has all the equivalent parameters as per voltageY.
0282 Units after application of scale and offset are radians per
0283 second.
0284
0285 What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
0286 What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
0287 What: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
0288 KernelVersion: 2.6.35
0289 Contact: linux-iio@vger.kernel.org
0290 Description:
0291 Inclination raw reading about axis x, y or z (may be
0292 arbitrarily assigned). Data converted by application of offset
0293 and scale to degrees.
0294
0295 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
0296 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
0297 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
0298 KernelVersion: 2.6.35
0299 Contact: linux-iio@vger.kernel.org
0300 Description:
0301 Magnetic field along axis x, y or z (may be arbitrarily
0302 assigned). Data converted by application of offset
0303 then scale to Gauss.
0304
0305 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
0306 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
0307 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
0308 KernelVersion: 2.6.36
0309 Contact: linux-iio@vger.kernel.org
0310 Description:
0311 Highest value since some reset condition. These
0312 attributes allow access to this and are otherwise
0313 the direct equivalent of the <type>Y[_name]_raw attributes.
0314
0315 What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
0316 KernelVersion: 2.6.36
0317 Contact: linux-iio@vger.kernel.org
0318 Description:
0319 A computed peak value based on the sum squared magnitude of
0320 the underlying value in the specified directions.
0321
0322 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
0323 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw
0324 KernelVersion: 3.8
0325 Contact: linux-iio@vger.kernel.org
0326 Description:
0327 Raw pressure measurement from channel Y. Units after
0328 application of scale and offset are kilopascal.
0329
0330 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input
0331 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_input
0332 KernelVersion: 3.8
0333 Contact: linux-iio@vger.kernel.org
0334 Description:
0335 Scaled pressure measurement from channel Y, in kilopascal.
0336
0337 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
0338 KernelVersion: 3.14
0339 Contact: linux-iio@vger.kernel.org
0340 Description:
0341 Raw humidity measurement of air. Units after application of
0342 scale and offset are milli percent.
0343
0344 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
0345 KernelVersion: 3.14
0346 Contact: linux-iio@vger.kernel.org
0347 Description:
0348 Scaled humidity measurement in milli percent.
0349
0350 What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
0351 KernelVersion: 3.5
0352 Contact: linux-iio@vger.kernel.org
0353 Description:
0354 Averaged raw measurement from channel X. The number of values
0355 used for averaging is device specific. The converting rules for
0356 normal raw values also applies to the averaged raw values.
0357
0358 What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
0359 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
0360 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
0361 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
0362 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
0363 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
0364 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset
0365 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset
0366 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset
0367 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset
0368 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset
0369 What: /sys/bus/iio/devices/iio:deviceX/in_current_offset
0370 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset
0371 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset
0372 What: /sys/bus/iio/devices/iio:deviceX/in_current_q_offset
0373 What: /sys/bus/iio/devices/iio:deviceX/in_current_i_offset
0374 What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
0375 What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
0376 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
0377 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
0378 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
0379 What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset
0380 What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset
0381 What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset
0382 What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_offset
0383 KernelVersion: 2.6.35
0384 Contact: linux-iio@vger.kernel.org
0385 Description:
0386 If known for a device, offset to be added to <type>[Y]_raw prior
0387 to scaling by <type>[Y]_scale in order to obtain value in the
0388 <type> units as specified in <type>[Y]_raw documentation.
0389 Not present if the offset is always 0 or unknown. If Y or
0390 axis <x|y|z> is not present, then the offset applies to all
0391 in channels of <type>.
0392 May be writable if a variable offset can be applied on the
0393 device. Note that this is different to calibbias which
0394 is for devices (or drivers) that apply offsets to compensate
0395 for variation between different instances of the part, typically
0396 adjusted by using some hardware supported calibration procedure.
0397 Calibbias is applied internally, offset is applied in userspace
0398 to the _raw output.
0399
0400 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
0401 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale
0402 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale
0403 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
0404 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
0405 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale
0406 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale
0407 What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
0408 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
0409 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
0410 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale
0411 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
0412 What: /sys/bus/iio/devices/iio:deviceX/in_current_scale
0413 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale
0414 What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale
0415 What: /sys/bus/iio/devices/iio:deviceX/in_current_i_scale
0416 What: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale
0417 What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
0418 What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
0419 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
0420 What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale
0421 What: /sys/bus/iio/devices/iio:deviceX/in_distance_scale
0422 What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
0423 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
0424 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
0425 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
0426 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
0427 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
0428 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
0429 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
0430 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
0431 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
0432 What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
0433 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
0434 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
0435 What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale
0436 What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale
0437 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale
0438 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale
0439 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale
0440 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale
0441 KernelVersion: 2.6.35
0442 Contact: linux-iio@vger.kernel.org
0443 Description:
0444 If known for a device, scale to be applied to <type>Y[_name]_raw
0445 post addition of <type>[Y][_name]_offset in order to obtain the
0446 measured value in <type> units as specified in
0447 <type>[Y][_name]_raw documentation. If shared across all in
0448 channels then Y and <x|y|z> are not present and the value is
0449 called <type>[Y][_name]_scale. The peak modifier means this
0450 value is applied to <type>Y[_name]_peak_raw values.
0451
0452 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
0453 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
0454 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
0455 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
0456 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
0457 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
0458 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
0459 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
0460 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
0461 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
0462 KernelVersion: 2.6.35
0463 Contact: linux-iio@vger.kernel.org
0464 Description:
0465 Hardware applied calibration offset (assumed to fix production
0466 inaccuracies).
0467 icm42600: For this device values are real physical offsets
0468 expressed in SI units (m/s^2 for accelerometers and rad/s
0469 for gyroscope)/
0470
0471 What: /sys/bus/iio/devices/iio:deviceX/in_accel_calibbias_available
0472 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_calibbias_available
0473 KernelVersion: 5.8
0474 Contact: linux-iio@vger.kernel.org
0475 Description:
0476 Available values of calibbias. Maybe expressed as either of:
0477
0478 - a small discrete set of values like "0 2 4 6 8"
0479 - a range specified as "[min step max]"
0480
0481 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
0482 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
0483 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale
0484 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale
0485 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale
0486 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale
0487 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale
0488 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
0489 What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
0490 What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
0491 What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
0492 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
0493 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
0494 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
0495 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
0496 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
0497 What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
0498 What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
0499 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
0500 KernelVersion: 2.6.35
0501 Contact: linux-iio@vger.kernel.org
0502 Description:
0503 Hardware applied calibration scale factor (assumed to fix
0504 production inaccuracies). If shared across all channels,
0505 <type>_calibscale is used.
0506
0507 What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
0508 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
0509 What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
0510 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
0511 KernelVersion: 4.0
0512 Contact: linux-iio@vger.kernel.org
0513 Description:
0514 Gender of the user (e.g.: male, female) used by some pedometers
0515 to compute the stride length, distance, speed and activity
0516 type.
0517
0518 What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
0519 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
0520 What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
0521 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
0522 KernelVersion: 4.0
0523 Contact: linux-iio@vger.kernel.org
0524 Description:
0525 Lists all available gender values (e.g.: male, female).
0526
0527 What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
0528 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
0529 What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
0530 What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
0531 KernelVersion: 3.19
0532 Contact: linux-iio@vger.kernel.org
0533 Description:
0534 Height of the user (in meters) used by some pedometers
0535 to compute the stride length, distance, speed and activity
0536 type.
0537
0538 What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
0539 KernelVersion: 4.0
0540 Contact: linux-iio@vger.kernel.org
0541 Description:
0542 Weight of the user (in kg). It is needed by some pedometers
0543 to compute the calories burnt by the user.
0544
0545 What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
0546 What: /sys/.../iio:deviceX/in_anglvel_scale_available
0547 What: /sys/.../iio:deviceX/in_magn_scale_available
0548 What: /sys/.../iio:deviceX/in_illuminance_scale_available
0549 What: /sys/.../iio:deviceX/in_intensity_scale_available
0550 What: /sys/.../iio:deviceX/in_proximity_scale_available
0551 What: /sys/.../iio:deviceX/in_voltageX_scale_available
0552 What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
0553 What: /sys/.../iio:deviceX/out_voltageX_scale_available
0554 What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
0555 What: /sys/.../iio:deviceX/in_capacitance_scale_available
0556 What: /sys/.../iio:deviceX/in_pressure_scale_available
0557 What: /sys/.../iio:deviceX/in_pressureY_scale_available
0558 KernelVersion: 2.6.35
0559 Contact: linux-iio@vger.kernel.org
0560 Description:
0561 If a discrete set of scale values is available, they
0562 are listed in this attribute.
0563
0564 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
0565 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
0566 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
0567 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
0568 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
0569 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
0570 KernelVersion: 2.6.35
0571 Contact: linux-iio@vger.kernel.org
0572 Description:
0573 Hardware applied gain factor. If shared across all channels,
0574 <type>_hardwaregain is used.
0575
0576 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain_available
0577 KernelVersion: 5.10
0578 Contact: linux-iio@vger.kernel.org
0579 Description:
0580 Lists all available hardware applied gain factors. Shared across all
0581 channels.
0582
0583 What: /sys/.../in_accel_filter_low_pass_3db_frequency
0584 What: /sys/.../in_magn_filter_low_pass_3db_frequency
0585 What: /sys/.../in_anglvel_filter_low_pass_3db_frequency
0586 KernelVersion: 3.2
0587 Contact: linux-iio@vger.kernel.org
0588 Description:
0589 If a known or controllable low pass filter is applied
0590 to the underlying data channel, then this parameter
0591 gives the 3dB frequency of the filter in Hz.
0592
0593 What: /sys/.../in_accel_filter_high_pass_3db_frequency
0594 What: /sys/.../in_anglvel_filter_high_pass_3db_frequency
0595 What: /sys/.../in_magn_filter_high_pass_3db_frequency
0596 KernelVersion: 4.2
0597 Contact: linux-iio@vger.kernel.org
0598 Description:
0599 If a known or controllable high pass filter is applied
0600 to the underlying data channel, then this parameter
0601 gives the 3dB frequency of the filter in Hz.
0602
0603 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
0604 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
0605 KernelVersion: 2.6.37
0606 Contact: linux-iio@vger.kernel.org
0607 Description:
0608 Raw (unscaled, no bias etc.) output voltage for
0609 channel Y. The number must always be specified and
0610 unique if the output corresponds to a single channel.
0611 While DAC like devices typically use out_voltage,
0612 a continuous frequency generating device, such as
0613 a DDS or PLL should use out_altvoltage.
0614
0615 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
0616 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
0617 KernelVersion: 2.6.37
0618 Contact: linux-iio@vger.kernel.org
0619 Description:
0620 Raw (unscaled, no bias etc.) output voltage for an aggregate of
0621 channel Y, channel Z, etc. This interface is available in cases
0622 where a single output sets the value for multiple channels
0623 simultaneously.
0624
0625 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
0626 What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
0627 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
0628 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
0629 KernelVersion: 2.6.38
0630 Contact: linux-iio@vger.kernel.org
0631 Description:
0632 Specifies the output powerdown mode.
0633 DAC output stage is disconnected from the amplifier and
0634 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
0635 2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
0636 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
0637 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
0638 90kohm_to_gnd: connected to ground via a 90kOhm resistor,
0639 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
0640 125kohm_to_gnd: connected to ground via an 125kOhm resistor,
0641 500kohm_to_gnd: connected to ground via a 500kOhm resistor,
0642 640kohm_to_gnd: connected to ground via a 640kOhm resistor,
0643 three_state: left floating.
0644 For a list of available output power down options read
0645 outX_powerdown_mode_available. If Y is not present the
0646 mode is shared across all outputs.
0647
0648 What: /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
0649 What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
0650 What: /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
0651 What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
0652 KernelVersion: 2.6.38
0653 Contact: linux-iio@vger.kernel.org
0654 Description:
0655 Lists all available output power down modes.
0656 If Y is not present the mode is shared across all outputs.
0657
0658 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
0659 What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
0660 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
0661 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
0662 KernelVersion: 2.6.38
0663 Contact: linux-iio@vger.kernel.org
0664 Description:
0665 Writing 1 causes output Y to enter the power down mode specified
0666 by the corresponding outY_powerdown_mode. DAC output stage is
0667 disconnected from the amplifier. Clearing returns to normal
0668 operation. Y may be suppressed if all outputs are controlled
0669 together.
0670
0671 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
0672 KernelVersion: 3.4.0
0673 Contact: linux-iio@vger.kernel.org
0674 Description:
0675 Output frequency for channel Y in Hz. The number must always be
0676 specified and unique if the output corresponds to a single
0677 channel.
0678 Some drivers have additional constraints:
0679 ADF4371 has an integrated VCO with fundamendal output
0680 frequency ranging from 4000000000 Hz 8000000000 Hz.
0681
0682 out_altvoltage0_frequency:
0683 A divide by 1, 2, 4, 8, 16, 32 or circuit generates
0684 frequencies from 62500000 Hz to 8000000000 Hz.
0685 out_altvoltage1_frequency:
0686 This channel duplicates the channel 0 frequency
0687 out_altvoltage2_frequency:
0688 A frequency doubler generates frequencies from
0689 8000000000 Hz to 16000000000 Hz.
0690 out_altvoltage3_frequency:
0691 A frequency quadrupler generates frequencies from
0692 16000000000 Hz to 32000000000 Hz.
0693
0694 Note: writes to one of the channels will affect the frequency of
0695 all the other channels, since it involves changing the VCO
0696 fundamental output frequency.
0697
0698 What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
0699 KernelVersion: 3.4.0
0700 Contact: linux-iio@vger.kernel.org
0701 Description:
0702 Phase in radians of one frequency/clock output Y
0703 (out_altvoltageY) relative to another frequency/clock output
0704 (out_altvoltageZ) of the device X. The number must always be
0705 specified and unique if the output corresponds to a single
0706 channel.
0707
0708 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
0709 Date: May 2012
0710 KernelVersion: 3.5
0711 Contact: Johan Hovold <jhovold@gmail.com>
0712 Description:
0713 Set/get output current for channel Y. Units after application
0714 of scale and offset are milliamps.
0715 For some devices current channels are used to specify
0716 current supplied to elements used in taking a measurement
0717 of a different type. E.g. LED currents.
0718
0719 What: /sys/bus/iio/devices/iio:deviceX/events
0720 KernelVersion: 2.6.35
0721 Contact: linux-iio@vger.kernel.org
0722 Description:
0723 Configuration of which hardware generated events are passed up
0724 to user-space.
0725
0726 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
0727 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
0728 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
0729 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
0730 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
0731 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
0732 What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
0733 What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
0734 What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
0735 What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
0736 What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
0737 What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
0738 What: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
0739 What: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
0740 What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
0741 What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
0742 What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
0743 What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
0744 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
0745 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
0746 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
0747 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
0748 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
0749 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
0750 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
0751 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
0752 What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
0753 What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
0754 What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
0755 What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
0756 What: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
0757 What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
0758 What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
0759 What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
0760 What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
0761 KernelVersion: 2.6.37
0762 Contact: linux-iio@vger.kernel.org
0763 Description:
0764 Event generated when channel passes a threshold in the specified
0765 (_rising|_falling) direction. If the direction is not specified,
0766 then either the device will report an event which ever direction
0767 a single threshold value is passed in (e.g.
0768 <type>[Y][_name]_<raw|input>_thresh_value) or
0769 <type>[Y][_name]_<raw|input>_thresh_rising_value and
0770 <type>[Y][_name]_<raw|input>_thresh_falling_value may take
0771 different values, but the device can only enable both thresholds
0772 or neither.
0773
0774 Note the driver will assume the last p events requested are
0775 to be enabled where p is how many it supports (which may vary
0776 depending on the exact set requested. So if you want to be
0777 sure you have set what you think you have, check the contents of
0778 these attributes after everything is configured. Drivers may
0779 have to buffer any parameters so that they are consistent when
0780 a given event type is enabled at a future point (and not those for
0781 whatever event was previously enabled).
0782
0783 What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
0784 What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
0785 What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
0786 What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
0787 What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
0788 What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
0789 What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
0790 What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
0791 What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
0792 What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
0793 What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
0794 What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
0795 What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
0796 What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
0797 What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
0798 What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
0799 What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
0800 What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
0801 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
0802 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
0803 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
0804 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
0805 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
0806 What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
0807 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
0808 What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
0809 What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
0810 What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
0811 What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
0812 What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
0813 What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
0814 What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
0815 KernelVersion: 2.6.37
0816 Contact: linux-iio@vger.kernel.org
0817 Description:
0818 Event generated when channel passes a threshold on the rate of
0819 change (1st differential) in the specified (_rising|_falling)
0820 direction. If the direction is not specified, then either the
0821 device will report an event which ever direction a single
0822 threshold value is passed in (e.g.
0823 <type>[Y][_name]_<raw|input>_roc_value) or
0824 <type>[Y][_name]_<raw|input>_roc_rising_value and
0825 <type>[Y][_name]_<raw|input>_roc_falling_value may take
0826 different values, but the device can only enable both rate of
0827 change thresholds or neither.
0828
0829 Note the driver will assume the last p events requested are
0830 to be enabled where p is however many it supports (which may
0831 vary depending on the exact set requested. So if you want to be
0832 sure you have set what you think you have, check the contents of
0833 these attributes after everything is configured. Drivers may
0834 have to buffer any parameters so that they are consistent when
0835 a given event type is enabled a future point (and not those for
0836 whatever event was previously enabled).
0837
0838 What: /sys/.../events/in_capacitanceY_adaptive_thresh_rising_en
0839 What: /sys/.../events/in_capacitanceY_adaptive_thresh_falling_en
0840 KernelVersion: 5.13
0841 Contact: linux-iio@vger.kernel.org
0842 Description:
0843 Adaptive thresholds are similar to normal fixed thresholds
0844 but the value is expressed as an offset from a value which
0845 provides a low frequency approximation of the channel itself.
0846 Thus these detect if a rapid change occurs in the specified
0847 direction which crosses tracking value + offset.
0848 Tracking value calculation is devices specific.
0849
0850 What: /sys/.../in_capacitanceY_adaptive_thresh_rising_timeout
0851 What: /sys/.../in_capacitanceY_adaptive_thresh_falling_timeout
0852 KernelVersion: 5.11
0853 Contact: linux-iio@vger.kernel.org
0854 Description:
0855 When adaptive thresholds are used, the tracking signal
0856 may adjust too slowly to step changes in the raw signal.
0857 Thus these specify the time in seconds for which the
0858 difference between the slow tracking signal and the raw
0859 signal is allowed to remain out-of-range before a reset
0860 event occurs in which the tracking signal is made equal
0861 to the raw signal, allowing slow tracking to resume and the
0862 adaptive threshold event detection to function as expected.
0863
0864 What: /sys/.../events/in_accel_thresh_rising_value
0865 What: /sys/.../events/in_accel_thresh_falling_value
0866 What: /sys/.../events/in_accel_x_raw_thresh_rising_value
0867 What: /sys/.../events/in_accel_x_raw_thresh_falling_value
0868 What: /sys/.../events/in_accel_y_raw_thresh_rising_value
0869 What: /sys/.../events/in_accel_y_raw_thresh_falling_value
0870 What: /sys/.../events/in_accel_z_raw_thresh_rising_value
0871 What: /sys/.../events/in_accel_z_raw_thresh_falling_value
0872 What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value
0873 What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value
0874 What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value
0875 What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value
0876 What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value
0877 What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value
0878 What: /sys/.../events/in_magn_x_raw_thresh_rising_value
0879 What: /sys/.../events/in_magn_x_raw_thresh_falling_value
0880 What: /sys/.../events/in_magn_y_raw_thresh_rising_value
0881 What: /sys/.../events/in_magn_y_raw_thresh_falling_value
0882 What: /sys/.../events/in_magn_z_raw_thresh_rising_value
0883 What: /sys/.../events/in_magn_z_raw_thresh_falling_value
0884 What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
0885 What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
0886 What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
0887 What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
0888 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
0889 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
0890 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
0891 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
0892 What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
0893 What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
0894 What: /sys/.../events/in_voltageY_raw_thresh_rising_value
0895 What: /sys/.../events/in_voltageY_raw_thresh_falling_value
0896 What: /sys/.../events/in_tempY_raw_thresh_rising_value
0897 What: /sys/.../events/in_tempY_raw_thresh_falling_value
0898 What: /sys/.../events/in_illuminance0_thresh_falling_value
0899 What: /sys/.../events/in_illuminance0_thresh_rising_value
0900 What: /sys/.../events/in_proximity0_thresh_falling_value
0901 What: /sys/.../events/in_proximity0_thresh_rising_value
0902 What: /sys/.../events/in_illuminance_thresh_rising_value
0903 What: /sys/.../events/in_illuminance_thresh_falling_value
0904 What: /sys/.../events/in_capacitanceY_thresh_rising_value
0905 What: /sys/.../events/in_capacitanceY_thresh_falling_value
0906 What: /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
0907 What: /sys/.../events/in_capacitanceY_thresh_falling_rising_value
0908 KernelVersion: 2.6.37
0909 Contact: linux-iio@vger.kernel.org
0910 Description:
0911 Specifies the value of threshold that the device is comparing
0912 against for the events enabled by
0913 <type>Y[_name]_thresh[_rising|falling]_en.
0914
0915 If separate attributes exist for the two directions, but
0916 direction is not specified for this attribute, then a single
0917 threshold value applies to both directions.
0918
0919 The raw or input element of the name indicates whether the
0920 value is in raw device units or in processed units (as _raw
0921 and _input do on sysfs direct channel read attributes).
0922
0923 What: /sys/.../events/in_accel_scale
0924 What: /sys/.../events/in_accel_peak_scale
0925 What: /sys/.../events/in_anglvel_scale
0926 What: /sys/.../events/in_magn_scale
0927 What: /sys/.../events/in_rot_from_north_magnetic_scale
0928 What: /sys/.../events/in_rot_from_north_true_scale
0929 What: /sys/.../events/in_voltage_scale
0930 What: /sys/.../events/in_voltage_supply_scale
0931 What: /sys/.../events/in_temp_scale
0932 What: /sys/.../events/in_illuminance_scale
0933 What: /sys/.../events/in_proximity_scale
0934 KernelVersion: 3.21
0935 Contact: linux-iio@vger.kernel.org
0936 Description:
0937 Specifies the conversion factor from the standard units
0938 to device specific units used to set the event trigger
0939 threshold.
0940
0941 What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
0942 What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
0943 What: /sys/.../events/in_accel_x_thresh_either_hysteresis
0944 What: /sys/.../events/in_accel_y_thresh_rising_hysteresis
0945 What: /sys/.../events/in_accel_y_thresh_falling_hysteresis
0946 What: /sys/.../events/in_accel_y_thresh_either_hysteresis
0947 What: /sys/.../events/in_accel_z_thresh_rising_hysteresis
0948 What: /sys/.../events/in_accel_z_thresh_falling_hysteresis
0949 What: /sys/.../events/in_accel_z_thresh_either_hysteresis
0950 What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
0951 What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
0952 What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis
0953 What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
0954 What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
0955 What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis
0956 What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
0957 What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
0958 What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis
0959 What: /sys/.../events/in_magn_x_thresh_rising_hysteresis
0960 What: /sys/.../events/in_magn_x_thresh_falling_hysteresis
0961 What: /sys/.../events/in_magn_x_thresh_either_hysteresis
0962 What: /sys/.../events/in_magn_y_thresh_rising_hysteresis
0963 What: /sys/.../events/in_magn_y_thresh_falling_hysteresis
0964 What: /sys/.../events/in_magn_y_thresh_either_hysteresis
0965 What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
0966 What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
0967 What: /sys/.../events/in_magn_z_thresh_either_hysteresis
0968 What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
0969 What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
0970 What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
0971 What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
0972 What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
0973 What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
0974 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
0975 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
0976 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
0977 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
0978 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
0979 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
0980 What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
0981 What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
0982 What: /sys/.../events/in_voltageY_thresh_either_hysteresis
0983 What: /sys/.../events/in_tempY_thresh_rising_hysteresis
0984 What: /sys/.../events/in_tempY_thresh_falling_hysteresis
0985 What: /sys/.../events/in_tempY_thresh_either_hysteresis
0986 What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis
0987 What: /sys/.../events/in_illuminance0_thresh_rising_hysteresis
0988 What: /sys/.../events/in_illuminance0_thresh_either_hysteresis
0989 What: /sys/.../events/in_proximity0_thresh_falling_hysteresis
0990 What: /sys/.../events/in_proximity0_thresh_rising_hysteresis
0991 What: /sys/.../events/in_proximity0_thresh_either_hysteresis
0992 KernelVersion: 3.13
0993 Contact: linux-iio@vger.kernel.org
0994 Description:
0995 Specifies the hysteresis of threshold that the device is comparing
0996 against for the events enabled by
0997 <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
0998 If separate attributes exist for the two directions, but
0999 direction is not specified for this attribute, then a single
1000 hysteresis value applies to both directions.
1001
1002 For falling events the hysteresis is added to the _value attribute for
1003 this event to get the upper threshold for when the event goes back to
1004 normal, for rising events the hysteresis is subtracted from the _value
1005 attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
1006 and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
1007 will get activated once in_voltage0_raw goes above 1200 and will become
1008 deactivated again once the value falls below 1150.
1009
1010 What: /sys/.../events/in_accel_x_raw_roc_rising_value
1011 What: /sys/.../events/in_accel_x_raw_roc_falling_value
1012 What: /sys/.../events/in_accel_y_raw_roc_rising_value
1013 What: /sys/.../events/in_accel_y_raw_roc_falling_value
1014 What: /sys/.../events/in_accel_z_raw_roc_rising_value
1015 What: /sys/.../events/in_accel_z_raw_roc_falling_value
1016 What: /sys/.../events/in_anglvel_x_raw_roc_rising_value
1017 What: /sys/.../events/in_anglvel_x_raw_roc_falling_value
1018 What: /sys/.../events/in_anglvel_y_raw_roc_rising_value
1019 What: /sys/.../events/in_anglvel_y_raw_roc_falling_value
1020 What: /sys/.../events/in_anglvel_z_raw_roc_rising_value
1021 What: /sys/.../events/in_anglvel_z_raw_roc_falling_value
1022 What: /sys/.../events/in_magn_x_raw_roc_rising_value
1023 What: /sys/.../events/in_magn_x_raw_roc_falling_value
1024 What: /sys/.../events/in_magn_y_raw_roc_rising_value
1025 What: /sys/.../events/in_magn_y_raw_roc_falling_value
1026 What: /sys/.../events/in_magn_z_raw_roc_rising_value
1027 What: /sys/.../events/in_magn_z_raw_roc_falling_value
1028 What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
1029 What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
1030 What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
1031 What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
1032 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
1033 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
1034 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
1035 What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
1036 What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
1037 What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
1038 What: /sys/.../events/in_voltageY_raw_roc_rising_value
1039 What: /sys/.../events/in_voltageY_raw_roc_falling_value
1040 What: /sys/.../events/in_tempY_raw_roc_rising_value
1041 What: /sys/.../events/in_tempY_raw_roc_falling_value
1042 KernelVersion: 2.6.37
1043 Contact: linux-iio@vger.kernel.org
1044 Description:
1045 Specifies the value of rate of change threshold that the
1046 device is comparing against for the events enabled by
1047 <type>[Y][_name]_roc[_rising|falling]_en.
1048
1049 If separate attributes exist for the two directions,
1050 but direction is not specified for this attribute,
1051 then a single threshold value applies to both directions.
1052 The raw or input element of the name indicates whether the
1053 value is in raw device units or in processed units (as _raw
1054 and _input do on sysfs direct channel read attributes).
1055
1056 What: /sys/.../events/in_accel_x_thresh_rising_period
1057 What: /sys/.../events/in_accel_x_thresh_falling_period
1058 What: /sys/.../events/in_accel_x_roc_rising_period
1059 What: /sys/.../events/in_accel_x_roc_falling_period
1060 What: /sys/.../events/in_accel_y_thresh_rising_period
1061 What: /sys/.../events/in_accel_y_thresh_falling_period
1062 What: /sys/.../events/in_accel_y_roc_rising_period
1063 What: /sys/.../events/in_accel_y_roc_falling_period
1064 What: /sys/.../events/in_accel_z_thresh_rising_period
1065 What: /sys/.../events/in_accel_z_thresh_falling_period
1066 What: /sys/.../events/in_accel_z_roc_rising_period
1067 What: /sys/.../events/in_accel_z_roc_falling_period
1068 What: /sys/.../events/in_anglvel_x_thresh_rising_period
1069 What: /sys/.../events/in_anglvel_x_thresh_falling_period
1070 What: /sys/.../events/in_anglvel_x_roc_rising_period
1071 What: /sys/.../events/in_anglvel_x_roc_falling_period
1072 What: /sys/.../events/in_anglvel_y_thresh_rising_period
1073 What: /sys/.../events/in_anglvel_y_thresh_falling_period
1074 What: /sys/.../events/in_anglvel_y_roc_rising_period
1075 What: /sys/.../events/in_anglvel_y_roc_falling_period
1076 What: /sys/.../events/in_anglvel_z_thresh_rising_period
1077 What: /sys/.../events/in_anglvel_z_thresh_falling_period
1078 What: /sys/.../events/in_anglvel_z_roc_rising_period
1079 What: /sys/.../events/in_anglvel_z_roc_falling_period
1080 What: /sys/.../events/in_magn_x_thresh_rising_period
1081 What: /sys/.../events/in_magn_x_thresh_falling_period
1082 What: /sys/.../events/in_magn_x_roc_rising_period
1083 What: /sys/.../events/in_magn_x_roc_falling_period
1084 What: /sys/.../events/in_magn_y_thresh_rising_period
1085 What: /sys/.../events/in_magn_y_thresh_falling_period
1086 What: /sys/.../events/in_magn_y_roc_rising_period
1087 What: /sys/.../events/in_magn_y_roc_falling_period
1088 What: /sys/.../events/in_magn_z_thresh_rising_period
1089 What: /sys/.../events/in_magn_z_thresh_falling_period
1090 What: /sys/.../events/in_magn_z_roc_rising_period
1091 What: /sys/.../events/in_magn_z_roc_falling_period
1092 What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
1093 What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
1094 What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
1095 What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
1096 What: /sys/.../events/in_rot_from_north_true_thresh_rising_period
1097 What: /sys/.../events/in_rot_from_north_true_thresh_falling_period
1098 What: /sys/.../events/in_rot_from_north_true_roc_rising_period
1099 What: /sys/.../events/in_rot_from_north_true_roc_falling_period
1100 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
1101 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
1102 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
1103 What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
1104 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
1105 What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
1106 What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
1107 What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
1108 What: /sys/.../events/in_voltageY_supply_thresh_rising_period
1109 What: /sys/.../events/in_voltageY_supply_thresh_falling_period
1110 What: /sys/.../events/in_voltageY_supply_roc_rising_period
1111 What: /sys/.../events/in_voltageY_supply_roc_falling_period
1112 What: /sys/.../events/in_voltageY_thresh_rising_period
1113 What: /sys/.../events/in_voltageY_thresh_falling_period
1114 What: /sys/.../events/in_voltageY_roc_rising_period
1115 What: /sys/.../events/in_voltageY_roc_falling_period
1116 What: /sys/.../events/in_tempY_thresh_rising_period
1117 What: /sys/.../events/in_tempY_thresh_falling_period
1118 What: /sys/.../events/in_tempY_roc_rising_period
1119 What: /sys/.../events/in_tempY_roc_falling_period
1120 What: /sys/.../events/in_accel_x&y&z_mag_falling_period
1121 What: /sys/.../events/in_intensity0_thresh_period
1122 What: /sys/.../events/in_proximity0_thresh_period
1123 What: /sys/.../events/in_activity_still_thresh_rising_period
1124 What: /sys/.../events/in_activity_still_thresh_falling_period
1125 What: /sys/.../events/in_activity_walking_thresh_rising_period
1126 What: /sys/.../events/in_activity_walking_thresh_falling_period
1127 What: /sys/.../events/in_activity_jogging_thresh_rising_period
1128 What: /sys/.../events/in_activity_jogging_thresh_falling_period
1129 What: /sys/.../events/in_activity_running_thresh_rising_period
1130 What: /sys/.../events/in_activity_running_thresh_falling_period
1131 What: /sys/.../events/in_illuminance_thresh_either_period
1132 KernelVersion: 2.6.37
1133 Contact: linux-iio@vger.kernel.org
1134 Description:
1135 Period of time (in seconds) for which the condition must be
1136 met before an event is generated. If direction is not
1137 specified then this period applies to both directions.
1138
1139 What: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db
1140 What: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db
1141 What: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db
1142 KernelVersion: 4.2
1143 Contact: linux-iio@vger.kernel.org
1144 Description:
1145 If a low pass filter can be applied to the event generation
1146 this property gives its 3db frequency in Hz.
1147 A value of zero disables the filter.
1148
1149 What: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db
1150 What: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db
1151 What: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db
1152 KernelVersion: 4.2
1153 Contact: linux-iio@vger.kernel.org
1154 Description:
1155 If a high pass filter can be applied to the event generation
1156 this property gives its 3db frequency in Hz.
1157 A value of zero disables the filter.
1158
1159 What: /sys/.../events/in_activity_still_thresh_rising_en
1160 What: /sys/.../events/in_activity_still_thresh_falling_en
1161 What: /sys/.../events/in_activity_walking_thresh_rising_en
1162 What: /sys/.../events/in_activity_walking_thresh_falling_en
1163 What: /sys/.../events/in_activity_jogging_thresh_rising_en
1164 What: /sys/.../events/in_activity_jogging_thresh_falling_en
1165 What: /sys/.../events/in_activity_running_thresh_rising_en
1166 What: /sys/.../events/in_activity_running_thresh_falling_en
1167 KernelVersion: 3.19
1168 Contact: linux-iio@vger.kernel.org
1169 Description:
1170 Enables or disables activity events. Depending on direction
1171 an event is generated when sensor ENTERS or LEAVES a given state.
1172
1173 What: /sys/.../events/in_activity_still_thresh_rising_value
1174 What: /sys/.../events/in_activity_still_thresh_falling_value
1175 What: /sys/.../events/in_activity_walking_thresh_rising_value
1176 What: /sys/.../events/in_activity_walking_thresh_falling_value
1177 What: /sys/.../events/in_activity_jogging_thresh_rising_value
1178 What: /sys/.../events/in_activity_jogging_thresh_falling_value
1179 What: /sys/.../events/in_activity_running_thresh_rising_value
1180 What: /sys/.../events/in_activity_running_thresh_falling_value
1181 KernelVersion: 3.19
1182 Contact: linux-iio@vger.kernel.org
1183 Description:
1184 Confidence value (in units as percentage) to be used
1185 for deciding when an event should be generated. E.g for
1186 running: If the confidence value reported by the sensor
1187 is greater than in_activity_running_thresh_rising_value
1188 then the sensor ENTERS running state. Conversely, if the
1189 confidence value reported by the sensor is lower than
1190 in_activity_running_thresh_falling_value then the sensor
1191 is LEAVING running state.
1192
1193 What: /sys/.../iio:deviceX/events/in_accel_mag_en
1194 What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en
1195 What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en
1196 What: /sys/.../iio:deviceX/events/in_accel_x_mag_en
1197 What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
1198 What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
1199 What: /sys/.../iio:deviceX/events/in_accel_y_mag_en
1200 What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
1201 What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
1202 What: /sys/.../iio:deviceX/events/in_accel_z_mag_en
1203 What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
1204 What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
1205 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
1206 What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
1207 KernelVersion: 2.6.37
1208 Contact: linux-iio@vger.kernel.org
1209 Description:
1210 Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
1211 magnitude of the channel is compared to the threshold, not its
1212 signed value.
1213
1214 What: /sys/.../events/in_accel_raw_mag_value
1215 What: /sys/.../events/in_accel_x_raw_mag_rising_value
1216 What: /sys/.../events/in_accel_y_raw_mag_rising_value
1217 What: /sys/.../events/in_accel_z_raw_mag_rising_value
1218 KernelVersion: 2.6.37
1219 Contact: linux-iio@vger.kernel.org
1220 Description:
1221 The value to which the magnitude of the channel is compared. If
1222 number or direction is not specified, applies to all channels of
1223 this type.
1224
1225 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_en
1226 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_en
1227 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_en
1228 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_en
1229 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_en
1230 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_en
1231 KernelVersion: 5.18
1232 Contact: linux-iio@vger.kernel.org
1233 Description:
1234 Similar to in_accel_mag[_y][_rising|_falling]_en, but the event
1235 value is relative to a reference magnitude. The reference magnitude
1236 includes the graviational acceleration.
1237
1238 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_value
1239 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_rising_value
1240 What: /sys/.../iio:deviceX/events/in_accel_mag_referenced_falling_value
1241 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_value
1242 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_rising_value
1243 What: /sys/.../iio:deviceX/events/in_accel_y_mag_referenced_falling_value
1244 KernelVersion: 5.18
1245 Contact: linux-iio@vger.kernel.org
1246 Description:
1247 The value to which the reference magnitude of the channel is
1248 compared. If the axis is not specified, it applies to all channels
1249 of this type.
1250
1251 What: /sys/.../events/in_steps_change_en
1252 KernelVersion: 4.0
1253 Contact: linux-iio@vger.kernel.org
1254 Description:
1255 Event generated when channel passes a threshold on the absolute
1256 change in value. E.g. for steps: a step change event is
1257 generated each time the user takes N steps, where N is set using
1258 in_steps_change_value.
1259
1260 What: /sys/.../events/in_steps_change_value
1261 KernelVersion: 4.0
1262 Contact: linux-iio@vger.kernel.org
1263 Description:
1264 Specifies the value of change threshold that the
1265 device is comparing against for the events enabled by
1266 <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
1267 if set to 3, a step change event will be generated every 3
1268 steps.
1269
1270 What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
1271 KernelVersion: 2.6.35
1272 Contact: linux-iio@vger.kernel.org
1273 Description:
1274 The name of the trigger source being used, as per string given
1275 in /sys/class/iio/triggerY/name.
1276
1277 What: /sys/bus/iio/devices/iio:deviceX/bufferY/length
1278 KernelVersion: 5.11
1279 Contact: linux-iio@vger.kernel.org
1280 Description:
1281 Number of scans contained by the buffer.
1282
1283 What: /sys/bus/iio/devices/iio:deviceX/bufferY/enable
1284 KernelVersion: 5.11
1285 Contact: linux-iio@vger.kernel.org
1286 Description:
1287 Actually start the buffer capture up. Will start trigger
1288 if first device and appropriate.
1289
1290 Note that it might be impossible to configure other attributes,
1291 (e.g.: events, scale, sampling rate) if they impact the currently
1292 active buffer capture session.
1293
1294 What: /sys/bus/iio/devices/iio:deviceX/bufferY
1295 KernelVersion: 5.11
1296 Contact: linux-iio@vger.kernel.org
1297 Description:
1298 Directory containing interfaces for elements that will be
1299 captured for a single triggered sample set in the buffer.
1300
1301 Since kernel 5.11 the scan_elements attributes are merged into
1302 the bufferY directory, to be configurable per buffer.
1303
1304 What: /sys/.../iio:deviceX/bufferY/in_accel_x_en
1305 What: /sys/.../iio:deviceX/bufferY/in_accel_y_en
1306 What: /sys/.../iio:deviceX/bufferY/in_accel_z_en
1307 What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_en
1308 What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_en
1309 What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_en
1310 What: /sys/.../iio:deviceX/bufferY/in_magn_x_en
1311 What: /sys/.../iio:deviceX/bufferY/in_magn_y_en
1312 What: /sys/.../iio:deviceX/bufferY/in_magn_z_en
1313 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_en
1314 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_en
1315 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_en
1316 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_en
1317 What: /sys/.../iio:deviceX/bufferY/in_timestamp_en
1318 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_en
1319 What: /sys/.../iio:deviceX/bufferY/in_voltageY_en
1320 What: /sys/.../iio:deviceX/bufferY/in_voltageY-voltageZ_en
1321 What: /sys/.../iio:deviceX/bufferY/in_voltageY_i_en
1322 What: /sys/.../iio:deviceX/bufferY/in_voltageY_q_en
1323 What: /sys/.../iio:deviceX/bufferY/in_voltage_i_en
1324 What: /sys/.../iio:deviceX/bufferY/in_voltage_q_en
1325 What: /sys/.../iio:deviceX/bufferY/in_incli_x_en
1326 What: /sys/.../iio:deviceX/bufferY/in_incli_y_en
1327 What: /sys/.../iio:deviceX/bufferY/in_pressureY_en
1328 What: /sys/.../iio:deviceX/bufferY/in_pressure_en
1329 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_en
1330 What: /sys/.../iio:deviceX/bufferY/in_proximity_en
1331 KernelVersion: 5.11
1332 Contact: linux-iio@vger.kernel.org
1333 Description:
1334 Scan element control for triggered data capture.
1335
1336 What: /sys/.../iio:deviceX/bufferY/in_accel_type
1337 What: /sys/.../iio:deviceX/bufferY/in_anglvel_type
1338 What: /sys/.../iio:deviceX/bufferY/in_magn_type
1339 What: /sys/.../iio:deviceX/bufferY/in_incli_type
1340 What: /sys/.../iio:deviceX/bufferY/in_voltageY_type
1341 What: /sys/.../iio:deviceX/bufferY/in_voltage_type
1342 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_type
1343 What: /sys/.../iio:deviceX/bufferY/in_voltageY_i_type
1344 What: /sys/.../iio:deviceX/bufferY/in_voltageY_q_type
1345 What: /sys/.../iio:deviceX/bufferY/in_voltage_i_type
1346 What: /sys/.../iio:deviceX/bufferY/in_voltage_q_type
1347 What: /sys/.../iio:deviceX/bufferY/in_timestamp_type
1348 What: /sys/.../iio:deviceX/bufferY/in_pressureY_type
1349 What: /sys/.../iio:deviceX/bufferY/in_pressure_type
1350 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_type
1351 What: /sys/.../iio:deviceX/bufferY/in_proximity_type
1352 KernelVersion: 5.11
1353 Contact: linux-iio@vger.kernel.org
1354 Description:
1355 Description of the scan element data storage within the buffer
1356 and hence the form in which it is read from user-space.
1357 Form is [be|le]:[s|u]bits/storagebits[>>shift].
1358 be or le specifies big or little endian. s or u specifies if
1359 signed (2's complement) or unsigned. bits is the number of bits
1360 of data and storagebits is the space (after padding) that it
1361 occupies in the buffer. shift if specified, is the shift that
1362 needs to be applied prior to masking out unused bits. Some
1363 devices put their data in the middle of the transferred elements
1364 with additional information on both sides. Note that some
1365 devices will have additional information in the unused bits
1366 so to get a clean value, the bits value must be used to mask
1367 the buffer output value appropriately. The storagebits value
1368 also specifies the data alignment. So s48/64>>2 will be a
1369 signed 48 bit integer stored in a 64 bit location aligned to
1370 a 64 bit boundary. To obtain the clean value, shift right 2
1371 and apply a mask to zero the top 16 bits of the result.
1372 For other storage combinations this attribute will be extended
1373 appropriately.
1374
1375 What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
1376 KernelVersion: 2.6.37
1377 Contact: linux-iio@vger.kernel.org
1378 Description:
1379 If the type parameter can take one of a small set of values,
1380 this attribute lists them.
1381
1382 What: /sys/.../iio:deviceX/bufferY/in_voltageY_index
1383 What: /sys/.../iio:deviceX/bufferY/in_voltageY_supply_index
1384 What: /sys/.../iio:deviceX/bufferY/in_voltageY_i_index
1385 What: /sys/.../iio:deviceX/bufferY/in_voltageY_q_index
1386 What: /sys/.../iio:deviceX/bufferY/in_voltage_i_index
1387 What: /sys/.../iio:deviceX/bufferY/in_voltage_q_index
1388 What: /sys/.../iio:deviceX/bufferY/in_accel_x_index
1389 What: /sys/.../iio:deviceX/bufferY/in_accel_y_index
1390 What: /sys/.../iio:deviceX/bufferY/in_accel_z_index
1391 What: /sys/.../iio:deviceX/bufferY/in_anglvel_x_index
1392 What: /sys/.../iio:deviceX/bufferY/in_anglvel_y_index
1393 What: /sys/.../iio:deviceX/bufferY/in_anglvel_z_index
1394 What: /sys/.../iio:deviceX/bufferY/in_magn_x_index
1395 What: /sys/.../iio:deviceX/bufferY/in_magn_y_index
1396 What: /sys/.../iio:deviceX/bufferY/in_magn_z_index
1397 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_index
1398 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_index
1399 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_magnetic_tilt_comp_index
1400 What: /sys/.../iio:deviceX/bufferY/in_rot_from_north_true_tilt_comp_index
1401 What: /sys/.../iio:deviceX/bufferY/in_incli_x_index
1402 What: /sys/.../iio:deviceX/bufferY/in_incli_y_index
1403 What: /sys/.../iio:deviceX/bufferY/in_timestamp_index
1404 What: /sys/.../iio:deviceX/bufferY/in_pressureY_index
1405 What: /sys/.../iio:deviceX/bufferY/in_pressure_index
1406 What: /sys/.../iio:deviceX/bufferY/in_rot_quaternion_index
1407 What: /sys/.../iio:deviceX/bufferY/in_proximity_index
1408 KernelVersion: 5.11
1409 Contact: linux-iio@vger.kernel.org
1410 Description:
1411 A single positive integer specifying the position of this
1412 scan element in the buffer. Note these are not dependent on
1413 what is enabled and may not be contiguous. Thus for user-space
1414 to establish the full layout these must be used in conjunction
1415 with all _en attributes to establish which channels are present,
1416 and the relevant _type attributes to establish the data storage
1417 format.
1418
1419 What: /sys/.../iio:deviceX/in_activity_still_input
1420 What: /sys/.../iio:deviceX/in_activity_walking_input
1421 What: /sys/.../iio:deviceX/in_activity_jogging_input
1422 What: /sys/.../iio:deviceX/in_activity_running_input
1423 KernelVersion: 3.19
1424 Contact: linux-iio@vger.kernel.org
1425 Description:
1426 This attribute is used to read the confidence for an activity
1427 expressed in units as percentage.
1428
1429 What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
1430 KernelVersion: 2.6.38
1431 Contact: linux-iio@vger.kernel.org
1432 Description:
1433 This attribute is used to read the amount of quadrature error
1434 present in the device at a given time.
1435
1436 What: /sys/.../iio:deviceX/in_accelX_power_mode
1437 KernelVersion: 3.11
1438 Contact: linux-iio@vger.kernel.org
1439 Description:
1440 Specifies the chip power mode.
1441 low_noise: reduce noise level from ADC,
1442 low_power: enable low current consumption.
1443 For a list of available output power modes read
1444 in_accel_power_mode_available.
1445
1446 What: /sys/.../iio:deviceX/in_energy_input
1447 What: /sys/.../iio:deviceX/in_energy_raw
1448 KernelVersion: 4.0
1449 Contact: linux-iio@vger.kernel.org
1450 Description:
1451 This attribute is used to read the energy value reported by the
1452 device (e.g.: human activity sensors report energy burnt by the
1453 user). Units after application of scale are Joules.
1454
1455 What: /sys/.../iio:deviceX/in_distance_input
1456 What: /sys/.../iio:deviceX/in_distance_raw
1457 KernelVersion: 4.0
1458 Contact: linux-iio@vger.kernel.org
1459 Description:
1460 This attribute is used to read the measured distance to an object
1461 or the distance covered by the user since the last reboot while
1462 activated. Units after application of scale are meters.
1463
1464 What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
1465 KernelVersion: 3.4.0
1466 Contact: linux-iio@vger.kernel.org
1467 Description:
1468 Writing '1' stores the current device configuration into
1469 on-chip EEPROM. After power-up or chip reset the device will
1470 automatically load the saved configuration.
1471
1472 What: /sys/.../iio:deviceX/in_proximity_raw
1473 What: /sys/.../iio:deviceX/in_proximity_input
1474 What: /sys/.../iio:deviceX/in_proximityY_raw
1475 KernelVersion: 3.4
1476 Contact: linux-iio@vger.kernel.org
1477 Description:
1478 Proximity measurement indicating that some
1479 object is near the sensor, usually by observing
1480 reflectivity of infrared or ultrasound emitted.
1481
1482 Often these sensors are unit less and as such conversion
1483 to SI units is not possible. Higher proximity measurements
1484 indicate closer objects, and vice versa. Units after
1485 application of scale and offset are meters.
1486
1487 What: /sys/.../iio:deviceX/in_illuminance_input
1488 What: /sys/.../iio:deviceX/in_illuminance_raw
1489 What: /sys/.../iio:deviceX/in_illuminanceY_input
1490 What: /sys/.../iio:deviceX/in_illuminanceY_raw
1491 What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
1492 What: /sys/.../iio:deviceX/in_illuminance_ir_raw
1493 What: /sys/.../iio:deviceX/in_illuminance_clear_raw
1494 KernelVersion: 3.4
1495 Contact: linux-iio@vger.kernel.org
1496 Description:
1497 Illuminance measurement, units after application of scale
1498 and offset are lux.
1499
1500 What: /sys/.../iio:deviceX/in_intensityY_raw
1501 What: /sys/.../iio:deviceX/in_intensityY_ir_raw
1502 What: /sys/.../iio:deviceX/in_intensityY_both_raw
1503 What: /sys/.../iio:deviceX/in_intensityY_uv_raw
1504 What: /sys/.../iio:deviceX/in_intensityY_duv_raw
1505 KernelVersion: 3.4
1506 Contact: linux-iio@vger.kernel.org
1507 Description:
1508 Unit-less light intensity. Modifiers both and ir indicate
1509 that measurements contain visible and infrared light
1510 components or just infrared light, respectively. Modifier
1511 uv indicates that measurements contain ultraviolet light
1512 components. Modifier duv indicates that measurements
1513 contain deep ultraviolet light components.
1514
1515 What: /sys/.../iio:deviceX/in_uvindex_input
1516 KernelVersion: 4.6
1517 Contact: linux-iio@vger.kernel.org
1518 Description:
1519 UV light intensity index measuring the human skin's response to
1520 different wavelength of sunlight weighted according to the
1521 standardised CIE Erythemal Action Spectrum. UV index values range
1522 from 0 (low) to >=11 (extreme).
1523
1524 What: /sys/.../iio:deviceX/in_intensity_integration_time
1525 What: /sys/.../iio:deviceX/in_intensity_red_integration_time
1526 What: /sys/.../iio:deviceX/in_intensity_green_integration_time
1527 What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
1528 What: /sys/.../iio:deviceX/in_intensity_clear_integration_time
1529 What: /sys/.../iio:deviceX/in_illuminance_integration_time
1530 KernelVersion: 3.12
1531 Contact: linux-iio@vger.kernel.org
1532 Description:
1533 This attribute is used to get/set the integration time in
1534 seconds. If shared across all channels of a given type,
1535 <type>_integration_time is used.
1536
1537 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
1538 KernelVersion: 4.0
1539 Contact: linux-iio@vger.kernel.org
1540 Description:
1541 Number of seconds in which to compute speed.
1542
1543 What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
1544 KernelVersion: 3.15
1545 Contact: linux-iio@vger.kernel.org
1546 Description:
1547 Raw value of quaternion components using a format
1548 x y z w. Here x, y, and z component represents the axis about
1549 which a rotation will occur and w component represents the
1550 amount of rotation.
1551
1552 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1553 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1554 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1555 What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1556 KernelVersion: 3.15
1557 Contact: linux-iio@vger.kernel.org
1558 Description:
1559 Raw value of rotation from true/magnetic north measured with
1560 or without compensation from tilt sensors.
1561
1562 What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
1563 What: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw
1564 What: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw
1565 KernelVersion: 3.18
1566 Contact: linux-iio@vger.kernel.org
1567 Description:
1568 Raw current measurement from channel X. Units are in milliamps
1569 after application of scale and offset. If no offset or scale is
1570 present, output should be considered as processed with the
1571 unit in milliamps.
1572
1573 Channels with 'i' and 'q' modifiers always exist in pairs and both
1574 channels refer to the same signal. The 'i' channel contains the in-phase
1575 component of the signal while the 'q' channel contains the quadrature
1576 component.
1577
1578 What: /sys/.../iio:deviceX/in_energy_en
1579 What: /sys/.../iio:deviceX/in_distance_en
1580 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
1581 What: /sys/.../iio:deviceX/in_steps_en
1582 KernelVersion: 3.19
1583 Contact: linux-iio@vger.kernel.org
1584 Description:
1585 Activates a device feature that runs in firmware/hardware.
1586 E.g. for steps: the pedometer saves power while not used;
1587 when activated, it will count the steps taken by the user in
1588 firmware and export them through in_steps_input.
1589
1590 What: /sys/.../iio:deviceX/in_steps_input
1591 KernelVersion: 3.19
1592 Contact: linux-iio@vger.kernel.org
1593 Description:
1594 This attribute is used to read the number of steps taken by the user
1595 since the last reboot while activated.
1596
1597 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
1598 What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
1599 KernelVersion: 3.19
1600 Contact: linux-iio@vger.kernel.org
1601 Description:
1602 This attribute is used to read the current speed value of the
1603 user (which is the norm or magnitude of the velocity vector).
1604 Units after application of scale are m/s.
1605
1606 What: /sys/.../iio:deviceX/in_steps_debounce_count
1607 KernelVersion: 4.0
1608 Contact: linux-iio@vger.kernel.org
1609 Description:
1610 Specifies the number of steps that must occur within
1611 in_steps_filter_debounce_time for the pedometer to decide the
1612 consumer is making steps.
1613
1614 What: /sys/.../iio:deviceX/in_steps_debounce_time
1615 KernelVersion: 4.0
1616 Contact: linux-iio@vger.kernel.org
1617 Description:
1618 Specifies number of seconds in which we compute the steps
1619 that occur in order to decide if the consumer is making steps.
1620
1621 What: /sys/bus/iio/devices/iio:deviceX/bufferY/watermark
1622 KernelVersion: 5.11
1623 Contact: linux-iio@vger.kernel.org
1624 Description:
1625 A single positive integer specifying the maximum number of scan
1626 elements to wait for.
1627
1628 Poll will block until the watermark is reached.
1629
1630 Blocking read will wait until the minimum between the requested
1631 read amount or the low water mark is available.
1632
1633 Non-blocking read will retrieve the available samples from the
1634 buffer even if there are less samples then watermark level. This
1635 allows the application to block on poll with a timeout and read
1636 the available samples after the timeout expires and thus have a
1637 maximum delay guarantee.
1638
1639 What: /sys/bus/iio/devices/iio:deviceX/bufferY/data_available
1640 KernelVersion: 5.11
1641 Contact: linux-iio@vger.kernel.org
1642 Description:
1643 A read-only value indicating the bytes of data available in the
1644 buffer. In the case of an output buffer, this indicates the
1645 amount of empty space available to write data to. In the case of
1646 an input buffer, this indicates the amount of data available for
1647 reading.
1648
1649 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_enabled
1650 KernelVersion: 4.2
1651 Contact: linux-iio@vger.kernel.org
1652 Description:
1653 A read-only boolean value that indicates if the hardware fifo is
1654 currently enabled or disabled. If the device does not have a
1655 hardware fifo this entry is not present.
1656 The hardware fifo is enabled when the buffer is enabled if the
1657 current hardware fifo watermark level is set and other current
1658 device settings allows it (e.g. if a trigger is set that samples
1659 data differently that the hardware fifo does then hardware fifo
1660 will not enabled).
1661
1662 If the hardware fifo is enabled and the level of the hardware
1663 fifo reaches the hardware fifo watermark level the device will
1664 flush its hardware fifo to the device buffer. Doing a non
1665 blocking read on the device when no samples are present in the
1666 device buffer will also force a flush.
1667
1668 When the hardware fifo is enabled there is no need to use a
1669 trigger to use buffer mode since the watermark settings
1670 guarantees that the hardware fifo is flushed to the device
1671 buffer.
1672
1673 What: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout
1674 KernelVersion: 4.12
1675 Contact: linux-iio@vger.kernel.org
1676 Description:
1677 A read/write property to provide capability to delay reporting of
1678 samples till a timeout is reached. This allows host processors to
1679 sleep, while the sensor is storing samples in its internal fifo.
1680 The maximum timeout in seconds can be specified by setting
1681 hwfifo_timeout.The current delay can be read by reading
1682 hwfifo_timeout. A value of 0 means that there is no timeout.
1683
1684 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark
1685 KernelVersion: 4.2
1686 Contact: linux-iio@vger.kernel.org
1687 Description:
1688 Read-only entry that contains a single integer specifying the
1689 current watermark level for the hardware fifo. If the device
1690 does not have a hardware fifo this entry is not present.
1691 The watermark level for the hardware fifo is set by the driver
1692 based on the value set by the user in buffer/watermark but
1693 taking into account hardware limitations (e.g. most hardware
1694 buffers are limited to 32-64 samples, some hardware buffers
1695 watermarks are fixed or have minimum levels). A value of 0
1696 means that the hardware watermark is unset.
1697
1698 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_min
1699 KernelVersion: 4.2
1700 Contact: linux-iio@vger.kernel.org
1701 Description:
1702 A single positive integer specifying the minimum watermark level
1703 for the hardware fifo of this device. If the device does not
1704 have a hardware fifo this entry is not present.
1705
1706 If the user sets buffer/watermark to a value less than this one,
1707 then the hardware watermark will remain unset.
1708
1709 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_max
1710 KernelVersion: 4.2
1711 Contact: linux-iio@vger.kernel.org
1712 Description:
1713 A single positive integer specifying the maximum watermark level
1714 for the hardware fifo of this device. If the device does not
1715 have a hardware fifo this entry is not present.
1716
1717 If the user sets buffer/watermark to a value greater than this
1718 one, then the hardware watermark will be capped at this value.
1719
1720 What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark_available
1721 KernelVersion: 4.2
1722 Contact: linux-iio@vger.kernel.org
1723 Description:
1724 A list of positive integers specifying the available watermark
1725 levels for the hardware fifo. This entry is optional and if it
1726 is not present it means that all the values between
1727 hwfifo_watermark_min and hwfifo_watermark_max are supported.
1728
1729 If the user sets buffer/watermark to a value greater than
1730 hwfifo_watermak_min but not equal to any of the values in this
1731 list, the driver will chose an appropriate value for the
1732 hardware fifo watermark level.
1733
1734 What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity
1735 What: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity
1736 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity
1737 What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity
1738 KernelVersion: 4.1
1739 Contact: linux-iio@vger.kernel.org
1740 Description:
1741 The emissivity ratio of the surface in the field of view of the
1742 contactless temperature sensor. Emissivity varies from 0 to 1,
1743 with 1 being the emissivity of a black body.
1744
1745 What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio
1746 What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio
1747 What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio
1748 KernelVersion: 4.2
1749 Contact: linux-iio@vger.kernel.org
1750 Description:
1751 Hardware applied number of measurements for acquiring one
1752 data point. The HW will do <type>[_name]_oversampling_ratio
1753 measurements and return the average value as output data. Each
1754 value resulted from <type>[_name]_oversampling_ratio measurements
1755 is considered as one sample for <type>[_name]_sampling_frequency.
1756
1757 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
1758 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
1759 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
1760 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
1761 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_ethanol_raw
1762 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_ethanol_raw
1763 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_h2_raw
1764 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_h2_raw
1765 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_o2_raw
1766 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_o2_raw
1767 What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
1768 What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
1769 KernelVersion: 4.3
1770 Contact: linux-iio@vger.kernel.org
1771 Description:
1772 Raw (unscaled no offset etc.) reading of a substance. Units
1773 after application of scale and offset are percents.
1774
1775 What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
1776 What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
1777 What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
1778 What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
1779 KernelVersion: 4.3
1780 Contact: linux-iio@vger.kernel.org
1781 Description:
1782 Raw (unscaled no offset etc.) resistance reading that can be processed
1783 into an ohm value.
1784
1785 What: /sys/bus/iio/devices/iio:deviceX/heater_enable
1786 KernelVersion: 4.1.0
1787 Contact: linux-iio@vger.kernel.org
1788 Description:
1789 '1' (enable) or '0' (disable) specifying the enable
1790 of heater function. Same reading values apply.
1791
1792 This ABI is especially applicable for humidity sensors
1793 to heatup the device and get rid of any condensation
1794 in some humidity environment
1795
1796 What: /sys/bus/iio/devices/iio:deviceX/in_ph_raw
1797 KernelVersion: 4.5
1798 Contact: linux-iio@vger.kernel.org
1799 Description:
1800 Raw (unscaled no offset etc.) pH reading of a substance as a negative
1801 base-10 logarithm of hydrodium ions in a litre of water.
1802
1803 What: /sys/bus/iio/devices/iio:deviceX/mount_matrix
1804 What: /sys/bus/iio/devices/iio:deviceX/in_mount_matrix
1805 What: /sys/bus/iio/devices/iio:deviceX/out_mount_matrix
1806 What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_mount_matrix
1807 What: /sys/bus/iio/devices/iio:deviceX/in_accel_mount_matrix
1808 KernelVersion: 4.6
1809 Contact: linux-iio@vger.kernel.org
1810 Description:
1811 Mounting matrix for IIO sensors. This is a rotation matrix which
1812 informs userspace about sensor chip's placement relative to the
1813 main hardware it is mounted on.
1814
1815 Main hardware placement is defined according to the local
1816 reference frame related to the physical quantity the sensor
1817 measures.
1818
1819 Given that the rotation matrix is defined in a board specific
1820 way (platform data and / or device-tree), the main hardware
1821 reference frame definition is left to the implementor's choice
1822 (see below for a magnetometer example).
1823
1824 Applications should apply this rotation matrix to samples so
1825 that when main hardware reference frame is aligned onto local
1826 reference frame, then sensor chip reference frame is also
1827 perfectly aligned with it.
1828
1829 Matrix is a 3x3 unitary matrix and typically looks like
1830 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Identity matrix
1831 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and main hardware
1832 are perfectly aligned with each other.
1833
1834 For example, a mounting matrix for a magnetometer sensor informs
1835 userspace about sensor chip's ORIENTATION relative to the main
1836 hardware.
1837
1838 More specifically, main hardware orientation is defined with
1839 respect to the LOCAL EARTH GEOMAGNETIC REFERENCE FRAME where :
1840
1841 * Y is in the ground plane and positive towards magnetic North ;
1842 * X is in the ground plane, perpendicular to the North axis and
1843 positive towards the East ;
1844 * Z is perpendicular to the ground plane and positive upwards.
1845
1846 An implementor might consider that for a hand-held device, a
1847 'natural' orientation would be 'front facing camera at the top'.
1848 The main hardware reference frame could then be described as :
1849
1850 * Y is in the plane of the screen and is positive towards the
1851 top of the screen ;
1852 * X is in the plane of the screen, perpendicular to Y axis, and
1853 positive towards the right hand side of the screen ;
1854 * Z is perpendicular to the screen plane and positive out of the
1855 screen.
1856
1857 Another example for a quadrotor UAV might be :
1858
1859 * Y is in the plane of the propellers and positive towards the
1860 front-view camera;
1861 * X is in the plane of the propellers, perpendicular to Y axis,
1862 and positive towards the starboard side of the UAV ;
1863 * Z is perpendicular to propellers plane and positive upwards.
1864
1865 What: /sys/bus/iio/devices/iio:deviceX/in_electricalconductivity_raw
1866 KernelVersion: 4.8
1867 Contact: linux-iio@vger.kernel.org
1868 Description:
1869 Raw (unscaled no offset etc.) electric conductivity reading that
1870 can be processed to siemens per meter.
1871
1872 What: /sys/bus/iio/devices/iio:deviceX/in_countY_raw
1873 KernelVersion: 4.10
1874 Contact: linux-iio@vger.kernel.org
1875 Description:
1876 This interface is deprecated; please use the Counter subsystem.
1877
1878 Raw counter device counts from channel Y. For quadrature
1879 counters, multiplication by an available [Y]_scale results in
1880 the counts of a single quadrature signal phase from channel Y.
1881
1882 What: /sys/bus/iio/devices/iio:deviceX/in_indexY_raw
1883 KernelVersion: 4.10
1884 Contact: linux-iio@vger.kernel.org
1885 Description:
1886 This interface is deprecated; please use the Counter subsystem.
1887
1888 Raw counter device index value from channel Y. This attribute
1889 provides an absolute positional reference (e.g. a pulse once per
1890 revolution) which may be used to home positional systems as
1891 required.
1892
1893 What: /sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
1894 KernelVersion: 4.12
1895 Contact: linux-iio@vger.kernel.org
1896 Description:
1897 This interface is deprecated; please use the Counter subsystem.
1898
1899 A list of possible counting directions which are:
1900
1901 - "up" : counter device is increasing.
1902 - "down": counter device is decreasing.
1903
1904 What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
1905 KernelVersion: 4.12
1906 Contact: linux-iio@vger.kernel.org
1907 Description:
1908 This interface is deprecated; please use the Counter subsystem.
1909
1910 Raw counter device counters direction for channel Y.
1911
1912 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_label
1913 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_label
1914 KernelVersion: 5.8
1915 Contact: linux-iio@vger.kernel.org
1916 Description:
1917 Optional symbolic label to a device channel.
1918 If a label is defined for this channel add that to the channel
1919 specific attributes. This is useful for userspace to be able to
1920 better identify an individual channel.
1921
1922 What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw
1923 KernelVersion: 4.18
1924 Contact: linux-iio@vger.kernel.org
1925 Description:
1926 Raw (unscaled) phase difference reading from channel Y
1927 that can be processed to radians.
1928
1929 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm1_input
1930 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm1_input
1931 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm2p5_input
1932 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm2p5_input
1933 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm4_input
1934 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm4_input
1935 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentration_pm10_input
1936 What: /sys/bus/iio/devices/iio:deviceX/in_massconcentrationY_pm10_input
1937 KernelVersion: 4.22
1938 Contact: linux-iio@vger.kernel.org
1939 Description:
1940 Mass concentration reading of particulate matter in ug / m3.
1941 pmX consists of particles with aerodynamic diameter less or
1942 equal to X micrometers.
1943
1944 What: /sys/bus/iio/devices/iio:deviceX/events/in_illuminance_period_available
1945 Date: November 2019
1946 KernelVersion: 5.4
1947 Contact: linux-iio@vger.kernel.org
1948 Description:
1949 List of valid periods (in seconds) for which the light intensity
1950 must be above the threshold level before interrupt is asserted.
1951
1952 What: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency
1953 KernelVersion: 5.5
1954 Contact: linux-iio@vger.kernel.org
1955 Description:
1956 Center frequency in Hz for a notch filter. Used i.e. for line
1957 noise suppression.
1958
1959 What: /sys/bus/iio/devices/iio:deviceX/in_temp_thermocouple_type
1960 KernelVersion: 5.5
1961 Contact: linux-iio@vger.kernel.org
1962 Description:
1963 One of the following thermocouple types: B, E, J, K, N, R, S, T.
1964
1965 What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibambient
1966 What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibambient
1967 KernelVersion: 5.10
1968 Contact: linux-iio@vger.kernel.org
1969 Description:
1970 Calibrated ambient temperature for object temperature
1971 calculation in milli degrees Celsius.
1972
1973 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_raw
1974 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_raw
1975 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_raw
1976 KernelVersion: 5.10
1977 Contact: linux-iio@vger.kernel.org
1978 Description:
1979 Unscaled light intensity according to CIE 1931/DIN 5033 color space.
1980 Units after application of scale are nano nanowatts per square meter.
1981
1982 What: /sys/bus/iio/devices/iio:deviceX/in_anglY_label
1983 KernelVersion: 5.12
1984 Contact: linux-iio@vger.kernel.org
1985 Description:
1986 Optional symbolic label for channel Y.
1987 For Intel hid hinge sensor, the label values are:
1988 hinge, keyboard, screen. It means the three channels
1989 each correspond respectively to hinge angle, keyboard angle,
1990 and screen angle.
1991
1992 What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
1993 What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
1994 KernelVersion: 5.12
1995 Contact: linux-iio@vger.kernel.org
1996 Description:
1997 Specify the percent for light sensor relative to the channel
1998 absolute value that a data field should change before an event
1999 is generated. Units are a percentage of the prior reading.
2000
2001 What: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable
2002 Date: June 2020
2003 KernelVersion: 5.8
2004 Contact: linux-iio@vger.kernel.org
2005 Description:
2006 Some sensors have the ability to apply auto calibration at
2007 runtime. For example, it may be necessary to compensate for
2008 contaminant build-up in a measurement chamber or optical
2009 element deterioration that would otherwise lead to sensor drift.
2010
2011 Writing 1 or 0 to this attribute will respectively activate or
2012 deactivate this auto calibration function.
2013
2014 Upon reading, the current status is returned.
2015
2016 What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value
2017 Date: June 2020
2018 KernelVersion: 5.8
2019 Contact: linux-iio@vger.kernel.org
2020 Description:
2021 Some sensors have the ability to apply a manual calibration using
2022 a known measurement value, perhaps obtained from an external
2023 reference device.
2024
2025 Writing a value to this function will force such a calibration
2026 change. For the scd30 the value should be from the range
2027 [400 1 2000].
2028
2029 Note for the scd30 that a valid value may only be obtained once
2030 it is has been written. Until then any read back of this value
2031 should be ignored. As for the scd4x an error will be returned
2032 immediately if the manual calibration has failed.
2033
2034 What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available
2035 KernelVersion: 5.15
2036 Contact: linux-iio@vger.kernel.org
2037 Description:
2038 Available range for the forced calibration value, expressed as:
2039
2040 - a range specified as "[min step max]"