I have commented `load-module module-switch-on-connect` out in both `/etc/pulse/default.pa` and `~/.config/pulse/default.pa`. This does not work.
For instance unplugging the headset from the laptop switches the default sink to the dock. The laptop has speakers and a microphone built in, the dock has not. Why switch the default devices to somewhere where no sound can be played or recorded. And why switch even if the switching module is not loaded? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1864253 Title: Pulseaudio sink/source selection, weird behaviour. Status in pulseaudio package in Ubuntu: Won't Fix Bug description: 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.py 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 the headphones in the Laptops analog input switches audio to the dock. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: pulseaudio 1:11.1-1ubuntu7.4 ProcVersionSignature: Ubuntu 5.3.0-28.30~18.04.1-generic 5.3.13 Uname: Linux 5.3.0-28-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC2: findus 3055 F.... pulseaudio /dev/snd/controlC1: findus 3055 F.... pulseaudio /dev/snd/controlC0: findus 3055 F.... pulseaudio /dev/snd/pcmC0D0p: findus 3055 F...m pulseaudio CurrentDesktop: i3 Date: Fri Feb 21 22:19:04 2020 InstallationDate: Installed on 2019-06-13 (253 days ago) InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/26/2019 dmi.bios.vendor: LENOVO dmi.bios.version: N2IET80W (1.58 ) dmi.board.asset.tag: Not Available dmi.board.name: 20N3S0UB00 dmi.board.vendor: LENOVO dmi.board.version: SDK0R32862 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN2IET80W(1.58):bd11/26/2019:svnLENOVO:pn20N3S0UB00:pvrThinkPadT490:rvnLENOVO:rn20N3S0UB00:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad T490 dmi.product.name: 20N3S0UB00 dmi.product.sku: LENOVO_MT_20N3_BU_Think_FM_ThinkPad T490 dmi.product.version: ThinkPad T490 dmi.sys.vendor: LENOVO modified.conffile..etc.pulse.daemon.conf: [modified] modified.conffile..etc.pulse.default.pa: [modified] modified.conffile..etc.pulse.system.pa: [modified] mtime.conffile..etc.pulse.daemon.conf: 2020-02-21T20:38:20.081439 mtime.conffile..etc.pulse.default.pa: 2020-02-21T19:27:57.386938 mtime.conffile..etc.pulse.system.pa: 2020-02-21T15:23:09.470494 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1864253/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp