No sound over bluetooth on pinephone using phosh calls app
I'm trying to get callaudiod (using the phosh "calls" app) to use my bluetooth headset. The headset is recognized by pulseaudio (i.e. paplay somefile.wav
playback is through headset). But when making a call the audio comes through the earpiece.
Below is the log output of G_MESSAGES_DEBUG=all callaudiod
when trying to make a call. The call starts at 14:27:52 and ends at 14:29:23.
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.757: initializing pulseaudio backend...
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.775: PA not ready
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.778: PA not ready
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.780: PA not ready
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.782: PA is ready, initializing cards list
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.783: subscribe returned 1
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.784: CARD: idx=0 name='alsa_card.platform-sound'
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.784: CARD: has voice profile
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.784: SINK: idx=14 name='alsa_output.platform-sound.HiFi__hw_PinePhone_0__sink'
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.785: SINK: speaker_port='[Out] Speaker'
(process:18171): callaudiod-pulse-DEBUG: 14:25:55.785: SOURCE: idx=27 name='alsa_input.platform-sound.HiFi__hw_PinePhone_0__source'
(process:18171): callaudiod-manager-DEBUG: 14:25:55.786: initializing manager...
(process:18171): callaudiod-DEBUG: 14:25:55.786: Bus acquired, creating manager...
(process:18171): callaudiod-DEBUG: 14:25:55.789: Service name 'org.mobian_project.CallAudio' was acquired
(process:18171): callaudiod-manager-DEBUG: 14:27:52.306: Select mode: 1
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.306: card has voice profile, using it
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.307: switching to voice profile
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.332: operation returned 1
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.332: sink 14 removed
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.333: source 27 removed
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.333: new sink 28
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.333: new sink 15
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.333: new sink 29
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.336: SINK: idx=15 name='alsa_output.platform-sound.Voice_Call__hw_PinePhone_0__sink'
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.337: SINK: speaker_port='[Out] Speaker'
(process:18171): callaudiod-pulse-DEBUG: 14:27:52.337: SOURCE: idx=29 name='alsa_input.platform-sound.Voice_Call__hw_PinePhone_0__source'
(process:18171): callaudiod-manager-DEBUG: 14:27:54.808: Select mode: 1
(process:18171): callaudiod-pulse-DEBUG: 14:27:54.808: card has voice profile, using it
(process:18171): callaudiod-pulse-DEBUG: 14:27:54.809: set_card_profile: nothing to be done
(process:18171): callaudiod-pulse-DEBUG: 14:27:54.810: operation returned 1
(process:18171): callaudiod-manager-DEBUG: 14:29:23.225: Select mode: 0
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.225: card has voice profile, using it
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.229: set_mic_mute: nothing to be done
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.229: operation returned 1
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.230: switching to default profile
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.262: operation returned 1
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.263: sink 15 removed
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.269: source 29 removed
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.270: new sink 30
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.270: new sink 16
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.270: new sink 31
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.272: SINK: idx=16 name='alsa_output.platform-sound.HiFi__hw_PinePhone_0__sink'
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.272: SINK: speaker_port='[Out] Speaker'
(process:18171): callaudiod-pulse-DEBUG: 14:29:23.272: SOURCE: idx=31 name='alsa_input.platform-sound.HiFi__hw_PinePhone_0__source'
I'm not sure if the culprit is really callaudiod or if my config is messed up. Do you know if calls over bluetooth should work on pinephone?