[pulseaudio-tickets] [Bug 105654] Unable to properly switch between Speakers and Headphones (has "workaround")

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 23 08:22:13 UTC 2018


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

--- Comment #11 from gbr at protonmail.com ---
(In reply to Tanu Kaskinen from comment #10)
> Ok, undo the [Element Front] change, since it muted the headphones
> permanently.
Done.

> It sounds like the Line element isn't doing anything. Can you verify that?
> Remove or comment out the [Element Line] section from both conf files, then
> restart pulseaudio and select the headphone port (you should get audio in
> the speakers as well), and then with alsamixer test if muting or changing
> volume of the Line element has any effect on the speaker output.
Yes, that's exactly what's happening! I did all that, then I opened alsamixer
and the "Line" element was already muted by default, and unmuting it or
changing its volume didn't affect anything; I could still hear the audio coming
from both Headphones and Speakers no matter what.

> If it doesn't have any effect, this should be reported to alsa.
> Instructions here:
> http://alsa-project.org/main/index.php/Bug_Tracking (remember to give them
> the alsa-info output, for some reasons when I point people to those
> instructions they still sometimes fail to follow them when filing bug
> reports to alsa).
Thanks for pointing the directions, I'll definitely open a ticket there, but
what title and description do you think I should choose? I'm not sure exactly
what this bug is and I wouldn't want to "guess" a title/description for it,
since I could be misleading...

> Here's a new attempt at a workaround in pulseaudio: put this in
> analog-output-headphones.conf:
> 
>     [Element Auto-Mute Mode]
>     enumeration = select
> 
>     [Option Auto-Mute Mode:Enabled]
>     name = auto-mute-on
> 
> and this in analog-output-lineout.conf:
> 
>     [Element Auto-Mute Mode]
>     enumeration = select
> 
>     [Option Auto-Mute Mode:Disabled]
>     name = auto-mute-off
> 
Oh my God, thank you soooo much! It worked perfectly!!! Pavucontrol still shows
"Line Out" as "unplugged", but I can switch to it and it will still work as
expected. Thanks again!

-- 
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: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180323/b6dfe3ba/attachment.html>


More information about the pulseaudio-bugs mailing list