<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - If volume was at 0% at shutdown upon reboot it's at 100%."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55262#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - If volume was at 0% at shutdown upon reboot it's at 100%."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55262">bug 55262</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>module-device-restore fails to load the saved volume, because when the volume
is originally set and saved, it's saved for the current port. But when
module-device-restore tries to restore the volume, the port of the new sink is
not yet known, unless it has been restored too.

The sink port will only be restored if the user has manually changed it. So, a
workaround for this problem is to change the sink port to something else and
then back, for example with pavucontrol (go to the Output Devices tab and
change the Port of the appropriate device).

How to fix this then? pa_device_port should be extended to store the port
volume, and then module-card-restore can restore the port volumes. Once the
port volumes are properly restored, the sink volume can then be just copied
from the port once it has been chosen.

I'm not volunteering to do the fix in the near future. Hopefully someone else
will pick up this...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>