<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=IIO</id>
	<title>IIO - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=IIO"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=IIO&amp;action=history"/>
	<updated>2026-05-25T19:36:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=IIO&amp;diff=4854&amp;oldid=prev</id>
		<title>imported&gt;Jtojnar: spelling of GNOME</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=IIO&amp;diff=4854&amp;oldid=prev"/>
		<updated>2020-01-18T02:35:19Z</updated>

		<summary type="html">&lt;p&gt;spelling of GNOME&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:35, 18 January 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Software notes ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Software notes ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is unverified, but &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Gnome &lt;/del&gt;should automatically make use of the data when enabled to handle the rotation and automatic brightness of the display.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is unverified, but &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;GNOME &lt;/ins&gt;should automatically make use of the data when enabled to handle the rotation and automatic brightness of the display.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Hardware notes ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Hardware notes ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-4853:rev-4854:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jtojnar</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=IIO&amp;diff=4853&amp;oldid=prev</id>
		<title>imported&gt;Samueldr: Inits page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=IIO&amp;diff=4853&amp;oldid=prev"/>
		<updated>2017-12-27T21:58:20Z</updated>

		<summary type="html">&lt;p&gt;Inits page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;IIO stands for the [https://www.kernel.org/doc/html/v4.12/driver-api/iio/index.html Industrial I/O] subsystem of the Linux Kernel.&lt;br /&gt;
It generally provides an interface to sensors like Accelerometers and Light sensors.&lt;br /&gt;
&lt;br /&gt;
== NixOS ==&lt;br /&gt;
&lt;br /&gt;
The services using the subsystem can be enabled using this configuration in configuration.nix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=nix&amp;gt;&lt;br /&gt;
{ config }:&lt;br /&gt;
{&lt;br /&gt;
  hardware.sensor.iio.enable = true;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will enable [https://github.com/hadess/iio-sensor-proxy iio-sensor-proxy].&lt;br /&gt;
&lt;br /&gt;
To test, &amp;lt;code&amp;gt;monitor-sensor&amp;lt;/code&amp;gt; can be used, it will print out the current values of the sensors as they change, periodically. In the event nothing is detected after enabling, rebooting may help.&lt;br /&gt;
&lt;br /&gt;
== Software notes ==&lt;br /&gt;
&lt;br /&gt;
It is unverified, but Gnome should automatically make use of the data when enabled to handle the rotation and automatic brightness of the display.&lt;br /&gt;
&lt;br /&gt;
== Hardware notes ==&lt;br /&gt;
&lt;br /&gt;
=== Accelerometers ===&lt;br /&gt;
&lt;br /&gt;
Sometimes, the accelerometers in different devices will be oriented in a way that it specific to that hardware, this is not a &amp;#039;&amp;#039;problem&amp;#039;&amp;#039;, but it is an &amp;#039;&amp;#039;issue&amp;#039;&amp;#039; to be considered. The [https://github.com/hadess/iio-sensor-proxy#accelerometer-orientation Accelerometer orientation section] on the &amp;lt;code&amp;gt;iio-sensor-proxy&amp;lt;/code&amp;gt; project page explains how to fix this properly for your device. The NixOS specific note is that instead of creating an &amp;lt;code&amp;gt;hwdb&amp;lt;/code&amp;gt; file, you would add &amp;lt;code&amp;gt;services.udev.extraHwdb&amp;lt;/code&amp;gt; to your configuration.nix file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=nix&amp;gt;&lt;br /&gt;
{ config }:&lt;br /&gt;
{&lt;br /&gt;
  services.udev.extraHwdb = &amp;#039;&amp;#039;&lt;br /&gt;
    sensor:modalias:acpi:INVN6500*:dmi:*svn*ASUSTeK*:*pn*TP300LA*&lt;br /&gt;
     ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1&lt;br /&gt;
  &amp;#039;&amp;#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Samueldr</name></author>
	</entry>
</feed>