sysfs-bus-iio 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251
  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/sampling_frequency
  32. What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
  33. What: /sys/bus/iio/devices/triggerX/sampling_frequency
  34. KernelVersion: 2.6.35
  35. Contact: linux-iio@vger.kernel.org
  36. Description:
  37. Some devices have internal clocks. This parameter sets the
  38. resulting sampling frequency. In many devices this
  39. parameter has an effect on input filters etc. rather than
  40. simply controlling when the input is sampled. As this
  41. effects data ready triggers, hardware buffers and the sysfs
  42. direct access interfaces, it may be found in any of the
  43. relevant directories. If it effects all of the above
  44. then it is to be found in the base device directory.
  45. What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available
  46. What: /sys/.../iio:deviceX/buffer/sampling_frequency_available
  47. What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
  48. KernelVersion: 2.6.35
  49. Contact: linux-iio@vger.kernel.org
  50. Description:
  51. When the internal sampling clock can only take a small
  52. discrete set of values, this file lists those available.
  53. What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
  54. KernelVersion: 2.6.38
  55. Contact: linux-iio@vger.kernel.org
  56. Description:
  57. Hardware dependent ADC oversampling. Controls the sampling ratio
  58. of the digital filter if available.
  59. What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio_available
  60. KernelVersion: 2.6.38
  61. Contact: linux-iio@vger.kernel.org
  62. Description:
  63. Hardware dependent values supported by the oversampling filter.
  64. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw
  65. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw
  66. KernelVersion: 2.6.35
  67. Contact: linux-iio@vger.kernel.org
  68. Description:
  69. Raw (unscaled no bias removal etc.) voltage measurement from
  70. channel Y. In special cases where the channel does not
  71. correspond to externally available input one of the named
  72. versions may be used. The number must always be specified and
  73. unique to allow association with event codes. Units after
  74. application of scale and offset are millivolts.
  75. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
  76. KernelVersion: 2.6.35
  77. Contact: linux-iio@vger.kernel.org
  78. Description:
  79. Raw (unscaled) differential voltage measurement equivalent to
  80. channel Y - channel Z where these channel numbers apply to the
  81. physically equivalent inputs when non differential readings are
  82. separately available. In differential only parts, then all that
  83. is required is a consistent labeling. Units after application
  84. of scale and offset are millivolts.
  85. What: /sys/bus/iio/devices/iio:deviceX/in_currentY_raw
  86. What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_raw
  87. KernelVersion: 3.17
  88. Contact: linux-iio@vger.kernel.org
  89. Description:
  90. Raw (unscaled no bias removal etc.) current measurement from
  91. channel Y. In special cases where the channel does not
  92. correspond to externally available input one of the named
  93. versions may be used. The number must always be specified and
  94. unique to allow association with event codes. Units after
  95. application of scale and offset are milliamps.
  96. What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
  97. KernelVersion: 3.2
  98. Contact: linux-iio@vger.kernel.org
  99. Description:
  100. Raw capacitance measurement from channel Y. Units after
  101. application of scale and offset are nanofarads.
  102. What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
  103. KernelVersion: 3.2
  104. Contact: linux-iio@vger.kernel.org
  105. Description:
  106. Raw differential capacitance measurement equivalent to
  107. channel Y - channel Z where these channel numbers apply to the
  108. physically equivalent inputs when non differential readings are
  109. separately available. In differential only parts, then all that
  110. is required is a consistent labeling. Units after application
  111. of scale and offset are nanofarads.
  112. What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
  113. What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
  114. What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
  115. What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
  116. What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
  117. What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
  118. KernelVersion: 2.6.35
  119. Contact: linux-iio@vger.kernel.org
  120. Description:
  121. Raw (unscaled no bias removal etc.) temperature measurement.
  122. If an axis is specified it generally means that the temperature
  123. sensor is associated with one part of a compound device (e.g.
  124. a gyroscope axis). The ambient and object modifiers distinguish
  125. between ambient (reference) and distant temperature for contact-
  126. less measurements. Units after application of scale and offset
  127. are milli degrees Celsius.
  128. What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
  129. KernelVersion: 2.6.38
  130. Contact: linux-iio@vger.kernel.org
  131. Description:
  132. Scaled temperature measurement in milli degrees Celsius.
  133. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_raw
  134. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_raw
  135. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_raw
  136. KernelVersion: 2.6.35
  137. Contact: linux-iio@vger.kernel.org
  138. Description:
  139. Acceleration in direction x, y or z (may be arbitrarily assigned
  140. but should match other such assignments on device).
  141. Has all of the equivalent parameters as per voltageY. Units
  142. after application of scale and offset are m/s^2.
  143. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw
  144. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw
  145. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw
  146. KernelVersion: 2.6.35
  147. Contact: linux-iio@vger.kernel.org
  148. Description:
  149. Angular velocity about axis x, y or z (may be arbitrarily
  150. assigned). Has all the equivalent parameters as per voltageY.
  151. Units after application of scale and offset are radians per
  152. second.
  153. What: /sys/bus/iio/devices/iio:deviceX/in_incli_x_raw
  154. What: /sys/bus/iio/devices/iio:deviceX/in_incli_y_raw
  155. What: /sys/bus/iio/devices/iio:deviceX/in_incli_z_raw
  156. KernelVersion: 2.6.35
  157. Contact: linux-iio@vger.kernel.org
  158. Description:
  159. Inclination raw reading about axis x, y or z (may be
  160. arbitrarily assigned). Data converted by application of offset
  161. and scale to degrees.
  162. What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_raw
  163. What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_raw
  164. What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_raw
  165. KernelVersion: 2.6.35
  166. Contact: linux-iio@vger.kernel.org
  167. Description:
  168. Magnetic field along axis x, y or z (may be arbitrarily
  169. assigned). Data converted by application of offset
  170. then scale to Gauss.
  171. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw
  172. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw
  173. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw
  174. KernelVersion: 2.6.36
  175. Contact: linux-iio@vger.kernel.org
  176. Description:
  177. Highest value since some reset condition. These
  178. attributes allow access to this and are otherwise
  179. the direct equivalent of the <type>Y[_name]_raw attributes.
  180. What: /sys/bus/iio/devices/iio:deviceX/in_accel_xyz_squared_peak_raw
  181. KernelVersion: 2.6.36
  182. Contact: linux-iio@vger.kernel.org
  183. Description:
  184. A computed peak value based on the sum squared magnitude of
  185. the underlying value in the specified directions.
  186. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw
  187. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw
  188. KernelVersion: 3.8
  189. Contact: linux-iio@vger.kernel.org
  190. Description:
  191. Raw pressure measurement from channel Y. Units after
  192. application of scale and offset are kilopascal.
  193. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input
  194. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_input
  195. KernelVersion: 3.8
  196. Contact: linux-iio@vger.kernel.org
  197. Description:
  198. Scaled pressure measurement from channel Y, in kilopascal.
  199. What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw
  200. KernelVersion: 3.14
  201. Contact: linux-iio@vger.kernel.org
  202. Description:
  203. Raw humidity measurement of air. Units after application of
  204. scale and offset are milli percent.
  205. What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input
  206. KernelVersion: 3.14
  207. Contact: linux-iio@vger.kernel.org
  208. Description:
  209. Scaled humidity measurement in milli percent.
  210. What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
  211. KernelVersion: 3.5
  212. Contact: linux-iio@vger.kernel.org
  213. Description:
  214. Averaged raw measurement from channel X. The number of values
  215. used for averaging is device specific. The converting rules for
  216. normal raw values also applies to the averaged raw values.
  217. What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
  218. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
  219. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
  220. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset
  221. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset
  222. What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset
  223. What: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset
  224. What: /sys/bus/iio/devices/iio:deviceX/in_current_offset
  225. What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset
  226. What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
  227. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
  228. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
  229. What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
  230. KernelVersion: 2.6.35
  231. Contact: linux-iio@vger.kernel.org
  232. Description:
  233. If known for a device, offset to be added to <type>[Y]_raw prior
  234. to scaling by <type>[Y]_scale in order to obtain value in the
  235. <type> units as specified in <type>[Y]_raw documentation.
  236. Not present if the offset is always 0 or unknown. If Y or
  237. axis <x|y|z> is not present, then the offset applies to all
  238. in channels of <type>.
  239. May be writable if a variable offset can be applied on the
  240. device. Note that this is different to calibbias which
  241. is for devices (or drivers) that apply offsets to compensate
  242. for variation between different instances of the part, typically
  243. adjusted by using some hardware supported calibration procedure.
  244. Calibbias is applied internally, offset is applied in userspace
  245. to the _raw output.
  246. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
  247. What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
  248. What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
  249. What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale
  250. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
  251. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
  252. What: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale
  253. What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale
  254. What: /sys/bus/iio/devices/iio:deviceX/in_current_scale
  255. What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
  256. What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
  257. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
  258. What: /sys/bus/iio/devices/iio:deviceX/in_energy_scale
  259. What: /sys/bus/iio/devices/iio:deviceX/in_distance_scale
  260. What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
  261. What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
  262. What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
  263. What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
  264. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
  265. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
  266. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
  267. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
  268. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
  269. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
  270. What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
  271. What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
  272. KernelVersion: 2.6.35
  273. Contact: linux-iio@vger.kernel.org
  274. Description:
  275. If known for a device, scale to be applied to <type>Y[_name]_raw
  276. post addition of <type>[Y][_name]_offset in order to obtain the
  277. measured value in <type> units as specified in
  278. <type>[Y][_name]_raw documentation. If shared across all in
  279. channels then Y and <x|y|z> are not present and the value is
  280. called <type>[Y][_name]_scale. The peak modifier means this
  281. value is applied to <type>Y[_name]_peak_raw values.
  282. What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias
  283. What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias
  284. What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias
  285. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias
  286. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias
  287. What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias
  288. What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibbias
  289. What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibbias
  290. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibbias
  291. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibbias
  292. KernelVersion: 2.6.35
  293. Contact: linux-iio@vger.kernel.org
  294. Description:
  295. Hardware applied calibration offset (assumed to fix production
  296. inaccuracies).
  297. What /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale
  298. What /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale
  299. What /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale
  300. What /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale
  301. What /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale
  302. What /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibscale
  303. What /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibscale
  304. What /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibscale
  305. What /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibscale
  306. what /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
  307. what /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
  308. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
  309. What: /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
  310. KernelVersion: 2.6.35
  311. Contact: linux-iio@vger.kernel.org
  312. Description:
  313. Hardware applied calibration scale factor (assumed to fix
  314. production inaccuracies). If shared across all channels,
  315. <type>_calibscale is used.
  316. What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
  317. What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
  318. What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender
  319. What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender
  320. KernelVersion: 3.20
  321. Contact: linux-iio@vger.kernel.org
  322. Description:
  323. Gender of the user (e.g.: male, female) used by some pedometers
  324. to compute the stride length, distance, speed and activity
  325. type.
  326. What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender_available
  327. What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender_available
  328. What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender_available
  329. What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibgender_available
  330. KernelVersion: 3.20
  331. Contact: linux-iio@vger.kernel.org
  332. Description:
  333. Lists all available gender values (e.g.: male, female).
  334. What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibheight
  335. What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibheight
  336. What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibheight
  337. What: /sys/bus/iio/devices/iio:deviceX/in_velocity_calibheight
  338. KernelVersion: 3.19
  339. Contact: linux-iio@vger.kernel.org
  340. Description:
  341. Height of the user (in meters) used by some pedometers
  342. to compute the stride length, distance, speed and activity
  343. type.
  344. What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibweight
  345. KernelVersion: 3.20
  346. Contact: linux-iio@vger.kernel.org
  347. Description:
  348. Weight of the user (in kg). It is needed by some pedometers
  349. to compute the calories burnt by the user.
  350. What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
  351. What: /sys/.../iio:deviceX/in_voltageX_scale_available
  352. What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
  353. What: /sys/.../iio:deviceX/out_voltageX_scale_available
  354. What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
  355. What: /sys/.../iio:deviceX/in_capacitance_scale_available
  356. What: /sys/.../iio:deviceX/in_pressure_scale_available
  357. What: /sys/.../iio:deviceX/in_pressureY_scale_available
  358. KernelVersion: 2.6.35
  359. Contact: linux-iio@vger.kernel.org
  360. Description:
  361. If a discrete set of scale values is available, they
  362. are listed in this attribute.
  363. What /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
  364. What: /sys/bus/iio/devices/iio:deviceX/in_intensity_red_hardwaregain
  365. What: /sys/bus/iio/devices/iio:deviceX/in_intensity_green_hardwaregain
  366. What: /sys/bus/iio/devices/iio:deviceX/in_intensity_blue_hardwaregain
  367. What: /sys/bus/iio/devices/iio:deviceX/in_intensity_clear_hardwaregain
  368. KernelVersion: 2.6.35
  369. Contact: linux-iio@vger.kernel.org
  370. Description:
  371. Hardware applied gain factor. If shared across all channels,
  372. <type>_hardwaregain is used.
  373. What: /sys/.../in_accel_filter_low_pass_3db_frequency
  374. What: /sys/.../in_magn_filter_low_pass_3db_frequency
  375. What: /sys/.../in_anglvel_filter_low_pass_3db_frequency
  376. KernelVersion: 3.2
  377. Contact: linux-iio@vger.kernel.org
  378. Description:
  379. If a known or controllable low pass filter is applied
  380. to the underlying data channel, then this parameter
  381. gives the 3dB frequency of the filter in Hz.
  382. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
  383. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
  384. KernelVersion: 2.6.37
  385. Contact: linux-iio@vger.kernel.org
  386. Description:
  387. Raw (unscaled, no bias etc.) output voltage for
  388. channel Y. The number must always be specified and
  389. unique if the output corresponds to a single channel.
  390. While DAC like devices typically use out_voltage,
  391. a continuous frequency generating device, such as
  392. a DDS or PLL should use out_altvoltage.
  393. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
  394. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
  395. KernelVersion: 2.6.37
  396. Contact: linux-iio@vger.kernel.org
  397. Description:
  398. Raw (unscaled, no bias etc.) output voltage for an aggregate of
  399. channel Y, channel Z, etc. This interface is available in cases
  400. where a single output sets the value for multiple channels
  401. simultaneously.
  402. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
  403. What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
  404. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
  405. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
  406. KernelVersion: 2.6.38
  407. Contact: linux-iio@vger.kernel.org
  408. Description:
  409. Specifies the output powerdown mode.
  410. DAC output stage is disconnected from the amplifier and
  411. 1kohm_to_gnd: connected to ground via an 1kOhm resistor,
  412. 6kohm_to_gnd: connected to ground via a 6kOhm resistor,
  413. 20kohm_to_gnd: connected to ground via a 20kOhm resistor,
  414. 100kohm_to_gnd: connected to ground via an 100kOhm resistor,
  415. 500kohm_to_gnd: connected to ground via a 500kOhm resistor,
  416. three_state: left floating.
  417. For a list of available output power down options read
  418. outX_powerdown_mode_available. If Y is not present the
  419. mode is shared across all outputs.
  420. What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
  421. What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
  422. What: /sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
  423. What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
  424. KernelVersion: 2.6.38
  425. Contact: linux-iio@vger.kernel.org
  426. Description:
  427. Lists all available output power down modes.
  428. If Y is not present the mode is shared across all outputs.
  429. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
  430. What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
  431. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
  432. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
  433. KernelVersion: 2.6.38
  434. Contact: linux-iio@vger.kernel.org
  435. Description:
  436. Writing 1 causes output Y to enter the power down mode specified
  437. by the corresponding outY_powerdown_mode. DAC output stage is
  438. disconnected from the amplifier. Clearing returns to normal
  439. operation. Y may be suppressed if all outputs are controlled
  440. together.
  441. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
  442. KernelVersion: 3.4.0
  443. Contact: linux-iio@vger.kernel.org
  444. Description:
  445. Output frequency for channel Y in Hz. The number must always be
  446. specified and unique if the output corresponds to a single
  447. channel.
  448. What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
  449. KernelVersion: 3.4.0
  450. Contact: linux-iio@vger.kernel.org
  451. Description:
  452. Phase in radians of one frequency/clock output Y
  453. (out_altvoltageY) relative to another frequency/clock output
  454. (out_altvoltageZ) of the device X. The number must always be
  455. specified and unique if the output corresponds to a single
  456. channel.
  457. What: /sys/bus/iio/devices/iio:deviceX/events
  458. KernelVersion: 2.6.35
  459. Contact: linux-iio@vger.kernel.org
  460. Description:
  461. Configuration of which hardware generated events are passed up
  462. to user-space.
  463. What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
  464. What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
  465. What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
  466. What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
  467. What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
  468. What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
  469. What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_rising_en
  470. What: /sys/.../iio:deviceX/events/in_anglvel_x_thresh_falling_en
  471. What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_rising_en
  472. What: /sys/.../iio:deviceX/events/in_anglvel_y_thresh_falling_en
  473. What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_rising_en
  474. What: /sys/.../iio:deviceX/events/in_anglvel_z_thresh_falling_en
  475. What: /sys/.../iio:deviceX/events/in_magn_x_thresh_rising_en
  476. What: /sys/.../iio:deviceX/events/in_magn_x_thresh_falling_en
  477. What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
  478. What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
  479. What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
  480. What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
  481. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
  482. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
  483. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
  484. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
  485. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
  486. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
  487. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
  488. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
  489. What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
  490. What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
  491. What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
  492. What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
  493. What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
  494. What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
  495. KernelVersion: 2.6.37
  496. Contact: linux-iio@vger.kernel.org
  497. Description:
  498. Event generated when channel passes a threshold in the specified
  499. (_rising|_falling) direction. If the direction is not specified,
  500. then either the device will report an event which ever direction
  501. a single threshold value is passed in (e.g.
  502. <type>[Y][_name]_<raw|input>_thresh_value) or
  503. <type>[Y][_name]_<raw|input>_thresh_rising_value and
  504. <type>[Y][_name]_<raw|input>_thresh_falling_value may take
  505. different values, but the device can only enable both thresholds
  506. or neither.
  507. Note the driver will assume the last p events requested are
  508. to be enabled where p is how many it supports (which may vary
  509. depending on the exact set requested. So if you want to be
  510. sure you have set what you think you have, check the contents of
  511. these attributes after everything is configured. Drivers may
  512. have to buffer any parameters so that they are consistent when
  513. a given event type is enabled at a future point (and not those for
  514. whatever event was previously enabled).
  515. What: /sys/.../iio:deviceX/events/in_accel_x_roc_rising_en
  516. What: /sys/.../iio:deviceX/events/in_accel_x_roc_falling_en
  517. What: /sys/.../iio:deviceX/events/in_accel_y_roc_rising_en
  518. What: /sys/.../iio:deviceX/events/in_accel_y_roc_falling_en
  519. What: /sys/.../iio:deviceX/events/in_accel_z_roc_rising_en
  520. What: /sys/.../iio:deviceX/events/in_accel_z_roc_falling_en
  521. What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_rising_en
  522. What: /sys/.../iio:deviceX/events/in_anglvel_x_roc_falling_en
  523. What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_rising_en
  524. What: /sys/.../iio:deviceX/events/in_anglvel_y_roc_falling_en
  525. What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_rising_en
  526. What: /sys/.../iio:deviceX/events/in_anglvel_z_roc_falling_en
  527. What: /sys/.../iio:deviceX/events/in_magn_x_roc_rising_en
  528. What: /sys/.../iio:deviceX/events/in_magn_x_roc_falling_en
  529. What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
  530. What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
  531. What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
  532. What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
  533. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
  534. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
  535. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
  536. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
  537. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
  538. What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
  539. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
  540. What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
  541. What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
  542. What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
  543. What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
  544. What: /sys/.../iio:deviceX/events/in_voltageY_roc_falling_en
  545. What: /sys/.../iio:deviceX/events/in_tempY_roc_rising_en
  546. What: /sys/.../iio:deviceX/events/in_tempY_roc_falling_en
  547. KernelVersion: 2.6.37
  548. Contact: linux-iio@vger.kernel.org
  549. Description:
  550. Event generated when channel passes a threshold on the rate of
  551. change (1st differential) in the specified (_rising|_falling)
  552. direction. If the direction is not specified, then either the
  553. device will report an event which ever direction a single
  554. threshold value is passed in (e.g.
  555. <type>[Y][_name]_<raw|input>_roc_value) or
  556. <type>[Y][_name]_<raw|input>_roc_rising_value and
  557. <type>[Y][_name]_<raw|input>_roc_falling_value may take
  558. different values, but the device can only enable both rate of
  559. change thresholds or neither.
  560. Note the driver will assume the last p events requested are
  561. to be enabled where p is however many it supports (which may
  562. vary depending on the exact set requested. So if you want to be
  563. sure you have set what you think you have, check the contents of
  564. these attributes after everything is configured. Drivers may
  565. have to buffer any parameters so that they are consistent when
  566. a given event type is enabled a future point (and not those for
  567. whatever event was previously enabled).
  568. What: /sys/.../events/in_accel_x_raw_thresh_rising_value
  569. What: /sys/.../events/in_accel_x_raw_thresh_falling_value
  570. What: /sys/.../events/in_accel_y_raw_thresh_rising_value
  571. What: /sys/.../events/in_accel_y_raw_thresh_falling_value
  572. What: /sys/.../events/in_accel_z_raw_thresh_rising_value
  573. What: /sys/.../events/in_accel_z_raw_thresh_falling_value
  574. What: /sys/.../events/in_anglvel_x_raw_thresh_rising_value
  575. What: /sys/.../events/in_anglvel_x_raw_thresh_falling_value
  576. What: /sys/.../events/in_anglvel_y_raw_thresh_rising_value
  577. What: /sys/.../events/in_anglvel_y_raw_thresh_falling_value
  578. What: /sys/.../events/in_anglvel_z_raw_thresh_rising_value
  579. What: /sys/.../events/in_anglvel_z_raw_thresh_falling_value
  580. What: /sys/.../events/in_magn_x_raw_thresh_rising_value
  581. What: /sys/.../events/in_magn_x_raw_thresh_falling_value
  582. What: /sys/.../events/in_magn_y_raw_thresh_rising_value
  583. What: /sys/.../events/in_magn_y_raw_thresh_falling_value
  584. What: /sys/.../events/in_magn_z_raw_thresh_rising_value
  585. What: /sys/.../events/in_magn_z_raw_thresh_falling_value
  586. What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
  587. What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
  588. What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
  589. What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
  590. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
  591. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
  592. What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
  593. What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
  594. What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
  595. What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
  596. What: /sys/.../events/in_voltageY_raw_thresh_rising_value
  597. What: /sys/.../events/in_voltageY_raw_thresh_falling_value
  598. What: /sys/.../events/in_tempY_raw_thresh_rising_value
  599. What: /sys/.../events/in_tempY_raw_thresh_falling_value
  600. What: /sys/.../events/in_illuminance0_thresh_falling_value
  601. what: /sys/.../events/in_illuminance0_thresh_rising_value
  602. what: /sys/.../events/in_proximity0_thresh_falling_value
  603. what: /sys/.../events/in_proximity0_thresh_rising_value
  604. KernelVersion: 2.6.37
  605. Contact: linux-iio@vger.kernel.org
  606. Description:
  607. Specifies the value of threshold that the device is comparing
  608. against for the events enabled by
  609. <type>Y[_name]_thresh[_rising|falling]_en.
  610. If separate attributes exist for the two directions, but
  611. direction is not specified for this attribute, then a single
  612. threshold value applies to both directions.
  613. The raw or input element of the name indicates whether the
  614. value is in raw device units or in processed units (as _raw
  615. and _input do on sysfs direct channel read attributes).
  616. What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
  617. What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
  618. What: /sys/.../events/in_accel_x_thresh_either_hysteresis
  619. What: /sys/.../events/in_accel_y_thresh_rising_hysteresis
  620. What: /sys/.../events/in_accel_y_thresh_falling_hysteresis
  621. What: /sys/.../events/in_accel_y_thresh_either_hysteresis
  622. What: /sys/.../events/in_accel_z_thresh_rising_hysteresis
  623. What: /sys/.../events/in_accel_z_thresh_falling_hysteresis
  624. What: /sys/.../events/in_accel_z_thresh_either_hysteresis
  625. What: /sys/.../events/in_anglvel_x_thresh_rising_hysteresis
  626. What: /sys/.../events/in_anglvel_x_thresh_falling_hysteresis
  627. What: /sys/.../events/in_anglvel_x_thresh_either_hysteresis
  628. What: /sys/.../events/in_anglvel_y_thresh_rising_hysteresis
  629. What: /sys/.../events/in_anglvel_y_thresh_falling_hysteresis
  630. What: /sys/.../events/in_anglvel_y_thresh_either_hysteresis
  631. What: /sys/.../events/in_anglvel_z_thresh_rising_hysteresis
  632. What: /sys/.../events/in_anglvel_z_thresh_falling_hysteresis
  633. What: /sys/.../events/in_anglvel_z_thresh_either_hysteresis
  634. What: /sys/.../events/in_magn_x_thresh_rising_hysteresis
  635. What: /sys/.../events/in_magn_x_thresh_falling_hysteresis
  636. What: /sys/.../events/in_magn_x_thresh_either_hysteresis
  637. What: /sys/.../events/in_magn_y_thresh_rising_hysteresis
  638. What: /sys/.../events/in_magn_y_thresh_falling_hysteresis
  639. What: /sys/.../events/in_magn_y_thresh_either_hysteresis
  640. What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
  641. What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
  642. What: /sys/.../events/in_magn_z_thresh_either_hysteresis
  643. What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
  644. What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
  645. What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
  646. What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
  647. What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
  648. What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
  649. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
  650. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
  651. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
  652. What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
  653. What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
  654. What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
  655. What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
  656. What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
  657. What: /sys/.../events/in_voltageY_thresh_either_hysteresis
  658. What: /sys/.../events/in_tempY_thresh_rising_hysteresis
  659. What: /sys/.../events/in_tempY_thresh_falling_hysteresis
  660. What: /sys/.../events/in_tempY_thresh_either_hysteresis
  661. What: /sys/.../events/in_illuminance0_thresh_falling_hysteresis
  662. what: /sys/.../events/in_illuminance0_thresh_rising_hysteresis
  663. what: /sys/.../events/in_illuminance0_thresh_either_hysteresis
  664. what: /sys/.../events/in_proximity0_thresh_falling_hysteresis
  665. what: /sys/.../events/in_proximity0_thresh_rising_hysteresis
  666. what: /sys/.../events/in_proximity0_thresh_either_hysteresis
  667. KernelVersion: 3.13
  668. Contact: linux-iio@vger.kernel.org
  669. Description:
  670. Specifies the hysteresis of threshold that the device is comparing
  671. against for the events enabled by
  672. <type>Y[_name]_thresh[_(rising|falling)]_hysteresis.
  673. If separate attributes exist for the two directions, but
  674. direction is not specified for this attribute, then a single
  675. hysteresis value applies to both directions.
  676. For falling events the hysteresis is added to the _value attribute for
  677. this event to get the upper threshold for when the event goes back to
  678. normal, for rising events the hysteresis is subtracted from the _value
  679. attribute. E.g. if in_voltage0_raw_thresh_rising_value is set to 1200
  680. and in_voltage0_raw_thresh_rising_hysteresis is set to 50. The event
  681. will get activated once in_voltage0_raw goes above 1200 and will become
  682. deactived again once the value falls below 1150.
  683. What: /sys/.../events/in_accel_x_raw_roc_rising_value
  684. What: /sys/.../events/in_accel_x_raw_roc_falling_value
  685. What: /sys/.../events/in_accel_y_raw_roc_rising_value
  686. What: /sys/.../events/in_accel_y_raw_roc_falling_value
  687. What: /sys/.../events/in_accel_z_raw_roc_rising_value
  688. What: /sys/.../events/in_accel_z_raw_roc_falling_value
  689. What: /sys/.../events/in_anglvel_x_raw_roc_rising_value
  690. What: /sys/.../events/in_anglvel_x_raw_roc_falling_value
  691. What: /sys/.../events/in_anglvel_y_raw_roc_rising_value
  692. What: /sys/.../events/in_anglvel_y_raw_roc_falling_value
  693. What: /sys/.../events/in_anglvel_z_raw_roc_rising_value
  694. What: /sys/.../events/in_anglvel_z_raw_roc_falling_value
  695. What: /sys/.../events/in_magn_x_raw_roc_rising_value
  696. What: /sys/.../events/in_magn_x_raw_roc_falling_value
  697. What: /sys/.../events/in_magn_y_raw_roc_rising_value
  698. What: /sys/.../events/in_magn_y_raw_roc_falling_value
  699. What: /sys/.../events/in_magn_z_raw_roc_rising_value
  700. What: /sys/.../events/in_magn_z_raw_roc_falling_value
  701. What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
  702. What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
  703. What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
  704. What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
  705. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
  706. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
  707. What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
  708. What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
  709. What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
  710. What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
  711. What: /sys/.../events/in_voltageY_raw_roc_rising_value
  712. What: /sys/.../events/in_voltageY_raw_roc_falling_value
  713. What: /sys/.../events/in_tempY_raw_roc_rising_value
  714. What: /sys/.../events/in_tempY_raw_roc_falling_value
  715. KernelVersion: 2.6.37
  716. Contact: linux-iio@vger.kernel.org
  717. Description:
  718. Specifies the value of rate of change threshold that the
  719. device is comparing against for the events enabled by
  720. <type>[Y][_name]_roc[_rising|falling]_en.
  721. If separate attributes exist for the two directions,
  722. but direction is not specified for this attribute,
  723. then a single threshold value applies to both directions.
  724. The raw or input element of the name indicates whether the
  725. value is in raw device units or in processed units (as _raw
  726. and _input do on sysfs direct channel read attributes).
  727. What: /sys/.../events/in_accel_x_thresh_rising_period
  728. What: /sys/.../events/in_accel_x_thresh_falling_period
  729. hat: /sys/.../events/in_accel_x_roc_rising_period
  730. What: /sys/.../events/in_accel_x_roc_falling_period
  731. What: /sys/.../events/in_accel_y_thresh_rising_period
  732. What: /sys/.../events/in_accel_y_thresh_falling_period
  733. What: /sys/.../events/in_accel_y_roc_rising_period
  734. What: /sys/.../events/in_accel_y_roc_falling_period
  735. What: /sys/.../events/in_accel_z_thresh_rising_period
  736. What: /sys/.../events/in_accel_z_thresh_falling_period
  737. What: /sys/.../events/in_accel_z_roc_rising_period
  738. What: /sys/.../events/in_accel_z_roc_falling_period
  739. What: /sys/.../events/in_anglvel_x_thresh_rising_period
  740. What: /sys/.../events/in_anglvel_x_thresh_falling_period
  741. What: /sys/.../events/in_anglvel_x_roc_rising_period
  742. What: /sys/.../events/in_anglvel_x_roc_falling_period
  743. What: /sys/.../events/in_anglvel_y_thresh_rising_period
  744. What: /sys/.../events/in_anglvel_y_thresh_falling_period
  745. What: /sys/.../events/in_anglvel_y_roc_rising_period
  746. What: /sys/.../events/in_anglvel_y_roc_falling_period
  747. What: /sys/.../events/in_anglvel_z_thresh_rising_period
  748. What: /sys/.../events/in_anglvel_z_thresh_falling_period
  749. What: /sys/.../events/in_anglvel_z_roc_rising_period
  750. What: /sys/.../events/in_anglvel_z_roc_falling_period
  751. What: /sys/.../events/in_magn_x_thresh_rising_period
  752. What: /sys/.../events/in_magn_x_thresh_falling_period
  753. What: /sys/.../events/in_magn_x_roc_rising_period
  754. What: /sys/.../events/in_magn_x_roc_falling_period
  755. What: /sys/.../events/in_magn_y_thresh_rising_period
  756. What: /sys/.../events/in_magn_y_thresh_falling_period
  757. What: /sys/.../events/in_magn_y_roc_rising_period
  758. What: /sys/.../events/in_magn_y_roc_falling_period
  759. What: /sys/.../events/in_magn_z_thresh_rising_period
  760. What: /sys/.../events/in_magn_z_thresh_falling_period
  761. What: /sys/.../events/in_magn_z_roc_rising_period
  762. What: /sys/.../events/in_magn_z_roc_falling_period
  763. What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
  764. What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
  765. What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
  766. What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
  767. What: /sys/.../events/in_rot_from_north_true_thresh_rising_period
  768. What: /sys/.../events/in_rot_from_north_true_thresh_falling_period
  769. What: /sys/.../events/in_rot_from_north_true_roc_rising_period
  770. What: /sys/.../events/in_rot_from_north_true_roc_falling_period
  771. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
  772. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
  773. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
  774. What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
  775. What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
  776. What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
  777. What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
  778. What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
  779. What: /sys/.../events/in_voltageY_supply_thresh_rising_period
  780. What: /sys/.../events/in_voltageY_supply_thresh_falling_period
  781. What: /sys/.../events/in_voltageY_supply_roc_rising_period
  782. What: /sys/.../events/in_voltageY_supply_roc_falling_period
  783. What: /sys/.../events/in_voltageY_thresh_rising_period
  784. What: /sys/.../events/in_voltageY_thresh_falling_period
  785. What: /sys/.../events/in_voltageY_roc_rising_period
  786. What: /sys/.../events/in_voltageY_roc_falling_period
  787. What: /sys/.../events/in_tempY_thresh_rising_period
  788. What: /sys/.../events/in_tempY_thresh_falling_period
  789. What: /sys/.../events/in_tempY_roc_rising_period
  790. What: /sys/.../events/in_tempY_roc_falling_period
  791. What: /sys/.../events/in_accel_x&y&z_mag_falling_period
  792. What: /sys/.../events/in_intensity0_thresh_period
  793. What: /sys/.../events/in_proximity0_thresh_period
  794. What: /sys/.../events/in_activity_still_thresh_rising_period
  795. What: /sys/.../events/in_activity_still_thresh_falling_period
  796. What: /sys/.../events/in_activity_walking_thresh_rising_period
  797. What: /sys/.../events/in_activity_walking_thresh_falling_period
  798. What: /sys/.../events/in_activity_jogging_thresh_rising_period
  799. What: /sys/.../events/in_activity_jogging_thresh_falling_period
  800. What: /sys/.../events/in_activity_running_thresh_rising_period
  801. What: /sys/.../events/in_activity_running_thresh_falling_period
  802. KernelVersion: 2.6.37
  803. Contact: linux-iio@vger.kernel.org
  804. Description:
  805. Period of time (in seconds) for which the condition must be
  806. met before an event is generated. If direction is not
  807. specified then this period applies to both directions.
  808. What: /sys/.../events/in_activity_still_thresh_rising_en
  809. What: /sys/.../events/in_activity_still_thresh_falling_en
  810. What: /sys/.../events/in_activity_walking_thresh_rising_en
  811. What: /sys/.../events/in_activity_walking_thresh_falling_en
  812. What: /sys/.../events/in_activity_jogging_thresh_rising_en
  813. What: /sys/.../events/in_activity_jogging_thresh_falling_en
  814. What: /sys/.../events/in_activity_running_thresh_rising_en
  815. What: /sys/.../events/in_activity_running_thresh_falling_en
  816. KernelVersion: 3.19
  817. Contact: linux-iio@vger.kernel.org
  818. Description:
  819. Enables or disables activitity events. Depending on direction
  820. an event is generated when sensor ENTERS or LEAVES a given state.
  821. What: /sys/.../events/in_activity_still_thresh_rising_value
  822. What: /sys/.../events/in_activity_still_thresh_falling_value
  823. What: /sys/.../events/in_activity_walking_thresh_rising_value
  824. What: /sys/.../events/in_activity_walking_thresh_falling_value
  825. What: /sys/.../events/in_activity_jogging_thresh_rising_value
  826. What: /sys/.../events/in_activity_jogging_thresh_falling_value
  827. What: /sys/.../events/in_activity_running_thresh_rising_value
  828. What: /sys/.../events/in_activity_running_thresh_falling_value
  829. KernelVersion: 3.19
  830. Contact: linux-iio@vger.kernel.org
  831. Description:
  832. Confidence value (in units as percentage) to be used
  833. for deciding when an event should be generated. E.g for
  834. running: If the confidence value reported by the sensor
  835. is greater than in_activity_running_thresh_rising_value
  836. then the sensor ENTERS running state. Conversely, if the
  837. confidence value reported by the sensor is lower than
  838. in_activity_running_thresh_falling_value then the sensor
  839. is LEAVING running state.
  840. What: /sys/.../iio:deviceX/events/in_accel_mag_en
  841. What: /sys/.../iio:deviceX/events/in_accel_mag_rising_en
  842. What: /sys/.../iio:deviceX/events/in_accel_mag_falling_en
  843. What: /sys/.../iio:deviceX/events/in_accel_x_mag_en
  844. What: /sys/.../iio:deviceX/events/in_accel_x_mag_rising_en
  845. What: /sys/.../iio:deviceX/events/in_accel_x_mag_falling_en
  846. What: /sys/.../iio:deviceX/events/in_accel_y_mag_en
  847. What: /sys/.../iio:deviceX/events/in_accel_y_mag_rising_en
  848. What: /sys/.../iio:deviceX/events/in_accel_y_mag_falling_en
  849. What: /sys/.../iio:deviceX/events/in_accel_z_mag_en
  850. What: /sys/.../iio:deviceX/events/in_accel_z_mag_rising_en
  851. What: /sys/.../iio:deviceX/events/in_accel_z_mag_falling_en
  852. What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_rising_en
  853. What: /sys/.../iio:deviceX/events/in_accel_x&y&z_mag_falling_en
  854. KernelVersion: 2.6.37
  855. Contact: linux-iio@vger.kernel.org
  856. Description:
  857. Similar to in_accel_x_thresh[_rising|_falling]_en, but here the
  858. magnitude of the channel is compared to the threshold, not its
  859. signed value.
  860. What: /sys/.../events/in_accel_raw_mag_value
  861. What: /sys/.../events/in_accel_x_raw_mag_rising_value
  862. What: /sys/.../events/in_accel_y_raw_mag_rising_value
  863. What: /sys/.../events/in_accel_z_raw_mag_rising_value
  864. KernelVersion: 2.6.37
  865. Contact: linux-iio@vger.kernel.org
  866. Description:
  867. The value to which the magnitude of the channel is compared. If
  868. number or direction is not specified, applies to all channels of
  869. this type.
  870. What: /sys/.../events/in_steps_change_en
  871. KernelVersion: 3.20
  872. Contact: linux-iio@vger.kernel.org
  873. Description:
  874. Event generated when channel passes a threshold on the absolute
  875. change in value. E.g. for steps: a step change event is
  876. generated each time the user takes N steps, where N is set using
  877. in_steps_change_value.
  878. What: /sys/.../events/in_steps_change_value
  879. KernelVersion: 3.20
  880. Contact: linux-iio@vger.kernel.org
  881. Description:
  882. Specifies the value of change threshold that the
  883. device is comparing against for the events enabled by
  884. <type>[Y][_name]_roc[_rising|falling|]_en. E.g. for steps:
  885. if set to 3, a step change event will be generated every 3
  886. steps.
  887. What: /sys/bus/iio/devices/iio:deviceX/trigger/current_trigger
  888. KernelVersion: 2.6.35
  889. Contact: linux-iio@vger.kernel.org
  890. Description:
  891. The name of the trigger source being used, as per string given
  892. in /sys/class/iio/triggerY/name.
  893. What: /sys/bus/iio/devices/iio:deviceX/buffer/length
  894. KernelVersion: 2.6.35
  895. Contact: linux-iio@vger.kernel.org
  896. Description:
  897. Number of scans contained by the buffer.
  898. What: /sys/bus/iio/devices/iio:deviceX/buffer/bytes_per_datum
  899. KernelVersion: 2.6.37
  900. Contact: linux-iio@vger.kernel.org
  901. Description:
  902. Bytes per scan. Due to alignment fun, the scan may be larger
  903. than implied directly by the scan_element parameters.
  904. What: /sys/bus/iio/devices/iio:deviceX/buffer/enable
  905. KernelVersion: 2.6.35
  906. Contact: linux-iio@vger.kernel.org
  907. Description:
  908. Actually start the buffer capture up. Will start trigger
  909. if first device and appropriate.
  910. What: /sys/bus/iio/devices/iio:deviceX/scan_elements
  911. KernelVersion: 2.6.37
  912. Contact: linux-iio@vger.kernel.org
  913. Description:
  914. Directory containing interfaces for elements that will be
  915. captured for a single triggered sample set in the buffer.
  916. What: /sys/.../iio:deviceX/scan_elements/in_accel_x_en
  917. What: /sys/.../iio:deviceX/scan_elements/in_accel_y_en
  918. What: /sys/.../iio:deviceX/scan_elements/in_accel_z_en
  919. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_en
  920. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_en
  921. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
  922. What: /sys/.../iio:deviceX/scan_elements/in_magn_x_en
  923. What: /sys/.../iio:deviceX/scan_elements/in_magn_y_en
  924. What: /sys/.../iio:deviceX/scan_elements/in_magn_z_en
  925. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_en
  926. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_en
  927. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_en
  928. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_en
  929. What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en
  930. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
  931. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en
  932. What: /sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
  933. What: /sys/.../iio:deviceX/scan_elements/in_incli_x_en
  934. What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en
  935. What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en
  936. What: /sys/.../iio:deviceX/scan_elements/in_pressure_en
  937. What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en
  938. KernelVersion: 2.6.37
  939. Contact: linux-iio@vger.kernel.org
  940. Description:
  941. Scan element control for triggered data capture.
  942. What: /sys/.../iio:deviceX/scan_elements/in_accel_type
  943. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_type
  944. What: /sys/.../iio:deviceX/scan_elements/in_magn_type
  945. What: /sys/.../iio:deviceX/scan_elements/in_incli_type
  946. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_type
  947. What: /sys/.../iio:deviceX/scan_elements/in_voltage_type
  948. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
  949. What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type
  950. What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type
  951. What: /sys/.../iio:deviceX/scan_elements/in_pressure_type
  952. What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type
  953. KernelVersion: 2.6.37
  954. Contact: linux-iio@vger.kernel.org
  955. Description:
  956. Description of the scan element data storage within the buffer
  957. and hence the form in which it is read from user-space.
  958. Form is [be|le]:[s|u]bits/storagebits[>>shift].
  959. be or le specifies big or little endian. s or u specifies if
  960. signed (2's complement) or unsigned. bits is the number of bits
  961. of data and storagebits is the space (after padding) that it
  962. occupies in the buffer. shift if specified, is the shift that
  963. needs to be applied prior to masking out unused bits. Some
  964. devices put their data in the middle of the transferred elements
  965. with additional information on both sides. Note that some
  966. devices will have additional information in the unused bits
  967. so to get a clean value, the bits value must be used to mask
  968. the buffer output value appropriately. The storagebits value
  969. also specifies the data alignment. So s48/64>>2 will be a
  970. signed 48 bit integer stored in a 64 bit location aligned to
  971. a 64 bit boundary. To obtain the clean value, shift right 2
  972. and apply a mask to zero the top 16 bits of the result.
  973. For other storage combinations this attribute will be extended
  974. appropriately.
  975. What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
  976. KernelVersion: 2.6.37
  977. Contact: linux-iio@vger.kernel.org
  978. Description:
  979. If the type parameter can take one of a small set of values,
  980. this attribute lists them.
  981. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_index
  982. What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
  983. What: /sys/.../iio:deviceX/scan_elements/in_accel_x_index
  984. What: /sys/.../iio:deviceX/scan_elements/in_accel_y_index
  985. What: /sys/.../iio:deviceX/scan_elements/in_accel_z_index
  986. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_index
  987. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_index
  988. What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
  989. What: /sys/.../iio:deviceX/scan_elements/in_magn_x_index
  990. What: /sys/.../iio:deviceX/scan_elements/in_magn_y_index
  991. What: /sys/.../iio:deviceX/scan_elements/in_magn_z_index
  992. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_index
  993. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_index
  994. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_index
  995. What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_index
  996. What: /sys/.../iio:deviceX/scan_elements/in_incli_x_index
  997. What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index
  998. What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index
  999. What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index
  1000. What: /sys/.../iio:deviceX/scan_elements/in_pressure_index
  1001. What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index
  1002. KernelVersion: 2.6.37
  1003. Contact: linux-iio@vger.kernel.org
  1004. Description:
  1005. A single positive integer specifying the position of this
  1006. scan element in the buffer. Note these are not dependent on
  1007. what is enabled and may not be contiguous. Thus for user-space
  1008. to establish the full layout these must be used in conjunction
  1009. with all _en attributes to establish which channels are present,
  1010. and the relevant _type attributes to establish the data storage
  1011. format.
  1012. What: /sys/.../iio:deviceX/in_activity_still_input
  1013. What: /sys/.../iio:deviceX/in_activity_walking_input
  1014. What: /sys/.../iio:deviceX/in_activity_jogging_input
  1015. What: /sys/.../iio:deviceX/in_activity_running_input
  1016. KernelVersion: 3.19
  1017. Contact: linux-iio@vger.kernel.org
  1018. Description:
  1019. This attribute is used to read the confidence for an activity
  1020. expressed in units as percentage.
  1021. What: /sys/.../iio:deviceX/in_anglvel_z_quadrature_correction_raw
  1022. KernelVersion: 2.6.38
  1023. Contact: linux-iio@vger.kernel.org
  1024. Description:
  1025. This attribute is used to read the amount of quadrature error
  1026. present in the device at a given time.
  1027. What: /sys/.../iio:deviceX/in_accelX_power_mode
  1028. KernelVersion: 3.11
  1029. Contact: linux-iio@vger.kernel.org
  1030. Description:
  1031. Specifies the chip power mode.
  1032. low_noise: reduce noise level from ADC,
  1033. low_power: enable low current consumption.
  1034. For a list of available output power modes read
  1035. in_accel_power_mode_available.
  1036. What: /sys/.../iio:deviceX/in_energy_input
  1037. What: /sys/.../iio:deviceX/in_energy_raw
  1038. KernelVersion: 3.20
  1039. Contact: linux-iio@vger.kernel.org
  1040. Description:
  1041. This attribute is used to read the energy value reported by the
  1042. device (e.g.: human activity sensors report energy burnt by the
  1043. user). Units after application of scale are Joules.
  1044. What: /sys/.../iio:deviceX/in_distance_input
  1045. What: /sys/.../iio:deviceX/in_distance_raw
  1046. KernelVersion: 3.20
  1047. Contact: linux-iio@vger.kernel.org
  1048. Description:
  1049. This attribute is used to read the distance covered by the user
  1050. since the last reboot while activated. Units after application
  1051. of scale are meters.
  1052. What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
  1053. KernelVersion: 3.4.0
  1054. Contact: linux-iio@vger.kernel.org
  1055. Description:
  1056. Writing '1' stores the current device configuration into
  1057. on-chip EEPROM. After power-up or chip reset the device will
  1058. automatically load the saved configuration.
  1059. What: /sys/.../iio:deviceX/in_proximity_raw
  1060. What: /sys/.../iio:deviceX/in_proximity_input
  1061. What: /sys/.../iio:deviceX/in_proximityY_raw
  1062. KernelVersion: 3.4
  1063. Contact: linux-iio@vger.kernel.org
  1064. Description:
  1065. Proximity measurement indicating that some
  1066. object is near the sensor, usually be observing
  1067. reflectivity of infrared or ultrasound emitted.
  1068. Often these sensors are unit less and as such conversion
  1069. to SI units is not possible. Where it is, the units should
  1070. be meters. If such a conversion is not possible, the reported
  1071. values should behave in the same way as a distance, i.e. lower
  1072. values indicate something is closer to the sensor.
  1073. What: /sys/.../iio:deviceX/in_illuminanceY_input
  1074. What: /sys/.../iio:deviceX/in_illuminanceY_raw
  1075. What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
  1076. KernelVersion: 3.4
  1077. Contact: linux-iio@vger.kernel.org
  1078. Description:
  1079. Illuminance measurement, units after application of scale
  1080. and offset are lux.
  1081. What: /sys/.../iio:deviceX/in_intensityY_raw
  1082. What: /sys/.../iio:deviceX/in_intensityY_ir_raw
  1083. What: /sys/.../iio:deviceX/in_intensityY_both_raw
  1084. KernelVersion: 3.4
  1085. Contact: linux-iio@vger.kernel.org
  1086. Description:
  1087. Unit-less light intensity. Modifiers both and ir indicate
  1088. that measurements contains visible and infrared light
  1089. components or just infrared light, respectively.
  1090. What: /sys/.../iio:deviceX/in_intensity_red_integration_time
  1091. What: /sys/.../iio:deviceX/in_intensity_green_integration_time
  1092. What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
  1093. What: /sys/.../iio:deviceX/in_intensity_clear_integration_time
  1094. What: /sys/.../iio:deviceX/in_illuminance_integration_time
  1095. KernelVersion: 3.12
  1096. Contact: linux-iio@vger.kernel.org
  1097. Description:
  1098. This attribute is used to get/set the integration time in
  1099. seconds.
  1100. What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time
  1101. KernelVersion: 3.20
  1102. Contact: linux-iio@vger.kernel.org
  1103. Description:
  1104. Number of seconds in which to compute speed.
  1105. What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
  1106. KernelVersion: 3.15
  1107. Contact: linux-iio@vger.kernel.org
  1108. Description:
  1109. Raw value of quaternion components using a format
  1110. x y z w. Here x, y, and z component represents the axis about
  1111. which a rotation will occur and w component represents the
  1112. amount of rotation.
  1113. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
  1114. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
  1115. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
  1116. What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
  1117. KernelVersion: 3.15
  1118. Contact: linux-iio@vger.kernel.org
  1119. Description:
  1120. Raw value of rotation from true/magnetic north measured with
  1121. or without compensation from tilt sensors.
  1122. What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw
  1123. KernelVersion: 3.18
  1124. Contact: linux-iio@vger.kernel.org
  1125. Description:
  1126. Raw current measurement from channel X. Units are in milliamps
  1127. after application of scale and offset. If no offset or scale is
  1128. present, output should be considered as processed with the
  1129. unit in milliamps.
  1130. What: /sys/.../iio:deviceX/in_energy_en
  1131. What: /sys/.../iio:deviceX/in_distance_en
  1132. What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en
  1133. What: /sys/.../iio:deviceX/in_steps_en
  1134. KernelVersion: 3.19
  1135. Contact: linux-iio@vger.kernel.org
  1136. Description:
  1137. Activates a device feature that runs in firmware/hardware.
  1138. E.g. for steps: the pedometer saves power while not used;
  1139. when activated, it will count the steps taken by the user in
  1140. firmware and export them through in_steps_input.
  1141. What: /sys/.../iio:deviceX/in_steps_input
  1142. KernelVersion: 3.19
  1143. Contact: linux-iio@vger.kernel.org
  1144. Description:
  1145. This attribute is used to read the number of steps taken by the user
  1146. since the last reboot while activated.
  1147. What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_input
  1148. What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_raw
  1149. KernelVersion: 3.19
  1150. Contact: linux-iio@vger.kernel.org
  1151. Description:
  1152. This attribute is used to read the current speed value of the
  1153. user (which is the norm or magnitude of the velocity vector).
  1154. Units after application of scale are m/s.
  1155. What: /sys/.../iio:deviceX/in_steps_debounce_count
  1156. KernelVersion: 3.20
  1157. Contact: linux-iio@vger.kernel.org
  1158. Description:
  1159. Specifies the number of steps that must occur within
  1160. in_steps_filter_debounce_time for the pedometer to decide the
  1161. consumer is making steps.
  1162. What: /sys/.../iio:deviceX/in_steps_debounce_time
  1163. KernelVersion: 3.20
  1164. Contact: linux-iio@vger.kernel.org
  1165. Description:
  1166. Specifies number of seconds in which we compute the steps
  1167. that occur in order to decide if the consumer is making steps.