[Bug 1254884] Re: Pulseaudio: incoherent muting of ALSA channels (mutes master, headphone and speaker, but unmutes only master)

2015-04-15 Thread Jarno Suni
*** This bug is a duplicate of bug 878986 ***
https://bugs.launchpad.net/bugs/878986

** This bug has been marked a duplicate of bug 878986
   amixer -q sset Master toggle does mute, but does not unmute!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1254884

Title:
  Pulseaudio: incoherent muting of ALSA channels (mutes master,
  headphone and speaker, but unmutes only master)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1254884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1254884] Re: Pulseaudio: incoherent muting of ALSA channels (mutes master, headphone and speaker, but unmutes only master)

2015-03-26 Thread Bug Watch Updater
Launchpad has imported 32 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=79911.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2014-06-11T09:12:53+00:00 Horst Schirmeier wrote:

This is a summary of the Ubuntu bug reported at
.
It already has a duplicate at
.

With certain audio hardware (those where alsamixer shows separate
"headphone" and "speaker" channels) pressing of the mute button on
laptop keyboards causes mute of all three channels: master, headphone
and speaker.  Pressing the button again to unmute unmutes only the
master channel, leaving headphone and speaker muted.

Workaround: There is no other way than opening alsamixer in a terminal
(or open mixer controls from the applet) and manually clicking the two
remaining channels to unmute.

Details:

- We already tracked this down not to be an issue with ALSA or
xfce4-volumed: The problem also occurs using a different window manager,
and it disappears when deinstalling PulseAudio.

- This issue has already been seen on "Intel Corporation 82801I (ICH9
Family) HD Audio Controller (rev 03)" (Dell Latitude E6400) and "Intel
Corporation 7 Series/C210 Series Chipset Family High Definition Audio
Controller (rev 04)".

- This issue appeared with Ubuntu 13.10 (AMD64), and persists in 14.04.
I don't know which PulseAudio versions were involved.

- "Raymond" in the original bug report flooded the discussion with lots
of technical information I do not know how to act upon.  Maybe you do.

- In comments #15 to #18 on

we posted the "alsa-info" for a few systems with similar symptoms.

- In comment #28 I successfully implemented a fix (or workaround?) for
the problem on my machine:


[...] changing "switch" from "mute" to "on" under [Element PCM] in 
/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common (see below) 
did have an effect -- pressing the "mute" button now only mutes Master and 
Headphone (not PCM anymore), pressing it again only unmutes Master. Changing 
the same for [Element Headphone] in 
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf fixes the 
Headphone mixer behaviour for me, too.

[Element PCM]
#switch = mute
switch = on


Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-volumed/+bug/1254884/comments/47


On 2014-06-11T10:27:38+00:00 Tanu Kaskinen wrote:

I suppose this has nothing to do with GStreamer. Can you reproduce this
simpy by muting and unmuting the sink with pactl? The command to use is
"set-sink-mute", see man pactl for details.

Changing "switch = mute" to "switch = on" is not a proper fix. "switch =
mute" means that the switch state should follow the sink mute state, so
unmuting the sink in pulseaudio should unmute the switch in alsa too.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-volumed/+bug/1254884/comments/49


On 2014-06-11T10:35:17+00:00 Horst Schirmeier wrote:

No, I cannot reproduce the behavior with "pactl set-sink-mute 0 toggle".
Running this once mutes "Master", "Headphone" and "PCM" in alsamixer.
Running this a second time correctly unmutes all three.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-volumed/+bug/1254884/comments/50


On 2014-06-11T10:46:44+00:00 Tanu Kaskinen wrote:

Ok, then I guess xfce4-volumed is accessing alsa directly, instead of
doing the muting through pulseaudio.

Explanation for the inconsistency between muting and unmuting:
xfce4-volumed sets the Master switch to muted. PulseAudio notices that
something happened in the alsa mixer, and sees that one of the switches
is muted, so PulseAudio concludes that the device is muted and sets the
internal device state to mute. While setting the internal state,
pulseaudio also mutes the rest of the switches marked as "switch =
mute", including PCM. When xfce4-volumed unmutes the Master switch,
PulseAudio again notices that something happened, but since the PCM
switch is still muted, PulseAudio concludes that the device is still
muted and does nothing.

xfce4-volumed should be changed to talk to pulseaudio instead of
accessing the alsa mixer directly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-volumed/+bug/1254884/comments/51


On 2014-06-11T10:53:49+00:00 Tanu Kaskinen wrote:

Or another solution wo

[Bug 1254884] Re: Pulseaudio: incoherent muting of ALSA channels (mutes master, headphone and speaker, but unmutes only master)

2015-03-26 Thread Horst Schirmeier
The newly added workaround ("xfce4-mixer (or Xfce Audio Mixer in panel):
Choose Playback:...(PulseAudio Mixer) instead of (Alsa mixer) as sound
card in properties") fixes the symptoms for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1254884

Title:
  Pulseaudio: incoherent muting of ALSA channels (mutes master,
  headphone and speaker, but unmutes only master)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1254884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1254884] Re: Pulseaudio: incoherent muting of ALSA channels (mutes master, headphone and speaker, but unmutes only master)

2015-03-26 Thread Jarno Suni
** Description changed:

  with certain audio hardware (those where alsamixer shows separate
  "headphone" and "speaker" channels) pressing of the mute button on
  laptop keyboards causes mute of all three channels: master, headphone
  and speaker. unfortunately, pressing the button again to unmute (or
  deselecting mute in the xfce audio mixer panel applet) unmutes only the
  master channel, leaving headphone and speaker muted. there is no other
  way than opening alsamixer in a terminal (or open mixer controls from
  the applet) and manually clicking the two remaining channels to unmute.
  
  Update: another workaround when using xfce4-mixer (or Xfce Audio Mixer
  in panel): Choose Playback:...(PulseAudio Mixer) instead of (Alsa mixer)
- as sounf card in properties.
+ as sound card in properties.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: xfce4-volumed 0.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
  Uname: Linux 3.11.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Mon Nov 25 22:33:06 2013
  InstallationDate: Installed on 2013-11-07 (17 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MarkForUpload: True
  SourcePackage: xfce4-volumed
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1254884

Title:
  Pulseaudio: incoherent muting of ALSA channels (mutes master,
  headphone and speaker, but unmutes only master)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1254884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1254884] Re: Pulseaudio: incoherent muting of ALSA channels (mutes master, headphone and speaker, but unmutes only master)

2015-03-26 Thread Jarno Suni
** Description changed:

  with certain audio hardware (those where alsamixer shows separate
  "headphone" and "speaker" channels) pressing of the mute button on
  laptop keyboards causes mute of all three channels: master, headphone
  and speaker. unfortunately, pressing the button again to unmute (or
  deselecting mute in the xfce audio mixer panel applet) unmutes only the
  master channel, leaving headphone and speaker muted. there is no other
  way than opening alsamixer in a terminal (or open mixer controls from
  the applet) and manually clicking the two remaining channels to unmute.
+ 
+ Update: another workaround when using xfce4-mixer (or Xfce Audio Mixer
+ in panel): Choose Playback:...(PulseAudio Mixer) instead of (Alsa mixer)
+ as sounf card in properties.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: xfce4-volumed 0.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
  Uname: Linux 3.11.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Mon Nov 25 22:33:06 2013
  InstallationDate: Installed on 2013-11-07 (17 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MarkForUpload: True
  SourcePackage: xfce4-volumed
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1254884

Title:
  Pulseaudio: incoherent muting of ALSA channels (mutes master,
  headphone and speaker, but unmutes only master)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1254884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs