sysfs-bus-iio 73 KB

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