* [PATCH] ALSA: usb-audio: Add mic resolution quirk for Logitech Webcam C200
@ 2026-10-08 23:08 Olivier Kaloudoff
2026-10-08 23:12 ` sashiko-bot
2026-10-09 13:06 ` Takashi Iwai
0 siblings, 2 replies; 3+ messages in thread
From: Olivier Kaloudoff @ 2026-10-08 23:08 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai, perex, linux-usb, Olivier Kaloudoff, stable
The C200 (046d:0802) reports a mic capture volume range of
1536..7680 with a resolution of 1 (6144 steps), triggering
"Warning! Unlikely big volume step count (=6144), linear volume or
wrong cval->res?" at probe and exposing a uselessly fine-grained
mixer control. This is the same firmware behavior as the other
UVC-era Logitech webcams already carrying QUIRK_FLAG_MIC_RES_384
(C500, C600, C210, C270, C310, C510, C525, ...), so apply the same
quirk: CTL_MSG_DELAY_1M (which the Logitech VENDOR_FLG would provide
if the device-specific entry did not short-circuit the lookup) plus
MIC_RES_384.
Verified on real hardware: with the quirk the warning disappears and
the driver logs "set resolution quirk: cval->res = 384".
Signed-off-by: Olivier Kaloudoff <olivier.kaloudoff@gmail.com>
Cc: stable@vger.kernel.org
---
sound/usb/quirks.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index c5870901a..16cb57f2c 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2249,6 +2249,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
QUIRK_FLAG_DISABLE_AUTOSUSPEND),
DEVICE_FLG(0x045e, 0x070f, /* MS LifeChat LX-3000 Headset */
QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
+ DEVICE_FLG(0x046d, 0x0802, /* Logitech Webcam C200 */
+ QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_MIC_RES_384),
DEVICE_FLG(0x046d, 0x0807, /* Logitech Webcam C500 */
QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_MIC_RES_384),
DEVICE_FLG(0x046d, 0x0808, /* Logitech Webcam C600 */
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: usb-audio: Add mic resolution quirk for Logitech Webcam C200
2026-10-08 23:08 [PATCH] ALSA: usb-audio: Add mic resolution quirk for Logitech Webcam C200 Olivier Kaloudoff
@ 2026-10-08 23:12 ` sashiko-bot
2026-10-09 13:06 ` Takashi Iwai
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-10-08 23:12 UTC (permalink / raw)
To: Olivier Kaloudoff; +Cc: linux-usb
> The C200 (046d:0802) reports a mic capture volume range of
> 1536..7680 with a resolution of 1 (6144 steps), triggering
> "Warning! Unlikely big volume step count (=6144), linear volume or
> wrong cval->res?" at probe and exposing a uselessly fine-grained
> mixer control. This is the same firmware behavior as the other
> UVC-era Logitech webcams already carrying QUIRK_FLAG_MIC_RES_384
> (C500, C600, C210, C270, C310, C510, C525, ...), so apply the same
> quirk: CTL_MSG_DELAY_1M (which the Logitech VENDOR_FLG would provide
> if the device-specific entry did not short-circuit the lookup) plus
> MIC_RES_384.
>
> Verified on real hardware: with the quirk the warning disappears and
> the driver logs "set resolution quirk: cval->res = 384".
>
> Signed-off-by: Olivier Kaloudoff <olivier.kaloudoff@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261008230844.11246-1-olivier.kaloudoff@gmail.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: usb-audio: Add mic resolution quirk for Logitech Webcam C200
2026-10-08 23:08 [PATCH] ALSA: usb-audio: Add mic resolution quirk for Logitech Webcam C200 Olivier Kaloudoff
2026-10-08 23:12 ` sashiko-bot
@ 2026-10-09 13:06 ` Takashi Iwai
1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2026-10-09 13:06 UTC (permalink / raw)
To: Olivier Kaloudoff; +Cc: alsa-devel, tiwai, perex, linux-usb, stable
On Fri, 09 Oct 2026 01:08:44 +0200,
Olivier Kaloudoff wrote:
>
> The C200 (046d:0802) reports a mic capture volume range of
> 1536..7680 with a resolution of 1 (6144 steps), triggering
> "Warning! Unlikely big volume step count (=6144), linear volume or
> wrong cval->res?" at probe and exposing a uselessly fine-grained
> mixer control. This is the same firmware behavior as the other
> UVC-era Logitech webcams already carrying QUIRK_FLAG_MIC_RES_384
> (C500, C600, C210, C270, C310, C510, C525, ...), so apply the same
> quirk: CTL_MSG_DELAY_1M (which the Logitech VENDOR_FLG would provide
> if the device-specific entry did not short-circuit the lookup) plus
> MIC_RES_384.
>
> Verified on real hardware: with the quirk the warning disappears and
> the driver logs "set resolution quirk: cval->res = 384".
>
> Signed-off-by: Olivier Kaloudoff <olivier.kaloudoff@gmail.com>
> Cc: stable@vger.kernel.org
Applied to for-next branch now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-09 13:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-08 23:08 [PATCH] ALSA: usb-audio: Add mic resolution quirk for Logitech Webcam C200 Olivier Kaloudoff
2026-10-08 23:12 ` sashiko-bot
2026-10-09 13:06 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox