From: Michal Pecio <michal.pecio@gmail.com>
To: Rong Zhang <i@rong.moe>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Icenowy Zheng <uwu@icenowy.me>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] ALSA: usb-audio: Do not expose sticky mixers
Date: Sat, 8 Aug 2026 22:10:05 +0200 [thread overview]
Message-ID: <20260808221005.683ab7d0.michal.pecio@gmail.com> (raw)
In-Reply-To: <a0bef09ac7160721f0826c16107082b5f5d12e74.camel@rong.moe>
On Wed, 05 Aug 2026 22:32:00 +0800, Rong Zhang wrote:
> On Tue, 2026-08-04 at 23:55 +0200, Michal Pecio wrote:
> > My $.02 - was there no way to deal with this in userspace,
> > or to make it opt-in rather than opt-out?
>
> While userspace can ignore hardware mixers via some configurations,
> the current opt-out model is really about:
>
> When we can't distinguish between both, will the extra advantages
> of exposing a broken GET_CUR mixer outweigh the disadvantages of
> exposing a sticky one?
>
> My answer is no.
>
> A sticky hardware mixer breaks volume control completely. If a user
> doesn't know how to tell the audio stack to ignore it, it will be a
> terrible out-of-box experience.
Being able to work around it by using a different mixer control doesn't
sound like "completely broken" to me. It seems the whole issue is that
some mixer controls have no effect and you believe you can detect them
by changing the control a few times and seeing if the vaule read back
from HW changes accordingly. Of course, this also falsely catches mixer
controls which are write-only.
I'm not familiar with UAC and ALSA mixer APIs so I don't know, but as
the whole issue boils down to incluencing userspace mixer selection,
is there really no way to perform the same heuristic in userspace, move
the quirk list there as well and let users override it with a click?
Regards,
Michal
next prev parent reply other threads:[~2026-08-08 20:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 17:49 [PATCH 0/3] ALSA: usb-audio: Refactor mixer checks and add check for sticky mixers Rong Zhang
2026-04-10 17:49 ` [PATCH 1/3] ALSA: usb-audio: Add error checks against get_min_max*() Rong Zhang
2026-04-10 17:49 ` [PATCH 2/3] ALSA: usb-audio: Move volume control resolution check into a function Rong Zhang
2026-04-10 17:49 ` [PATCH 3/3] ALSA: usb-audio: Do not expose sticky mixers Rong Zhang
2026-08-04 21:55 ` Michal Pecio
2026-08-05 14:32 ` Rong Zhang
2026-08-05 15:32 ` Takashi Iwai
2026-08-05 16:52 ` Rong Zhang
2026-08-08 20:10 ` Michal Pecio [this message]
2026-08-08 20:24 ` Rong Zhang
2026-04-11 8:03 ` [PATCH 0/3] ALSA: usb-audio: Refactor mixer checks and add check for " Takashi Iwai
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=20260808221005.683ab7d0.michal.pecio@gmail.com \
--to=michal.pecio@gmail.com \
--cc=i@rong.moe \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=uwu@icenowy.me \
/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