didier@slint.fr schrieb am 06.03.25:
Hello,
On 04/03/2025 21:05, Dietmar Segbert wrote:
I don not know, where i can set alsa card 0 as default soundcard in alsa/
pipewire.
I never used pipewire but I used to have in /etc/asound.conf this content
defaults.pcm.card 0
defaults.ctl.card 0
But it happened that after a kernel upgrade the default card changed.
What most users actually want is to use the PCH output, not an HDMI one,
regardless of the card number. To get there I just include in a file named
/etc/speechd-up.conf this line:
ALSA_CARD=PCH
Then this fie is sourced by the script that starts speechd-up (attached).
I do something similar for espeakup (script also attached)
I assume that something similar could be done with systemd. "I assume" as I
never configured systemd.
Cheers,
Didier