0001 What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io}
0002 Date: July 2010
0003 Contact: Thomas Renninger <trenn@suse.de>
0004 Description:
0005
0006 General information like which GPE is assigned to the EC and whether
0007 the global lock should get used.
0008 Knowing the EC GPE one can watch the amount of HW events related to
0009 the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`):
0010 /sys/firmware/acpi/interrupts/gpeXY
0011
0012 The io file is binary and a userspace tool located here:
0013 ftp://ftp.suse.com/pub/people/trenn/sources/ec/
0014 should get used to read out the 256 Embedded Controller registers
0015 or writing to them.
0016
0017 CAUTION:
0018 Do not write to the Embedded Controller if you don't know
0019 what you are doing! Rebooting afterwards also is a good idea.
0020 This can influence the way your machine is cooled and fans may
0021 not get switched on again after you did a wrong write.