Fix nokia-beatles closed-flip cover wake via dynamic TLMM gpiochip resolution
- Resolve MSM8909 TLMM (1000000.pinctrl) dynamically across /dev/gpiochip* in bananarchy-cover-idle (BA_GPIO_GET_CHIPINFO / hw_ensure_gpiochip) and bananarchy-cover-diagnose.sh, and default cover-display.conf to gpiochip_device = auto so strict fw_devlink/MPM probe order shifts never leave closed-flip button wakes in backend=none. - Guard gpiochip_device = auto and BA_GPIO_GET_CHIPINFO in test-cover-kernel.py and check-rebuild.sh, and update a1114 (carbonara) image and release archive SHA-256 pins in check-rebuild.sh and CHANGELOG.md.
This commit is contained in:
1 parent
2ae4ef34a2
commit
a23a9b4edb
9 files changed
+121
-23
No files matched your search
+2
-2
@@ -32,9 +32,9 @@ Upcoming release build (`a1114` / `carbonara` via `scripts/version.sh`) targetin
|
||||
|
||||
### 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)`.
|
||||
- **2720 Flip event-driven idle daemons and dynamic TLMM `gpiochip` resolution (`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)`. Updated `bananarchy-cover-idle` (`gpiochip_device = auto` via `BA_GPIO_GET_CHIPINFO` / `hw_ensure_gpiochip()`) and `bananarchy-cover-diagnose.sh` to resolve MSM8909 TLMM (`1000000.pinctrl`, e.g. `/dev/gpiochip2`) dynamically across `/dev/gpiochip*` so PMIC/TLMM probe-order shifts from strict `fw_devlink` + `qcom,mpm` no longer leave external cover button wakes in `backend=none`.
|
||||
- **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 `77a1201a2a93a076a8dd9a6f11c8ceb5f69b94b2ca7abb3dfeba5354b83c034c`) and `images/bananarchy-nokia-beatles.img` (SHA-256 `c027c3151f3cf45e7a067beed77d77ff4a1954ababda6f1a2eba5a02b2414b24`, with standalone `images/boot-bananarchy-nokia-beatles.img` SHA-256 `5a7a391aff3fc8fc95b07b532eedce1ee17991574fb45ca4359c0504aeb82324` 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` (`a721506d9fd5d50a4f47afa6dc2d24c8bc2335e39bfd6d0873c6d30f4892a8f7`) and `bananarchy-nokia-beatles-a1114-carbonara.zip` (`5bb987e264b684c2afdb2f6d60c4d47864aa772c763ad7527dc6f3fb51b5eb85`).
|
||||
- **Image persistence and upcoming release archives**: rebuilt both `images/bananarchy-nokia-argon.img` (SHA-256 `0d25b08a23c0f736877731ba634cec942fd8580215f6067dc3c2f63d07c58264`) and `images/bananarchy-nokia-beatles.img` (SHA-256 `e7fe1e3dde98e1be28b1593a94925c2820e4bfe35016cb3e09759a7e017a3aba`, with standalone `images/boot-bananarchy-nokia-beatles.img` SHA-256 `5a7a391aff3fc8fc95b07b532eedce1ee17991574fb45ca4359c0504aeb82324` 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` (`3d1896278b0e829fc358e0dcf22fd54164ef644c67a9177e52e330b17892470f`) and `bananarchy-nokia-beatles-a1114-carbonara.zip` (`e16cedb2fec8dbcc369b898cba7a8637c328d0d6a7ef287236c25ed2cb147ba0`).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user