`amixer set Master toggle` mutes but doesn't unmute

Bug #1026331 reported by Alkis Georgopoulos
66
This bug affects 15 people
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

alsa-utils 1.0.25-1ubuntu5

This used to work in 10.04, does not longer work in 12.04:

<sound is on>
# amixer set Master toggle
<sound is off>
# amixer set Master toggle
<sound is still off, should be on>

The same is true for mute/unmute, previously in 10.04 one could mute/unmute Master, but now one has to (mute Master)/(unmute Master, Headphone, Front, etc etc in order for the sound to be restored)

Tags: patch
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 1026331] [NEW] `amixer set Master toggle` mutes but doesn't unmute

What happens if you manipulate the controls from within alsamixer?

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

The same, I can mute Master but I can't effectively unmute it afterwards.

Example:
* <Sound is on>.
* Open alsamixer.
* Mute Master with "M".
* Note that Headphone and Speaker don't appear as muted, not even with refresh ("L").
* Quit alsamixer and open it again.
* Note that Headphone and Speaker do appear as muted.
=> I.e. first problem is that the Headphone and Speaker were muted without the user requesting it, and without alsamixer getting notified about it.

* Unmute Master, Headphone and Speaker with the arrow keys + "M".
=> Second problem is that while they appear to be unmuted within alsamixer, the sound applet still shows my soundcard as muted, and I can hear no sound.
* Try changing the volume with the up/down arrow keys.
=> Again, while that appears to have an effect in the alsamixer UI, no sound actually comes out of the speakers, changing the volume doesn't unmute the card.

To sum up, muting either ONE of (Master, Headphone, Speaker) "secretly" mutes the other 2 ones as well, and unmuting them from the alsamixer UI doesn't bring the sound back.

Running the following does bring the sound back though:
amixer set Master unmute
amixer set Headphone unmute
amixer set Speaker unmute

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "force pulseaudio server dont mute pcm playback switch since it won't unmute this switch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
CaptainMark (imark-skinner) wrote :

This bug is clearly still active, how to use the patch?

Revision history for this message
Henrique Maia (henriquemaia) wrote :

I have this very same bug. The only way to workaround it it's to use some sort of script instead of the direct toggle input.

Revision history for this message
Amir Mlk (a-malekpour-gmail) wrote :

Same problem here with Xubuntu 12.10. Interestingly issuing the command "amixer set Master 3+" does not unmute the sound, while playing with volume horizontal scroller does unmute.

Revision history for this message
David Henningsson (diwic) wrote :

Under pulseaudio systems, please use
pactl set-sink-mute @DEFAULT_SINK@ 0
instead of amixer.

Revision history for this message
Raymond (superquad-vortex2) wrote :

 when your sound card have ”PCM Playback Switch” which is only defined in

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output.conf.common

 it won‘t unmute because none of conf files contain anything to switch it to on

Revision history for this message
Raymond (superquad-vortex2) wrote :

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=247d85ee068610c50d66ee0cd3130e02c69f5f2e;hp=ac2e87366c18d49c6dc12e89ae4f4512f126eeb4

not only AC97 codec has pcm playback switch, the headphone of many desktop with hda codec are shared with primary output

Revision history for this message
Jason E (themanjay) wrote :

This appears to be a duplicate of Bug #878986 and a problem with pulse audio.
using pactl instead is a solution that worked for me.
As documented here.
http://askubuntu.com/questions/118675/mute-key-mutes-alsa-and-pulseaudio-but-unmutes-only-alsa

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

> This appears to be a duplicate of Bug #878986 and a problem with pulse audio.

Indeed, thanks, marking as such.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.