[Pkg-alsa-devel] Bug#908938: [alsa-devel] Bug#908938: alsa-utils: amixer does not unmute pulseaudio

Łukasz Stelmach steelman at post.pl
Mon Sep 17 20:35:32 BST 2018


Control: reassign -1 pulseaudio
Control: severity -1 minor

Clemens Ladisch <clemens at 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.
-- 
Było mi bardzo miło.                                  --- Rurku. --- ...
>Łukasz<                                --- To dobrze, że mnie słuchasz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-alsa-devel/attachments/20180917/7e5c4768/attachment.sig>


More information about the Pkg-alsa-devel mailing list