Stop periodic Bluetooth audio dropouts caused by USB autosuspend
The btusb half is right: enable_autosuspend is a real btusb parameter and disabling it is the standard fix for periodic ~1s A2DP dropouts. Two problems. (1) modprobe -r btusb fails with 'Module btusb is in use' while bluetoothd holds the adapter: bluetooth.service must be stopped first, so as written the change silently does not take effect until reboot. (2) The WirePlumber block is self-contradictory: it is introduced as 'let WirePlumber fall back off AAC' but lists aac first in bluez5.codecs, which is exactly the preference order that keeps AAC selected. To stop negotiating AAC you must omit it from the list.
Disabling btusb autosuspend increases idle power draw slightly.
Symptom
Bluetooth audio randomly cuts out for about a second then resumes, over and over. The device stays connected the whole time and nothing is logged. Reported with Sony WH-1000XM5, Marshall Major V, Logitech receivers, and on Macs with Broadcom Wi-Fi/BT combo cards.
Cause
The btusb driver autosuspends the controller between transmissions and power-cycles it back up for each burst, which drops audio frames. On Macs it is compounded by antenna contention, because Wi-Fi and Bluetooth share one antenna, and by AAC re-encoding being timing-sensitive on those Broadcom controllers.
Fix
echo 'options btusb enable_autosuspend=n' | sudo tee /etc/modprobe.d/btusb-autosuspend.conf
# bluetoothd holds the module open; stop it before reloading or the rmmod fails
sudo systemctl stop bluetooth
sudo modprobe -r btusb
sudo modprobe btusb
sudo systemctl start bluetooth
cat /sys/module/btusb/parameters/enable_autosuspend # expect N
If dropouts persist, actually drop AAC from the negotiated codec list (leaving aac in the list keeps it preferred):
mkdir -p ~/.config/wireplumber/wireplumber.conf.d
cat > ~/.config/wireplumber/wireplumber.conf.d/51-bluez-codecs.conf <<'EOF'
monitor.bluez.properties = {
bluez5.codecs = [ sbc_xq sbc ]
bluez5.enable-sbc-xq = true
bluez5.roles = [ a2dp_sink a2dp_source bap_sink bap_source ]
}
EOF
systemctl --user restart wireplumber
# reconnect the headset, then confirm which codec is in use
pw-dump | grep -i 'api.bluez5.codec'
Add aac back to the front of bluez5.codecs if you decide the quality trade-off is not worth it.
Verify
cat /sys/module/btusb/parameters/enable_autosuspend prints N. Play audio for 10+ minutes with no interruptions. pw-cli info all | grep -i codec shows the negotiated codec.