[pulseaudio-discuss] configure a soundcard?

Tanu Kaskinen tanuk at iki.fi
Mon Apr 22 08:05:50 UTC 2019


On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote:
> Greetings,
> 
> I'm running Debian Buster and I have a 1/8" audio jack. I need the sink to
> be an analog output to send off to some other device. Things work great,
> except for when the system reboots, it comes up configured as a digital
> soundcard:
> 
> Digital Stereo (IEC958)
> 
> Here is a diff between a "pactl list" when the computer reboots and when
> I've configured it to be an analog sink:
> 
> -Sink #1
> -       State: SUSPENDED
> -       Name: alsa_output.pci-0000_00_14.2.iec958-stereo
> -       Description: Built-in Audio Digital Stereo (IEC958)
> +Sink #2
> +       State: RUNNING
> +       Name: alsa_output.pci-0000_00_14.2.analog-stereo
> +       Description: Built-in Audio Analog Stereo
> 
> What is the best way to have the configuration saved between reboots?
> 
> I can provide further info if needed.
> 
> Thanks for any help!

What does "pactl list cards" print, and what does this little script
print?

    while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer -c0 controls | grep Jack)

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk



More information about the pulseaudio-discuss mailing list