* [PATCH] ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera
@ 2025-05-15 10:21 Nicolas Chauvet
2025-05-15 10:46 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Chauvet @ 2025-05-15 10:21 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai; +Cc: linux-sound, Nicolas Chauvet, stable
Microdia JP001 does not support reading the sample rate which leads to
many lines of "cannot get freq at ep 0x84".
This patch adds the USB ID to quirks.c and avoids those error messages.
usb 7-4: New USB device found, idVendor=0c45, idProduct=636b, bcdDevice= 1.00
usb 7-4: New USB device strings: Mfr=2, Product=1, SerialNumber=3
usb 7-4: Product: JP001
usb 7-4: Manufacturer: JP001
usb 7-4: SerialNumber: JP001
usb 7-4: 3:1: cannot get freq at ep 0x84
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicolas Chauvet <kwizart@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 9112313a9dbc..d3e45240329d 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2242,6 +2242,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
QUIRK_FLAG_CTL_MSG_DELAY_1M),
DEVICE_FLG(0x0c45, 0x6340, /* Sonix HD USB Camera */
QUIRK_FLAG_GET_SAMPLE_RATE),
+ DEVICE_FLG(0x0c45, 0x636b, /* Microdia JP001 USB Camera */
+ QUIRK_FLAG_GET_SAMPLE_RATE),
DEVICE_FLG(0x0d8c, 0x0014, /* USB Audio Device */
QUIRK_FLAG_CTL_MSG_DELAY_1M),
DEVICE_FLG(0x0ecb, 0x205c, /* JBL Quantum610 Wireless */
--
2.49.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera
2025-05-15 10:21 [PATCH] ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera Nicolas Chauvet
@ 2025-05-15 10:46 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-05-15 10:46 UTC (permalink / raw)
To: Nicolas Chauvet; +Cc: Jaroslav Kysela, Takashi Iwai, linux-sound, stable
On Thu, 15 May 2025 12:21:32 +0200,
Nicolas Chauvet wrote:
>
> Microdia JP001 does not support reading the sample rate which leads to
> many lines of "cannot get freq at ep 0x84".
> This patch adds the USB ID to quirks.c and avoids those error messages.
>
> usb 7-4: New USB device found, idVendor=0c45, idProduct=636b, bcdDevice= 1.00
> usb 7-4: New USB device strings: Mfr=2, Product=1, SerialNumber=3
> usb 7-4: Product: JP001
> usb 7-4: Manufacturer: JP001
> usb 7-4: SerialNumber: JP001
> usb 7-4: 3:1: cannot get freq at ep 0x84
>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Applied now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-15 10:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15 10:21 [PATCH] ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera Nicolas Chauvet
2025-05-15 10:46 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox