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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 15 21:22:55 PDT 2014


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

          Priority: medium
            Bug ID: 80074
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: Active port is not set when plugging in headphones in
                    a lenovo Ultradock jack
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: francois at fmarier.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: alsa
           Product: PulseAudio

Created attachment 101132
  --> https://bugs.freedesktop.org/attachment.cgi?id=101132&action=edit
Output of "pulseaudio -k && pulseaudio -vvv"

If I plug headphones in the headphone jack of my laptop (T440p), the active
port goes from analog-output-speaker to analog-output-headphones as expected.

However, if I use the headphone jack the dock, the active port stays as
analog-output-speaker, instead of switching to analog-output.

I don't use Ubuntu, but I followed the instructions on
https://wiki.ubuntu.com/ALSA/JackSense and as far as I can tell, the kernel can
tell whether or not headphones are plugged in. Both on the laptop itself:

    $ diff -u codec.no_hp.txt codec.hp_laptop.txt
    --- codec.no_hp.txt    2014-06-16 16:03:58.036317735 +1200
    +++ codec.hp_laptop.txt    2014-06-16 16:04:34.399789974 +1200
    @@ -155,14 +155,14 @@
         Conn = Analog, Color = Unknown
         DefAssociation = 0x1, Sequence = 0x0
         Misc = NO_PRESENCE
    -  Pin-ctls: 0x40: OUT
    +  Pin-ctls: 0x00:
       Unsolicited: tag=00, enabled=0
       Power states:  D0 D1 D2 D3 EPSS
       Power: setting=D0, actual=D0

as well as on the dock:

    $ diff -u codec.no_hp.txt codec.hp_dock.txt
    --- codec.no_hp.txt    2014-06-16 16:03:58.036317735 +1200
    +++ codec.hp_dock.txt    2014-06-16 16:03:48.412457393 +1200
    @@ -162,7 +162,7 @@
         Conn = Analog, Color = Unknown
         DefAssociation = 0x1, Sequence = 0x0
         Misc = NO_PRESENCE
    -  Pin-ctls: 0x40: OUT
    +  Pin-ctls: 0x00:
       Unsolicited: tag=00, enabled=0
       Power states:  D0 D1 D2 D3 EPSS
       Power: setting=D0, actual=D0

However, pulseaudio only updates the active port when plugging into the laptop
jack:

    $ diff -u sinks.no_hp.txt sinks.hp_laptop.txt
    --- sinks.no_hp.txt    2014-06-16 16:02:05.541949763 +1200
    +++ sinks.hp_laptop.txt    2014-06-16 16:00:21.983451258 +1200
    @@ -104,8 +104,8 @@
             device.icon_name = "audio-card-pci"
         Ports:
             analog-output: Analog Output (priority: 9900)
    -        analog-output-speaker: Speakers (priority: 10000)
    -        analog-output-headphones: Headphones (priority: 9000, not
available)
    -    Active Port: analog-output-speaker
    +        analog-output-speaker: Speakers (priority: 10000, not available)
    +        analog-output-headphones: Headphones (priority: 9000, available)
    +    Active Port: analog-output-headphones
         Formats:
             pcm

and not on the dock:

    $ diff -u sinks.no_hp.txt sinks.hp_dock.txt
    $

-- 
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/20140616/e071da04/attachment.html>


More information about the pulseaudio-bugs mailing list