sysfs-bus-iio 95 KB

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