Eliminate dual-target idle wakeups and stage upcoming a1114 (carbonara) build

- Replace continuous polling in bananarchy-lid and bananarchy-volume-keys with /dev/input inotify watching and IRQ-driven poll(..., -1) steady state, and sync CPU/schedutil/GPU power knobs on flip transitions

- Grant video-group write permissions to Adreno 304 devfreq governor, sync GPU powersave/simple_ondemand across bananarchy-display-power-sync and locker.so, and restore schedutil rate_limit_us on forced transitions

- Trim per-minute statusbar clock forks, skip unchanged ext4 brightness rewrites and no-op sxmo_autosuspend spawns on blanking, and make bananarchy-bt-obex fully event-driven via inotify and blocking select

- Register upcoming build a1114 (carbonara) in version.sh, check-rebuild.sh, CHANGELOG.md, AGENTS.md, and BATTERY-OPTIMIZATION-ANALYSIS.md while keeping a1111 (lennon) as the current public release
This commit is contained in:
Luxferre committed 2026-11-12 12:09:46 +02:00
1 parent ed04da3e23
commit e42024e90d
22 files changed
+416 -75

No files matched your search

+12
View File
@@ -10,6 +10,18 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
---
## Upcoming build `a1114` — codename `carbonara`
Upcoming release build (`a1114` / `carbonara` via `scripts/version.sh`) targeting both **Nokia 8110 4G (`nokia-argon`)** and **Nokia 2720 Flip (`nokia-beatles`)** while keeping `a1111` (`lennon`) as the current published release.
### Dual-target idle wakeup elimination and GPU/scheduler power sync
- **2720 Flip event-driven idle daemons (`nokia-beatles`)**: replaced `bananarchy-lid`'s continuous `20 ms` (`50 Hz`) `poll()` loop, `10 Hz` `/sys/kernel/debug/gpio` full SoC GPIO register dump, and `2 s` `/dev/input` `glob` + `/run/bananarchy/cover.sock` broadcast with `/dev/input` `inotify` watching plus hardware `EV_SW` IRQ sleep (`poll(..., -1)` at `0` steady-state wakeups/s after the `20 ms` edge debounce and one `+2 s` post-transition confirmation check), and synchronized CPU `scaling_governor`, `schedutil/rate_limit_us` (`40000`), and Adreno 304 `governor` directly in `on_transition()`. Replaced `bananarchy-volume-keys`'s `1 s` `poll()` + `2 s` `/dev/input` `glob` loop with `/dev/input` `inotify` + `poll(..., -1)`.
- **Shared GPU `devfreq`, `schedutil`, statusbar, eMMC, and Bluetooth idle fixes (`nokia-argon` and `nokia-beatles`)**: granted `video`-group `0664` permissions to `/sys/class/devfreq/1c00000.gpu/governor` in `10-power-save.start`, synced `1c00000.gpu/governor` (`powersave` while dark or cover-lit, `simple_ondemand` when the main panel wakes) in `bananarchy-display-power-sync` and `locker.so`, and restored `schedutil/rate_limit_us = 40000` on `FORCE=1` transitions as well as normal udev events. `sxmo_hook_statusbar.sh` skips `sxmo_hook_icons.sh` on `time` ticks and updates `099-time` directly in-shell without spawning `sxmo_status.sh` and duplicate `mkdir -p` forks every minute; `sxmo_wm.sh display off` skips rewriting `~/.config/sxmo/brightness` on ext4 when unchanged; `sxmo_hook_screenoff.sh` skips spawning `sxmo_autosuspend.sh` when `/etc/bananarchy-no-deep-standby` is present; and `bananarchy-bt-obex` replaces its `1.0 s` D-Bus/RFCOMM poll and `1.5-2.0 s` `/dev/input` gamepad scan with a signal self-pipe, `ctypes` `inotify`, and blocking `select.select(..., None)` (`0` idle wakeups/s when Bluetooth is enabled, `<5 ms` gamepad hotplug).
- **Image persistence and upcoming release archives**: rebuilt both `images/bananarchy-nokia-argon.img` (SHA-256 `89173379f80ca8c7a0153dd49196eed04bdf039f9a94f8f239ad12928a04abb6`) and `images/bananarchy-nokia-beatles.img` (SHA-256 `58e2df065a761e5476135971d37d3c09681621ff6c68e5e4d6f9eec852a11d74`, with standalone `images/boot-bananarchy-nokia-beatles.img` SHA-256 `199fe9a0b926e8ddf9815b0d7a901d913aa5b79be78fc4202a9ed2651ca493ac` and unchanged display lk2nd `b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d`) stamped as `a1114` / `carbonara` with `--mkinitfs`, pinned in `scripts/check-rebuild.sh`, and packaged into `bananarchy-nokia-argon-a1114-carbonara.zip` and `bananarchy-nokia-beatles-a1114-carbonara.zip`.
---
## Build `a1111` — codename `lennon` (2026-11-11)
This build contains all previously unreleased 2720 Flip (`nokia-beatles`) changes since `a1108`, strict per-device `lid-profile` isolation keeping `nokia-argon` on its pure `a1108` sliding-lid path, and fresh `a1111` / `lennon` images for both `nokia-argon` and `nokia-beatles`. The image and release metadata are generated by `scripts/version.sh` as `a1111` / `lennon`.