Control: reassign -1 pulseaudio Control: severity -1 minor
Clemens Ladisch clemens@ladisch.de writes:
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.