mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	platform-driver-x86@vger.kernel.org,
	Thomas Renninger <trenn@suse.de>,
	Alexey Starikovskiy <astarikovskiy@suse.de>
Subject: [PATCH 7/7] Documentation: Add new /sys/kernel/debug/ec/* files to ABI
Date: Fri, 16 Jul 2010 13:11:37 +0200	[thread overview]
Message-ID: <1279278697-3694-8-git-send-email-trenn@suse.de> (raw)
In-Reply-To: <1279278697-3694-1-git-send-email-trenn@suse.de>

Signed-off-by: Thomas Renninger <trenn@suse.de>

CC: Alexey Starikovskiy <astarikovskiy@suse.de>
CC: Len Brown <lenb@kernel.org>
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: platform-driver-x86@vger.kernel.org
---
 Documentation/ABI/testing/debugfs-ec |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/ABI/testing/debugfs-ec

diff --git a/Documentation/ABI/testing/debugfs-ec b/Documentation/ABI/testing/debugfs-ec
new file mode 100644
index 0000000..6546115
--- /dev/null
+++ b/Documentation/ABI/testing/debugfs-ec
@@ -0,0 +1,20 @@
+What:		/sys/kernel/debug/ec/*/{gpe,use_global_lock,io}
+Date:		July 2010
+Contact:	Thomas Renninger <trenn@suse.de>
+Description:
+
+General information like which GPE is assigned to the EC and whether
+the global lock should get used.
+Knowing the EC GPE one can watch the amount of HW events related to
+the EC here (XY -> GPE number from /sys/kernel/debug/ec/*/gpe):
+/sys/firmware/acpi/interrupts/gpeXY
+
+The io file is binary and a userspace tool located here:
+ftp://ftp.suse.com/pub/people/trenn/sources/ec/
+should get used to read out the 256 Embedded Controller registers
+or writing to them.
+
+CAUTION: Do not write to the Embedded Controller if you don't know
+what you are doing! Rebooting afterwards also is a good idea.
+This can influence the way your machine is cooled and fans may
+not get switched on again after you did a wrong write.
-- 
1.6.3


  parent reply	other threads:[~2010-07-16 11:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 11:11 Version 2: Provide /sys/../ec with read/write access and some cleanups Thomas Renninger
2010-07-16 11:11 ` [PATCH 1/7] ACPI: Provide /sys/kernel/debug/ec/ Thomas Renninger
2010-07-16 11:11 ` [PATCH 2/7] ACPI: Provide /sys/kernel/debug//ec/ec0/io for binary access to the EC Thomas Renninger
2010-07-16 11:11 ` [PATCH 3/7] ACPI: Register EC io ports in /proc/ioports Thomas Renninger
2010-07-16 11:11 ` [PATCH 4/7] ACPI: Remove /proc/acpi/embedded_controller/ Thomas Renninger
2010-07-16 11:11 ` [PATCH 5/7] X86 platform drivers: Remove EC dump from thinkpad_acpi Thomas Renninger
2010-07-16 13:00   ` [ibm-acpi-devel] " Henrique de Moraes Holschuh
2010-07-16 11:11 ` [PATCH 6/7] X86 platform driver: Fix section mismatch in wmi.c Thomas Renninger
2010-07-16 11:11 ` Thomas Renninger [this message]
2010-07-22 15:03 ` Version 2: Provide /sys/../ec with read/write access and some cleanups Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1279278697-3694-8-git-send-email-trenn@suse.de \
    --to=trenn@suse.de \
    --cc=astarikovskiy@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®