Fix bluetoothd CPU busy-loops, cache BT state, and refresh a1120 images

- Add /etc/conf.d/bluetooth (supervise-daemon, retry=TERM/3/KILL/1, --noplugin=hfp,bap,bass,mcp,vcp,micp,csip,ccp,tmap,gmap,asha,midi,neard) and drop gateway UUIDs (111f/1112/110a) from main.conf ReconnectUUIDs so Experimental = true keeps PreferredBearer without BlueZ hfp-hf/ATT EOF GMainLoop spins.

- Set duplicate-data off in bananarchy-bt-scan.sh and update sxmo_bluetoothtoggle.sh to disconnect, btmgmt power off, and clean state files on disable so adapter_stop() never busy-loops on dual-bearer links.

- Add single-shot BlueZ ObjectManager state caching (bt_state.tsv, dump-state, CTRL_READY_FILE, EPHEMERAL_DEV_PROPS filter) in bananarchy-bt-obex and consume it in networks.so instead of per-device bluetoothctl refresh storms.

- Extend Bluetooth host tests and check-rebuild.sh, update docs, and rebuild/pin a1120 (cocojamboo) images and release archives for nokia-argon, nokia-beatles, nokia-coconut, and nokia-sparkler.
This commit is contained in:
Luxferre committed 2026-11-18 06:34:13 +02:00
1 parent 1e1fe7c317
commit 1e7077e314
15 files changed
+924 -282

No files matched your search

+6
View File
@@ -61,6 +61,12 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
`bluez5.roles = [ a2dp_sink hsp_hs hfp_hf ]`, `bluez5.enable-msbc = false`, `bluez5.enable-lc3-a127 = false`,
`bluez5.dummy-avrcp-player = true`, and `bluez5.a2dp.ldac.quality = "auto"` (no `a2dp_source`, `bap_*`, `hsp_ag`,
`hfp_ag`, or `lc3` — WCN3620 SCO routes internally at 8 kHz CVSD to QDSP6 `INTERNAL_BT_SCO_RX`/`TX`).
Keep `etc/conf.d/bluetooth` (`supervisor=supervise-daemon`, `retry="TERM/3/KILL/1"`,
`--noplugin=hfp,bap,bass,mcp,vcp,micp,csip,ccp,tmap,gmap,asha,midi,neard`), exclude gateway UUIDs
(`0000111f-`/`00001112-`/`0000110a-`) from `ReconnectUUIDs`, keep `duplicate-data off` in `bananarchy-bt-scan.sh`,
cleanly disconnect/`btmgmt power off` in `sxmo_bluetoothtoggle.sh off`, and use `bananarchy-bt-obex`'s single-shot
`ObjectManager` cache (`/run/bananarchy/bt-obex/bt_state.tsv` + `dump-state`, filtering `EPHEMERAL_DEV_PROPS`) in
`networks.so` instead of per-device `bluetoothctl` storms so `bluetoothd` never enters EOF/dual-bearer busy loops.
`util-linux-misc` and `bluez-btmgmt` support the live PTY scan wrapper; guard `scripts/test-bluetooth-{hid,scan,live-scan,headset,obex}.py`.
- WebKit requires explicit `glib` and `gsettings-desktop-schemas` packages. Because apk uses `--no-scripts`,
`apply-bananarchy-overlay.sh` must run `compile-gsettings-schemas.sh`; without `gschemas.compiled`, the WebKit network