2 * ALSA USB Audio Driver
4 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
5 * Clemens Ladisch <clemens@ladisch.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * The contents of this file are part of the driver's id_table.
26 * In a perfect world, this file would be empty.
30 * Use this for devices where other interfaces are standard compliant,
31 * to prevent the quirk being applied to those interfaces. (To work with
32 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
34 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
35 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
36 USB_DEVICE_ID_MATCH_PRODUCT | \
37 USB_DEVICE_ID_MATCH_INT_CLASS, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
44 USB_DEVICE(0x0403, 0xb8d8),
45 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
46 /* .vendor_name = "STARR LABS", */
47 /* .product_name = "Starr Labs MIDI USB device", */
49 .type = QUIRK_MIDI_FTDI
53 /* Creative/Toshiba Multimedia Center SB-0500 */
55 USB_DEVICE(0x041e, 0x3048),
56 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
57 .vendor_name = "Toshiba",
58 .product_name = "SB-0500",
59 .ifnum = QUIRK_NO_INTERFACE
63 /* Creative/E-Mu devices */
65 USB_DEVICE(0x041e, 0x3010),
66 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
67 .vendor_name = "Creative Labs",
68 .product_name = "Sound Blaster MP3+",
69 .ifnum = QUIRK_NO_INTERFACE
74 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
77 .bInterfaceClass = USB_CLASS_AUDIO,
81 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
84 .bInterfaceClass = USB_CLASS_AUDIO,
87 /* E-Mu Tracker Pre */
88 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
91 .bInterfaceClass = USB_CLASS_AUDIO,
95 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
98 .bInterfaceClass = USB_CLASS_AUDIO,
102 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
103 * class matches do not take effect without an explicit ID match.
106 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
107 USB_DEVICE_ID_MATCH_INT_CLASS |
108 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
111 .bInterfaceClass = USB_CLASS_AUDIO,
112 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
115 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
116 USB_DEVICE_ID_MATCH_INT_CLASS |
117 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
120 .bInterfaceClass = USB_CLASS_AUDIO,
121 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
124 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
125 USB_DEVICE_ID_MATCH_INT_CLASS |
126 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
129 .bInterfaceClass = USB_CLASS_AUDIO,
130 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
133 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
134 USB_DEVICE_ID_MATCH_INT_CLASS |
135 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
138 .bInterfaceClass = USB_CLASS_AUDIO,
139 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
142 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
143 USB_DEVICE_ID_MATCH_INT_CLASS |
144 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
147 .bInterfaceClass = USB_CLASS_AUDIO,
148 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
151 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
152 USB_DEVICE_ID_MATCH_INT_CLASS |
153 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
156 .bInterfaceClass = USB_CLASS_AUDIO,
157 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
160 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
161 USB_DEVICE_ID_MATCH_INT_CLASS |
162 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
165 .bInterfaceClass = USB_CLASS_AUDIO,
166 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
167 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
168 .vendor_name = "Logitech, Inc.",
169 .product_name = "QuickCam Pro 9000",
170 .ifnum = QUIRK_NO_INTERFACE
178 #define YAMAHA_DEVICE(id, name) { \
179 USB_DEVICE(0x0499, id), \
180 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
181 .vendor_name = "Yamaha", \
182 .product_name = name, \
183 .ifnum = QUIRK_ANY_INTERFACE, \
184 .type = QUIRK_MIDI_YAMAHA \
187 #define YAMAHA_INTERFACE(id, intf, name) { \
188 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
189 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
190 .vendor_name = "Yamaha", \
191 .product_name = name, \
193 .type = QUIRK_MIDI_YAMAHA \
196 YAMAHA_DEVICE(0x1000, "UX256"),
197 YAMAHA_DEVICE(0x1001, "MU1000"),
198 YAMAHA_DEVICE(0x1002, "MU2000"),
199 YAMAHA_DEVICE(0x1003, "MU500"),
200 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
201 YAMAHA_DEVICE(0x1005, "MOTIF6"),
202 YAMAHA_DEVICE(0x1006, "MOTIF7"),
203 YAMAHA_DEVICE(0x1007, "MOTIF8"),
204 YAMAHA_DEVICE(0x1008, "UX96"),
205 YAMAHA_DEVICE(0x1009, "UX16"),
206 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
207 YAMAHA_DEVICE(0x100c, "UC-MX"),
208 YAMAHA_DEVICE(0x100d, "UC-KX"),
209 YAMAHA_DEVICE(0x100e, "S08"),
210 YAMAHA_DEVICE(0x100f, "CLP-150"),
211 YAMAHA_DEVICE(0x1010, "CLP-170"),
212 YAMAHA_DEVICE(0x1011, "P-250"),
213 YAMAHA_DEVICE(0x1012, "TYROS"),
214 YAMAHA_DEVICE(0x1013, "PF-500"),
215 YAMAHA_DEVICE(0x1014, "S90"),
216 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
217 YAMAHA_DEVICE(0x1016, "MDP-5"),
218 YAMAHA_DEVICE(0x1017, "CVP-204"),
219 YAMAHA_DEVICE(0x1018, "CVP-206"),
220 YAMAHA_DEVICE(0x1019, "CVP-208"),
221 YAMAHA_DEVICE(0x101a, "CVP-210"),
222 YAMAHA_DEVICE(0x101b, "PSR-1100"),
223 YAMAHA_DEVICE(0x101c, "PSR-2100"),
224 YAMAHA_DEVICE(0x101d, "CLP-175"),
225 YAMAHA_DEVICE(0x101e, "PSR-K1"),
226 YAMAHA_DEVICE(0x101f, "EZ-J24"),
227 YAMAHA_DEVICE(0x1020, "EZ-250i"),
228 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
229 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
230 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
231 YAMAHA_DEVICE(0x1024, "CVP-301"),
232 YAMAHA_DEVICE(0x1025, "CVP-303"),
233 YAMAHA_DEVICE(0x1026, "CVP-305"),
234 YAMAHA_DEVICE(0x1027, "CVP-307"),
235 YAMAHA_DEVICE(0x1028, "CVP-309"),
236 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
237 YAMAHA_DEVICE(0x102a, "PSR-1500"),
238 YAMAHA_DEVICE(0x102b, "PSR-3000"),
239 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
240 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
241 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
242 YAMAHA_DEVICE(0x1032, "DGX-305"),
243 YAMAHA_DEVICE(0x1033, "DGX-505"),
244 YAMAHA_DEVICE(0x1034, NULL),
245 YAMAHA_DEVICE(0x1035, NULL),
246 YAMAHA_DEVICE(0x1036, NULL),
247 YAMAHA_DEVICE(0x1037, NULL),
248 YAMAHA_DEVICE(0x1038, NULL),
249 YAMAHA_DEVICE(0x1039, NULL),
250 YAMAHA_DEVICE(0x103a, NULL),
251 YAMAHA_DEVICE(0x103b, NULL),
252 YAMAHA_DEVICE(0x103c, NULL),
253 YAMAHA_DEVICE(0x103d, NULL),
254 YAMAHA_DEVICE(0x103e, NULL),
255 YAMAHA_DEVICE(0x103f, NULL),
256 YAMAHA_DEVICE(0x1040, NULL),
257 YAMAHA_DEVICE(0x1041, NULL),
258 YAMAHA_DEVICE(0x1042, NULL),
259 YAMAHA_DEVICE(0x1043, NULL),
260 YAMAHA_DEVICE(0x1044, NULL),
261 YAMAHA_DEVICE(0x1045, NULL),
262 YAMAHA_INTERFACE(0x104e, 0, NULL),
263 YAMAHA_DEVICE(0x104f, NULL),
264 YAMAHA_DEVICE(0x1050, NULL),
265 YAMAHA_DEVICE(0x1051, NULL),
266 YAMAHA_DEVICE(0x1052, NULL),
267 YAMAHA_INTERFACE(0x1053, 0, NULL),
268 YAMAHA_INTERFACE(0x1054, 0, NULL),
269 YAMAHA_DEVICE(0x1055, NULL),
270 YAMAHA_DEVICE(0x1056, NULL),
271 YAMAHA_DEVICE(0x1057, NULL),
272 YAMAHA_DEVICE(0x1058, NULL),
273 YAMAHA_DEVICE(0x1059, NULL),
274 YAMAHA_DEVICE(0x105a, NULL),
275 YAMAHA_DEVICE(0x105b, NULL),
276 YAMAHA_DEVICE(0x105c, NULL),
277 YAMAHA_DEVICE(0x105d, NULL),
278 YAMAHA_DEVICE(0x2000, "DGP-7"),
279 YAMAHA_DEVICE(0x2001, "DGP-5"),
280 YAMAHA_DEVICE(0x2002, NULL),
281 YAMAHA_DEVICE(0x2003, NULL),
282 YAMAHA_DEVICE(0x5000, "CS1D"),
283 YAMAHA_DEVICE(0x5001, "DSP1D"),
284 YAMAHA_DEVICE(0x5002, "DME32"),
285 YAMAHA_DEVICE(0x5003, "DM2000"),
286 YAMAHA_DEVICE(0x5004, "02R96"),
287 YAMAHA_DEVICE(0x5005, "ACU16-C"),
288 YAMAHA_DEVICE(0x5006, "NHB32-C"),
289 YAMAHA_DEVICE(0x5007, "DM1000"),
290 YAMAHA_DEVICE(0x5008, "01V96"),
291 YAMAHA_DEVICE(0x5009, "SPX2000"),
292 YAMAHA_DEVICE(0x500a, "PM5D"),
293 YAMAHA_DEVICE(0x500b, "DME64N"),
294 YAMAHA_DEVICE(0x500c, "DME24N"),
295 YAMAHA_DEVICE(0x500d, NULL),
296 YAMAHA_DEVICE(0x500e, NULL),
297 YAMAHA_DEVICE(0x500f, NULL),
298 YAMAHA_DEVICE(0x7000, "DTX"),
299 YAMAHA_DEVICE(0x7010, "UB99"),
301 #undef YAMAHA_INTERFACE
304 * Roland/RolandED/Edirol/BOSS devices
307 USB_DEVICE(0x0582, 0x0000),
308 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
309 .vendor_name = "Roland",
310 .product_name = "UA-100",
311 .ifnum = QUIRK_ANY_INTERFACE,
312 .type = QUIRK_COMPOSITE,
313 .data = (const struct snd_usb_audio_quirk[]) {
316 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
317 .data = & (const struct audioformat) {
318 .formats = SNDRV_PCM_FMTBIT_S16_LE,
326 .rates = SNDRV_PCM_RATE_CONTINUOUS,
333 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
334 .data = & (const struct audioformat) {
335 .formats = SNDRV_PCM_FMTBIT_S16_LE,
340 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
343 .rates = SNDRV_PCM_RATE_CONTINUOUS,
350 .type = QUIRK_MIDI_FIXED_ENDPOINT,
351 .data = & (const struct snd_usb_midi_endpoint_info) {
352 .out_cables = 0x0007,
363 USB_DEVICE(0x0582, 0x0002),
364 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
365 .vendor_name = "EDIROL",
366 .product_name = "UM-4",
367 .ifnum = QUIRK_ANY_INTERFACE,
368 .type = QUIRK_COMPOSITE,
369 .data = (const struct snd_usb_audio_quirk[]) {
372 .type = QUIRK_IGNORE_INTERFACE
376 .type = QUIRK_IGNORE_INTERFACE
380 .type = QUIRK_MIDI_FIXED_ENDPOINT,
381 .data = & (const struct snd_usb_midi_endpoint_info) {
382 .out_cables = 0x000f,
393 USB_DEVICE(0x0582, 0x0003),
394 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
395 .vendor_name = "Roland",
396 .product_name = "SC-8850",
397 .ifnum = QUIRK_ANY_INTERFACE,
398 .type = QUIRK_COMPOSITE,
399 .data = (const struct snd_usb_audio_quirk[]) {
402 .type = QUIRK_IGNORE_INTERFACE
406 .type = QUIRK_IGNORE_INTERFACE
410 .type = QUIRK_MIDI_FIXED_ENDPOINT,
411 .data = & (const struct snd_usb_midi_endpoint_info) {
412 .out_cables = 0x003f,
423 USB_DEVICE(0x0582, 0x0004),
424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
425 .vendor_name = "Roland",
426 .product_name = "U-8",
427 .ifnum = QUIRK_ANY_INTERFACE,
428 .type = QUIRK_COMPOSITE,
429 .data = (const struct snd_usb_audio_quirk[]) {
432 .type = QUIRK_IGNORE_INTERFACE
436 .type = QUIRK_IGNORE_INTERFACE
440 .type = QUIRK_MIDI_FIXED_ENDPOINT,
441 .data = & (const struct snd_usb_midi_endpoint_info) {
442 .out_cables = 0x0005,
453 /* Has ID 0x0099 when not in "Advanced Driver" mode.
454 * The UM-2EX has only one input, but we cannot detect this. */
455 USB_DEVICE(0x0582, 0x0005),
456 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
457 .vendor_name = "EDIROL",
458 .product_name = "UM-2",
459 .ifnum = QUIRK_ANY_INTERFACE,
460 .type = QUIRK_COMPOSITE,
461 .data = (const struct snd_usb_audio_quirk[]) {
464 .type = QUIRK_IGNORE_INTERFACE
468 .type = QUIRK_IGNORE_INTERFACE
472 .type = QUIRK_MIDI_FIXED_ENDPOINT,
473 .data = & (const struct snd_usb_midi_endpoint_info) {
474 .out_cables = 0x0003,
485 USB_DEVICE(0x0582, 0x0007),
486 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
487 .vendor_name = "Roland",
488 .product_name = "SC-8820",
489 .ifnum = QUIRK_ANY_INTERFACE,
490 .type = QUIRK_COMPOSITE,
491 .data = (const struct snd_usb_audio_quirk[]) {
494 .type = QUIRK_IGNORE_INTERFACE
498 .type = QUIRK_IGNORE_INTERFACE
502 .type = QUIRK_MIDI_FIXED_ENDPOINT,
503 .data = & (const struct snd_usb_midi_endpoint_info) {
504 .out_cables = 0x0013,
515 USB_DEVICE(0x0582, 0x0008),
516 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
517 .vendor_name = "Roland",
518 .product_name = "PC-300",
519 .ifnum = QUIRK_ANY_INTERFACE,
520 .type = QUIRK_COMPOSITE,
521 .data = (const struct snd_usb_audio_quirk[]) {
524 .type = QUIRK_IGNORE_INTERFACE
528 .type = QUIRK_IGNORE_INTERFACE
532 .type = QUIRK_MIDI_FIXED_ENDPOINT,
533 .data = & (const struct snd_usb_midi_endpoint_info) {
534 .out_cables = 0x0001,
545 /* has ID 0x009d when not in "Advanced Driver" mode */
546 USB_DEVICE(0x0582, 0x0009),
547 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
548 .vendor_name = "EDIROL",
549 .product_name = "UM-1",
550 .ifnum = QUIRK_ANY_INTERFACE,
551 .type = QUIRK_COMPOSITE,
552 .data = (const struct snd_usb_audio_quirk[]) {
555 .type = QUIRK_IGNORE_INTERFACE
559 .type = QUIRK_IGNORE_INTERFACE
563 .type = QUIRK_MIDI_FIXED_ENDPOINT,
564 .data = & (const struct snd_usb_midi_endpoint_info) {
565 .out_cables = 0x0001,
576 USB_DEVICE(0x0582, 0x000b),
577 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
578 .vendor_name = "Roland",
579 .product_name = "SK-500",
580 .ifnum = QUIRK_ANY_INTERFACE,
581 .type = QUIRK_COMPOSITE,
582 .data = (const struct snd_usb_audio_quirk[]) {
585 .type = QUIRK_IGNORE_INTERFACE
589 .type = QUIRK_IGNORE_INTERFACE
593 .type = QUIRK_MIDI_FIXED_ENDPOINT,
594 .data = & (const struct snd_usb_midi_endpoint_info) {
595 .out_cables = 0x0013,
606 /* thanks to Emiliano Grilli <emillo@libero.it>
607 * for helping researching this data */
608 USB_DEVICE(0x0582, 0x000c),
609 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
610 .vendor_name = "Roland",
611 .product_name = "SC-D70",
612 .ifnum = QUIRK_ANY_INTERFACE,
613 .type = QUIRK_COMPOSITE,
614 .data = (const struct snd_usb_audio_quirk[]) {
617 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
618 .data = & (const struct audioformat) {
619 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
627 .rates = SNDRV_PCM_RATE_CONTINUOUS,
634 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
635 .data = & (const struct audioformat) {
636 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
644 .rates = SNDRV_PCM_RATE_CONTINUOUS,
651 .type = QUIRK_MIDI_FIXED_ENDPOINT,
652 .data = & (const struct snd_usb_midi_endpoint_info) {
653 .out_cables = 0x0007,
664 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
665 * If the advanced mode switch at the back of the unit is off, the
666 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
667 * but offers only 16-bit PCM.
668 * In advanced mode, the UA-5 will output S24_3LE samples (two
669 * channels) at the rate indicated on the front switch, including
670 * the 96kHz sample rate.
672 USB_DEVICE(0x0582, 0x0010),
673 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
674 .vendor_name = "EDIROL",
675 .product_name = "UA-5",
676 .ifnum = QUIRK_ANY_INTERFACE,
677 .type = QUIRK_COMPOSITE,
678 .data = (const struct snd_usb_audio_quirk[]) {
681 .type = QUIRK_AUDIO_STANDARD_INTERFACE
685 .type = QUIRK_AUDIO_STANDARD_INTERFACE
694 /* has ID 0x0013 when not in "Advanced Driver" mode */
695 USB_DEVICE(0x0582, 0x0012),
696 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
697 .vendor_name = "Roland",
698 .product_name = "XV-5050",
700 .type = QUIRK_MIDI_FIXED_ENDPOINT,
701 .data = & (const struct snd_usb_midi_endpoint_info) {
702 .out_cables = 0x0001,
708 /* has ID 0x0015 when not in "Advanced Driver" mode */
709 USB_DEVICE(0x0582, 0x0014),
710 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
711 .vendor_name = "EDIROL",
712 .product_name = "UM-880",
714 .type = QUIRK_MIDI_FIXED_ENDPOINT,
715 .data = & (const struct snd_usb_midi_endpoint_info) {
716 .out_cables = 0x01ff,
722 /* has ID 0x0017 when not in "Advanced Driver" mode */
723 USB_DEVICE(0x0582, 0x0016),
724 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
725 .vendor_name = "EDIROL",
726 .product_name = "SD-90",
727 .ifnum = QUIRK_ANY_INTERFACE,
728 .type = QUIRK_COMPOSITE,
729 .data = (const struct snd_usb_audio_quirk[]) {
732 .type = QUIRK_AUDIO_STANDARD_INTERFACE
736 .type = QUIRK_AUDIO_STANDARD_INTERFACE
740 .type = QUIRK_MIDI_FIXED_ENDPOINT,
741 .data = & (const struct snd_usb_midi_endpoint_info) {
742 .out_cables = 0x000f,
753 /* has ID 0x001c when not in "Advanced Driver" mode */
754 USB_DEVICE(0x0582, 0x001b),
755 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
756 .vendor_name = "Roland",
757 .product_name = "MMP-2",
758 .ifnum = QUIRK_ANY_INTERFACE,
759 .type = QUIRK_COMPOSITE,
760 .data = (const struct snd_usb_audio_quirk[]) {
763 .type = QUIRK_IGNORE_INTERFACE
767 .type = QUIRK_IGNORE_INTERFACE
771 .type = QUIRK_MIDI_FIXED_ENDPOINT,
772 .data = & (const struct snd_usb_midi_endpoint_info) {
773 .out_cables = 0x0001,
784 /* has ID 0x001e when not in "Advanced Driver" mode */
785 USB_DEVICE(0x0582, 0x001d),
786 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
787 .vendor_name = "Roland",
788 .product_name = "V-SYNTH",
790 .type = QUIRK_MIDI_FIXED_ENDPOINT,
791 .data = & (const struct snd_usb_midi_endpoint_info) {
792 .out_cables = 0x0001,
798 /* has ID 0x0024 when not in "Advanced Driver" mode */
799 USB_DEVICE(0x0582, 0x0023),
800 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
801 .vendor_name = "EDIROL",
802 .product_name = "UM-550",
804 .type = QUIRK_MIDI_FIXED_ENDPOINT,
805 .data = & (const struct snd_usb_midi_endpoint_info) {
806 .out_cables = 0x003f,
813 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
814 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
817 USB_DEVICE(0x0582, 0x0025),
818 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
819 .vendor_name = "EDIROL",
820 .product_name = "UA-20",
821 .ifnum = QUIRK_ANY_INTERFACE,
822 .type = QUIRK_COMPOSITE,
823 .data = (const struct snd_usb_audio_quirk[]) {
826 .type = QUIRK_IGNORE_INTERFACE
830 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
831 .data = & (const struct audioformat) {
832 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
840 .rates = SNDRV_PCM_RATE_CONTINUOUS,
847 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
848 .data = & (const struct audioformat) {
849 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
857 .rates = SNDRV_PCM_RATE_CONTINUOUS,
864 .type = QUIRK_MIDI_FIXED_ENDPOINT,
865 .data = & (const struct snd_usb_midi_endpoint_info) {
866 .out_cables = 0x0001,
877 /* has ID 0x0028 when not in "Advanced Driver" mode */
878 USB_DEVICE(0x0582, 0x0027),
879 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
880 .vendor_name = "EDIROL",
881 .product_name = "SD-20",
883 .type = QUIRK_MIDI_FIXED_ENDPOINT,
884 .data = & (const struct snd_usb_midi_endpoint_info) {
885 .out_cables = 0x0003,
891 /* has ID 0x002a when not in "Advanced Driver" mode */
892 USB_DEVICE(0x0582, 0x0029),
893 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
894 .vendor_name = "EDIROL",
895 .product_name = "SD-80",
897 .type = QUIRK_MIDI_FIXED_ENDPOINT,
898 .data = & (const struct snd_usb_midi_endpoint_info) {
899 .out_cables = 0x000f,
905 * This quirk is for the "Advanced" modes of the Edirol UA-700.
906 * If the sample format switch is not in an advanced setting, the
907 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
908 * but offers only 16-bit PCM and no MIDI.
910 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
911 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
912 .vendor_name = "EDIROL",
913 .product_name = "UA-700",
914 .ifnum = QUIRK_ANY_INTERFACE,
915 .type = QUIRK_COMPOSITE,
916 .data = (const struct snd_usb_audio_quirk[]) {
919 .type = QUIRK_AUDIO_EDIROL_UAXX
923 .type = QUIRK_AUDIO_EDIROL_UAXX
927 .type = QUIRK_AUDIO_EDIROL_UAXX
936 /* has ID 0x002e when not in "Advanced Driver" mode */
937 USB_DEVICE(0x0582, 0x002d),
938 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
939 .vendor_name = "Roland",
940 .product_name = "XV-2020",
942 .type = QUIRK_MIDI_FIXED_ENDPOINT,
943 .data = & (const struct snd_usb_midi_endpoint_info) {
944 .out_cables = 0x0001,
950 /* has ID 0x0030 when not in "Advanced Driver" mode */
951 USB_DEVICE(0x0582, 0x002f),
952 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
953 .vendor_name = "Roland",
954 .product_name = "VariOS",
956 .type = QUIRK_MIDI_FIXED_ENDPOINT,
957 .data = & (const struct snd_usb_midi_endpoint_info) {
958 .out_cables = 0x0007,
964 /* has ID 0x0034 when not in "Advanced Driver" mode */
965 USB_DEVICE(0x0582, 0x0033),
966 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
967 .vendor_name = "EDIROL",
968 .product_name = "PCR",
970 .type = QUIRK_MIDI_FIXED_ENDPOINT,
971 .data = & (const struct snd_usb_midi_endpoint_info) {
972 .out_cables = 0x0003,
977 /* TODO: add Roland M-1000 support */
980 * Has ID 0x0038 when not in "Advanced Driver" mode;
981 * later revisions use IDs 0x0054 and 0x00a2.
983 USB_DEVICE(0x0582, 0x0037),
984 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
985 .vendor_name = "Roland",
986 .product_name = "Digital Piano",
988 .type = QUIRK_MIDI_FIXED_ENDPOINT,
989 .data = & (const struct snd_usb_midi_endpoint_info) {
990 .out_cables = 0x0001,
997 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
998 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1001 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1002 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1003 .vendor_name = "BOSS",
1004 .product_name = "GS-10",
1005 .ifnum = QUIRK_ANY_INTERFACE,
1006 .type = QUIRK_COMPOSITE,
1007 .data = & (const struct snd_usb_audio_quirk[]) {
1010 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1014 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1018 .type = QUIRK_MIDI_STANDARD_INTERFACE
1027 /* has ID 0x0041 when not in "Advanced Driver" mode */
1028 USB_DEVICE(0x0582, 0x0040),
1029 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1030 .vendor_name = "Roland",
1031 .product_name = "GI-20",
1033 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1034 .data = & (const struct snd_usb_midi_endpoint_info) {
1035 .out_cables = 0x0001,
1041 /* has ID 0x0043 when not in "Advanced Driver" mode */
1042 USB_DEVICE(0x0582, 0x0042),
1043 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1044 .vendor_name = "Roland",
1045 .product_name = "RS-70",
1047 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1048 .data = & (const struct snd_usb_midi_endpoint_info) {
1049 .out_cables = 0x0001,
1055 /* has ID 0x0049 when not in "Advanced Driver" mode */
1056 USB_DEVICE(0x0582, 0x0047),
1057 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1058 /* .vendor_name = "EDIROL", */
1059 /* .product_name = "UR-80", */
1060 .ifnum = QUIRK_ANY_INTERFACE,
1061 .type = QUIRK_COMPOSITE,
1062 .data = (const struct snd_usb_audio_quirk[]) {
1063 /* in the 96 kHz modes, only interface 1 is there */
1066 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1070 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1079 /* has ID 0x004a when not in "Advanced Driver" mode */
1080 USB_DEVICE(0x0582, 0x0048),
1081 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1082 /* .vendor_name = "EDIROL", */
1083 /* .product_name = "UR-80", */
1085 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1086 .data = & (const struct snd_usb_midi_endpoint_info) {
1087 .out_cables = 0x0003,
1092 /* TODO: add Edirol M-100FX support */
1094 /* has ID 0x004e when not in "Advanced Driver" mode */
1095 USB_DEVICE(0x0582, 0x004c),
1096 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1097 .vendor_name = "EDIROL",
1098 .product_name = "PCR-A",
1099 .ifnum = QUIRK_ANY_INTERFACE,
1100 .type = QUIRK_COMPOSITE,
1101 .data = (const struct snd_usb_audio_quirk[]) {
1104 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1108 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1117 /* has ID 0x004f when not in "Advanced Driver" mode */
1118 USB_DEVICE(0x0582, 0x004d),
1119 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1120 .vendor_name = "EDIROL",
1121 .product_name = "PCR-A",
1123 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1124 .data = & (const struct snd_usb_midi_endpoint_info) {
1125 .out_cables = 0x0003,
1132 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1133 * is standard compliant, but has only 16-bit PCM.
1135 USB_DEVICE(0x0582, 0x0050),
1136 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1137 .vendor_name = "EDIROL",
1138 .product_name = "UA-3FX",
1139 .ifnum = QUIRK_ANY_INTERFACE,
1140 .type = QUIRK_COMPOSITE,
1141 .data = (const struct snd_usb_audio_quirk[]) {
1144 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1148 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1157 USB_DEVICE(0x0582, 0x0052),
1158 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1159 .vendor_name = "EDIROL",
1160 .product_name = "UM-1SX",
1162 .type = QUIRK_MIDI_STANDARD_INTERFACE
1166 USB_DEVICE(0x0582, 0x0060),
1167 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1168 .vendor_name = "Roland",
1169 .product_name = "EXR Series",
1171 .type = QUIRK_MIDI_STANDARD_INTERFACE
1175 /* has ID 0x0066 when not in "Advanced Driver" mode */
1176 USB_DEVICE(0x0582, 0x0064),
1177 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1178 /* .vendor_name = "EDIROL", */
1179 /* .product_name = "PCR-1", */
1180 .ifnum = QUIRK_ANY_INTERFACE,
1181 .type = QUIRK_COMPOSITE,
1182 .data = (const struct snd_usb_audio_quirk[]) {
1185 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1189 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1198 /* has ID 0x0067 when not in "Advanced Driver" mode */
1199 USB_DEVICE(0x0582, 0x0065),
1200 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1201 /* .vendor_name = "EDIROL", */
1202 /* .product_name = "PCR-1", */
1204 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1205 .data = & (const struct snd_usb_midi_endpoint_info) {
1206 .out_cables = 0x0001,
1212 /* has ID 0x006b when not in "Advanced Driver" mode */
1213 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1214 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1215 .vendor_name = "Roland",
1216 .product_name = "SP-606",
1218 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1219 .data = & (const struct snd_usb_midi_endpoint_info) {
1220 .out_cables = 0x0001,
1226 /* has ID 0x006e when not in "Advanced Driver" mode */
1227 USB_DEVICE(0x0582, 0x006d),
1228 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1229 .vendor_name = "Roland",
1230 .product_name = "FANTOM-X",
1232 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1233 .data = & (const struct snd_usb_midi_endpoint_info) {
1234 .out_cables = 0x0001,
1240 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1241 * If the switch is not in an advanced setting, the UA-25 has
1242 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1243 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1245 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1246 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1247 .vendor_name = "EDIROL",
1248 .product_name = "UA-25",
1249 .ifnum = QUIRK_ANY_INTERFACE,
1250 .type = QUIRK_COMPOSITE,
1251 .data = (const struct snd_usb_audio_quirk[]) {
1254 .type = QUIRK_AUDIO_EDIROL_UAXX
1258 .type = QUIRK_AUDIO_EDIROL_UAXX
1262 .type = QUIRK_AUDIO_EDIROL_UAXX
1271 /* has ID 0x0076 when not in "Advanced Driver" mode */
1272 USB_DEVICE(0x0582, 0x0075),
1273 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1274 .vendor_name = "BOSS",
1275 .product_name = "DR-880",
1277 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1278 .data = & (const struct snd_usb_midi_endpoint_info) {
1279 .out_cables = 0x0001,
1285 /* has ID 0x007b when not in "Advanced Driver" mode */
1286 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1287 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1288 .vendor_name = "Roland",
1289 /* "RD" or "RD-700SX"? */
1291 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1292 .data = & (const struct snd_usb_midi_endpoint_info) {
1293 .out_cables = 0x0003,
1299 /* has ID 0x0081 when not in "Advanced Driver" mode */
1300 USB_DEVICE(0x0582, 0x0080),
1301 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1302 .vendor_name = "Roland",
1303 .product_name = "G-70",
1305 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1306 .data = & (const struct snd_usb_midi_endpoint_info) {
1307 .out_cables = 0x0001,
1312 /* TODO: add Roland V-SYNTH XT support */
1313 /* TODO: add BOSS GT-PRO support */
1315 /* has ID 0x008c when not in "Advanced Driver" mode */
1316 USB_DEVICE(0x0582, 0x008b),
1317 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1318 .vendor_name = "EDIROL",
1319 .product_name = "PC-50",
1321 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1322 .data = & (const struct snd_usb_midi_endpoint_info) {
1323 .out_cables = 0x0001,
1328 /* TODO: add Edirol PC-80 support */
1330 USB_DEVICE(0x0582, 0x0096),
1331 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1332 .vendor_name = "EDIROL",
1333 .product_name = "UA-1EX",
1334 .ifnum = QUIRK_ANY_INTERFACE,
1335 .type = QUIRK_COMPOSITE,
1336 .data = (const struct snd_usb_audio_quirk[]) {
1339 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1343 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1352 USB_DEVICE(0x0582, 0x009a),
1353 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1354 .vendor_name = "EDIROL",
1355 .product_name = "UM-3EX",
1357 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1358 .data = & (const struct snd_usb_midi_endpoint_info) {
1359 .out_cables = 0x000f,
1366 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1367 * is standard compliant, but has only 16-bit PCM and no MIDI.
1369 USB_DEVICE(0x0582, 0x00a3),
1370 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1371 .vendor_name = "EDIROL",
1372 .product_name = "UA-4FX",
1373 .ifnum = QUIRK_ANY_INTERFACE,
1374 .type = QUIRK_COMPOSITE,
1375 .data = (const struct snd_usb_audio_quirk[]) {
1378 .type = QUIRK_AUDIO_EDIROL_UAXX
1382 .type = QUIRK_AUDIO_EDIROL_UAXX
1386 .type = QUIRK_AUDIO_EDIROL_UAXX
1394 /* TODO: add Edirol MD-P1 support */
1396 USB_DEVICE(0x582, 0x00a6),
1397 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1398 .vendor_name = "Roland",
1399 .product_name = "Juno-G",
1401 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1402 .data = & (const struct snd_usb_midi_endpoint_info) {
1403 .out_cables = 0x0001,
1410 USB_DEVICE(0x0582, 0x00ad),
1411 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1412 .vendor_name = "Roland",
1413 .product_name = "SH-201",
1414 .ifnum = QUIRK_ANY_INTERFACE,
1415 .type = QUIRK_COMPOSITE,
1416 .data = (const struct snd_usb_audio_quirk[]) {
1419 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1423 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1427 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1428 .data = & (const struct snd_usb_midi_endpoint_info) {
1429 .out_cables = 0x0001,
1440 /* Roland SonicCell */
1441 USB_DEVICE(0x0582, 0x00c2),
1442 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1443 .vendor_name = "Roland",
1444 .product_name = "SonicCell",
1445 .ifnum = QUIRK_ANY_INTERFACE,
1446 .type = QUIRK_COMPOSITE,
1447 .data = (const struct snd_usb_audio_quirk[]) {
1450 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1454 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1458 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1459 .data = & (const struct snd_usb_midi_endpoint_info) {
1460 .out_cables = 0x0001,
1472 /* FIXME: This quirk gives a good-working capture stream but the
1473 * playback seems problematic because of lacking of sync
1474 * with capture stream. It needs to sync with the capture
1475 * clock. As now, you'll get frequent sound distortions
1478 USB_DEVICE(0x0582, 0x00c4),
1479 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1480 .ifnum = QUIRK_ANY_INTERFACE,
1481 .type = QUIRK_COMPOSITE,
1482 .data = (const struct snd_usb_audio_quirk[]) {
1485 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1489 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1493 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1494 .data = & (const struct snd_usb_midi_endpoint_info) {
1495 .out_cables = 0x0001,
1507 USB_DEVICE(0x0582, 0x00da),
1508 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1509 .ifnum = QUIRK_ANY_INTERFACE,
1510 .type = QUIRK_COMPOSITE,
1511 .data = (const struct snd_usb_audio_quirk[]) {
1514 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1518 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1522 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1523 .data = & (const struct snd_usb_midi_endpoint_info) {
1524 .out_cables = 0x0001,
1535 /* Advanced modes of the Edirol UA-25EX.
1536 * For the standard mode, UA-25EX has ID 0582:00e7, which
1537 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1539 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1540 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1541 .vendor_name = "EDIROL",
1542 .product_name = "UA-25EX",
1543 .ifnum = QUIRK_ANY_INTERFACE,
1544 .type = QUIRK_COMPOSITE,
1545 .data = (const struct snd_usb_audio_quirk[]) {
1548 .type = QUIRK_AUDIO_EDIROL_UAXX
1552 .type = QUIRK_AUDIO_EDIROL_UAXX
1556 .type = QUIRK_AUDIO_EDIROL_UAXX
1565 /* has ID 0x00ea when not in Advanced Driver mode */
1566 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
1567 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1568 /* .vendor_name = "Roland", */
1569 /* .product_name = "UA-1G", */
1570 .ifnum = QUIRK_ANY_INTERFACE,
1571 .type = QUIRK_COMPOSITE,
1572 .data = (const struct snd_usb_audio_quirk[]) {
1575 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1579 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1588 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0104),
1589 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1590 /* .vendor_name = "Roland", */
1591 /* .product_name = "UM-1G", */
1593 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1594 .data = & (const struct snd_usb_midi_endpoint_info) {
1595 .out_cables = 0x0001,
1601 /* Boss JS-8 Jam Station */
1602 USB_DEVICE(0x0582, 0x0109),
1603 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1604 /* .vendor_name = "BOSS", */
1605 /* .product_name = "JS-8", */
1606 .ifnum = QUIRK_ANY_INTERFACE,
1607 .type = QUIRK_COMPOSITE,
1608 .data = (const struct snd_usb_audio_quirk[]) {
1611 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1615 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1619 .type = QUIRK_MIDI_STANDARD_INTERFACE
1628 /* has ID 0x0110 when not in Advanced Driver mode */
1629 USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
1630 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1631 /* .vendor_name = "Roland", */
1632 /* .product_name = "A-PRO", */
1634 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1635 .data = & (const struct snd_usb_midi_endpoint_info) {
1636 .out_cables = 0x0003,
1642 /* Roland GAIA SH-01 */
1643 USB_DEVICE(0x0582, 0x0111),
1644 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1645 .vendor_name = "Roland",
1646 .product_name = "GAIA",
1647 .ifnum = QUIRK_ANY_INTERFACE,
1648 .type = QUIRK_COMPOSITE,
1649 .data = (const struct snd_usb_audio_quirk[]) {
1652 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1656 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1660 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1661 .data = &(const struct snd_usb_midi_endpoint_info) {
1662 .out_cables = 0x0003,
1673 USB_DEVICE(0x0582, 0x0113),
1674 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1675 /* .vendor_name = "BOSS", */
1676 /* .product_name = "ME-25", */
1677 .ifnum = QUIRK_ANY_INTERFACE,
1678 .type = QUIRK_COMPOSITE,
1679 .data = (const struct snd_usb_audio_quirk[]) {
1682 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1686 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1690 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1691 .data = & (const struct snd_usb_midi_endpoint_info) {
1692 .out_cables = 0x0001,
1703 USB_DEVICE(0x0582, 0x0127),
1704 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1705 /* .vendor_name = "Roland", */
1706 /* .product_name = "GR-55", */
1707 .ifnum = QUIRK_ANY_INTERFACE,
1708 .type = QUIRK_COMPOSITE,
1709 .data = (const struct snd_usb_audio_quirk[]) {
1712 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1716 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1720 .type = QUIRK_MIDI_STANDARD_INTERFACE
1729 /* Added support for Roland UM-ONE which differs from UM-1 */
1730 USB_DEVICE(0x0582, 0x012a),
1731 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1732 /* .vendor_name = "ROLAND", */
1733 /* .product_name = "UM-ONE", */
1735 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1736 .data = & (const struct snd_usb_midi_endpoint_info) {
1737 .out_cables = 0x0001,
1743 USB_DEVICE(0x0582, 0x011e),
1744 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1745 /* .vendor_name = "BOSS", */
1746 /* .product_name = "BR-800", */
1747 .ifnum = QUIRK_ANY_INTERFACE,
1748 .type = QUIRK_COMPOSITE,
1749 .data = (const struct snd_usb_audio_quirk[]) {
1752 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1756 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1760 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1761 .data = & (const struct snd_usb_midi_endpoint_info) {
1762 .out_cables = 0x0001,
1773 USB_DEVICE(0x0582, 0x0130),
1774 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1775 /* .vendor_name = "BOSS", */
1776 /* .product_name = "MICRO BR-80", */
1777 .ifnum = QUIRK_ANY_INTERFACE,
1778 .type = QUIRK_COMPOSITE,
1779 .data = (const struct snd_usb_audio_quirk[]) {
1782 .type = QUIRK_IGNORE_INTERFACE
1786 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1790 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1794 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1795 .data = & (const struct snd_usb_midi_endpoint_info) {
1796 .out_cables = 0x0001,
1807 /* Guillemot devices */
1810 * This is for the "Windows Edition" where the external MIDI ports are
1811 * the only MIDI ports; the control data is reported through HID
1812 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1813 * compliant USB MIDI ports for external MIDI and controls.
1815 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1816 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1817 .vendor_name = "Hercules",
1818 .product_name = "DJ Console (WE)",
1820 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1821 .data = & (const struct snd_usb_midi_endpoint_info) {
1822 .out_cables = 0x0001,
1828 /* Midiman/M-Audio devices */
1830 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1831 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1832 .vendor_name = "M-Audio",
1833 .product_name = "MidiSport 2x2",
1834 .ifnum = QUIRK_ANY_INTERFACE,
1835 .type = QUIRK_MIDI_MIDIMAN,
1836 .data = & (const struct snd_usb_midi_endpoint_info) {
1837 .out_cables = 0x0003,
1843 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1844 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1845 .vendor_name = "M-Audio",
1846 .product_name = "MidiSport 1x1",
1847 .ifnum = QUIRK_ANY_INTERFACE,
1848 .type = QUIRK_MIDI_MIDIMAN,
1849 .data = & (const struct snd_usb_midi_endpoint_info) {
1850 .out_cables = 0x0001,
1856 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1857 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1858 .vendor_name = "M-Audio",
1859 .product_name = "Keystation",
1860 .ifnum = QUIRK_ANY_INTERFACE,
1861 .type = QUIRK_MIDI_MIDIMAN,
1862 .data = & (const struct snd_usb_midi_endpoint_info) {
1863 .out_cables = 0x0001,
1869 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1870 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1871 .vendor_name = "M-Audio",
1872 .product_name = "MidiSport 4x4",
1873 .ifnum = QUIRK_ANY_INTERFACE,
1874 .type = QUIRK_MIDI_MIDIMAN,
1875 .data = & (const struct snd_usb_midi_endpoint_info) {
1876 .out_cables = 0x000f,
1883 * For hardware revision 1.05; in the later revisions (1.10 and
1884 * 1.21), 0x1031 is the ID for the device without firmware.
1885 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1887 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1888 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1889 .vendor_name = "M-Audio",
1890 .product_name = "MidiSport 8x8",
1891 .ifnum = QUIRK_ANY_INTERFACE,
1892 .type = QUIRK_MIDI_MIDIMAN,
1893 .data = & (const struct snd_usb_midi_endpoint_info) {
1894 .out_cables = 0x01ff,
1900 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1901 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1902 .vendor_name = "M-Audio",
1903 .product_name = "MidiSport 8x8",
1904 .ifnum = QUIRK_ANY_INTERFACE,
1905 .type = QUIRK_MIDI_MIDIMAN,
1906 .data = & (const struct snd_usb_midi_endpoint_info) {
1907 .out_cables = 0x01ff,
1913 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1914 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1915 .vendor_name = "M-Audio",
1916 .product_name = "MidiSport 2x4",
1917 .ifnum = QUIRK_ANY_INTERFACE,
1918 .type = QUIRK_MIDI_MIDIMAN,
1919 .data = & (const struct snd_usb_midi_endpoint_info) {
1920 .out_cables = 0x000f,
1926 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1927 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1928 .vendor_name = "M-Audio",
1929 .product_name = "Quattro",
1930 .ifnum = QUIRK_ANY_INTERFACE,
1931 .type = QUIRK_COMPOSITE,
1932 .data = & (const struct snd_usb_audio_quirk[]) {
1934 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1935 * and share endpoints with the other interfaces.
1936 * Ignore them. The other interfaces can do 24 bits,
1937 * but captured samples are big-endian (see usbaudio.c).
1941 .type = QUIRK_IGNORE_INTERFACE
1945 .type = QUIRK_IGNORE_INTERFACE
1949 .type = QUIRK_IGNORE_INTERFACE
1953 .type = QUIRK_IGNORE_INTERFACE
1957 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1961 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1965 .type = QUIRK_IGNORE_INTERFACE
1969 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1973 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1977 .type = QUIRK_MIDI_MIDIMAN,
1978 .data = & (const struct snd_usb_midi_endpoint_info) {
1979 .out_cables = 0x0001,
1990 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1991 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1992 .vendor_name = "M-Audio",
1993 .product_name = "AudioPhile",
1995 .type = QUIRK_MIDI_MIDIMAN,
1996 .data = & (const struct snd_usb_midi_endpoint_info) {
1997 .out_cables = 0x0001,
2003 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
2004 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2005 .vendor_name = "M-Audio",
2006 .product_name = "Ozone",
2008 .type = QUIRK_MIDI_MIDIMAN,
2009 .data = & (const struct snd_usb_midi_endpoint_info) {
2010 .out_cables = 0x0001,
2016 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
2017 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2018 .vendor_name = "M-Audio",
2019 .product_name = "OmniStudio",
2020 .ifnum = QUIRK_ANY_INTERFACE,
2021 .type = QUIRK_COMPOSITE,
2022 .data = & (const struct snd_usb_audio_quirk[]) {
2025 .type = QUIRK_IGNORE_INTERFACE
2029 .type = QUIRK_IGNORE_INTERFACE
2033 .type = QUIRK_IGNORE_INTERFACE
2037 .type = QUIRK_IGNORE_INTERFACE
2041 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2045 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2049 .type = QUIRK_IGNORE_INTERFACE
2053 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2057 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2061 .type = QUIRK_MIDI_MIDIMAN,
2062 .data = & (const struct snd_usb_midi_endpoint_info) {
2063 .out_cables = 0x0001,
2074 USB_DEVICE(0x0763, 0x2019),
2075 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2076 /* .vendor_name = "M-Audio", */
2077 /* .product_name = "Ozone Academic", */
2078 .ifnum = QUIRK_ANY_INTERFACE,
2079 .type = QUIRK_COMPOSITE,
2080 .data = & (const struct snd_usb_audio_quirk[]) {
2083 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2087 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2091 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2095 .type = QUIRK_MIDI_MIDIMAN,
2096 .data = & (const struct snd_usb_midi_endpoint_info) {
2097 .out_cables = 0x0001,
2108 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2109 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2110 /* .vendor_name = "M-Audio", */
2111 /* .product_name = "Fast Track Ultra", */
2112 .ifnum = QUIRK_ANY_INTERFACE,
2113 .type = QUIRK_COMPOSITE,
2114 .data = & (const struct snd_usb_audio_quirk[]) {
2117 .type = QUIRK_AUDIO_STANDARD_MIXER,
2121 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2122 .data = & (const struct audioformat) {
2123 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2128 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2131 .rates = SNDRV_PCM_RATE_44100 |
2132 SNDRV_PCM_RATE_48000 |
2133 SNDRV_PCM_RATE_88200 |
2134 SNDRV_PCM_RATE_96000,
2138 .rate_table = (unsigned int[]) {
2139 44100, 48000, 88200, 96000
2145 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2146 .data = & (const struct audioformat) {
2147 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2152 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2155 .rates = SNDRV_PCM_RATE_44100 |
2156 SNDRV_PCM_RATE_48000 |
2157 SNDRV_PCM_RATE_88200 |
2158 SNDRV_PCM_RATE_96000,
2162 .rate_table = (unsigned int[]) {
2163 44100, 48000, 88200, 96000
2167 /* interface 3 (MIDI) is standard compliant */
2175 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2176 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2177 /* .vendor_name = "M-Audio", */
2178 /* .product_name = "Fast Track Ultra 8R", */
2179 .ifnum = QUIRK_ANY_INTERFACE,
2180 .type = QUIRK_COMPOSITE,
2181 .data = & (const struct snd_usb_audio_quirk[]) {
2184 .type = QUIRK_AUDIO_STANDARD_MIXER,
2188 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2189 .data = & (const struct audioformat) {
2190 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2195 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2198 .rates = SNDRV_PCM_RATE_44100 |
2199 SNDRV_PCM_RATE_48000 |
2200 SNDRV_PCM_RATE_88200 |
2201 SNDRV_PCM_RATE_96000,
2205 .rate_table = (unsigned int[]) {
2206 44100, 48000, 88200, 96000
2212 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2213 .data = & (const struct audioformat) {
2214 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2219 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2222 .rates = SNDRV_PCM_RATE_44100 |
2223 SNDRV_PCM_RATE_48000 |
2224 SNDRV_PCM_RATE_88200 |
2225 SNDRV_PCM_RATE_96000,
2229 .rate_table = (unsigned int[]) {
2230 44100, 48000, 88200, 96000
2234 /* interface 3 (MIDI) is standard compliant */
2244 USB_DEVICE(0x07cf, 0x6801),
2245 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2246 .vendor_name = "Casio",
2247 .product_name = "PL-40R",
2249 .type = QUIRK_MIDI_YAMAHA
2253 /* this ID is used by several devices without a product ID */
2254 USB_DEVICE(0x07cf, 0x6802),
2255 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2256 .vendor_name = "Casio",
2257 .product_name = "Keyboard",
2259 .type = QUIRK_MIDI_YAMAHA
2263 /* Mark of the Unicorn devices */
2265 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2266 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2267 USB_DEVICE_ID_MATCH_PRODUCT |
2268 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2270 .idProduct = 0x0001,
2271 .bDeviceSubClass = 2,
2272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2273 .vendor_name = "MOTU",
2274 .product_name = "Fastlane",
2275 .ifnum = QUIRK_ANY_INTERFACE,
2276 .type = QUIRK_COMPOSITE,
2277 .data = & (const struct snd_usb_audio_quirk[]) {
2280 .type = QUIRK_MIDI_RAW_BYTES
2284 .type = QUIRK_IGNORE_INTERFACE
2293 /* Emagic devices */
2295 USB_DEVICE(0x086a, 0x0001),
2296 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2297 .vendor_name = "Emagic",
2298 /* .product_name = "Unitor8", */
2300 .type = QUIRK_MIDI_EMAGIC,
2301 .data = & (const struct snd_usb_midi_endpoint_info) {
2302 .out_cables = 0x80ff,
2308 USB_DEVICE(0x086a, 0x0002),
2309 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2310 .vendor_name = "Emagic",
2311 /* .product_name = "AMT8", */
2313 .type = QUIRK_MIDI_EMAGIC,
2314 .data = & (const struct snd_usb_midi_endpoint_info) {
2315 .out_cables = 0x80ff,
2321 USB_DEVICE(0x086a, 0x0003),
2322 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2323 .vendor_name = "Emagic",
2324 /* .product_name = "MT4", */
2326 .type = QUIRK_MIDI_EMAGIC,
2327 .data = & (const struct snd_usb_midi_endpoint_info) {
2328 .out_cables = 0x800f,
2336 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2337 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2338 .vendor_name = "KORG, Inc.",
2339 /* .product_name = "PANDORA PX5D", */
2341 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2347 USB_DEVICE(0x09e8, 0x0062),
2348 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2349 .vendor_name = "AKAI",
2350 .product_name = "MPD16",
2352 .type = QUIRK_MIDI_AKAI,
2356 /* TerraTec devices */
2358 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2359 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2360 .vendor_name = "TerraTec",
2361 .product_name = "PHASE 26",
2363 .type = QUIRK_MIDI_STANDARD_INTERFACE
2367 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2368 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2369 .vendor_name = "TerraTec",
2370 .product_name = "PHASE 26",
2372 .type = QUIRK_MIDI_STANDARD_INTERFACE
2376 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2377 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2378 .vendor_name = "TerraTec",
2379 .product_name = "PHASE 26",
2381 .type = QUIRK_MIDI_STANDARD_INTERFACE
2385 USB_DEVICE(0x0ccd, 0x0028),
2386 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2387 .vendor_name = "TerraTec",
2388 .product_name = "Aureon5.1MkII",
2389 .ifnum = QUIRK_NO_INTERFACE
2393 USB_DEVICE(0x0ccd, 0x0035),
2394 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2395 .vendor_name = "Miditech",
2396 .product_name = "Play'n Roll",
2398 .type = QUIRK_MIDI_CME
2402 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2404 USB_DEVICE(0x103d, 0x0100),
2405 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2406 .vendor_name = "Stanton",
2407 .product_name = "ScratchAmp",
2408 .ifnum = QUIRK_NO_INTERFACE
2412 USB_DEVICE(0x103d, 0x0101),
2413 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2414 .vendor_name = "Stanton",
2415 .product_name = "ScratchAmp",
2416 .ifnum = QUIRK_NO_INTERFACE
2420 /* Novation EMS devices */
2422 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2423 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2424 .vendor_name = "Novation",
2425 .product_name = "ReMOTE Audio/XStation",
2427 .type = QUIRK_MIDI_NOVATION
2431 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2432 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2433 .vendor_name = "Novation",
2434 .product_name = "Speedio",
2436 .type = QUIRK_MIDI_NOVATION
2440 USB_DEVICE(0x1235, 0x000e),
2441 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2442 /* .vendor_name = "Novation", */
2443 /* .product_name = "Launchpad", */
2445 .type = QUIRK_MIDI_RAW_BYTES
2449 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2450 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2451 .vendor_name = "Novation",
2452 .product_name = "ReMOTE25",
2454 .type = QUIRK_MIDI_NOVATION
2458 /* Access Music devices */
2460 /* VirusTI Desktop */
2461 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2462 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2463 .ifnum = QUIRK_ANY_INTERFACE,
2464 .type = QUIRK_COMPOSITE,
2465 .data = &(const struct snd_usb_audio_quirk[]) {
2468 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2469 .data = &(const struct snd_usb_midi_endpoint_info) {
2470 .out_cables = 0x0003,
2476 .type = QUIRK_IGNORE_INTERFACE
2487 /* aka. Serato Scratch Live DJ Box */
2488 USB_DEVICE(0x13e5, 0x0001),
2489 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2490 .vendor_name = "Rane",
2491 .product_name = "SL-1",
2492 .ifnum = QUIRK_NO_INTERFACE
2496 /* Native Instruments MK2 series */
2498 /* Komplete Audio 6 */
2499 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2501 .idProduct = 0x1000,
2504 /* Traktor Audio 6 */
2505 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2507 .idProduct = 0x1010,
2510 /* Traktor Audio 10 */
2511 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2513 .idProduct = 0x1020,
2516 /* KeithMcMillen Stringport */
2518 USB_DEVICE(0x1f38, 0x0001),
2519 .bInterfaceClass = USB_CLASS_AUDIO,
2522 /* Miditech devices */
2524 USB_DEVICE(0x4752, 0x0011),
2525 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2526 .vendor_name = "Miditech",
2527 .product_name = "Midistart-2",
2529 .type = QUIRK_MIDI_CME
2533 /* Central Music devices */
2535 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2536 USB_DEVICE(0x7104, 0x2202),
2537 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2539 .type = QUIRK_MIDI_CME
2543 /* Hauppauge HVR-950Q and HVR-850 */
2545 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2546 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2547 USB_DEVICE_ID_MATCH_INT_CLASS |
2548 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2549 .bInterfaceClass = USB_CLASS_AUDIO,
2550 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2551 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2552 .vendor_name = "Hauppauge",
2553 .product_name = "HVR-950Q",
2554 .ifnum = QUIRK_ANY_INTERFACE,
2555 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2559 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2560 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2561 USB_DEVICE_ID_MATCH_INT_CLASS |
2562 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2563 .bInterfaceClass = USB_CLASS_AUDIO,
2564 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2565 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2566 .vendor_name = "Hauppauge",
2567 .product_name = "HVR-850",
2568 .ifnum = QUIRK_ANY_INTERFACE,
2569 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2573 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2574 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2575 USB_DEVICE_ID_MATCH_INT_CLASS |
2576 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2577 .bInterfaceClass = USB_CLASS_AUDIO,
2578 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2579 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2580 .vendor_name = "Hauppauge",
2581 .product_name = "HVR-950Q",
2582 .ifnum = QUIRK_ANY_INTERFACE,
2583 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2587 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2588 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2589 USB_DEVICE_ID_MATCH_INT_CLASS |
2590 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2591 .bInterfaceClass = USB_CLASS_AUDIO,
2592 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2593 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2594 .vendor_name = "Hauppauge",
2595 .product_name = "HVR-950Q",
2596 .ifnum = QUIRK_ANY_INTERFACE,
2597 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2601 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2602 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2603 USB_DEVICE_ID_MATCH_INT_CLASS |
2604 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2605 .bInterfaceClass = USB_CLASS_AUDIO,
2606 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2607 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2608 .vendor_name = "Hauppauge",
2609 .product_name = "HVR-950Q",
2610 .ifnum = QUIRK_ANY_INTERFACE,
2611 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2615 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2616 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2617 USB_DEVICE_ID_MATCH_INT_CLASS |
2618 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2619 .bInterfaceClass = USB_CLASS_AUDIO,
2620 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2621 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2622 .vendor_name = "Hauppauge",
2623 .product_name = "HVR-950Q",
2624 .ifnum = QUIRK_ANY_INTERFACE,
2625 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2629 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2630 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2631 USB_DEVICE_ID_MATCH_INT_CLASS |
2632 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2633 .bInterfaceClass = USB_CLASS_AUDIO,
2634 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2635 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2636 .vendor_name = "Hauppauge",
2637 .product_name = "HVR-950Q",
2638 .ifnum = QUIRK_ANY_INTERFACE,
2639 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2643 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2644 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2645 USB_DEVICE_ID_MATCH_INT_CLASS |
2646 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2647 .bInterfaceClass = USB_CLASS_AUDIO,
2648 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2649 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2650 .vendor_name = "Hauppauge",
2651 .product_name = "HVR-950Q",
2652 .ifnum = QUIRK_ANY_INTERFACE,
2653 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2657 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2658 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2659 USB_DEVICE_ID_MATCH_INT_CLASS |
2660 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2661 .bInterfaceClass = USB_CLASS_AUDIO,
2662 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2663 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2664 .vendor_name = "Hauppauge",
2665 .product_name = "HVR-950Q",
2666 .ifnum = QUIRK_ANY_INTERFACE,
2667 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2671 /* Digidesign Mbox */
2673 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2674 USB_DEVICE(0x0dba, 0x1000),
2675 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2676 .vendor_name = "Digidesign",
2677 .product_name = "MBox",
2678 .ifnum = QUIRK_ANY_INTERFACE,
2679 .type = QUIRK_COMPOSITE,
2680 .data = (const struct snd_usb_audio_quirk[]){
2683 .type = QUIRK_IGNORE_INTERFACE,
2687 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2688 .data = &(const struct audioformat) {
2689 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2694 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2697 .maxpacksize = 0x130,
2698 .rates = SNDRV_PCM_RATE_44100 |
2699 SNDRV_PCM_RATE_48000,
2703 .rate_table = (unsigned int[]) {
2718 * Some USB MIDI devices don't have an audio control interface,
2719 * so we have to grab MIDI streaming interfaces here.
2721 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
2722 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2723 .bInterfaceClass = USB_CLASS_AUDIO,
2724 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
2725 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2726 .ifnum = QUIRK_ANY_INTERFACE,
2727 .type = QUIRK_MIDI_STANDARD_INTERFACE
2731 #undef USB_DEVICE_VENDOR_SPEC