You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate backporting H700 BlueALSA volume fixes to TrimUI #42
Ran into this on a TrimUI Brick (NextUI 20260719, bluez 5.78, bluealsa 4.1.0) with AirPods Pro. They pair and connect fine but there's just nothing to hear. A different pair of headphones (AIAIAI TMA-2) works on the same box, which sent me down a few wrong paths first (codec, sniff mode, WiFi coexistence – none of it).
What it turned out to be, at least here: the AirPods come up with their AVRCP absolute volume at 0 and wait for the source to set it. With bluealsa -p a2dp-source as started in bt_init.sh, the volume writes from msettings only change bluealsa's software gain, so the AirPods never get told anything. Reading MediaTransport1.Volume over dbus gave 0; setting it to 100 made them audible right away, and btmon shows the SetAbsoluteVolume being accepted.
Works for me with two extra flags on the bluealsa line in .system/tg5040/etc/bluetooth/bt_init.sh:
bluealsa -p a2dp-source --a2dp-volume --initial-volume=70 &
After that the volume keys control the AirPods themselves and they come up audible on connect. The AVRCP channel appears a few seconds after the A2DP link, so a volume write done immediately after connect can get lost – probably what the retry logic in the H700 changes is about. Only tested on the Brick, not a Smart Pro.
Activity
jan-wir commentedon Sep 17, 2026
Ran into this on a TrimUI Brick (NextUI 20260719, bluez 5.78, bluealsa 4.1.0) with AirPods Pro. They pair and connect fine but there's just nothing to hear. A different pair of headphones (AIAIAI TMA-2) works on the same box, which sent me down a few wrong paths first (codec, sniff mode, WiFi coexistence – none of it).
What it turned out to be, at least here: the AirPods come up with their AVRCP absolute volume at 0 and wait for the source to set it. With bluealsa -p a2dp-source as started in bt_init.sh, the volume writes from msettings only change bluealsa's software gain, so the AirPods never get told anything. Reading MediaTransport1.Volume over dbus gave 0; setting it to 100 made them audible right away, and btmon shows the SetAbsoluteVolume being accepted.
Works for me with two extra flags on the bluealsa line in .system/tg5040/etc/bluetooth/bt_init.sh:
bluealsa -p a2dp-source --a2dp-volume --initial-volume=70 &
After that the volume keys control the AirPods themselves and they come up audible on connect. The AVRCP channel appears a few seconds after the A2DP link, so a volume write done immediately after connect can get lost – probably what the retry logic in the H700 changes is about. Only tested on the Brick, not a Smart Pro.
jan-wir commentedon Sep 17, 2026
Small correction to the above: they don't actually come up audible on connect – a volume key press is still needed the first time.
pvaibhav commentedon Sep 18, 2026
@jan-wir yep I encountered this also last year. After the H700 is merged upstream I will look into this. That's why I created this tracking task.