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
43 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
44 * class matches do not take effect without an explicit ID match.
47 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
48 USB_DEVICE_ID_MATCH_INT_CLASS |
49 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
52 .bInterfaceClass = USB_CLASS_AUDIO,
53 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
56 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
57 USB_DEVICE_ID_MATCH_INT_CLASS |
58 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
61 .bInterfaceClass = USB_CLASS_AUDIO,
62 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
65 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
66 USB_DEVICE_ID_MATCH_INT_CLASS |
67 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
70 .bInterfaceClass = USB_CLASS_AUDIO,
71 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
74 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
75 USB_DEVICE_ID_MATCH_INT_CLASS |
76 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
79 .bInterfaceClass = USB_CLASS_AUDIO,
80 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
83 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
84 USB_DEVICE_ID_MATCH_INT_CLASS |
85 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
88 .bInterfaceClass = USB_CLASS_AUDIO,
89 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
93 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
96 .bInterfaceClass = USB_CLASS_AUDIO,
99 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
102 .bInterfaceClass = USB_CLASS_AUDIO,
109 #define YAMAHA_DEVICE(id, name) { \
110 USB_DEVICE(0x0499, id), \
111 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
112 .vendor_name = "Yamaha", \
113 .product_name = name, \
114 .ifnum = QUIRK_ANY_INTERFACE, \
115 .type = QUIRK_MIDI_YAMAHA \
118 #define YAMAHA_INTERFACE(id, intf, name) { \
119 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
120 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
121 .vendor_name = "Yamaha", \
122 .product_name = name, \
124 .type = QUIRK_MIDI_YAMAHA \
127 YAMAHA_DEVICE(0x1000, "UX256"),
128 YAMAHA_DEVICE(0x1001, "MU1000"),
129 YAMAHA_DEVICE(0x1002, "MU2000"),
130 YAMAHA_DEVICE(0x1003, "MU500"),
131 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
132 YAMAHA_DEVICE(0x1005, "MOTIF6"),
133 YAMAHA_DEVICE(0x1006, "MOTIF7"),
134 YAMAHA_DEVICE(0x1007, "MOTIF8"),
135 YAMAHA_DEVICE(0x1008, "UX96"),
136 YAMAHA_DEVICE(0x1009, "UX16"),
137 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
138 YAMAHA_DEVICE(0x100c, "UC-MX"),
139 YAMAHA_DEVICE(0x100d, "UC-KX"),
140 YAMAHA_DEVICE(0x100e, "S08"),
141 YAMAHA_DEVICE(0x100f, "CLP-150"),
142 YAMAHA_DEVICE(0x1010, "CLP-170"),
143 YAMAHA_DEVICE(0x1011, "P-250"),
144 YAMAHA_DEVICE(0x1012, "TYROS"),
145 YAMAHA_DEVICE(0x1013, "PF-500"),
146 YAMAHA_DEVICE(0x1014, "S90"),
147 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
148 YAMAHA_DEVICE(0x1016, "MDP-5"),
149 YAMAHA_DEVICE(0x1017, "CVP-204"),
150 YAMAHA_DEVICE(0x1018, "CVP-206"),
151 YAMAHA_DEVICE(0x1019, "CVP-208"),
152 YAMAHA_DEVICE(0x101a, "CVP-210"),
153 YAMAHA_DEVICE(0x101b, "PSR-1100"),
154 YAMAHA_DEVICE(0x101c, "PSR-2100"),
155 YAMAHA_DEVICE(0x101d, "CLP-175"),
156 YAMAHA_DEVICE(0x101e, "PSR-K1"),
157 YAMAHA_DEVICE(0x101f, "EZ-J24"),
158 YAMAHA_DEVICE(0x1020, "EZ-250i"),
159 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
160 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
161 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
162 YAMAHA_DEVICE(0x1024, "CVP-301"),
163 YAMAHA_DEVICE(0x1025, "CVP-303"),
164 YAMAHA_DEVICE(0x1026, "CVP-305"),
165 YAMAHA_DEVICE(0x1027, "CVP-307"),
166 YAMAHA_DEVICE(0x1028, "CVP-309"),
167 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
168 YAMAHA_DEVICE(0x102a, "PSR-1500"),
169 YAMAHA_DEVICE(0x102b, "PSR-3000"),
170 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
171 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
172 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
173 YAMAHA_DEVICE(0x1032, "DGX-305"),
174 YAMAHA_DEVICE(0x1033, "DGX-505"),
175 YAMAHA_DEVICE(0x1034, NULL),
176 YAMAHA_DEVICE(0x1035, NULL),
177 YAMAHA_DEVICE(0x1036, NULL),
178 YAMAHA_DEVICE(0x1037, NULL),
179 YAMAHA_DEVICE(0x1038, NULL),
180 YAMAHA_DEVICE(0x1039, NULL),
181 YAMAHA_DEVICE(0x103a, NULL),
182 YAMAHA_DEVICE(0x103b, NULL),
183 YAMAHA_DEVICE(0x103c, NULL),
184 YAMAHA_DEVICE(0x103d, NULL),
185 YAMAHA_DEVICE(0x103e, NULL),
186 YAMAHA_DEVICE(0x103f, NULL),
187 YAMAHA_DEVICE(0x1040, NULL),
188 YAMAHA_DEVICE(0x1041, NULL),
189 YAMAHA_DEVICE(0x1042, NULL),
190 YAMAHA_DEVICE(0x1043, NULL),
191 YAMAHA_DEVICE(0x1044, NULL),
192 YAMAHA_DEVICE(0x1045, NULL),
193 YAMAHA_DEVICE(0x2000, "DGP-7"),
194 YAMAHA_DEVICE(0x2001, "DGP-5"),
195 YAMAHA_DEVICE(0x2002, NULL),
196 YAMAHA_DEVICE(0x5000, "CS1D"),
197 YAMAHA_DEVICE(0x5001, "DSP1D"),
198 YAMAHA_DEVICE(0x5002, "DME32"),
199 YAMAHA_DEVICE(0x5003, "DM2000"),
200 YAMAHA_DEVICE(0x5004, "02R96"),
201 YAMAHA_DEVICE(0x5005, "ACU16-C"),
202 YAMAHA_DEVICE(0x5006, "NHB32-C"),
203 YAMAHA_DEVICE(0x5007, "DM1000"),
204 YAMAHA_DEVICE(0x5008, "01V96"),
205 YAMAHA_DEVICE(0x5009, "SPX2000"),
206 YAMAHA_DEVICE(0x500a, "PM5D"),
207 YAMAHA_DEVICE(0x500b, "DME64N"),
208 YAMAHA_DEVICE(0x500c, "DME24N"),
209 YAMAHA_DEVICE(0x500d, NULL),
210 YAMAHA_DEVICE(0x500e, NULL),
211 YAMAHA_DEVICE(0x500f, NULL),
212 YAMAHA_DEVICE(0x7000, "DTX"),
213 YAMAHA_DEVICE(0x7010, "UB99"),
215 #undef YAMAHA_INTERFACE
218 * Roland/RolandED/Edirol/BOSS devices
221 USB_DEVICE(0x0582, 0x0000),
222 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
223 .vendor_name = "Roland",
224 .product_name = "UA-100",
225 .ifnum = QUIRK_ANY_INTERFACE,
226 .type = QUIRK_COMPOSITE,
227 .data = (const struct snd_usb_audio_quirk[]) {
230 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
231 .data = & (const struct audioformat) {
232 .format = SNDRV_PCM_FORMAT_S16_LE,
240 .rates = SNDRV_PCM_RATE_CONTINUOUS,
247 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
248 .data = & (const struct audioformat) {
249 .format = SNDRV_PCM_FORMAT_S16_LE,
254 .attributes = EP_CS_ATTR_FILL_MAX,
257 .rates = SNDRV_PCM_RATE_CONTINUOUS,
264 .type = QUIRK_MIDI_FIXED_ENDPOINT,
265 .data = & (const struct snd_usb_midi_endpoint_info) {
266 .out_cables = 0x0007,
277 USB_DEVICE(0x0582, 0x0002),
278 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
279 .vendor_name = "EDIROL",
280 .product_name = "UM-4",
281 .ifnum = QUIRK_ANY_INTERFACE,
282 .type = QUIRK_COMPOSITE,
283 .data = (const struct snd_usb_audio_quirk[]) {
286 .type = QUIRK_IGNORE_INTERFACE
290 .type = QUIRK_IGNORE_INTERFACE
294 .type = QUIRK_MIDI_FIXED_ENDPOINT,
295 .data = & (const struct snd_usb_midi_endpoint_info) {
296 .out_cables = 0x000f,
307 USB_DEVICE(0x0582, 0x0003),
308 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
309 .vendor_name = "Roland",
310 .product_name = "SC-8850",
311 .ifnum = QUIRK_ANY_INTERFACE,
312 .type = QUIRK_COMPOSITE,
313 .data = (const struct snd_usb_audio_quirk[]) {
316 .type = QUIRK_IGNORE_INTERFACE
320 .type = QUIRK_IGNORE_INTERFACE
324 .type = QUIRK_MIDI_FIXED_ENDPOINT,
325 .data = & (const struct snd_usb_midi_endpoint_info) {
326 .out_cables = 0x003f,
337 USB_DEVICE(0x0582, 0x0004),
338 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
339 .vendor_name = "Roland",
340 .product_name = "U-8",
341 .ifnum = QUIRK_ANY_INTERFACE,
342 .type = QUIRK_COMPOSITE,
343 .data = (const struct snd_usb_audio_quirk[]) {
346 .type = QUIRK_IGNORE_INTERFACE
350 .type = QUIRK_IGNORE_INTERFACE
354 .type = QUIRK_MIDI_FIXED_ENDPOINT,
355 .data = & (const struct snd_usb_midi_endpoint_info) {
356 .out_cables = 0x0005,
367 /* Has ID 0x0099 when not in "Advanced Driver" mode.
368 * The UM-2EX has only one input, but we cannot detect this. */
369 USB_DEVICE(0x0582, 0x0005),
370 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
371 .vendor_name = "EDIROL",
372 .product_name = "UM-2",
373 .ifnum = QUIRK_ANY_INTERFACE,
374 .type = QUIRK_COMPOSITE,
375 .data = (const struct snd_usb_audio_quirk[]) {
378 .type = QUIRK_IGNORE_INTERFACE
382 .type = QUIRK_IGNORE_INTERFACE
386 .type = QUIRK_MIDI_FIXED_ENDPOINT,
387 .data = & (const struct snd_usb_midi_endpoint_info) {
388 .out_cables = 0x0003,
399 USB_DEVICE(0x0582, 0x0007),
400 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
401 .vendor_name = "Roland",
402 .product_name = "SC-8820",
403 .ifnum = QUIRK_ANY_INTERFACE,
404 .type = QUIRK_COMPOSITE,
405 .data = (const struct snd_usb_audio_quirk[]) {
408 .type = QUIRK_IGNORE_INTERFACE
412 .type = QUIRK_IGNORE_INTERFACE
416 .type = QUIRK_MIDI_FIXED_ENDPOINT,
417 .data = & (const struct snd_usb_midi_endpoint_info) {
418 .out_cables = 0x0013,
429 USB_DEVICE(0x0582, 0x0008),
430 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
431 .vendor_name = "Roland",
432 .product_name = "PC-300",
433 .ifnum = QUIRK_ANY_INTERFACE,
434 .type = QUIRK_COMPOSITE,
435 .data = (const struct snd_usb_audio_quirk[]) {
438 .type = QUIRK_IGNORE_INTERFACE
442 .type = QUIRK_IGNORE_INTERFACE
446 .type = QUIRK_MIDI_FIXED_ENDPOINT,
447 .data = & (const struct snd_usb_midi_endpoint_info) {
448 .out_cables = 0x0001,
459 /* has ID 0x009d when not in "Advanced Driver" mode */
460 USB_DEVICE(0x0582, 0x0009),
461 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
462 .vendor_name = "EDIROL",
463 .product_name = "UM-1",
464 .ifnum = QUIRK_ANY_INTERFACE,
465 .type = QUIRK_COMPOSITE,
466 .data = (const struct snd_usb_audio_quirk[]) {
469 .type = QUIRK_IGNORE_INTERFACE
473 .type = QUIRK_IGNORE_INTERFACE
477 .type = QUIRK_MIDI_FIXED_ENDPOINT,
478 .data = & (const struct snd_usb_midi_endpoint_info) {
479 .out_cables = 0x0001,
490 USB_DEVICE(0x0582, 0x000b),
491 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
492 .vendor_name = "Roland",
493 .product_name = "SK-500",
494 .ifnum = QUIRK_ANY_INTERFACE,
495 .type = QUIRK_COMPOSITE,
496 .data = (const struct snd_usb_audio_quirk[]) {
499 .type = QUIRK_IGNORE_INTERFACE
503 .type = QUIRK_IGNORE_INTERFACE
507 .type = QUIRK_MIDI_FIXED_ENDPOINT,
508 .data = & (const struct snd_usb_midi_endpoint_info) {
509 .out_cables = 0x0013,
520 /* thanks to Emiliano Grilli <emillo@libero.it>
521 * for helping researching this data */
522 USB_DEVICE(0x0582, 0x000c),
523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
524 .vendor_name = "Roland",
525 .product_name = "SC-D70",
526 .ifnum = QUIRK_ANY_INTERFACE,
527 .type = QUIRK_COMPOSITE,
528 .data = (const struct snd_usb_audio_quirk[]) {
531 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
532 .data = & (const struct audioformat) {
533 .format = SNDRV_PCM_FORMAT_S24_3LE,
541 .rates = SNDRV_PCM_RATE_CONTINUOUS,
548 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
549 .data = & (const struct audioformat) {
550 .format = SNDRV_PCM_FORMAT_S24_3LE,
558 .rates = SNDRV_PCM_RATE_CONTINUOUS,
565 .type = QUIRK_MIDI_FIXED_ENDPOINT,
566 .data = & (const struct snd_usb_midi_endpoint_info) {
567 .out_cables = 0x0007,
578 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
579 * If the advanced mode switch at the back of the unit is off, the
580 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
581 * but offers only 16-bit PCM.
582 * In advanced mode, the UA-5 will output S24_3LE samples (two
583 * channels) at the rate indicated on the front switch, including
584 * the 96kHz sample rate.
586 USB_DEVICE(0x0582, 0x0010),
587 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
588 .vendor_name = "EDIROL",
589 .product_name = "UA-5",
590 .ifnum = QUIRK_ANY_INTERFACE,
591 .type = QUIRK_COMPOSITE,
592 .data = (const struct snd_usb_audio_quirk[]) {
595 .type = QUIRK_AUDIO_STANDARD_INTERFACE
599 .type = QUIRK_AUDIO_STANDARD_INTERFACE
608 /* has ID 0x0013 when not in "Advanced Driver" mode */
609 USB_DEVICE(0x0582, 0x0012),
610 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
611 .vendor_name = "Roland",
612 .product_name = "XV-5050",
614 .type = QUIRK_MIDI_FIXED_ENDPOINT,
615 .data = & (const struct snd_usb_midi_endpoint_info) {
616 .out_cables = 0x0001,
622 /* has ID 0x0015 when not in "Advanced Driver" mode */
623 USB_DEVICE(0x0582, 0x0014),
624 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
625 .vendor_name = "EDIROL",
626 .product_name = "UM-880",
628 .type = QUIRK_MIDI_FIXED_ENDPOINT,
629 .data = & (const struct snd_usb_midi_endpoint_info) {
630 .out_cables = 0x01ff,
636 /* has ID 0x0017 when not in "Advanced Driver" mode */
637 USB_DEVICE(0x0582, 0x0016),
638 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
639 .vendor_name = "EDIROL",
640 .product_name = "SD-90",
641 .ifnum = QUIRK_ANY_INTERFACE,
642 .type = QUIRK_COMPOSITE,
643 .data = (const struct snd_usb_audio_quirk[]) {
646 .type = QUIRK_IGNORE_INTERFACE
650 .type = QUIRK_IGNORE_INTERFACE
654 .type = QUIRK_MIDI_FIXED_ENDPOINT,
655 .data = & (const struct snd_usb_midi_endpoint_info) {
656 .out_cables = 0x000f,
667 /* has ID 0x001c when not in "Advanced Driver" mode */
668 USB_DEVICE(0x0582, 0x001b),
669 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
670 .vendor_name = "Roland",
671 .product_name = "MMP-2",
672 .ifnum = QUIRK_ANY_INTERFACE,
673 .type = QUIRK_COMPOSITE,
674 .data = (const struct snd_usb_audio_quirk[]) {
677 .type = QUIRK_IGNORE_INTERFACE
681 .type = QUIRK_IGNORE_INTERFACE
685 .type = QUIRK_MIDI_FIXED_ENDPOINT,
686 .data = & (const struct snd_usb_midi_endpoint_info) {
687 .out_cables = 0x0001,
698 /* has ID 0x001e when not in "Advanced Driver" mode */
699 USB_DEVICE(0x0582, 0x001d),
700 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
701 .vendor_name = "Roland",
702 .product_name = "V-SYNTH",
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
705 .data = & (const struct snd_usb_midi_endpoint_info) {
706 .out_cables = 0x0001,
712 /* has ID 0x0024 when not in "Advanced Driver" mode */
713 USB_DEVICE(0x0582, 0x0023),
714 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
715 .vendor_name = "EDIROL",
716 .product_name = "UM-550",
718 .type = QUIRK_MIDI_FIXED_ENDPOINT,
719 .data = & (const struct snd_usb_midi_endpoint_info) {
720 .out_cables = 0x003f,
727 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
728 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
731 USB_DEVICE(0x0582, 0x0025),
732 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
733 .vendor_name = "EDIROL",
734 .product_name = "UA-20",
735 .ifnum = QUIRK_ANY_INTERFACE,
736 .type = QUIRK_COMPOSITE,
737 .data = (const struct snd_usb_audio_quirk[]) {
740 .type = QUIRK_IGNORE_INTERFACE
744 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
745 .data = & (const struct audioformat) {
746 .format = SNDRV_PCM_FORMAT_S24_3LE,
754 .rates = SNDRV_PCM_RATE_CONTINUOUS,
761 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
762 .data = & (const struct audioformat) {
763 .format = SNDRV_PCM_FORMAT_S24_3LE,
771 .rates = SNDRV_PCM_RATE_CONTINUOUS,
778 .type = QUIRK_MIDI_FIXED_ENDPOINT,
779 .data = & (const struct snd_usb_midi_endpoint_info) {
780 .out_cables = 0x0001,
791 /* has ID 0x0028 when not in "Advanced Driver" mode */
792 USB_DEVICE(0x0582, 0x0027),
793 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
794 .vendor_name = "EDIROL",
795 .product_name = "SD-20",
797 .type = QUIRK_MIDI_FIXED_ENDPOINT,
798 .data = & (const struct snd_usb_midi_endpoint_info) {
799 .out_cables = 0x0003,
805 /* has ID 0x002a when not in "Advanced Driver" mode */
806 USB_DEVICE(0x0582, 0x0029),
807 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
808 .vendor_name = "EDIROL",
809 .product_name = "SD-80",
811 .type = QUIRK_MIDI_FIXED_ENDPOINT,
812 .data = & (const struct snd_usb_midi_endpoint_info) {
813 .out_cables = 0x000f,
819 * This quirk is for the "Advanced" modes of the Edirol UA-700.
820 * If the sample format switch is not in an advanced setting, the
821 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
822 * but offers only 16-bit PCM and no MIDI.
824 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
825 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
826 .vendor_name = "EDIROL",
827 .product_name = "UA-700",
828 .ifnum = QUIRK_ANY_INTERFACE,
829 .type = QUIRK_COMPOSITE,
830 .data = (const struct snd_usb_audio_quirk[]) {
833 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
837 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
841 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
850 /* has ID 0x002e when not in "Advanced Driver" mode */
851 USB_DEVICE(0x0582, 0x002d),
852 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
853 .vendor_name = "Roland",
854 .product_name = "XV-2020",
856 .type = QUIRK_MIDI_FIXED_ENDPOINT,
857 .data = & (const struct snd_usb_midi_endpoint_info) {
858 .out_cables = 0x0001,
864 /* has ID 0x0030 when not in "Advanced Driver" mode */
865 USB_DEVICE(0x0582, 0x002f),
866 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
867 .vendor_name = "Roland",
868 .product_name = "VariOS",
870 .type = QUIRK_MIDI_FIXED_ENDPOINT,
871 .data = & (const struct snd_usb_midi_endpoint_info) {
872 .out_cables = 0x0007,
878 /* has ID 0x0034 when not in "Advanced Driver" mode */
879 USB_DEVICE(0x0582, 0x0033),
880 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
881 .vendor_name = "EDIROL",
882 .product_name = "PCR",
884 .type = QUIRK_MIDI_FIXED_ENDPOINT,
885 .data = & (const struct snd_usb_midi_endpoint_info) {
886 .out_cables = 0x0003,
891 /* TODO: add Roland M-1000 support */
894 * Has ID 0x0038 when not in "Advanced Driver" mode;
895 * later revisions use IDs 0x0054 and 0x00a2.
897 USB_DEVICE(0x0582, 0x0037),
898 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
899 .vendor_name = "Roland",
900 .product_name = "Digital Piano",
902 .type = QUIRK_MIDI_FIXED_ENDPOINT,
903 .data = & (const struct snd_usb_midi_endpoint_info) {
904 .out_cables = 0x0001,
911 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
912 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
915 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
916 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
917 .vendor_name = "BOSS",
918 .product_name = "GS-10",
919 .ifnum = QUIRK_ANY_INTERFACE,
920 .type = QUIRK_COMPOSITE,
921 .data = & (const struct snd_usb_audio_quirk[]) {
924 .type = QUIRK_AUDIO_STANDARD_INTERFACE
928 .type = QUIRK_AUDIO_STANDARD_INTERFACE
932 .type = QUIRK_MIDI_STANDARD_INTERFACE
941 /* has ID 0x0041 when not in "Advanced Driver" mode */
942 USB_DEVICE(0x0582, 0x0040),
943 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
944 .vendor_name = "Roland",
945 .product_name = "GI-20",
947 .type = QUIRK_MIDI_FIXED_ENDPOINT,
948 .data = & (const struct snd_usb_midi_endpoint_info) {
949 .out_cables = 0x0001,
955 /* has ID 0x0043 when not in "Advanced Driver" mode */
956 USB_DEVICE(0x0582, 0x0042),
957 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
958 .vendor_name = "Roland",
959 .product_name = "RS-70",
961 .type = QUIRK_MIDI_FIXED_ENDPOINT,
962 .data = & (const struct snd_usb_midi_endpoint_info) {
963 .out_cables = 0x0001,
969 USB_DEVICE(0x0582, 0x0044),
970 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
971 .vendor_name = "Roland",
972 .product_name = "UA-1000",
973 .ifnum = QUIRK_ANY_INTERFACE,
974 .type = QUIRK_COMPOSITE,
975 .data = (const struct snd_usb_audio_quirk[]) {
978 .type = QUIRK_AUDIO_EDIROL_UA1000
982 .type = QUIRK_AUDIO_EDIROL_UA1000
986 .type = QUIRK_MIDI_FIXED_ENDPOINT,
987 .data = & (const struct snd_usb_midi_endpoint_info) {
988 .out_cables = 0x0003,
999 /* has ID 0x004a when not in "Advanced Driver" mode */
1000 USB_DEVICE(0x0582, 0x0048),
1001 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1002 .vendor_name = "EDIROL",
1003 .product_name = "UR-80",
1005 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1006 .data = & (const struct snd_usb_midi_endpoint_info) {
1007 .out_cables = 0x0003,
1012 /* TODO: add Edirol M-100FX support */
1014 /* has ID 0x004e when not in "Advanced Driver" mode */
1015 USB_DEVICE(0x0582, 0x004c),
1016 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1017 .vendor_name = "EDIROL",
1018 .product_name = "PCR-A",
1019 .ifnum = QUIRK_ANY_INTERFACE,
1020 .type = QUIRK_COMPOSITE,
1021 .data = (const struct snd_usb_audio_quirk[]) {
1024 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1028 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1037 /* has ID 0x004f when not in "Advanced Driver" mode */
1038 USB_DEVICE(0x0582, 0x004d),
1039 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1040 .vendor_name = "EDIROL",
1041 .product_name = "PCR-A",
1043 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1044 .data = & (const struct snd_usb_midi_endpoint_info) {
1045 .out_cables = 0x0003,
1052 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1053 * is standard compliant, but has only 16-bit PCM.
1055 USB_DEVICE(0x0582, 0x0050),
1056 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1057 .vendor_name = "EDIROL",
1058 .product_name = "UA-3FX",
1059 .ifnum = QUIRK_ANY_INTERFACE,
1060 .type = QUIRK_COMPOSITE,
1061 .data = (const struct snd_usb_audio_quirk[]) {
1064 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1068 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1077 USB_DEVICE(0x0582, 0x0052),
1078 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1079 .vendor_name = "EDIROL",
1080 .product_name = "UM-1SX",
1082 .type = QUIRK_MIDI_STANDARD_INTERFACE
1086 USB_DEVICE(0x0582, 0x0060),
1087 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1088 .vendor_name = "Roland",
1089 .product_name = "EXR Series",
1091 .type = QUIRK_MIDI_STANDARD_INTERFACE
1095 /* has ID 0x0067 when not in "Advanced Driver" mode */
1096 USB_DEVICE(0x0582, 0x0065),
1097 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1098 .vendor_name = "EDIROL",
1099 .product_name = "PCR-1",
1101 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1102 .data = & (const struct snd_usb_midi_endpoint_info) {
1103 .out_cables = 0x0001,
1109 /* has ID 0x006b when not in "Advanced Driver" mode */
1110 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1111 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1112 .vendor_name = "Roland",
1113 .product_name = "SP-606",
1115 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1116 .data = & (const struct snd_usb_midi_endpoint_info) {
1117 .out_cables = 0x0001,
1123 /* has ID 0x006e when not in "Advanced Driver" mode */
1124 USB_DEVICE(0x0582, 0x006d),
1125 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1126 .vendor_name = "Roland",
1127 .product_name = "FANTOM-X",
1129 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1130 .data = & (const struct snd_usb_midi_endpoint_info) {
1131 .out_cables = 0x0001,
1137 USB_DEVICE(0x582, 0x00a6),
1138 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1139 .vendor_name = "Roland",
1140 .product_name = "Juno-G",
1142 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1143 .data = & (const struct snd_usb_midi_endpoint_info) {
1144 .out_cables = 0x0001,
1150 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1151 * If the switch is not in an advanced setting, the UA-25 has
1152 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1153 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1155 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1157 .vendor_name = "EDIROL",
1158 .product_name = "UA-25",
1159 .ifnum = QUIRK_ANY_INTERFACE,
1160 .type = QUIRK_COMPOSITE,
1161 .data = (const struct snd_usb_audio_quirk[]) {
1164 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1168 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1172 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1181 /* has ID 0x0076 when not in "Advanced Driver" mode */
1182 USB_DEVICE(0x0582, 0x0075),
1183 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1184 .vendor_name = "BOSS",
1185 .product_name = "DR-880",
1187 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1188 .data = & (const struct snd_usb_midi_endpoint_info) {
1189 .out_cables = 0x0001,
1195 /* has ID 0x007b when not in "Advanced Driver" mode */
1196 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1197 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1198 .vendor_name = "Roland",
1199 /* "RD" or "RD-700SX"? */
1201 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1202 .data = & (const struct snd_usb_midi_endpoint_info) {
1203 .out_cables = 0x0003,
1208 /* Roland UA-101 in High-Speed Mode only */
1210 USB_DEVICE(0x0582, 0x007d),
1211 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1212 .vendor_name = "Roland",
1213 .product_name = "UA-101",
1214 .ifnum = QUIRK_ANY_INTERFACE,
1215 .type = QUIRK_COMPOSITE,
1216 .data = (const struct snd_usb_audio_quirk[]) {
1219 .type = QUIRK_AUDIO_EDIROL_UA101
1223 .type = QUIRK_AUDIO_EDIROL_UA101
1227 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1228 .data = & (const struct snd_usb_midi_endpoint_info) {
1229 .out_cables = 0x0001,
1240 /* has ID 0x0081 when not in "Advanced Driver" mode */
1241 USB_DEVICE(0x0582, 0x0080),
1242 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1243 .vendor_name = "Roland",
1244 .product_name = "G-70",
1246 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1247 .data = & (const struct snd_usb_midi_endpoint_info) {
1248 .out_cables = 0x0001,
1253 /* TODO: add Roland V-SYNTH XT support */
1254 /* TODO: add BOSS GT-PRO support */
1256 /* has ID 0x008c when not in "Advanced Driver" mode */
1257 USB_DEVICE(0x0582, 0x008b),
1258 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1259 .vendor_name = "EDIROL",
1260 .product_name = "PC-50",
1262 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1263 .data = & (const struct snd_usb_midi_endpoint_info) {
1264 .out_cables = 0x0001,
1269 /* TODO: add Edirol PC-80 support */
1271 USB_DEVICE(0x0582, 0x0096),
1272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1273 .vendor_name = "EDIROL",
1274 .product_name = "UA-1EX",
1275 .ifnum = QUIRK_ANY_INTERFACE,
1276 .type = QUIRK_COMPOSITE,
1277 .data = (const struct snd_usb_audio_quirk[]) {
1280 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1284 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1293 USB_DEVICE(0x0582, 0x009a),
1294 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1295 .vendor_name = "EDIROL",
1296 .product_name = "UM-3EX",
1298 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1299 .data = & (const struct snd_usb_midi_endpoint_info) {
1300 .out_cables = 0x000f,
1305 /* TODO: add Edirol MD-P1 support */
1308 USB_DEVICE(0x0582, 0x00ad),
1309 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1310 .vendor_name = "Roland",
1311 .product_name = "SH-201",
1312 .ifnum = QUIRK_ANY_INTERFACE,
1313 .type = QUIRK_COMPOSITE,
1314 .data = (const struct snd_usb_audio_quirk[]) {
1317 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1321 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1325 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1326 .data = & (const struct snd_usb_midi_endpoint_info) {
1327 .out_cables = 0x0001,
1338 /* Guillemot devices */
1341 * This is for the "Windows Edition" where the external MIDI ports are
1342 * the only MIDI ports; the control data is reported through HID
1343 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1344 * compliant USB MIDI ports for external MIDI and controls.
1346 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1347 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1348 .vendor_name = "Hercules",
1349 .product_name = "DJ Console (WE)",
1351 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1352 .data = & (const struct snd_usb_midi_endpoint_info) {
1353 .out_cables = 0x0001,
1359 /* Midiman/M-Audio devices */
1361 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1362 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1363 .vendor_name = "M-Audio",
1364 .product_name = "MidiSport 2x2",
1365 .ifnum = QUIRK_ANY_INTERFACE,
1366 .type = QUIRK_MIDI_MIDIMAN,
1367 .data = & (const struct snd_usb_midi_endpoint_info) {
1368 .out_cables = 0x0003,
1374 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1375 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1376 .vendor_name = "M-Audio",
1377 .product_name = "MidiSport 1x1",
1378 .ifnum = QUIRK_ANY_INTERFACE,
1379 .type = QUIRK_MIDI_MIDIMAN,
1380 .data = & (const struct snd_usb_midi_endpoint_info) {
1381 .out_cables = 0x0001,
1387 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1388 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1389 .vendor_name = "M-Audio",
1390 .product_name = "Keystation",
1391 .ifnum = QUIRK_ANY_INTERFACE,
1392 .type = QUIRK_MIDI_MIDIMAN,
1393 .data = & (const struct snd_usb_midi_endpoint_info) {
1394 .out_cables = 0x0001,
1400 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1401 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1402 .vendor_name = "M-Audio",
1403 .product_name = "MidiSport 4x4",
1404 .ifnum = QUIRK_ANY_INTERFACE,
1405 .type = QUIRK_MIDI_MIDIMAN,
1406 .data = & (const struct snd_usb_midi_endpoint_info) {
1407 .out_cables = 0x000f,
1414 * For hardware revision 1.05; in the later revisions (1.10 and
1415 * 1.21), 0x1031 is the ID for the device without firmware.
1416 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1418 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1419 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1420 .vendor_name = "M-Audio",
1421 .product_name = "MidiSport 8x8",
1422 .ifnum = QUIRK_ANY_INTERFACE,
1423 .type = QUIRK_MIDI_MIDIMAN,
1424 .data = & (const struct snd_usb_midi_endpoint_info) {
1425 .out_cables = 0x01ff,
1431 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1432 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1433 .vendor_name = "M-Audio",
1434 .product_name = "MidiSport 8x8",
1435 .ifnum = QUIRK_ANY_INTERFACE,
1436 .type = QUIRK_MIDI_MIDIMAN,
1437 .data = & (const struct snd_usb_midi_endpoint_info) {
1438 .out_cables = 0x01ff,
1444 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1445 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1446 .vendor_name = "M-Audio",
1447 .product_name = "MidiSport 2x4",
1448 .ifnum = QUIRK_ANY_INTERFACE,
1449 .type = QUIRK_MIDI_MIDIMAN,
1450 .data = & (const struct snd_usb_midi_endpoint_info) {
1451 .out_cables = 0x000f,
1457 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1458 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1459 .vendor_name = "M-Audio",
1460 .product_name = "Quattro",
1461 .ifnum = QUIRK_ANY_INTERFACE,
1462 .type = QUIRK_COMPOSITE,
1463 .data = & (const struct snd_usb_audio_quirk[]) {
1465 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1466 * and share endpoints with the other interfaces.
1467 * Ignore them. The other interfaces can do 24 bits,
1468 * but captured samples are big-endian (see usbaudio.c).
1472 .type = QUIRK_IGNORE_INTERFACE
1476 .type = QUIRK_IGNORE_INTERFACE
1480 .type = QUIRK_IGNORE_INTERFACE
1484 .type = QUIRK_IGNORE_INTERFACE
1488 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1492 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1496 .type = QUIRK_IGNORE_INTERFACE
1500 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1504 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1508 .type = QUIRK_MIDI_MIDIMAN,
1509 .data = & (const struct snd_usb_midi_endpoint_info) {
1510 .out_cables = 0x0001,
1521 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1522 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1523 .vendor_name = "M-Audio",
1524 .product_name = "AudioPhile",
1526 .type = QUIRK_MIDI_MIDIMAN,
1527 .data = & (const struct snd_usb_midi_endpoint_info) {
1528 .out_cables = 0x0001,
1534 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1535 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1536 .vendor_name = "M-Audio",
1537 .product_name = "Ozone",
1539 .type = QUIRK_MIDI_MIDIMAN,
1540 .data = & (const struct snd_usb_midi_endpoint_info) {
1541 .out_cables = 0x0001,
1547 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1548 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1549 .vendor_name = "M-Audio",
1550 .product_name = "OmniStudio",
1551 .ifnum = QUIRK_ANY_INTERFACE,
1552 .type = QUIRK_COMPOSITE,
1553 .data = & (const struct snd_usb_audio_quirk[]) {
1556 .type = QUIRK_IGNORE_INTERFACE
1560 .type = QUIRK_IGNORE_INTERFACE
1564 .type = QUIRK_IGNORE_INTERFACE
1568 .type = QUIRK_IGNORE_INTERFACE
1572 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1576 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1580 .type = QUIRK_IGNORE_INTERFACE
1584 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1588 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1592 .type = QUIRK_MIDI_MIDIMAN,
1593 .data = & (const struct snd_usb_midi_endpoint_info) {
1594 .out_cables = 0x0001,
1605 USB_DEVICE(0x0763, 0x2019),
1606 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1607 /* .vendor_name = "M-Audio", */
1608 /* .product_name = "Ozone Academic", */
1609 .ifnum = QUIRK_ANY_INTERFACE,
1610 .type = QUIRK_COMPOSITE,
1611 .data = & (const struct snd_usb_audio_quirk[]) {
1614 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1618 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1622 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1626 .type = QUIRK_MIDI_MIDIMAN,
1627 .data = & (const struct snd_usb_midi_endpoint_info) {
1628 .out_cables = 0x0001,
1641 USB_DEVICE(0x07cf, 0x6801),
1642 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1643 .vendor_name = "Casio",
1644 .product_name = "PL-40R",
1646 .type = QUIRK_MIDI_YAMAHA
1650 /* this ID is used by several devices without a product ID */
1651 USB_DEVICE(0x07cf, 0x6802),
1652 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1653 .vendor_name = "Casio",
1654 .product_name = "Keyboard",
1656 .type = QUIRK_MIDI_YAMAHA
1660 /* Mark of the Unicorn devices */
1662 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1663 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1664 USB_DEVICE_ID_MATCH_PRODUCT |
1665 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1667 .idProduct = 0x0001,
1668 .bDeviceSubClass = 2,
1669 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1670 .vendor_name = "MOTU",
1671 .product_name = "Fastlane",
1672 .ifnum = QUIRK_ANY_INTERFACE,
1673 .type = QUIRK_COMPOSITE,
1674 .data = & (const struct snd_usb_audio_quirk[]) {
1677 .type = QUIRK_MIDI_RAW
1681 .type = QUIRK_IGNORE_INTERFACE
1691 /* Creative Sound Blaster MP3+ */
1692 USB_DEVICE(0x041e, 0x3010),
1693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1694 .vendor_name = "Creative Labs",
1695 .product_name = "Sound Blaster MP3+",
1696 .ifnum = QUIRK_NO_INTERFACE
1701 /* Emagic devices */
1703 USB_DEVICE(0x086a, 0x0001),
1704 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1705 .vendor_name = "Emagic",
1706 /* .product_name = "Unitor8", */
1708 .type = QUIRK_MIDI_EMAGIC,
1709 .data = & (const struct snd_usb_midi_endpoint_info) {
1710 .out_cables = 0x80ff,
1716 USB_DEVICE(0x086a, 0x0002),
1717 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1718 .vendor_name = "Emagic",
1719 /* .product_name = "AMT8", */
1721 .type = QUIRK_MIDI_EMAGIC,
1722 .data = & (const struct snd_usb_midi_endpoint_info) {
1723 .out_cables = 0x80ff,
1729 USB_DEVICE(0x086a, 0x0003),
1730 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1731 .vendor_name = "Emagic",
1732 /* .product_name = "MT4", */
1734 .type = QUIRK_MIDI_EMAGIC,
1735 .data = & (const struct snd_usb_midi_endpoint_info) {
1736 .out_cables = 0x800f,
1742 /* TerraTec devices */
1744 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
1745 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1746 .vendor_name = "TerraTec",
1747 .product_name = "PHASE 26",
1749 .type = QUIRK_MIDI_STANDARD_INTERFACE
1753 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1754 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1755 .vendor_name = "TerraTec",
1756 .product_name = "PHASE 26",
1758 .type = QUIRK_MIDI_STANDARD_INTERFACE
1762 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1763 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1764 .vendor_name = "TerraTec",
1765 .product_name = "PHASE 26",
1767 .type = QUIRK_MIDI_STANDARD_INTERFACE
1771 USB_DEVICE(0x0ccd, 0x0035),
1772 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1773 .vendor_name = "Miditech",
1774 .product_name = "Play'n Roll",
1776 .type = QUIRK_MIDI_CME
1780 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1782 USB_DEVICE(0x103d, 0x0100),
1783 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1784 .vendor_name = "Stanton",
1785 .product_name = "ScratchAmp",
1786 .ifnum = QUIRK_NO_INTERFACE
1790 USB_DEVICE(0x103d, 0x0101),
1791 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1792 .vendor_name = "Stanton",
1793 .product_name = "ScratchAmp",
1794 .ifnum = QUIRK_NO_INTERFACE
1798 /* Novation EMS devices */
1800 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1801 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1802 .vendor_name = "Novation",
1803 .product_name = "ReMOTE Audio/XStation",
1805 .type = QUIRK_MIDI_NOVATION
1809 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1810 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1811 .vendor_name = "Novation",
1812 .product_name = "Speedio",
1814 .type = QUIRK_MIDI_NOVATION
1818 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1819 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1820 .vendor_name = "Novation",
1821 .product_name = "ReMOTE25",
1823 .type = QUIRK_MIDI_NOVATION
1829 /* aka. Serato Scratch Live DJ Box */
1830 USB_DEVICE(0x13e5, 0x0001),
1831 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1832 .vendor_name = "Rane",
1833 .product_name = "SL-1",
1834 .ifnum = QUIRK_NO_INTERFACE
1838 /* Miditech devices */
1840 USB_DEVICE(0x4752, 0x0011),
1841 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1842 .vendor_name = "Miditech",
1843 .product_name = "Midistart-2",
1845 .type = QUIRK_MIDI_CME
1849 /* Central Music devices */
1851 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
1852 USB_DEVICE(0x7104, 0x2202),
1853 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1855 .type = QUIRK_MIDI_CME
1861 * Some USB MIDI devices don't have an audio control interface,
1862 * so we have to grab MIDI streaming interfaces here.
1864 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1865 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1866 .bInterfaceClass = USB_CLASS_AUDIO,
1867 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
1868 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1869 .ifnum = QUIRK_ANY_INTERFACE,
1870 .type = QUIRK_MIDI_STANDARD_INTERFACE
1874 #undef USB_DEVICE_VENDOR_SPEC