Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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