<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Headphones selected on first run while unplugged and other ports are available"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87002#c24">Comment # 24</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Headphones selected on first run while unplugged and other ports are available"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87002">bug 87002</a>
              from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
        <pre>(In reply to Mario Sanchez Prada from <a href="show_bug.cgi?id=87002#c21">comment #21</a>)
<span class="quote">> (In reply to Raymond from <a href="show_bug.cgi?id=87002#c20">comment #20</a>)
> > > 
> > > What about letting 1) and 2) to finish, as if everything went fine and then,
> > > as a last and desperate attempt to avoid having a profile with no ports
> > > available, check if there's a better option and switch profiles if needed?
> > > 
> > 
> > the source already has a profile with no port available
> > 
> > Ports:
> >               analog-input-mic: Microphone (priority: 8700, not available)
> >       Active Port: analog-input-mic
> >       Formats:
> >               pcm

> Yes, and in that case my approach would be not to change a thing: only if
> you preselect a profile with no ports available when there are another
> profile with ports available.

> But as David said, that's a hack and not the proper solution.</span >

it contradict the logic of module-switch-on-port-available which switch to
other available /unknown port when active port is unavailable

when pulseaudio cannot find valid profile of the sound card, auto null is
automically selected when there is no sound card available</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>