Skip to content

Commit cd89e08

Browse files
watologo1Matthew Garrett
authored andcommitted
Documentation: Add new /sys/kernel/debug/ec/* files to ABI
Signed-off-by: Thomas Renninger <[email protected]> CC: Alexey Starikovskiy <[email protected]> CC: Len Brown <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Signed-off-by: Matthew Garrett <[email protected]>
1 parent 925b108 commit cd89e08

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Documentation/ABI/testing/debugfs-ec

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io}
2+
Date: July 2010
3+
Contact: Thomas Renninger <[email protected]>
4+
Description:
5+
6+
General information like which GPE is assigned to the EC and whether
7+
the global lock should get used.
8+
Knowing the EC GPE one can watch the amount of HW events related to
9+
the EC here (XY -> GPE number from /sys/kernel/debug/ec/*/gpe):
10+
/sys/firmware/acpi/interrupts/gpeXY
11+
12+
The io file is binary and a userspace tool located here:
13+
ftp://ftp.suse.com/pub/people/trenn/sources/ec/
14+
should get used to read out the 256 Embedded Controller registers
15+
or writing to them.
16+
17+
CAUTION: Do not write to the Embedded Controller if you don't know
18+
what you are doing! Rebooting afterwards also is a good idea.
19+
This can influence the way your machine is cooled and fans may
20+
not get switched on again after you did a wrong write.

0 commit comments

Comments
 (0)