The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 999β€…    Votes:  2β€…
Tags: sound   pulseaudio   hdmi   spdif  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/1017582
Title: HDMI audio disabled after resuming from sleep
ID: /2018/03/20/HDMI-audio-disabled-after-resuming-from-sleep
Created: March 20, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


There is a complicated way of accomplishing this with udev rules, systemd service and suspend/resume hooks.

An easier way is to check this:

$ cat /etc/pulse/default.pa | grep switch-on-port-available
load-module module-switch-on-port-available

If the second line doesn’t begin with a # (commented out) then edit the file and insert a # in the beginning.

Now all output will be controlled to what you manually set it to and stay there until you change it.

⇧ How to clear text in a file? Power Management only has the option of "Do Nothing" for critically low battery in 17.10  β‡©