Comment 1 for bug 1643812

Revision history for this message
Bin Li (binli) wrote :

I built the pulseaudio with the patch in below, it works fine after test.

commit d5fec4ca7af9241d0c2ae17df40d0fb1c18c74a0
Author: Sjoerd Simons <email address hidden>
Date: Sun Nov 16 23:15:50 2014 +0100

    Alsa: Correct port availability with multiple jacks

    In case there are two independent jacks for one port (e.g. Dock
    Headphone Jack and Headphone Jack), the availability ends up being
    incorrect if the first one was _NO (not plugged) and the second gets
    _YES (plugged). Also pulse complains about the state being inconsistent
    which isn't true.

    Fix this by preferring more precise states (yes/no) over unknown and yes
    over others. However in case a plugged jack makes the port unavailable
    let that overrule everything else.