[pulseaudio-tickets] [Bug 70865] New: analog-output-speaker not working anymore when headphone is plugged

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 25 07:45:24 PDT 2013


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

          Priority: medium
            Bug ID: 70865
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: analog-output-speaker not working anymore when
                    headphone is plugged
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: quickhelp at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: core
           Product: PulseAudio

HP desktop pc with audio line-out / headphone jack in front and rear AND a
built-in mono speaker.

Hardware: 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 02)

Debian wheezy stable system with pulseaudio 2.0-6.1

With alsa there is a ""Simple mixer control 'Independent HP'" if set to
  * "Enable", sound is /only/ audible through the built-in speaker
  * "Disable", sound is /only/ audible through the connected headphone/line-out

With pulseaudio (thanks a lot to poljar #pulseaudio IRC !):
 (1.) If I unplug any line-out audio cable aka headphone cables, then
      * pactl set-sink-port 0 analog-output-headphones
        Makes sound only be audible through the built-in internal mono speaker
      * pactl set-sink-port 0 analog-output-speaker
        Makes no sound audible (which seems to be exactly how it should be :)

 (2.) If I plug an headphone cable either rear or front, then:
      * pactl set-sink-port 0 analog-output-headphones
        Makes sound /only/ be audible through the plugged headphone/line-out
BUT:
      * pactl set-sink-port 0 analog-output-speaker
        Makes sound /only/ be audible through the plugged headphone/line-out
TOO

<poljar> statement: that sounds wrong, analog-output-speaker should either
tagged as not available if the hardware prevents it to output to the speaker
while something is connected or it should work, so feel free to report a bug

I created for both cases (1.) and (2.) the pulseaudio-output and the
client-output. I hope you find them useful. Please let me know if you need
anything else.

The system is a headless server system.
pulseaudio is running as user pulse

To get the pulseaudio-output it ran like this (debian default with changed
--log-target and added -vvvvvv):

/usr/bin/pulseaudio -vvvvvv --system --disallow-exit --daemonize
--log-target=file:/tmp/pulseaudio.log --high-priority
--disallow-module-loading=1

So unter pulse I did not find any way yet to use the built-in speaker for
sound-output when I have a headphone/line-out plugged.
Even though under alsa I am able to toggle the output to come through the
built-in speaker and with or without a headphone/line-out plugged!

This is bugging me, because I have my stereo plugged all the time to the
system, but it ONLY gets turned on, when I need it. So important system
notifications should be played through speaker.

Please help :)

Thanks a lot in advance !

Tormen.

-- 
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/20131025/01892060/attachment.html>


More information about the pulseaudio-bugs mailing list