[PATCH] ALSA: usb-audio: Add quirk entries for NexiGo N930W webcam

Johnathan Penberthy posted 1 patch 2 months ago
There is a newer version of this series
sound/usb/quirks.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] ALSA: usb-audio: Add quirk entries for NexiGo N930W webcam
Posted by Johnathan Penberthy 2 months ago
The NexiGo N930W 60fps webcam (USB ID 3443:930d) hits the same
'cannot get freq at ep 0x84' error in snd-usb-audio as its sibling
N930AF (1bcf:2283). Without QUIRK_FLAG_GET_SAMPLE_RATE the ADC clock
is never configured and the microphone streams only zero samples.

Testing on Linux 6.17 with QUIRK_FLAG_GET_SAMPLE_RATE |
QUIRK_FLAG_MIC_RES_16 (via quirk_alias=3443930d:1bcf2283) confirmed
the microphone captures real audio after a cold USB re-enumeration.
Adding a native quirk_flags_table entry avoids the alias workaround.

Signed-off-by: Johnathan Penberthy <johnathan.penberthy@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 8fc36d1cf..7b803ad58 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2474,6 +2474,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(0x339b, 0x3a07, /* Synaptics HONOR USB-C HEADSET */
 		   QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
+	DEVICE_FLG(0x3443, 0x930d, /* NexiGo N930W 60fps Webcam */
+		   QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16),
 	DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
 		   QUIRK_FLAG_GET_SAMPLE_RATE),
 	DEVICE_FLG(0x534d, 0x0021, /* MacroSilicon MS2100/MS2106 */
-- 
2.43.0
Re: [PATCH] ALSA: usb-audio: Add quirk entries for NexiGo N930W webcam
Posted by Takashi Iwai 1 month, 4 weeks ago
On Fri, 17 Apr 2026 03:01:23 +0200,
Johnathan Penberthy wrote:
> 
> The NexiGo N930W 60fps webcam (USB ID 3443:930d) hits the same
> 'cannot get freq at ep 0x84' error in snd-usb-audio as its sibling
> N930AF (1bcf:2283). Without QUIRK_FLAG_GET_SAMPLE_RATE the ADC clock
> is never configured and the microphone streams only zero samples.
> 
> Testing on Linux 6.17 with QUIRK_FLAG_GET_SAMPLE_RATE |
> QUIRK_FLAG_MIC_RES_16 (via quirk_alias=3443930d:1bcf2283) confirmed
> the microphone captures real audio after a cold USB re-enumeration.
> Adding a native quirk_flags_table entry avoids the alias workaround.
> 
> Signed-off-by: Johnathan Penberthy <johnathan.penberthy@gmail.com>

Applied now.  Thanks.


Takashi