Skip to contentSkip to conversation

ALSA: usb-audio: Add quirk for SmartlinkTechnology M01

PATCH Applied Juan Pablo Fuentealba Bizama 2 participants 4 messages Apr 16 – Apr 17 Sound

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ALSA: usb-audio: Add quirk for SmartlinkTechnology M01

Add quirk entry for SmartlinkTechnology M01 USB microphone to enable the standard mixer interface.

---
 sound/usb/quirks-table.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)
sound/usb/quirks-table.h +12 -0
index 803e03d4d77b..283135d880db 100644
@@ -3772,6 +3772,18 @@ 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_STANDARD_MIXER(QUIRK_ANY_INTERFACE)
+	}
+},
 #define QUIRK_RME_DIGIFACE(pid) \
 { \
 	/* Only claim interface 0 */ \
Signature · 1 line
2.53.0
#2 lore raw

Hi Takashi,

I've been testing this patch on the actual hardware (SmartlinkTechnology M01, 301a:159b) with a custom compiled kernel, and unfortunately it seems to cause a regression.

While the device is correctly detected and appears in /proc/asound/cards, it fails to create any PCM capture device (it's not listed by arecord -l). Before the patch, the device worked, albeit with low volume. Now it seems the quirk is insufficient to enable audio capture on this specific device, effectively muting it.

Given this, could we please revert this patch for now? I can prepare the revert patch and send it as v4 if that's the correct procedure.

Thanks,
Juan Pablo

#3 lore raw
Quoted 8 lines · Juan Pablo Fuentealba Bizama

Hi Takashi,

I've been testing this patch on the actual hardware (SmartlinkTechnology M01, 301a:159b) with a custom compiled kernel, and unfortunately it seems to cause a regression.

While the device is correctly detected and appears in /proc/asound/cards, it fails to create any PCM capture device (it's not listed by arecord -l). Before the patch, the device worked, albeit with low volume. Now it seems the quirk is insufficient to enable audio capture on this specific device, effectively muting it.

Given this, could we please revert this patch for now? I can prepare the revert patch and send it as v4 if that's the correct procedure.

OK, then let's scratch for now.

Takashi