Wireplumber
Installation
Install the wireplumber package. It will conflict with other PipeWire Session Managers and make sure they are uninstalled.
sudo pacman -S wireplumber
Configuration
- Root config dir:
~/.config/wireplumber
- Bluetooth config sub dir:
bluetooth.lua.d
- Bluetooth config sub dir:
- State:
/home/varac/.local/state/wireplumber/default-routes
Restart user wireplumber service after config changes:
systemctl --user restart wireplumber.service
Usage
Get device statuses:
$ wpctl status
…
Audio
├─ Devices:
│ 46. Soundcore Life P2 Mini [bluez5]
…
$ wpctl inspect 46
…
Bluetooth devices
- Wireplumber has bluetooth profile auto-switching enabled by default It can automatically switch between HSP/HFP and A2DP profiles whenever an input stream is detected.
Trobuleshooting
Enable debug logging:
WIREPLUMBER_DEBUG=I wireplumber
WIREPLUMBER_DEBUG=I wireplumber 2>&1 |grep bluetooth.lua.d
WIREPLUMBER_DEBUG=I wireplumber 2>&1 |tee /tmp/wireplumber.log