Bug#908938: alsa-utils: amixer does not unmute pulseaudio
A message that is not in the archive (sent off-list or not yet received): 87lg8194nz.fsf%[email protected]
Control: forwarded -1 [email protected]
Hi alsa devs,
please notice Debian Bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908938
and let us know whether a fix is possible.
Thanks in advance
Signature · 1 line
Elimar
Quoted 17 lines · Łukasz Stelmach
Package: alsa-utils
Version: 1.1.3-1
Severity: normalDear Maintainer,
I've got PulseAudio running, so amixer (and alsamixer) controls the default PA output. I use the following command to control muting of audio.
amixer -q -c 0 sset Master toggle
It mutes the audio but can't unmute. Neither can
amixer -q -c 0 sset Master unmute
Only alsamixer and pavucontrol can unmute.
Signature · 5 lines
Do you smell something burning or is it me? _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
In theory, alsamixer and amixer should be able to access the same controls in the same way.
Please show the output of "amixer scontrols".
What is the output of the "toggle"/"unmute" commands without "-q"?
Regards,
Clemens
Bug#908938: [alsa-devel] Bug#908938: alsa-utils: amixer does not unmute pulseaudio
Control: reassign -1 pulseaudio
Control: severity -1 minor
Quoted 4 lines · Clemens Ladisch
In theory, alsamixer and amixer should be able to access the same controls in the same way.
Please show the output of "amixer scontrols".
What is the output of the "toggle"/"unmute" commands without "-q"?
--8<---------------cut here---------------start------------->8---
$ amixer -c 0 sset Master toggle Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 85 [67%] [-31.50dB] [off] $ amixer -c 0 sset Master toggle Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 127 Mono: Playback 85 [67%] [-31.50dB] [on] $ amixer -c 0 scontrols Simple mixer control 'Master',0 Simple mixer control 'Headphone',0 Simple mixer control 'Speaker+LO',0 Simple mixer control 'PCM',0 Simple mixer control 'IEC958',0 Simple mixer control 'IEC958',1 Simple mixer control 'IEC958',2 Simple mixer control 'Beep',0 Simple mixer control 'Capture',0 Simple mixer control 'Auto-Mute Mode',0 Simple mixer control 'Digital',0 Simple mixer control 'Dock Mic',0 Simple mixer control 'Dock Mic Boost',0 Simple mixer control 'Headset Mic',0 Simple mixer control 'Headset Mic Boost',0 Simple mixer control 'Internal Mic Boost',0 Simple mixer control 'Loopback Mixing',0 --8<---------------cut here---------------end--------------->8---
OK, -c0 means amixer is accessing the hardware instead of PulseAudio. (Somehow I have assumed PA is selectable via -c, my mistake.) Without -c the output is simpler.
--8<---------------cut here---------------start------------->8---
$ amixer scontrols Simple mixer control 'Master',0 Simple mixer control 'Capture',0 --8<---------------cut here---------------end--------------->8---
This is PulseAudio. Indeed, when I run alsamixer -c0 and see the hardware (previously I wasn't specifing -c0), the Master is unmuted properly. However, Speker+LO (which is muted by the first toggle) is not unmuted. I believe, this is a problem with PulseAudio rather than with ALSA. Unmuting both Master and Speaker+LO hardware channels makes PA unmute master.
amixer without -c mutes and unmutes PA as expected.
Thank you for helping to figure all this stuff out.
Signature · 1 line
Było mi bardzo miło. --- Rurku. --- ...
Quoted 1 line
Łukasz< --- To dobrze, że mnie słuchasz.