<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Changing device profile to HDMI is reset to default after monitor goes into powersave"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93946#c44">Comment # 44</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Changing device profile to HDMI is reset to default after monitor goes into powersave"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93946">bug 93946</a>
              from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
        <pre>Thanks for testing! It seems that my code never sets the hdmi port as the
preferred port. What if you shut down pulseaudio, remove
~/.config/pulse/*card-database* and then restart pulseaudio? After removing
that file, HDMI should not be selected by default, but once you manually select
HDMI, it should stick until you shut down pulseaudio. I would be interested to
hear if it works as long as pulseaudio stays running.

When you later restart pulseaudio again, I expect it to be again similarly
broken. I wrote in the commit message that it would be beneficial to save the
preferred port on disk, but actually it seems to be not only beneficial, but
absolutely critical. I don't know why I thought it would work without making
the preference persistent...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>