- 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.
13 lines
347 B
Bash
Executable File
13 lines
347 B
Bash
Executable File
#!/bin/sh
|
|
# Enable the WCNSS controller's LE setting before BlueZ discovery.
|
|
# The kernel management socket requires root for this write.
|
|
set -eu
|
|
|
|
if [ "$(id -u)" -ne 0 ]; then
|
|
echo "Error: bananarchy-bt-le-enable.sh must run as root" >&2
|
|
exit 1
|
|
fi
|
|
|
|
/usr/bin/btmgmt -i hci0 class 2 3 >/dev/null 2>&1 || true
|
|
exec /usr/bin/btmgmt -i hci0 le on
|