<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Non functional audio-output regularly being selected."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86534">86534</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Non functional audio-output regularly being selected.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>misc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wengxt@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=109811" name="attach_109811" title="pactl output">attachment 109811</a> <a href="attachment.cgi?id=109811&action=edit" title="pactl output">[details]</a></span>
pactl output

Attached with pactl list output.

The interesting part is Card #1. (sorry not be able to get pactl output when
problem happens because it's hard to reproduce when I want to reproduce it..)

pactl reports it has available 3 output ports, audio-output,
audio-output-speaker, and audio-output-headphones.

Step to reproduce the problem:
1. When having headphone pluged, suspend the system
2. unplug the headphone
3. and resume the system

Pulseaudio might randomly select "audio-output" as active port (In some other
case it select audio-output-speaker), Though pactl reports "audio-output" has
only 9900 priority comparing with audio-output-speaker 10000. If I replug
headphone and unplug it again, the active port will become audio-output-speaker
correctly.

And audio-ouput doesn't produce any sound, the only working 2 ports are
audio-output-speaker and audio-output-headphones.

I'm using KDE 4.14.3 in Chakra Linux, laptop model is Lenovo Yoga 2 Pro, kernel
version is 3.17.3.</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>