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
46 #define YAMAHA_DEVICE(id, name) { \
47 USB_DEVICE(0x0499, id), \
48 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
49 .vendor_name = "Yamaha", \
50 .product_name = name, \
51 .ifnum = QUIRK_ANY_INTERFACE, \
52 .type = QUIRK_MIDI_YAMAHA \
55 #define YAMAHA_INTERFACE(id, intf, name) { \
56 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
57 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
58 .vendor_name = "Yamaha", \
59 .product_name = name, \
61 .type = QUIRK_MIDI_YAMAHA \
64 YAMAHA_DEVICE(0x1000, "UX256"),
65 YAMAHA_DEVICE(0x1001, "MU1000"),
66 YAMAHA_DEVICE(0x1002, "MU2000"),
67 YAMAHA_DEVICE(0x1003, "MU500"),
68 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
69 YAMAHA_DEVICE(0x1005, "MOTIF6"),
70 YAMAHA_DEVICE(0x1006, "MOTIF7"),
71 YAMAHA_DEVICE(0x1007, "MOTIF8"),
72 YAMAHA_DEVICE(0x1008, "UX96"),
73 YAMAHA_DEVICE(0x1009, "UX16"),
74 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
75 YAMAHA_DEVICE(0x100e, "S08"),
76 YAMAHA_DEVICE(0x100f, "CLP-150"),
77 YAMAHA_DEVICE(0x1010, "CLP-170"),
78 YAMAHA_DEVICE(0x1011, "P-250"),
79 YAMAHA_DEVICE(0x1012, "TYROS"),
80 YAMAHA_DEVICE(0x1013, "PF-500"),
81 YAMAHA_DEVICE(0x1014, "S90"),
82 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
83 YAMAHA_DEVICE(0x1017, "CVP-204"),
84 YAMAHA_DEVICE(0x1018, "CVP-206"),
85 YAMAHA_DEVICE(0x1019, "CVP-208"),
86 YAMAHA_DEVICE(0x101a, "CVP-210"),
87 YAMAHA_DEVICE(0x101b, "PSR-1100"),
88 YAMAHA_DEVICE(0x101c, "PSR-2100"),
89 YAMAHA_DEVICE(0x101e, "PSR-K1"),
90 YAMAHA_DEVICE(0x1020, "EZ-250i"),
91 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
92 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
93 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
94 YAMAHA_DEVICE(0x1024, "CVP-301"),
95 YAMAHA_DEVICE(0x1025, "CVP-303"),
96 YAMAHA_DEVICE(0x1026, "CVP-305"),
97 YAMAHA_DEVICE(0x1027, "CVP-307"),
98 YAMAHA_DEVICE(0x1028, "CVP-309"),
99 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
100 YAMAHA_DEVICE(0x102a, "PSR-1500"),
101 YAMAHA_DEVICE(0x102b, "PSR-3000"),
102 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
103 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
104 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
105 YAMAHA_DEVICE(0x1032, "DGX-305"),
106 YAMAHA_DEVICE(0x1033, "DGX-505"),
107 YAMAHA_DEVICE(0x1034, NULL),
108 YAMAHA_DEVICE(0x1035, NULL),
109 YAMAHA_DEVICE(0x1036, NULL),
110 YAMAHA_DEVICE(0x1037, NULL),
111 YAMAHA_DEVICE(0x1038, NULL),
112 YAMAHA_DEVICE(0x1039, NULL),
113 YAMAHA_DEVICE(0x103a, NULL),
114 YAMAHA_DEVICE(0x103b, NULL),
115 YAMAHA_DEVICE(0x103c, NULL),
116 YAMAHA_DEVICE(0x2000, "DGP-7"),
117 YAMAHA_DEVICE(0x2001, "DGP-5"),
118 YAMAHA_DEVICE(0x2002, NULL),
119 YAMAHA_DEVICE(0x5000, "CS1D"),
120 YAMAHA_DEVICE(0x5001, "DSP1D"),
121 YAMAHA_DEVICE(0x5002, "DME32"),
122 YAMAHA_DEVICE(0x5003, "DM2000"),
123 YAMAHA_DEVICE(0x5004, "02R96"),
124 YAMAHA_DEVICE(0x5005, "ACU16-C"),
125 YAMAHA_DEVICE(0x5006, "NHB32-C"),
126 YAMAHA_DEVICE(0x5007, "DM1000"),
127 YAMAHA_DEVICE(0x5008, "01V96"),
128 YAMAHA_DEVICE(0x500a, "PM5D"),
129 YAMAHA_DEVICE(0x500b, "DME64N"),
130 YAMAHA_DEVICE(0x500c, "DME24N"),
131 YAMAHA_DEVICE(0x7000, "DTX"),
132 YAMAHA_DEVICE(0x7010, "UB99"),
134 #undef YAMAHA_INTERFACE
137 * Roland/RolandED/Edirol/BOSS devices
140 USB_DEVICE(0x0582, 0x0000),
141 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
142 .vendor_name = "Roland",
143 .product_name = "UA-100",
144 .ifnum = QUIRK_ANY_INTERFACE,
145 .type = QUIRK_COMPOSITE,
146 .data = (const snd_usb_audio_quirk_t[]) {
149 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
150 .data = & (const struct audioformat) {
151 .format = SNDRV_PCM_FORMAT_S16_LE,
159 .rates = SNDRV_PCM_RATE_CONTINUOUS,
166 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
167 .data = & (const struct audioformat) {
168 .format = SNDRV_PCM_FORMAT_S16_LE,
173 .attributes = EP_CS_ATTR_FILL_MAX,
176 .rates = SNDRV_PCM_RATE_CONTINUOUS,
183 .type = QUIRK_MIDI_FIXED_ENDPOINT,
184 .data = & (const snd_usb_midi_endpoint_info_t) {
185 .out_cables = 0x0007,
196 USB_DEVICE(0x0582, 0x0002),
197 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
198 .vendor_name = "EDIROL",
199 .product_name = "UM-4",
201 .type = QUIRK_MIDI_FIXED_ENDPOINT,
202 .data = & (const snd_usb_midi_endpoint_info_t) {
203 .out_cables = 0x000f,
209 USB_DEVICE(0x0582, 0x0003),
210 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
211 .vendor_name = "Roland",
212 .product_name = "SC-8850",
214 .type = QUIRK_MIDI_FIXED_ENDPOINT,
215 .data = & (const snd_usb_midi_endpoint_info_t) {
216 .out_cables = 0x003f,
222 USB_DEVICE(0x0582, 0x0004),
223 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
224 .vendor_name = "Roland",
225 .product_name = "U-8",
227 .type = QUIRK_MIDI_FIXED_ENDPOINT,
228 .data = & (const snd_usb_midi_endpoint_info_t) {
229 .out_cables = 0x0005,
235 USB_DEVICE(0x0582, 0x0005),
236 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
237 .vendor_name = "EDIROL",
238 .product_name = "UM-2",
240 .type = QUIRK_MIDI_FIXED_ENDPOINT,
241 .data = & (const snd_usb_midi_endpoint_info_t) {
242 .out_cables = 0x0003,
248 USB_DEVICE(0x0582, 0x0007),
249 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
250 .vendor_name = "Roland",
251 .product_name = "SC-8820",
253 .type = QUIRK_MIDI_FIXED_ENDPOINT,
254 .data = & (const snd_usb_midi_endpoint_info_t) {
255 .out_cables = 0x0013,
261 USB_DEVICE(0x0582, 0x0008),
262 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
263 .vendor_name = "Roland",
264 .product_name = "PC-300",
266 .type = QUIRK_MIDI_FIXED_ENDPOINT,
267 .data = & (const snd_usb_midi_endpoint_info_t) {
268 .out_cables = 0x0001,
274 USB_DEVICE(0x0582, 0x0009),
275 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
276 .vendor_name = "EDIROL",
277 .product_name = "UM-1",
279 .type = QUIRK_MIDI_FIXED_ENDPOINT,
280 .data = & (const snd_usb_midi_endpoint_info_t) {
281 .out_cables = 0x0001,
287 USB_DEVICE(0x0582, 0x000b),
288 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
289 .vendor_name = "Roland",
290 .product_name = "SK-500",
292 .type = QUIRK_MIDI_FIXED_ENDPOINT,
293 .data = & (const snd_usb_midi_endpoint_info_t) {
294 .out_cables = 0x0013,
300 /* thanks to Emiliano Grilli <emillo@libero.it>
301 * for helping researching this data */
302 USB_DEVICE(0x0582, 0x000c),
303 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
304 .vendor_name = "Roland",
305 .product_name = "SC-D70",
306 .ifnum = QUIRK_ANY_INTERFACE,
307 .type = QUIRK_COMPOSITE,
308 .data = (const snd_usb_audio_quirk_t[]) {
311 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
312 .data = & (const struct audioformat) {
313 .format = SNDRV_PCM_FORMAT_S24_3LE,
321 .rates = SNDRV_PCM_RATE_CONTINUOUS,
328 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
329 .data = & (const struct audioformat) {
330 .format = SNDRV_PCM_FORMAT_S24_3LE,
338 .rates = SNDRV_PCM_RATE_CONTINUOUS,
345 .type = QUIRK_MIDI_FIXED_ENDPOINT,
346 .data = & (const snd_usb_midi_endpoint_info_t) {
347 .out_cables = 0x0007,
358 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
359 * If the advanced mode switch at the back of the unit is off, the
360 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
361 * but offers only 16-bit PCM.
362 * In advanced mode, the UA-5 will output S24_3LE samples (two
363 * channels) at the rate indicated on the front switch, including
364 * the 96kHz sample rate.
366 USB_DEVICE(0x0582, 0x0010),
367 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
368 .vendor_name = "EDIROL",
369 .product_name = "UA-5",
370 .ifnum = QUIRK_ANY_INTERFACE,
371 .type = QUIRK_COMPOSITE,
372 .data = (const snd_usb_audio_quirk_t[]) {
375 .type = QUIRK_AUDIO_STANDARD_INTERFACE
379 .type = QUIRK_AUDIO_STANDARD_INTERFACE
388 USB_DEVICE(0x0582, 0x0012),
389 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
390 .vendor_name = "Roland",
391 .product_name = "XV-5050",
393 .type = QUIRK_MIDI_FIXED_ENDPOINT,
394 .data = & (const snd_usb_midi_endpoint_info_t) {
395 .out_cables = 0x0001,
401 USB_DEVICE(0x0582, 0x0014),
402 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
403 .vendor_name = "EDIROL",
404 .product_name = "UM-880",
406 .type = QUIRK_MIDI_FIXED_ENDPOINT,
407 .data = & (const snd_usb_midi_endpoint_info_t) {
408 .out_cables = 0x01ff,
414 USB_DEVICE(0x0582, 0x0016),
415 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
416 .vendor_name = "EDIROL",
417 .product_name = "SD-90",
419 .type = QUIRK_MIDI_FIXED_ENDPOINT,
420 .data = & (const snd_usb_midi_endpoint_info_t) {
421 .out_cables = 0x000f,
427 USB_DEVICE(0x0582, 0x001b),
428 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
429 .vendor_name = "Roland",
430 .product_name = "MMP-2",
432 .type = QUIRK_MIDI_FIXED_ENDPOINT,
433 .data = & (const snd_usb_midi_endpoint_info_t) {
434 .out_cables = 0x0001,
440 USB_DEVICE(0x0582, 0x001d),
441 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
442 .vendor_name = "Roland",
443 .product_name = "V-SYNTH",
445 .type = QUIRK_MIDI_FIXED_ENDPOINT,
446 .data = & (const snd_usb_midi_endpoint_info_t) {
447 .out_cables = 0x0001,
453 USB_DEVICE(0x0582, 0x0023),
454 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
455 .vendor_name = "EDIROL",
456 .product_name = "UM-550",
458 .type = QUIRK_MIDI_FIXED_ENDPOINT,
459 .data = & (const snd_usb_midi_endpoint_info_t) {
460 .out_cables = 0x003f,
467 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
468 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
471 USB_DEVICE(0x0582, 0x0025),
472 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
473 .vendor_name = "EDIROL",
474 .product_name = "UA-20",
475 .ifnum = QUIRK_ANY_INTERFACE,
476 .type = QUIRK_COMPOSITE,
477 .data = (const snd_usb_audio_quirk_t[]) {
480 .type = QUIRK_AUDIO_STANDARD_INTERFACE
484 .type = QUIRK_AUDIO_STANDARD_INTERFACE
488 .type = QUIRK_MIDI_STANDARD_INTERFACE
497 USB_DEVICE(0x0582, 0x0027),
498 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
499 .vendor_name = "EDIROL",
500 .product_name = "SD-20",
502 .type = QUIRK_MIDI_FIXED_ENDPOINT,
503 .data = & (const snd_usb_midi_endpoint_info_t) {
504 .out_cables = 0x0003,
510 USB_DEVICE(0x0582, 0x0029),
511 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
512 .vendor_name = "EDIROL",
513 .product_name = "SD-80",
515 .type = QUIRK_MIDI_FIXED_ENDPOINT,
516 .data = & (const snd_usb_midi_endpoint_info_t) {
517 .out_cables = 0x000f,
523 * This quirk is for the "Advanced" modes of the Edirol UA-700.
524 * If the sample format switch is not in an advanced setting, the
525 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
526 * but offers only 16-bit PCM and no MIDI.
528 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
529 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
530 .vendor_name = "EDIROL",
531 .product_name = "UA-700",
532 .ifnum = QUIRK_ANY_INTERFACE,
533 .type = QUIRK_COMPOSITE,
534 .data = (const snd_usb_audio_quirk_t[]) {
537 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
541 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
545 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
554 USB_DEVICE(0x0582, 0x002d),
555 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
556 .vendor_name = "Roland",
557 .product_name = "XV-2020",
559 .type = QUIRK_MIDI_FIXED_ENDPOINT,
560 .data = & (const snd_usb_midi_endpoint_info_t) {
561 .out_cables = 0x0001,
567 USB_DEVICE(0x0582, 0x002f),
568 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
569 .vendor_name = "Roland",
570 .product_name = "VariOS",
572 .type = QUIRK_MIDI_FIXED_ENDPOINT,
573 .data = & (const snd_usb_midi_endpoint_info_t) {
574 .out_cables = 0x0007,
580 USB_DEVICE(0x0582, 0x0033),
581 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
582 .vendor_name = "EDIROL",
583 .product_name = "PCR",
585 .type = QUIRK_MIDI_FIXED_ENDPOINT,
586 .data = & (const snd_usb_midi_endpoint_info_t) {
587 .out_cables = 0x0003,
593 USB_DEVICE(0x0582, 0x0037),
594 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
595 .vendor_name = "Roland",
596 .product_name = "Digital Piano",
598 .type = QUIRK_MIDI_FIXED_ENDPOINT,
599 .data = & (const snd_usb_midi_endpoint_info_t) {
600 .out_cables = 0x0001,
606 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
607 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
608 .vendor_name = "BOSS",
609 .product_name = "GS-10",
611 .type = QUIRK_MIDI_FIXED_ENDPOINT,
612 .data = & (const snd_usb_midi_endpoint_info_t) {
613 .out_cables = 0x0003,
619 USB_DEVICE(0x0582, 0x0040),
620 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
621 .vendor_name = "Roland",
622 .product_name = "GI-20",
624 .type = QUIRK_MIDI_FIXED_ENDPOINT,
625 .data = & (const snd_usb_midi_endpoint_info_t) {
626 .out_cables = 0x0001,
632 USB_DEVICE(0x0582, 0x0044),
633 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
634 .vendor_name = "Roland",
635 .product_name = "UA-1000",
636 .ifnum = QUIRK_ANY_INTERFACE,
637 .type = QUIRK_COMPOSITE,
638 .data = (const snd_usb_audio_quirk_t[]) {
641 .type = QUIRK_AUDIO_EDIROL_UA1000
645 .type = QUIRK_AUDIO_EDIROL_UA1000
649 .type = QUIRK_MIDI_FIXED_ENDPOINT,
650 .data = & (const snd_usb_midi_endpoint_info_t) {
651 .out_cables = 0x0003,
662 USB_DEVICE(0x0582, 0x0048),
663 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
664 .vendor_name = "EDIROL",
665 .product_name = "UR-80",
667 .type = QUIRK_MIDI_FIXED_ENDPOINT,
668 .data = & (const snd_usb_midi_endpoint_info_t) {
669 .out_cables = 0x0003,
675 USB_DEVICE(0x0582, 0x004d),
676 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
677 .vendor_name = "EDIROL",
678 .product_name = "PCR-A",
680 .type = QUIRK_MIDI_FIXED_ENDPOINT,
681 .data = & (const snd_usb_midi_endpoint_info_t) {
682 .out_cables = 0x0003,
688 USB_DEVICE(0x0582, 0x0065),
689 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
690 .vendor_name = "EDIROL",
691 .product_name = "PCR-1",
693 .type = QUIRK_MIDI_FIXED_ENDPOINT,
694 .data = & (const snd_usb_midi_endpoint_info_t) {
695 .out_cables = 0x0001,
702 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
703 * is standard compliant, but has only 16-bit PCM.
705 USB_DEVICE(0x0582, 0x0050),
706 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
707 .vendor_name = "EDIROL",
708 .product_name = "UA-3FX",
709 .ifnum = QUIRK_ANY_INTERFACE,
710 .type = QUIRK_COMPOSITE,
711 .data = (const snd_usb_audio_quirk_t[]) {
714 .type = QUIRK_AUDIO_STANDARD_INTERFACE
718 .type = QUIRK_AUDIO_STANDARD_INTERFACE
727 USB_DEVICE(0x0582, 0x0052),
728 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
729 .vendor_name = "EDIROL",
730 .product_name = "UM-1SX",
732 .type = QUIRK_MIDI_STANDARD_INTERFACE
736 * This quirk is for the "Advanced" modes of the Edirol UA-25.
737 * If the switch is not in an advanced setting, the UA-25 has
738 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
739 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
741 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
742 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
743 .vendor_name = "EDIROL",
744 .product_name = "UA-25",
745 .ifnum = QUIRK_ANY_INTERFACE,
746 .type = QUIRK_COMPOSITE,
747 .data = (const snd_usb_audio_quirk_t[]) {
750 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
754 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
758 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
767 /* Midiman/M-Audio devices */
769 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
770 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
771 .vendor_name = "M-Audio",
772 .product_name = "MidiSport 2x2",
773 .ifnum = QUIRK_ANY_INTERFACE,
774 .type = QUIRK_MIDI_MIDIMAN,
775 .data = & (const snd_usb_midi_endpoint_info_t) {
776 .out_cables = 0x0003,
782 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
783 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
784 .vendor_name = "M-Audio",
785 .product_name = "MidiSport 1x1",
786 .ifnum = QUIRK_ANY_INTERFACE,
787 .type = QUIRK_MIDI_MIDIMAN,
788 .data = & (const snd_usb_midi_endpoint_info_t) {
789 .out_cables = 0x0001,
795 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
796 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
797 .vendor_name = "M-Audio",
798 .product_name = "Keystation",
799 .ifnum = QUIRK_ANY_INTERFACE,
800 .type = QUIRK_MIDI_MIDIMAN,
801 .data = & (const snd_usb_midi_endpoint_info_t) {
802 .out_cables = 0x0001,
808 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
809 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
810 .vendor_name = "M-Audio",
811 .product_name = "MidiSport 4x4",
812 .ifnum = QUIRK_ANY_INTERFACE,
813 .type = QUIRK_MIDI_MIDIMAN,
814 .data = & (const snd_usb_midi_endpoint_info_t) {
815 .out_cables = 0x000f,
822 * For hardware revision 1.05; in the later revisions (1.10 and
823 * 1.21), 0x1031 is the ID for the device without firmware.
824 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
826 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
827 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
828 .vendor_name = "M-Audio",
829 .product_name = "MidiSport 8x8",
830 .ifnum = QUIRK_ANY_INTERFACE,
831 .type = QUIRK_MIDI_MIDIMAN,
832 .data = & (const snd_usb_midi_endpoint_info_t) {
833 .out_cables = 0x01ff,
839 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
840 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
841 .vendor_name = "M-Audio",
842 .product_name = "MidiSport 8x8",
843 .ifnum = QUIRK_ANY_INTERFACE,
844 .type = QUIRK_MIDI_MIDIMAN,
845 .data = & (const snd_usb_midi_endpoint_info_t) {
846 .out_cables = 0x01ff,
852 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
853 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
854 .vendor_name = "M-Audio",
855 .product_name = "MidiSport 2x4",
856 .ifnum = QUIRK_ANY_INTERFACE,
857 .type = QUIRK_MIDI_MIDIMAN,
858 .data = & (const snd_usb_midi_endpoint_info_t) {
859 .out_cables = 0x000f,
865 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
866 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
867 .vendor_name = "M-Audio",
868 .product_name = "Quattro",
869 .ifnum = QUIRK_ANY_INTERFACE,
870 .type = QUIRK_COMPOSITE,
871 .data = & (const snd_usb_audio_quirk_t[]) {
873 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
874 * and share endpoints with the other interfaces.
875 * Ignore them. The other interfaces can do 24 bits,
876 * but captured samples are big-endian (see usbaudio.c).
880 .type = QUIRK_AUDIO_STANDARD_INTERFACE
884 .type = QUIRK_AUDIO_STANDARD_INTERFACE
888 .type = QUIRK_AUDIO_STANDARD_INTERFACE
892 .type = QUIRK_AUDIO_STANDARD_INTERFACE
896 .type = QUIRK_MIDI_MIDIMAN,
897 .data = & (const snd_usb_midi_endpoint_info_t) {
898 .out_cables = 0x0001,
909 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
910 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
911 .vendor_name = "M-Audio",
912 .product_name = "AudioPhile",
914 .type = QUIRK_MIDI_MIDIMAN,
915 .data = & (const snd_usb_midi_endpoint_info_t) {
916 .out_cables = 0x0001,
922 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
923 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
924 .vendor_name = "M-Audio",
925 .product_name = "Ozone",
927 .type = QUIRK_MIDI_MIDIMAN,
928 .data = & (const snd_usb_midi_endpoint_info_t) {
929 .out_cables = 0x0001,
935 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
936 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
937 .vendor_name = "M-Audio",
938 .product_name = "OmniStudio",
940 .type = QUIRK_MIDI_MIDIMAN,
941 .data = & (const snd_usb_midi_endpoint_info_t) {
942 .out_cables = 0x0001,
948 /* Mark of the Unicorn devices */
950 /* thanks to Woodley Packard <sweaglesw@thibs.menloschool.org> */
951 USB_DEVICE(0x07fd, 0x0001),
952 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
953 .vendor_name = "MOTU",
954 .product_name = "Fastlane",
956 .type = QUIRK_MIDI_FIXED_ENDPOINT,
957 .data = & (const snd_usb_midi_endpoint_info_t) {
958 .out_cables = 0x0003,
965 /* Creative Sound Blaster MP3+ */
966 USB_DEVICE(0x041e, 0x3010),
967 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
968 .vendor_name = "Creative Labs",
969 .product_name = "Sound Blaster MP3+",
970 .ifnum = QUIRK_NO_INTERFACE
976 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
977 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
978 .vendor_name = "Terratec",
979 .product_name = "PHASE 26",
981 .type = QUIRK_MIDI_STANDARD_INTERFACE
987 * Some USB MIDI devices don't have an audio control interface,
988 * so we have to grab MIDI streaming interfaces here.
990 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
991 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
992 .bInterfaceClass = USB_CLASS_AUDIO,
993 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
994 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
995 .ifnum = QUIRK_ANY_INTERFACE,
996 .type = QUIRK_MIDI_STANDARD_INTERFACE
1000 #undef USB_DEVICE_VENDOR_SPEC