Pulseaudio sink/source selection, weird behaviour.
This issue was already reported to the Ubuntu developers . I was instructed to post it here.
I have a Laptop connected to an USB-C dock. By default the docks analog audio output is chosen as the default pulse audio sink. I want that the analog output of the Laptop is the default, hence I configured this in /etc/pulse/default.pa
This does not work and journalctl
informs me that the device chosen by me (alsa_output.pci-0000_00_1f.3.analog-stereo) does not exist, see attached output from journalctl.
I have followed Workaround 1 here https://wiki.debian.org/BluetoothUser/a2dp to prevent pulseaudio getting started in gdm to prevent device capture.
This does not work, the device does still not exist. Restarting pulseaudio sometimes, but not always sets the configured default sink. Furthermore plugging in (or sometimes unplugging) the headphones in the Laptops analog input switches audio to the dock. This is undesirable, because the dock has no built in speakers or microphone. The laptop has, why switch away from it?
Note that load-module module-switch-on-port-available
and load-module module-switch-on-connect
are commented out in both /etc/pulse/default.pa
and ~/.config/pulse/default.pa
.
Attached are the output from journalctl
and the config files.
See the also Launchpad report linked above for information about my computer and operating system.