ALSA: usb-audio: Exclude Scarlett 2i2 1st Gen from SKIP_IFACE_SETUP
PATCH 1/1 ALSA: usb-audio: Exclude Scarlett 2i2 1st Gen from SKIP_IFACE_SETUP
The Focusrite Scarlett 2i2 1st Gen (1235:8006) produces distorted/silent audio when QUIRK_FLAG_SKIP_IFACE_SETUP is active, as that flag causes the feedback format to be detected as 17.15 instead of 16.16.
Add a DEVICE_FLG entry for this device before the Focusrite VENDOR_FLG entry so that it gets no quirk flags, overriding the vendor-wide SKIP_IFACE_SETUP. This device doesn't have the internal mixer, Air, or Safe modes that the quirk was designed to protect.
--- sound/usb/quirks.c | 1 + 1 file changed, 1 insertion(+)
sound/usb/quirks.c +1 -0
@@ -2423,6 +2423,7 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_CTL_MSG_DELAY | QUIRK_FLAG_IFACE_DELAY),VENDOR_FLG (0x07fd ,/* MOTU */ QUIRK_FLAG_VALIDATE_RATES ), +DEVICE_FLG (0x1235 ,0x8006 ,0 ),/* Focusrite Scarlett 2i2 1st Gen */ VENDOR_FLG (0x1235 ,/* Focusrite Novation */ QUIRK_FLAG_SKIP_CLOCK_SELECTOR | QUIRK_FLAG_SKIP_IFACE_SETUP),
Signature · 1 line
2.53.0
Quoted 11 lines · Geoffrey D. Bennett
The Focusrite Scarlett 2i2 1st Gen (1235:8006) produces distorted/silent audio when
QUIRK_FLAG_SKIP_IFACE_SETUPis active, as that flag causes the feedback format to be detected as 17.15 instead of 16.16.Add a
DEVICE_FLGentry for this device before the FocusriteVENDOR_FLGentry so that it gets no quirk flags, overriding the vendor-wideSKIP_IFACE_SETUP. This device doesn't have the internal mixer, Air, or Safe modes that the quirk was designed to protect.
Quoted 4 lines
Fixes 38c322068a26 ("ALSA: usb-audio: Add QUIRK_FLAG_SKIP_IFACE_SETUP")Reported-by pairomaniac [https://github.com/geoffreybennett/linux-fcp/issues/54]Tested-by pairomaniac [https://github.com/geoffreybennett/linux-fcp/issues/54]Signed-off-by Geoffrey D. Bennett <[email protected]>
Applied now. Thanks.
Takashi