Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61967 - [pulseaudio]Modify start-pulseaudio-x11 to not include module-device-manager

Attached to Project: Arch Linux
Opened by Mark (markg85) - Sunday, 10 March 2019, 14:33 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 19:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



Pulseaudio is installing the file start-pulseaudio-x11. It (among a few other things) contains this check:
if [ x"$KDE_FULL_SESSION" = x"true" ]; then
/usr/bin/pactl load-module module-device-manager "do_routing=1" > /dev/null

That is for Plasma's sound management. That module kills the functionality of pulseaudio's module-switch-on-connect module. That (module-switch-on-connect) takes care of switching sound to the device you plug in. So if you plug in a USB headset, audio is neatly redirected from wherever it was playing to that newly plugged in device.

The fact that module-device-manager breaks that has been known for years. I have reported that in about 2 years ago.
One the KDE side David Rosca is the maintainer of plasma's sound handling, but that only goes as far as the pulseaudio handling. He himself also says the module should probably go, see for more details. No action has been taken though, for years.

Now i know Arch is trying to stay true to upstream as much as possible. That is a very good thing!
But for pulseaudio and where it is very obviously breaking sound (if you are in the corner case area*) is something that might deserve an exception. Therefore i'd like to ask to remove those KDE lines from start-pulseaudio-x11.

* Yes, you only get into this issue if you're using multiple audio devices while having a "main" audio device plugged into the jack port. So if you then also plugin a USB headphone and/or a bluetooth one then you get this issue. (for more, see

Best regards,
This task depends upon