Bug 86534

Summary: Non functional audio-output regularly being selected.
Product: PulseAudio Reporter: Weng Xuetian <wengxt>
Component: miscAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: pactl output

Description Weng Xuetian 2014-11-21 18:06:26 UTC
Created attachment 109811 [details]
pactl output

Attached with pactl list output.

The interesting part is Card #1. (sorry not be able to get pactl output when problem happens because it's hard to reproduce when I want to reproduce it..)

pactl reports it has available 3 output ports, audio-output, audio-output-speaker, and audio-output-headphones.

Step to reproduce the problem:
1. When having headphone pluged, suspend the system
2. unplug the headphone
3. and resume the system

Pulseaudio might randomly select "audio-output" as active port (In some other case it select audio-output-speaker), Though pactl reports "audio-output" has only 9900 priority comparing with audio-output-speaker 10000. If I replug headphone and unplug it again, the active port will become audio-output-speaker correctly.

And audio-ouput doesn't produce any sound, the only working 2 ports are audio-output-speaker and audio-output-headphones.

I'm using KDE 4.14.3 in Chakra Linux, laptop model is Lenovo Yoga 2 Pro, kernel version is 3.17.3.
Comment 1 David Henningsson 2014-11-24 09:36:41 UTC
Hi!

PulseAudio 6.0 RC1 was just released and the logic around when analog-output is present has changed, so it's likely you will not have the dysfunctional analog-output port anymore with 6.0 RC1. 

Could you test? Thanks!
Comment 2 Weng Xuetian 2014-11-24 19:25:49 UTC
seems there are only two audio-output-{speaker,headphones} with 6.0rc1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.