Fix Bluetooth 5.x/6.x headsets, Android OBEX prompts, and refresh a1120 images
- Scope WirePlumber 50-bluetooth.conf roles to [ a2dp_sink hsp_hs hfp_hf ], lock HFP to 8 kHz CVSD for QDSP6 INTERNAL_BT_SCO, enable dummy AVRCP player, and set LDAC ABR quality. - Select BR/EDR bearer and ConnectProfile fallback for Classic Audio headsets while preserving LE bearer for HOGP devices, forward AVRCP media keys to music.so, bound discoverability to 60 s, fix SCO keepalive teardown/readiness and ATA call state sync, and suppress nokia-sparkler speaker haptic audio during BT SCO. - Advertise Smartphone Class of Device (0x5a020c / btmgmt class 2 3), handle OBEX over both L2CAP SOCK_SEQPACKET and RFCOMM SOCK_STREAM via ObexPacketReader, and add NeoUI incoming file Accept/Reject dialog and configurable target folder picker in networks.so. - Add scripts/test-bluetooth-headset.py and scripts/test-bluetooth-obex.py, and rebuild/pin verified a1120 (cocojamboo) images and release archives for nokia-argon, nokia-beatles, nokia-coconut, and nokia-sparkler.
This commit is contained in:
1 parent
0030dc3910
commit
36a5f8cb8a
29 files changed
+2011
-190
No files matched your search
@@ -44,10 +44,20 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
|
||||
|
||||
## Critical invariants
|
||||
|
||||
- Bluetooth requires `ControllerMode = dual` in `etc/bluetooth/main.conf`; BlueZ 5.87 rejects LE-only HOGP in `bredr`
|
||||
mode. Keep `UserspaceHID=true`, `LEAutoSecurity=true`, `ClassicBondedOnly=false`, and `IdleTimeout=0` in `input.conf`.
|
||||
`bananarchy-bt-obex` must power on, enable LE, select the LE bearer for HID-over-GATT devices, and pair unbonded
|
||||
devices. `util-linux-misc` and `bluez-btmgmt` support the live PTY scan wrapper.
|
||||
- Bluetooth requires `ControllerMode = dual` and `Class = 0x5a020c` (`btmgmt -i hci0 class 2 3`) in `etc/bluetooth/main.conf`
|
||||
and `bananarchy-bt-le-enable.sh`; BlueZ 5.87 rejects LE-only HOGP in `bredr` mode, and `a2dp_source` must stay out
|
||||
of `50-bluetooth.conf` so paired Android phones recognize Object Push rather than an audio sink. Keep `UserspaceHID=true`,
|
||||
`LEAutoSecurity=true`, `ClassicBondedOnly=false`, and `IdleTimeout=0` in `input.conf`. `bananarchy-bt-obex` must power on,
|
||||
enable LE, select the LE bearer (`PreferredBearer = "le"`) for HID-over-GATT devices, select the BR/EDR bearer
|
||||
(`PreferredBearer = "bredr"`, public address preference, `ConnectProfile` fallback) for Classic Audio / dual-mode
|
||||
BT 5.x/6.x headsets, pair unbonded devices, forward `(AVRCP)` media keys to `xmusic`, handle both L2CAP `SOCK_SEQPACKET`
|
||||
and RFCOMM via `ObexPacketReader` with `xnetworks` incoming confirmation / target folder (`~/.config/sxmo/bt_obex_dir`) IPC,
|
||||
and keep discoverability hidden-by-default with a 60 s timeout (`bt_discoverable=0`, never `discoverable-timeout 0`).
|
||||
Keep all four `50-bluetooth.conf` copies synced with `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`). `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
|
||||
process aborts. Keep the Webarchy renderer fallback.
|
||||
|
||||
Reference in new issue
Block a user