[alsa-devel] [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity

Daniel Mack daniel at caiaq.de
Fri Apr 24 18:08:07 CEST 2009

On Fri, Apr 24, 2009 at 10:45:29AM -0500, Timur Tabi wrote:
> Daniel Mack wrote:
> > The control modifies the MUTE register, hence the polarity must be
> > inverted.
> I have a question.  In alsamixer, the capture switch looks either like this:
>                             ------
>                           < Master >
> or like this:
>                             L    R
>                             CAPTUR
>                           < Master >
> What exactly does this mean?  Which one is supposed to mean "muted"?

The switch's name is 'Master Capture Switch' which means to me that it
is a thing that switches the capture on and off, and hence, it should be
set to 'on' for normal operation. If it was meant to mute the input
when switched on, the name should be 'Master Caputure Mute Switch' or
something, right?

> And how come even though this switch is a SOC_DOUBLE, I cannot control
> the left and right channel independently with the < and > keys, and the
> "M" key doesn't toggle it either.

Don't know about the alsamixer tool, but with amixer, you can set the
channels individually with the following syntax:

$ amixer cset numid=8 on,off
numid=8,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=on,off


More information about the Alsa-devel mailing list