<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Active port is not set when plugging in headphones in a lenovo Ultradock jack"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80074#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - 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:francois@fmarier.org" title="Francois Marier <francois@fmarier.org>"> <span class="fn">Francois Marier</span></a>
</span></b>
        <pre>Raymond, I'm assuming you mean the tool that's available at
<a href="https://launchpad.net/~diwic/+archive/hda/+packages">https://launchpad.net/~diwic/+archive/hda/+packages</a> in the snd-hda-tools
package.

I grabbed version 0.20130207+saucy1 and unfortunately it returned this error on
my Debian jessie box:

    Traceback (most recent call last):
      File "/usr/bin/hda-jack-sense-test", line 47, in <module>
        codec = HDACodec(cardindex, codecindex)
      File "/usr/share/snd-hda-tools/hda_codec.py", line 1036, in __init__
       self.parse_proc()
      File "/usr/share/snd-hda-tools/hda_codec.py", line 1135, in parse_proc
        self.proc_codec = HDACodecProc(self.card, self.device, file)
      File "/usr/share/snd-hda-tools/hda_proc.py", line 479, in __init__
        self.parse(proc_file)
      File "/usr/share/snd-hda-tools/hda_proc.py", line 677, in parse
        node.add_digital(line[11:]) 
      File "/usr/share/snd-hda-tools/hda_proc.py", line 296, in add_digital
        self.wrongfile('unknown dig1 bit %s' % repr(b))
      File "/usr/share/snd-hda-tools/hda_proc.py", line 143, in wrongfile
        raise ValueError, "wrong proc file format (%s)" % msg
   ValueError: wrong proc file format (unknown dig1 bit 'KAE')

Perhaps my kernel (3.14-1-amd64) or alsa-base (1.0.25+3) is more recent than
the one in Ubuntu saucy? Is there a more recent version of that script
somewhere?</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>