From c4dfcd466e488f7986de0b914eccb5a564c15b19 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 16 Jul 2010 13:11:37 +0200 Subject: [PATCH] --- yaml --- r: 202490 b: refs/heads/master c: cd89e08fa020f5a882f922e3c9e2628235ca6715 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/Documentation/ABI/testing/debugfs-ec | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 trunk/Documentation/ABI/testing/debugfs-ec diff --git a/[refs] b/[refs] index 3fbd2a60b24e..8820dfa4aa65 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 925b108918c9a2ac58b4fd0994f4a9e63e11521c +refs/heads/master: cd89e08fa020f5a882f922e3c9e2628235ca6715 diff --git a/trunk/Documentation/ABI/testing/debugfs-ec b/trunk/Documentation/ABI/testing/debugfs-ec new file mode 100644 index 000000000000..6546115a94da --- /dev/null +++ b/trunk/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 +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.