All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: Timur Tabi <timur@freescale.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@sirena.org.uk>
Subject: Re: [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity
Date: Fri, 24 Apr 2009 18:08:07 +0200	[thread overview]
Message-ID: <20090424160807.GI10450@buzzloop.caiaq.de> (raw)
In-Reply-To: <49F1DE99.7050104@freescale.com>

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

Daniel

  reply	other threads:[~2009-04-24 16:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 13:00 [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity Daniel Mack
2009-04-24 13:00 ` [PATCH 2/3] ASoC: cs4270: add Master Playback Switch Daniel Mack
2009-04-24 13:02   ` Daniel Mack
2009-04-24 13:17   ` Mark Brown
2009-04-24 13:52     ` Daniel Mack
2009-04-24 13:54       ` Mark Brown
2009-04-24 13:59         ` Daniel Mack
2009-04-24 14:37       ` [PATCH 1/2] ASoC: add SOC_DOUBLE_EXT macro Daniel Mack
2009-04-24 14:37         ` [PATCH 2/2] ASoC: cs4270: add Master Playback Switch Daniel Mack
2009-04-27 13:55           ` Timur Tabi
2009-04-24 15:45 ` [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity Timur Tabi
2009-04-24 16:08   ` Daniel Mack [this message]
2009-04-24 16:13     ` Timur Tabi
2009-04-24 16:21       ` Daniel Mack
2009-04-26  9:49   ` Mark Brown
2009-04-26 11:08     ` Takashi Iwai
2009-04-26 11:21       ` Mark Brown
2009-04-26 16:56         ` Takashi Iwai
2009-04-26 11:30       ` Daniel Mack
2009-04-26 16:52         ` Takashi Iwai
2009-04-27  9:37           ` Daniel Mack
2009-04-27  9:38             ` Mark Brown
2009-04-27 12:54               ` Timur Tabi
2009-04-27 13:53 ` Timur Tabi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090424160807.GI10450@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@sirena.org.uk \
    --cc=timur@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.