Skip to content

Instantly share code, notes, and snippets.

View HorstBaerbel's full-sized avatar
🥳
Finally getting around to trying GitHub Actions

Bim HorstBaerbel

🥳
Finally getting around to trying GitHub Actions
View GitHub Profile
@HorstBaerbel
HorstBaerbel / monitor_ec.py
Last active January 16, 2024 15:16
Monitor Embedded Controller (EC) on Linux via ACPI calls through acpi_call kernel module
#!/usr/bin/env python
"""Dump a range of Embedded Controller memory via ACPI. Requires "acpi_call" kernel module to be loaded. By HorstBaerbel (https://github.com/HorstBaerbel) in 2018."""
import re
import sys
import time
import argparse
output = '\033[0m'