From: "Christian Esken (KDE)" <esken@kde.org>
To: alsa-devel@alsa-project.org
Subject: Re: amixer shows capability "penum" on every Simple mixer control
Date: Fri, 16 Mar 2012 21:18:22 +0100 [thread overview]
Message-ID: <1331929102.4795.18.camel@linux-lfdh> (raw)
In-Reply-To: <s5h1uow39ul.wl%tiwai@suse.de>
Am Dienstag, den 13.03.2012, 14:32 +0100 schrieb Takashi Iwai:
> At Tue, 13 Mar 2012 10:52:21 +0100,
> Takashi Iwai wrote:
> >
> > At Mon, 12 Mar 2012 22:09:35 +0100,
> > Christian Esken (KDE) wrote:
> > >
> > > Hello,
> > >
> > > when I run amixer it shows the capability "penum" on nearly every
> > > Simple mixer control.
> > > I posted the bug report
> > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5496 , but
> > > Raymond asked me to report it on this mailing list ("as it is related to
> > > this patch 6d511eefa05878abee9f8b9145697230de605200 Implements support
> > > for capture/playback enums.").
> > >
> > > I posted details for the following two examples in
> > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5496 :
> > >
> > > 1) "Creative X-Fi" does not have any Enum's. alsamixer does not show
> > > Enums's. amixer lists "penum" for ALL Simple mixer controls.
> > >
> > > 2) "HDA ATI SB" has no penum's, only 3 cenum's. alsamixer shows it
> > > correctly, but amixer disagrees and shows penum for NEARLY ALL Simple
> > > mixer controls (except for those with cpability "cenum").
> > >
> > >
> > > I found this as I received several bug reports for KMix with "absurd"
> > > amixer output. I could perceive from those bug report that the bug is
> > > affecting a lot (or all?) sound cards.
> >
> > Looks like a bug in alsa mixer abstraction, indeed.
> > Will take a look at it later.
>
> I committed the fix to git tree now. The fix patch is below.
>
I compiled and installed the alsa-lib from git, and the existing old
executable (1.0.24.2 from openSUSE 12.1) now shows the correct values. I
also tested with amixer from git, and it also works for me.
Thanks for the quick fix.
Christian
prev parent reply other threads:[~2012-03-16 20:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 21:09 amixer shows capability "penum" on every Simple mixer control Christian Esken (KDE)
2012-03-13 9:52 ` Takashi Iwai
2012-03-13 13:32 ` Takashi Iwai
2012-03-14 12:35 ` Raymond Yau
2012-03-14 13:43 ` Takashi Iwai
2012-03-15 0:23 ` Raymond Yau
2012-03-15 6:32 ` Takashi Iwai
2012-03-16 20:18 ` Christian Esken (KDE) [this message]
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=1331929102.4795.18.camel@linux-lfdh \
--to=esken@kde.org \
--cc=alsa-devel@alsa-project.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox