From 3f46011a473e1bf2d929e91ca9317117cf4a81c7 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 13 Nov 2012 19:38:03 +1100 Subject: [PATCH] --- yaml --- r: 342586 b: refs/heads/master c: 1762a59d8e8b5e99f6f4a0f292b40f3cacb108ba h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/usb/quirks-table.h | 52 ++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7d21a7589fec..d8250c3370c6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b7838c2b91a5aae09d24e1110002097283055fb8 +refs/heads/master: 1762a59d8e8b5e99f6f4a0f292b40f3cacb108ba diff --git a/trunk/sound/usb/quirks-table.h b/trunk/sound/usb/quirks-table.h index 49c788d7de57..898e16c70b0c 100644 --- a/trunk/sound/usb/quirks-table.h +++ b/trunk/sound/usb/quirks-table.h @@ -2955,6 +2955,58 @@ YAMAHA_DEVICE(0x7010, "UB99"), } }, +{ + /* + * Focusrite Scarlett 18i6 + * + * Avoid mixer creation, which otherwise fails because some of + * the interface descriptor subtypes for interface 0 are + * unknown. That should be fixed or worked-around but this at + * least allows the device to be used successfully with a DAW + * and an external mixer. See comments below about other + * ignored interfaces. + */ + USB_DEVICE(0x1235, 0x8004), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + .vendor_name = "Focusrite", + .product_name = "Scarlett 18i6", + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = & (const struct snd_usb_audio_quirk[]) { + { + /* InterfaceSubClass 1 (Control Device) */ + .ifnum = 0, + .type = QUIRK_IGNORE_INTERFACE + }, + { + .ifnum = 1, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 2, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + /* InterfaceSubClass 1 (Control Device) */ + .ifnum = 3, + .type = QUIRK_IGNORE_INTERFACE + }, + { + .ifnum = 4, + .type = QUIRK_MIDI_STANDARD_INTERFACE + }, + { + /* InterfaceSubClass 1 (Device Firmware Update) */ + .ifnum = 5, + .type = QUIRK_IGNORE_INTERFACE + }, + { + .ifnum = -1 + } + } + } +}, + { /* * Some USB MIDI devices don't have an audio control interface,