Repository navigation
Enable overridable BlueZ ISO/BAP with the native LC3 audio stack - #67
Closed
RyanTheTide wants to merge 2 commits into
Closed
RyanTheTide wants to merge 2 commits into
RyanTheTide wants to merge 2 commits into
Conversation
Enable BlueZ experimental profiles and only ISO sockets, keep classic audio roles, and document the shared-kernel transport limits and three-distro parity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 31, 2026
Closed
BAP and LC3 are already available in the distro PipeWire stack. Avoid replacing the upstream role list, which can also include broadcast and hearing-aid support. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RyanTheTide
added a commit
that referenced
this pull request
Nov 5, 2026
The v2 tip: speakerguardd#63, #64, #66, #67, #69, #70, #71. The packaged files are unchanged. Fleet gate (gate.json, upstream's, unchanged here): units at parity: spp3, atsp; spp3: J316s, J413, J616s; atsp: J274, J293, J313, J375C, J375D, J473, J474s, J475C, J475D, J493. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
Contributor
Author
|
Closing to clear the queue. LE Audio can't stream until the Wi-Fi/BT controller drivers pass ISO data, so enabling the stack now adds nothing users can use. The branch stays for when the transport works. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BlueZ currently exposes no PACS/ASCS services even though the kernel has LE/ISO and PipeWire ships LC3. Enable experimental BlueZ profiles plus only the ISO socket feature and use the existing PipeWire/WirePlumber LC3 and BAP support without replacing upstream roles. The defaults remain the owner's choice; nothing restarts Bluetooth during installation.
Transport limit: the public BCM4388 PCIe driver rejects ISO data packets. This change enables userspace service discovery; it does not claim working J616s streaming. The MT7932 driver has ISO TX/RX paths, but a fresh controller capability dump has not yet completed through controller admission. No pairing, connection or playback was performed.
Full audit, parity, user overrides and rollback. No kernel change or PipeWire fork change is needed for these defaults. The public BCM transport gap needs a separate implementation.
Validation
Lead install and read-only verification
Keep output muted. Restarting Bluetooth may disconnect Bluetooth input devices; use a local keyboard or another connection. Run the user-service command as the audio-session user. No pairing or playback is required.
Update the Aurora flake input to this reviewed revision and keep the default aurora.bluetooth.leAudio.enable=true, then:
NixOS deliberately does not restart Bluetooth automatically when its configuration changes. To opt out, set aurora.bluetooth.leAudio.enable=false and rebuild; ordinary BlueZ settings override the mkDefault values; native user WP role settings are preserved. Roll back with nixos-rebuild switch --rollback and an explicit Bluetooth restart.
Expected UUIDs: Published Audio Capabilities
00001850-0000-1000-8000-00805f9b34fband Audio Stream Control0000184e-0000-1000-8000-00805f9b34fb. UUID visibility establishes service registration, not ISO streaming.Read-only baseline (2026-10-31)
Controller addresses, local names and other lab identifiers omitted. No discovery, pairing, connection or playback was requested.
BCM4388 — bluetoothctl show / version
MT7932 — bluetoothctl show / version
Both controllers lack PACS (1850) and ASCS (184e). BlueZ service ExecStart has no experimental arguments; main.conf has only commented Experimental=false and KernelExperimental=false defaults. Both have libspa-bluez5.so and libspa-codec-bluez5-lc3.so installed; their boot Bluetooth journals list only A2DP endpoints.
Fresh btmgmt info requests have not completed through controller policy/source admission; no new CIS/ISO capability claim is made for MT7932. The prior BCM4388 baseline supplied with the task reports cis-central, cis-peripheral, iso-broadcaster and sync-receiver.
Coordinated distro change set
ALARM compiled plugin audit
Static inspection of the official ALARM AArch64 BlueZ 5.87-2 package confirms all four profile source modules are linked into bluetoothd. Downloaded from the TLS-verified ca.us.mirror.archlinuxarm.org mirror; no binary was executed.
Official BlueZ package, PipeWire audio dependency on liblc3.
Fedora compiled plugin audit
The official Fedora 44 AArch64 BlueZ snapshot package also contains all four profile source modules (static inspection only).
Final-commit CI