<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Active port is not set when plugging in headphones in a lenovo Ultradock jack"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80074#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Active port is not set when plugging in headphones in a lenovo Ultradock jack"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80074">bug 80074</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>hese values when headphones are connected to the laptop jack:

    nid = 0x14, verb = 0xf09, param = 0x0
    value = 0x0
    nid = 0x15, verb = 0xf09, param = 0x0
    value = 0x80000000
    nid = 0x16, verb = 0xf09, param = 0x0
    value = 0x0

and these values when headphones are connected to the dock jack:

    nid = 0x14, verb = 0xf09, param = 0x0
    value = 0x0
    nid = 0x15, verb = 0xf09, param = 0x0
    value = 0x0
    nid = 0x16, verb = 0xf09, param = 0x0
    value = 0x80000000

if detection of two headphone jacks are correct, 
you have to check the availablility of speaker 

since pulseaudio need to check status of both jacks to determine the status of
speaker

the speaker is muted when either jack is plugged but unmuted when both jacks
are unplugged

<a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths">http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths</a></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>