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
@@ -23,10 +23,11 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
|
||||
- Run `./scripts/check-rebuild.sh`, relevant `scripts/test-*.py` tests, `./scripts/sync-prebuilt-overlay.sh --check`,
|
||||
and `git diff --check` before claiming a source, artifact, docs, or release change is complete.
|
||||
- Cross-compile inside rootless Docker. Main builders are `scripts/build-sxmo-x11.sh`, `build-dmenu.sh`,
|
||||
`build-bananarchy-daemons.sh`, `build-kernel-audio.sh`, `build-lk2nd-beatles.sh`, `build-games.sh`,
|
||||
`build-dwm-plugins.sh`, `build-bananarchy-daemons.sh`, `build-kernel-audio.sh`, `build-lk2nd-beatles.sh`, `build-games.sh`,
|
||||
`build-fcitx5-t9.sh`, and `build-xlibre.sh`.
|
||||
- Use `scripts/build-dmenu.sh` for dmenu-only changes. Do not run a full `build-sxmo-x11.sh` casually: the shipped `dwm`
|
||||
binary contains cover IPC strings absent from source, so a full rebuild drifts `dwm`; restore or reconcile it.
|
||||
- Use `scripts/build-dmenu.sh` for dmenu-only changes and `scripts/build-dwm-plugins.sh` for NeoUI/plugin rebuilds. Do
|
||||
not run a full `build-sxmo-x11.sh` casually: the shipped `dwm` binary contains cover IPC strings absent from source,
|
||||
so a full rebuild drifts `dwm`; restore or reconcile it.
|
||||
- Rootfs/image tools are `scripts/bootstrap-rootfs.sh`, `scripts/apply-bananarchy-overlay.sh`,
|
||||
`scripts/compile-gsettings-schemas.sh`, `rebuild-image.sh`, `scripts/sync-beatles-bootfs.py --check`,
|
||||
`prepare-release.sh`, and `flash-edl.sh`.
|
||||
@@ -102,13 +103,16 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
|
||||
- The shipping cover backend is `backend = kernel`: keep `bananarchy-cover-dpms.sh reinit`, the gpio13 mux claim,
|
||||
the centered 240x240 X11/`/dev/fb0` cover frame, the 1 s repaint against Xorg, `kernel_backlight_invert = 0`,
|
||||
`kernel_internal_sleep = 0`, `kernel_backlight_level = 14`, shared **Config -> Screen blank** timeout reload,
|
||||
`scripts/test-cover-kernel.py`, and the `spidev`/`fb`/`none` rollback backends.
|
||||
closed-flip `CALL` cover UI (`cover_hold_awake`, `BUTTON VOLUP`/`VOLDOWN` -> `mute-ring`, `BUTTON POWER` -> `hangup-call`,
|
||||
delayed `CALL muted` guard), clean `SIGTERM` cover blanking, live timezone refresh (`ba_refresh_tz` / `REFRESH`),
|
||||
`scripts/test-cover-kernel.py`, `scripts/test-time-timezone-sync.py`, and the `spidev`/`fb`/`none` rollback backends.
|
||||
The daemon must restore the internal panel on `LID OPEN` even after a stale high gpio13 survives a restart.
|
||||
- Keep the 2720 Flip lid handling event-driven and instant: sticky hall state, immediate hall re-read on `EV_SW`
|
||||
edges, 20 ms debounce, `SW_LID` mirroring (`sync_sw_lid`) so `dwm` tracks the hall sensor, and synchronous
|
||||
lid-state/lock/backlight/DPMS writes in `bananarchy-lid.c`. Closing locks
|
||||
the desktop; opening must keep the lock flag and wake to the passcode lockscreen, never auto-unlock. Every
|
||||
main-panel wake path must call `bananarchy-lid-gate.sh`; a closed flip may only light the cover.
|
||||
the desktop; opening must keep the lock flag and wake to the passcode lockscreen (never auto-unlock) while sending
|
||||
`RAISE` to `callscreen` and keeping `sxmo_hook_lock.sh` / `locker.so` from hanging up incoming/active calls (`UNGRAB`).
|
||||
Every main-panel wake path must call `bananarchy-lid-gate.sh`; a closed flip may only light the cover.
|
||||
`sxmo_state.sh set unlock` is gated too because `dwm` calls it directly. `apply-bananarchy-overlay.sh` writes
|
||||
`/usr/share/bananarchy/lid-profile` per target (`slider` on `nokia-argon`, `flip` on `nokia-beatles`, `none`
|
||||
elsewhere) and disables `bananarchy-{lid,cover-display,volume-keys}`, cover udev/config, and mux modprobes on
|
||||
@@ -121,8 +125,8 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
|
||||
recovery-mode 2720 boots need Volume Up. Keep the signed per-device Firehose programmers and do not mix them.
|
||||
- Keep first-boot access intact: `keys/phone_id_ed25519.pub` for `user`/`root`, PAM/sshd configs, USB-only SSH fallback,
|
||||
keypad udev/Xorg rules, BusyBox applet lists, and `scripts/set-bananarchy-hostname.sh`.
|
||||
- The Power menu label is **Reboot to loader** and still calls `sxmo_power.sh bootloader`. Keep the compact label in
|
||||
`dmenu.c`, `dmenu.so`, `sxmo_appmenu.sh`, and the context-menu hook.
|
||||
- The Power menu label is **Reboot to loader** and still calls `sxmo_power.sh bootloader`; `Logout` is removed from
|
||||
`dmenu.c`, `dmenu.so`, `sxmo_appmenu.sh`, and `sxmo_hook_contextmenu.sh`. Keep the compact Power menu layout synchronized.
|
||||
- Bluetooth HOGP config and plugin load are verified, but full hardware sign-off still needs a wake-up paired keyboard
|
||||
and **Connect Device** to confirm real HID key events.
|
||||
|
||||
|
||||
Reference in new issue
Block a user