debugfs-ec 838 B

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