[Debian-on-mobile-maintainers] Bug#1092961: Speaker button does not work during calls

MichaelR MichaelR42 at runbox.com
Mon Jan 13 21:29:34 GMT 2025


Package: callaudiod
Version: 0.1.10-1+b1
Severity: normal
X-Debbugs-Cc: michaelr42 at runbox.com

Dear Maintainer,

I recently did a dist-upgrade on trixie, getting callaudiod 0.1.10-1+b1
along with gnome-calls v47.0-2, pipewire 1.2.7-1+b1, and wireplumber
0.5.7-1.  Platform is a Pinephone (arm64).

During a call, the speaker button doesn't work. The visual appearance
in gnome-calls switches but the audio output does not switch.

Switching manually with:
pactl set-card-profile alsa_card.platform-sound "Voice Call (Mic, Speaker)"
does switch output to the speaker (and the profile properly switches to "HiFi (Mic, Speaker)" after hangup).

Here's some debug output from callaudiod interspersed with output from
pactl:

$ pactl list| grep "Active Profile: ";pactl get-default-source;pactl get-default-sink
Active Profile: HiFi (Mic, Speaker)
alsa_input.platform-sound.HiFi__Mic__source
alsa_output.platform-sound.HiFi__Speaker__sink

##### begin outgoing call
(process:8150): callaudiod-manager-DEBUG: 14:56:46.453: Select mode: 1
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.454: card has voice profile, using it
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.458: switching to voice profile
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.459: target profile: 'Voice Call (Earpiece, Mic)'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.550: sink 514 removed
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.551: source 515 removed
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.697: operation returned 1
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.698: card 153 changed
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.702: new sink 522
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.703: new source 522
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.704: new source 523
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.712: SINK: idx=522 name='alsa_output.platform-sound.Voice_Call__Earpiece__sink'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.713: SINK:   speaker_port='[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.714: SINK:   earpiece_port='[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.714: looking for available output excluding '(null)'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.714: found available output '[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.714:   Using sink port '[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.715: SOURCE: idx=523 name='alsa_input.platform-sound.Voice_Call__Mic__source'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.717: looking for available input excluding '(null)'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.717: found available input '[In] Mic'
(process:8150): callaudiod-pulse-DEBUG: 14:56:46.801: card 153 changed
(process:8150): callaudiod-manager-DEBUG: 14:56:48.038: Select mode: 1
(process:8150): callaudiod-pulse-DEBUG: 14:56:48.038: card has voice profile, using it
(process:8150): callaudiod-pulse-DEBUG: 14:56:48.041: set_card_profile: nothing to be done
(process:8150): callaudiod-pulse-DEBUG: 14:56:48.041: operation returned 1

##### turn speaker on
(process:8150): callaudiod-manager-DEBUG: 14:57:01.884: Enable speaker: 1
(process:8150): callaudiod-pulse-DEBUG: 14:57:01.887: active port is '[Out] Earpiece', target port is '[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:01.888: switching to target port '[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:01.894: operation returned 1

$ pactl list| grep "Active Profile: ";pactl get-default-source;pactl get-default-sink
Active Profile: Voice Call (Earpiece, Mic)
alsa_input.platform-sound.Voice_Call__Mic__source
alsa_output.platform-sound.Voice_Call__Earpiece__sink

##### turn speaker off
(process:8150): callaudiod-manager-DEBUG: 14:57:14.599: Enable speaker: 0
(process:8150): callaudiod-pulse-DEBUG: 14:57:14.600: looking for available output excluding '[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:14.600: found available output '[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:57:14.600: active port is '[Out] Earpiece', target port is '[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:57:14.600: set_output_port: nothing to be done
(process:8150): callaudiod-pulse-DEBUG: 14:57:14.600: operation returned 1

$ pactl list| grep "Active Profile: ";pactl get-default-source;pactl get-default-sink
Active Profile: Voice Call (Earpiece, Mic)
alsa_input.platform-sound.Voice_Call__Mic__source
alsa_output.platform-sound.Voice_Call__Earpiece__sink

##### callee disconnected
(process:8150): callaudiod-manager-DEBUG: 14:57:15.550: Select mode: 0
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.551: cad_pulse_mute_mic: nothing to be done
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.551: operation returned 1
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.551: card has voice profile, using it
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.553: looking for available output excluding '[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.556: found available output '[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.557: active port is '[Out] Earpiece', target port is '[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.558: set_output_port: nothing to be done
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.559: operation returned 1
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.563: switching to default profile
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.564: target profile: 'HiFi (Mic, Speaker)'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.660: sink 522 removed
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.663: source 523 removed
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.764: operation returned 1
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.767: card 153 changed
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.768: new sink 530
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.768: new source 530
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.769: new source 531
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.789: SINK: idx=530 name='alsa_output.platform-sound.HiFi__Speaker__sink'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.789: SINK:   speaker_port='[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.789: SINK:   earpiece_port='[Out] Earpiece'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.789: looking for available output excluding '(null)'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.789: found available output '[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.790:   Using sink port '[Out] Speaker'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.791: SOURCE: idx=531 name='alsa_input.platform-sound.HiFi__Mic__source'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.793: looking for available input excluding '(null)'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.793: found available input '[In] Mic'
(process:8150): callaudiod-pulse-DEBUG: 14:57:15.813: card 153 changed

$ pactl list| grep "Active Profile: ";pactl get-default-source;pactl get-default-sink
Active Profile: HiFi (Mic, Speaker)
alsa_input.platform-sound.HiFi__Mic__source
alsa_output.platform-sound.HiFi__Speaker__sink

-- end --



More information about the Debian-on-mobile-maintainers mailing list