[PATCH -next] The USB audio driver does not contain the VID and PID of this sound card, so the driver is not loaded.

Dicheng Wang wangdicheng123 at hotmail.com
Fri Dec 2 09:29:08 CET 2022


From: wangdicheng <wangdicheng at kylinos.cn>

Add relevant information to the quirks-table.h file.
The test passes and the sound source file plays normally.

Cc: stable at vger.kernel.org
Signed-off-by: wangdicheng <wangdicheng at kylinos.cn>
---
 sound/usb/quirks-table.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 874fcf245747..1fb183895da0 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2802,6 +2802,13 @@ YAMAHA_DEVICE(0x7010, "UB99"),
 	.idProduct = 0x1020,
 },
 
+/* Ktmicro Usb_audio device */
+{
+	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
+	.idVendor = 0x31b2,
+	.idProduct = 0x0011,
+},
+
 /* QinHeng devices */
 {
 	USB_DEVICE(0x1a86, 0x752d),
-- 
2.25.1



More information about the Alsa-devel mailing list