<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/acpi/ec_sys.c, branch v2.6.36</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>acpi ec_sys: Be more cautious about ec write access</title>
<updated>2010-08-03T13:49:13+00:00</updated>
<author>
<name>Thomas Renninger</name>
<email>trenn@suse.de</email>
</author>
<published>2010-07-29T20:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=500de3dd46ac9f9ae9d124634c68907b7d50d2cb'/>
<id>500de3dd46ac9f9ae9d124634c68907b7d50d2cb</id>
<content type='text'>
- Set Kconfig option default n
- Only allow root to read/write io file (sever bug!)
- Introduce write support module param -&gt; default off
- Properly clean up if any debugfs files cannot be created

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
CC: mjg59@srcf.ucam.org
CC: platform-driver-x86@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: astarikovskiy@suse.de
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Set Kconfig option default n
- Only allow root to read/write io file (sever bug!)
- Introduce write support module param -&gt; default off
- Properly clean up if any debugfs files cannot be created

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
CC: mjg59@srcf.ucam.org
CC: platform-driver-x86@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: astarikovskiy@suse.de
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: Provide /sys/kernel/debug//ec/ec0/io for binary access to the EC</title>
<updated>2010-08-03T13:49:08+00:00</updated>
<author>
<name>Thomas Renninger</name>
<email>trenn@suse.de</email>
</author>
<published>2010-07-16T11:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9827886dce77c47c378ce3154689cea2c45c731d'/>
<id>9827886dce77c47c378ce3154689cea2c45c731d</id>
<content type='text'>
A userspace app to easily read/write the EC can be found here:
ftp://ftp.suse.com/pub/people/trenn/sources/ec/ec_access.c

Multiple ECs are not supported, but shouldn't be hard to add as soon
as the ec driver itself will support them.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
CC: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
CC: Len Brown &lt;lenb@kernel.org&gt;
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A userspace app to easily read/write the EC can be found here:
ftp://ftp.suse.com/pub/people/trenn/sources/ec/ec_access.c

Multiple ECs are not supported, but shouldn't be hard to add as soon
as the ec driver itself will support them.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
CC: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
CC: Len Brown &lt;lenb@kernel.org&gt;
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: Provide /sys/kernel/debug/ec/...</title>
<updated>2010-08-03T13:49:08+00:00</updated>
<author>
<name>Thomas Renninger</name>
<email>trenn@suse.de</email>
</author>
<published>2010-07-16T11:11:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1195a098168fcacfef1cd80d05358e52fb366bf6'/>
<id>1195a098168fcacfef1cd80d05358e52fb366bf6</id>
<content type='text'>
This patch provides the same information through debugfs, which previously was
provided through /proc/acpi/embedded_controller/*/info

This is the gpe the EC is connected to and whether the global lock
gets used.
The io ports used are added to /proc/ioports in another patch.
Beside the fact that /proc/acpi is deprecated for quite some time,
this info is not needed for applications and thus can be moved
to debugfs instead of a public interface like /sys.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;

CC: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
CC: Len Brown &lt;lenb@kernel.org&gt;
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch provides the same information through debugfs, which previously was
provided through /proc/acpi/embedded_controller/*/info

This is the gpe the EC is connected to and whether the global lock
gets used.
The io ports used are added to /proc/ioports in another patch.
Beside the fact that /proc/acpi is deprecated for quite some time,
this info is not needed for applications and thus can be moved
to debugfs instead of a public interface like /sys.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;

CC: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
CC: Len Brown &lt;lenb@kernel.org&gt;
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
