* [PATCH] ALSA: usb-audio: Add quirk for SmartlinkTechnology M01
@ 2026-04-15 13:33 Juan Pablo Fuentealba
2026-04-15 14:04 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Juan Pablo Fuentealba @ 2026-04-15 13:33 UTC (permalink / raw)
To: linux-sound; +Cc: tiwai
From 7a57eecb5a332da652a0bb3c006fb4ce5316fa17 Mon Sep 17 00:00:00 2001
From: Juan Pablo Fuentealba Bizama <jpfuentealbabizama@gmail.com>
Date: Wed, 15 Apr 2026 09:16:47 -0400
Subject: [PATCH] ALSA: usb-audio: Add quirk for SmartlinkTechnology M01
Add quirk entry for SmartlinkTechnology M01 USB microphone
to enable the standard mixer interface.
Signed-off-by: Juan Pablo Fuentealba Bizama <jpfuentealbabizama@gmail.com>
---
sound/usb/quirks-table.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 803e03d4d77b..9edfafb7d274 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -3772,6 +3772,21 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
+{
+ /*
+ * SmartlinkTechnology M01
+ * USB audio device that needs standard mixer quirk
+ */
+ USB_DEVICE(0x301a, 0x159b),
+ QUIRK_DRIVER_INFO {
+ .vendor_name = "SmartlinkTechnology",
+ .product_name = "M01",
+ QUIRK_DATA_COMPOSITE {
+ QUIRK_DATA_STANDARD_MIXER(QUIRK_ANY_INTERFACE),
+ QUIRK_COMPOSITE_END
+ }
+ }
+},
#define QUIRK_RME_DIGIFACE(pid) \
{ \
/* Only claim interface 0 */ \
--
2.53.0
--
Saluda Atte.
Juan Pablo Fuentealba
jpfuentealbabizama@gmail.com
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: usb-audio: Add quirk for SmartlinkTechnology M01
2026-04-15 13:33 [PATCH] ALSA: usb-audio: Add quirk for SmartlinkTechnology M01 Juan Pablo Fuentealba
@ 2026-04-15 14:04 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-04-15 14:04 UTC (permalink / raw)
To: Juan Pablo Fuentealba; +Cc: linux-sound, tiwai
On Wed, 15 Apr 2026 15:33:49 +0200,
Juan Pablo Fuentealba wrote:
>
> From 7a57eecb5a332da652a0bb3c006fb4ce5316fa17 Mon Sep 17 00:00:00 2001
> From: Juan Pablo Fuentealba Bizama <jpfuentealbabizama@gmail.com>
> Date: Wed, 15 Apr 2026 09:16:47 -0400
> Subject: [PATCH] ALSA: usb-audio: Add quirk for SmartlinkTechnology M01
Embedding those headers (except for From:) in the patch looks wrong.
I can trim them, but please check your setup for submission.
> Add quirk entry for SmartlinkTechnology M01 USB microphone
> to enable the standard mixer interface.
>
> Signed-off-by: Juan Pablo Fuentealba Bizama <jpfuentealbabizama@gmail.com>
> ---
> sound/usb/quirks-table.h | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
> index 803e03d4d77b..9edfafb7d274 100644
> --- a/sound/usb/quirks-table.h
> +++ b/sound/usb/quirks-table.h
> @@ -3772,6 +3772,21 @@ YAMAHA_DEVICE(0x7010, "UB99"),
> }
> }
> },
> +{
> + /*
> + * SmartlinkTechnology M01
> + * USB audio device that needs standard mixer quirk
> + */
> + USB_DEVICE(0x301a, 0x159b),
> + QUIRK_DRIVER_INFO {
> + .vendor_name = "SmartlinkTechnology",
> + .product_name = "M01",
> + QUIRK_DATA_COMPOSITE {
> + QUIRK_DATA_STANDARD_MIXER(QUIRK_ANY_INTERFACE),
> + QUIRK_COMPOSITE_END
Any reason for using the composite type here?
You should be able to use QUIRK_DATA_STANDARD_MIXER() for single
entry.
thanks,
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-15 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15 13:33 [PATCH] ALSA: usb-audio: Add quirk for SmartlinkTechnology M01 Juan Pablo Fuentealba
2026-04-15 14:04 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox