Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Fix Mic Capture Volume resolution for WebCamera 32e6:9221
@ 2026-12-01 18:32 Munique Feitoza
  0 siblings, 0 replies; only message in thread
From: Munique Feitoza @ 2026-12-01 18:32 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai; +Cc: linux-sound, linux-kernel, Munique Feitoza

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 18:32 [PATCH] ALSA: usb-audio: Fix Mic Capture Volume resolution for WebCamera 32e6:9221 Munique Feitoza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox