Fix 2720 closed-flip call wakeups/preservation, live timezone sync, and Power menu
- Default CPU_RPM_SLEEP=0, CPU_L2_SLEEP=0, and MODEM_DRX_MODE=0 across bananarchy-power-policy.conf, bananarchy-power-policy.sh, bananarchy-display-power-sync, and kernel patch 0010 so closed-flip incoming calls wake APSS promptly via smd-edge without AT port contention. - Serialize sxmo_modem.sh incoming/finished call checks, expire stale /tmp/sxmo_hangup_requested flags, re-verify live ModemManager call state before ringing/raising callscreen, guard idle/flip-open HANGUP_CLOSE paths in locker.so, callscreen.so, bananarchy-idle-lock.sh, and bananarchy-lid, preserve calls on flip-open (UNGRAB/RAISE), and add closed-flip cover call controls (bananarchy-cover-idle, bananarchy-cover-event.sh, bananarchy-volume-keys). - Propagate live network/manual timezone updates across statusbar, locker.so, bananarchy-cover-idle, bananarchy-dsds, callscreen.so, and bananarchy-run-aligned without reboot (scripts/test-time-timezone-sync.py), remove non-functional Logout from the Power menu, ignore post-call sxmo_calls markers, add scripts/build-dwm-plugins.sh, and update a1114 (carbonara) hashes and docs.
This commit is contained in:
1 parent
786480a08f
commit
8b466ef8ae
110 files changed
+2728
-285
No files matched your search
@@ -31,6 +31,7 @@ INPUT_HOOKS = (
|
||||
BASE / "overlay/rootfs/home/user/.config/sxmo/hooks/sxmo_hook_inputhandler.sh",
|
||||
)
|
||||
EVENT = BASE / "overlay/rootfs/usr/bin/bananarchy-cover-event.sh"
|
||||
LOCK_HOOK = BASE / "overlay/rootfs/usr/share/sxmo/default_hooks/sxmo_hook_lock.sh"
|
||||
HOOKS = (
|
||||
BASE / "overlay/rootfs/usr/share/sxmo/default_hooks/sxmo_hook_ring.sh",
|
||||
BASE / "overlay/rootfs/usr/share/sxmo/default_hooks/sxmo_hook_notification.sh",
|
||||
@@ -86,9 +87,12 @@ def main():
|
||||
if 'write_session_file(LOCK_FLAG, "1")' not in lid_open or \
|
||||
'write_session_file(state, "lock")' not in lid_open:
|
||||
return fail("opening the flip does not keep the desktop locked")
|
||||
if lid_open.index('write_session_file(state, "lock")') > \
|
||||
if 'write_session_file(state, "lock")' in lid_open and \
|
||||
lid_open.index('write_session_file(state, "lock")') > \
|
||||
lid_open.index('write_sysfs_int(BRIGHTNESS, bl)'):
|
||||
return fail("the desktop lock is published after the panel is relit")
|
||||
if 'callscreen_send("RAISE\\n")' not in lid_open:
|
||||
return fail("opening the flip does not raise active/incoming callscreen")
|
||||
print("[ok] lid daemon: instant close, persistent lock and bus handover")
|
||||
|
||||
scratch = pathlib.Path("/tmp/bantam/9064bb701d9e9f7c6412f0ea6846d88a")
|
||||
@@ -129,10 +133,25 @@ def main():
|
||||
"if (!visible || isLidClosed())" not in locker or \
|
||||
'runAsyncArgv("/usr/bin/bananarchy-lid-gate.sh", "wake")' not in locker:
|
||||
return fail("locker_plugin.cpp is not gated on /run/bananarchy/lid-state")
|
||||
if "if (blankDisplay && !alreadyClosedBlanked)" not in locker or \
|
||||
locker.index("if (blankDisplay && !alreadyClosedBlanked)") > locker.index("HANGUP_CLOSE") or \
|
||||
"if (hadActiveCall)" not in locker or \
|
||||
'sendPluginCommand("callscreen", "RAISE")' not in locker:
|
||||
return fail("locker_plugin.cpp still hangs up active calls on non-blank LOCK/open or closed-flip blank")
|
||||
if "cancel_idle_lock_timer()" not in lid:
|
||||
return fail("bananarchy-lid.c does not cancel pending idle-lock timers on flip transitions")
|
||||
lock_hook = LOCK_HOOK.read_text(encoding="utf-8")
|
||||
if "HANGUP_CLOSE" in lock_hook or "hangup all" in lock_hook:
|
||||
return fail("sxmo_hook_lock.sh unconditionally hangs up calls on lock/flip-open")
|
||||
callscreen = CALLSCREEN_SRC.read_text(encoding="utf-8")
|
||||
if "/run/bananarchy/lid-state" not in callscreen or \
|
||||
'runAsyncArgv("/usr/bin/bananarchy-lid-gate.sh", "wake")' not in callscreen:
|
||||
return fail("callscreen_plugin.cpp wakeDisplayHardware is not lid-gated")
|
||||
'runAsyncArgv("/usr/bin/bananarchy-lid-gate.sh", "wake")' not in callscreen or \
|
||||
"isFlipClosed()" not in callscreen or \
|
||||
"notifyCoverCall(" not in callscreen or \
|
||||
"callState == CallState::Idle && !isCallActiveOrRingingFast()" not in callscreen or \
|
||||
"lastRejectedCallId" not in callscreen or \
|
||||
"syncModemCalls();" not in callscreen:
|
||||
return fail("callscreen_plugin.cpp is missing lid-gate, idle HANGUP_CLOSE guard, or stale-call RAISE verification")
|
||||
conf = COVER_CONF.read_text(encoding="utf-8")
|
||||
if "spi_word_bits" not in conf:
|
||||
return fail("the cover config lost the 8/9-bit sign-off knob")
|
||||
|
||||
Reference in new issue
Block a user