[pulseaudio-tickets] [Bug 80074] Active port is not set when plugging in headphones in a lenovo Ultradock jack

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 16 17:33:17 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80074

--- Comment #11 from Francois Marier <francois at fmarier.org> ---
Nevermind my last comment, I figured out that the "widget NID" are the node IDs
displayed in the output "cat /proc/asound/card1/codec#0".

So looking at these three pin complexes:

    Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
      Control: name="Speaker Playback Switch", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Control: name="Speaker Phantom Jack", index=0, device=0
      Pin Default 0x90170110: [Fixed] Speaker at Int N/A
        Conn = Analog, Color = Unknown
        DefAssociation = 0x1, Sequence = 0x0
        Misc = NO_PRESENCE
    Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
      Control: name="Headphone Playback Switch", index=1, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Control: name="Headphone Jack", index=0, device=0
      Pin Default 0x0321101f: [Jack] HP Out at Ext Left
        Conn = 1/8, Color = Black
        DefAssociation = 0x1, Sequence = 0xf
    Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
      Control: name="Headphone Playback Switch", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Control: name="Dock Headphone Jack", index=0, device=0
      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
        Conn = 1/8, Color = Black
        DefAssociation = 0xf, Sequence = 0x0
        Misc = NO_PRESENCE

I see that hda-verb returns these values for GET_PIN_SENSE when nothing is
connected:

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

these 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

So it does look like the two jacks correctly detect the presence of headphones.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140617/d6888eaa/attachment.html>


More information about the pulseaudio-bugs mailing list