From 26c0d9dd240e5794e99719f0e58e8e37c60697c9 Mon Sep 17 00:00:00 2001 From: George Hotz <72895+geohot@users.noreply.github.com> Date: Thu, 22 Apr 2021 12:02:12 -0700 Subject: [PATCH] log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727) old-commit-hash: b88aa6b57f635f2c0cd615b8b8e6b1999f5db092 --- selfdrive/thermald/thermald.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index f19c7bb854..4bbe0559bf 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -174,6 +174,7 @@ def thermald_thread(): if EON: base_path = "/sys/kernel/debug/cpr3-regulator/" cpr_files = [p for p in Path(base_path).glob("**/*") if p.is_file()] + cpr_files = ["/sys/kernel/debug/regulator/pm8994_s11/voltage"] + cpr_files cpr_data = {} for cf in cpr_files: with open(cf, "r") as f: