It sounds like PulseAudio is not very smart and doesn't understand docks are hotpluggable audio devices which themselves may be dormant and unused.
Try commenting out both: load-module module-switch-on-port-available and load-module module-switch-on-connect If those two changes together do not solve the problem then please report the bug to the PulseAudio developers at https://gitlab.freedesktop.org/groups/pulseaudio/-/issues ** Changed in: pulseaudio (Ubuntu) Status: Won't Fix => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864253 Title: Pulseaudio sink/source selection, weird behaviour. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1864253/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs