Ubuntu Airpods Pro 3 AAC

1
2
3
4
5
sudo add-apt-repository ppa:aglasgall/pipewire-extra-bt-codecs
sudo apt install libspa-0.2-bluetooth libldacbt-abr2 libldacbt-enc2
systemctl --user restart pipewire pipewire-pulse wireplumber
sudo systemctl restart bluetooth
nano ~/.config/wireplumber/main.lua.d/50-airpods-a2dp.lua
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
-- Force Bluetooth devices to prefer A2DP profile (safe for WirePlumber 0.5+)

local rule = {
  matches = {
    {
      { "device.name", "matches", "bluez_card.*" },
    },
  },
  apply_properties = {
    ["bluez5.auto-connect"] = "[ a2dp_sink ]",
    ["bluez5.hw-volume"] = true,
    ["device.profile"] = "a2dp-sink",
  },
}

table.insert(alsa_monitor.rules, rule)