Blank the cover fbdev when off and add panel diagnostics

This commit is contained in:
Luxferre committed 2026-11-10 14:11:00 +02:00
1 parent 7c52d616e7
commit 90e6771700
11 files changed
+121 -11

No files matched your search

+6
View File
@@ -110,6 +110,12 @@ def main():
if vbuild.returncode:
sys.stderr.write(vbuild.stderr)
return 1
source = SRC.read_text(encoding="utf-8")
for token in ("FBIOBLANK", "FB_BLANK_POWERDOWN", "cover_is_lit",
"set_backlight"):
if token not in source:
sys.stderr.write("FAIL: cover daemon lost %s\n" % token)
return 1
print("[ok] host build of the compiled cover and volume-key daemons")
main_cfg = root / "idle_blank_timeout"