Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Munique Feitoza <muniquefeitoz4@gmail.com>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	Munique Feitoza <muniquefeitoz4@gmail.com>
Subject: [PATCH] ALSA: usb-audio: Fix Mic Capture Volume resolution for WebCamera 32e6:9221
Date: Tue,  1 Dec 2026 15:32:31 -0300	[thread overview]
Message-ID: <20261201183231.34279-1-muniquefeitoz4@gmail.com> (raw)

The WebCamera (32e6:9221) reports Mic Capture Volume with range 0..6144
(0..24 dB) and resolution 1, triggering:

  Warning! Unlikely big volume step count (=6144), linear volume or
  wrong cval->res?
  [5] FU [Mic Capture Volume] ch = 1, val = 0/6144/1

Add QUIRK_FLAG_MIC_RES_384 for 0x32e6:0x9221 so the mixer uses a 384
resolution step (16 steps of 1.5 dB across 0..24 dB).

Signed-off-by: Munique Feitoza <muniquefeitoz4@gmail.com>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 4ec1f2a0b359ad..03f32af1d697d6 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2827,6 +2827,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_ITF_USB_DSD_DAC | QUIRK_FLAG_CTL_MSG_DELAY),
 	DEVICE_FLG(0x32bb, 0x0004, /* HiBy FC4 */
 		   QUIRK_FLAG_DSD_RAW),
+	DEVICE_FLG(0x32e6, 0x9221, /* WebCamera */
+		   QUIRK_FLAG_MIC_RES_384),
 	DEVICE_FLG(0x3302, 0x17c2, /* TTGK Technology USB-C Audio */
 		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x339b, 0x3a07, /* Synaptics HONOR USB-C HEADSET */
-- 
2.56.1


                 reply	other threads:[~2026-12-01 18:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261201183231.34279-1-muniquefeitoz4@gmail.com \
    --to=muniquefeitoz4@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox