<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Microphone port switch"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81580#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Microphone port switch"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81580">bug 81580</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 <a href="show_bug.cgi?id=81580#c5">comment #5</a>)
<span class="quote">> So it is not pulseaudio who switching output port based on jack detection,
> but kernel driver?</span >

yes, it is the kerenl driver perform auto mute, pulseaudio just use the Jack
detection control to find out which volume control of the selected audio path

in your case,  you may need to give up the support of headphone by using a new
hint to force the driver to support headset only  when the codec cannot
differentiate headset or headphone

the alternative way is to use what did you plugin to select the headset or
headphone when ever you plugged</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>