Pulseaudio-17.0 HFP mode not compatible with some headsets
Warning
Summary
Under the HFP mode, when you take off the both two headsets, the audio transmission would suspend, then you put on the two headsets, the audio transmission cannot resume.
environment
- ubuntu20.04 + pulseaudio-17.0/pulseaudio-16.1 + blueZ-5.59 + “Intel AX201 BT”
- ubuntu20.04 + pulseaudio-17.0/pulseaudio-16.1 + blueZ-5.59 + "USB BT adapter(Realtek 8761B Chipset)"
Steps to reproduce
- connect the headset, set profile to a2dp_sink
- set profile to handsfree_head_unit(the audio Tx and Rx works properly)
- take off the both two headsets from your ears
- wait 3 seconds, and put on the two headsets
What is the current bug behavior?
The audio Rx and Tx work abnormal, althoung running the command: "aplay -D pulse xx.wav", the sink state was SUSPENDED all the time.
pulseaudio log after taking off the headsets:
I: [bluetooth] module-bluez5-device.c: FD error: POLLERR POLLHUP
I: [bluetooth] backend-native.c: Transport /org/bluez/hci0/dev_24_1A_E6_14_6B_AC/fd55 released
What is the expected correct behavior?
After putting on the headsets,the audio Rx and Tx work properly.
New comments
I found that the headset would work fine after connecting to my mobile phone with one calling.
May be there is some special configurations of this kind of headset. It should be related to the blueZ neither the pulseaudio.
So close this issue.