All mic in system stop working after connecting HSP/HFP enabled headset in A2DP mode
Environment
$ pipewire --version
pipewire
Compiled with libpipewire 1.0.4
Linked with libpipewire 1.0.4
$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
Gnome 46.0
$ uname -r
6.8.1-arch1-1
Description of Problem
I have webcam Logitech, Inc. C922 Pro Stream Webcam
with integrated microphone. My usual scenario is to use that microphone with my Sony WH-1000XM5 headset ( A2DP/LDAC profile ).
To get it I'm using
cat ~/.config/wireplumber/policy.lua.d/11-bluetooth-policy.lua
bluetooth_policy.policy["media-role.use-headset-profile"] = false
All was great until I've got pipewire update. Now webcam mic only works if headset is disconnected or headset is switched to HFP/HSP mode ( in this way my webcam mic starts working and headset mic starts working too ). If headset on any of A2DP profile, I can select webcam mic for use, but its absolutely no sound from it.
How to reproduce
- Check that mic from webcam working
- Connect bluetooth headset
- Check that mic stops working
- Switch to HSP/HFP profile
- Check that both mics working
Actual Results
Any mics stop working after headset connected in A2DP profile
Expected Results
Any mic working when headset connected in A2DP profile ( excluding headset one )
Other
Please let me know if you need some additional debbuging info. Can't find any template to fill bug report, so used one from side issues.