Have you ever noticed an “HDMI Audio” device switching its audio profile away from Off, after you wake up a suspended Linux system (which uses the pipewire-pulse
package)? Well, here’s the fix for that annoying issue:
- Create a config file at the path:
~/.config/pipewire/pipewire-pulse.conf.d/disable-hdmi.conf
. - Insert the following content into the config:
Read the ‘Pulseaudio Modules’ documentation for more information about handling them generally.
The page about the module-switch-on-connect module implies that blocklist=hdmi is already the default option when loading the module-switch-on-connect with this config, but, I’d argue it’s better for clarity to be explicit here.