https://bugs.freedesktop.org/show_bug.cgi?id=93259
--- Comment #4 from Tanu Kaskinen <[email protected]> --- (In reply to Raymond from comment #2) > Do pulseaudio really need to change headphone volume to off when switch to > speake? In my opinion it's good to allow manual switching between headphones and speakers when headphones are plugged in, and playing to both outputs at the same time is not a good idea. (In reply to Christoph Reiter from comment #3) > I did: > > 1) restart > 2) grepped ps for pulseaudio > 3) killed the instance not belonging to my user id with -9 > 4) grepped again and saw that it was restarted > 5) after that volume no longer gets reset and the volume state gets > remembered separately for headphone connected/disconnected state as I > expected. Ok, I didn't expect the automatic restart, but I guess gdm keeps reconnecting to pulseaudio after disconnection just like normal user sessions do (and trying to connect to pulseaudio while it's not running triggers autospawning). When a session is inactive (like the gdm session is inactive during your own login session) udev removes sound card access for the inactive user. The reason why gdm nevertheless is able to interfere with the active session is that once pulseaudio opens the sound card mixer, it keeps the connection open. When udev changes the mixer device permissions, that doesn't affect existing mixer connections. The fix is to close the mixer connection when PulseAudio detects that it lost permissions to the sound card. I started working on that a while ago, but then I got something else to do... -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ pulseaudio-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs
