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
42 /* Creative/E-Mu devices */
44 USB_DEVICE(0x041e, 0x3010),
45 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
46 .vendor_name = "Creative Labs",
47 .product_name = "Sound Blaster MP3+",
48 .ifnum = QUIRK_NO_INTERFACE
53 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
56 .bInterfaceClass = USB_CLASS_AUDIO,
60 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
63 .bInterfaceClass = USB_CLASS_AUDIO,
67 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
68 * class matches do not take effect without an explicit ID match.
71 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
72 USB_DEVICE_ID_MATCH_INT_CLASS |
73 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
76 .bInterfaceClass = USB_CLASS_AUDIO,
77 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
80 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
81 USB_DEVICE_ID_MATCH_INT_CLASS |
82 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
85 .bInterfaceClass = USB_CLASS_AUDIO,
86 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
89 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
90 USB_DEVICE_ID_MATCH_INT_CLASS |
91 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
94 .bInterfaceClass = USB_CLASS_AUDIO,
95 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
98 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
99 USB_DEVICE_ID_MATCH_INT_CLASS |
100 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
103 .bInterfaceClass = USB_CLASS_AUDIO,
104 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
107 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
108 USB_DEVICE_ID_MATCH_INT_CLASS |
109 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
112 .bInterfaceClass = USB_CLASS_AUDIO,
113 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
116 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
117 USB_DEVICE_ID_MATCH_INT_CLASS |
118 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
121 .bInterfaceClass = USB_CLASS_AUDIO,
122 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
129 #define YAMAHA_DEVICE(id, name) { \
130 USB_DEVICE(0x0499, id), \
131 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
132 .vendor_name = "Yamaha", \
133 .product_name = name, \
134 .ifnum = QUIRK_ANY_INTERFACE, \
135 .type = QUIRK_MIDI_YAMAHA \
138 #define YAMAHA_INTERFACE(id, intf, name) { \
139 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
140 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
141 .vendor_name = "Yamaha", \
142 .product_name = name, \
144 .type = QUIRK_MIDI_YAMAHA \
147 YAMAHA_DEVICE(0x1000, "UX256"),
148 YAMAHA_DEVICE(0x1001, "MU1000"),
149 YAMAHA_DEVICE(0x1002, "MU2000"),
150 YAMAHA_DEVICE(0x1003, "MU500"),
151 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
152 YAMAHA_DEVICE(0x1005, "MOTIF6"),
153 YAMAHA_DEVICE(0x1006, "MOTIF7"),
154 YAMAHA_DEVICE(0x1007, "MOTIF8"),
155 YAMAHA_DEVICE(0x1008, "UX96"),
156 YAMAHA_DEVICE(0x1009, "UX16"),
157 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
158 YAMAHA_DEVICE(0x100c, "UC-MX"),
159 YAMAHA_DEVICE(0x100d, "UC-KX"),
160 YAMAHA_DEVICE(0x100e, "S08"),
161 YAMAHA_DEVICE(0x100f, "CLP-150"),
162 YAMAHA_DEVICE(0x1010, "CLP-170"),
163 YAMAHA_DEVICE(0x1011, "P-250"),
164 YAMAHA_DEVICE(0x1012, "TYROS"),
165 YAMAHA_DEVICE(0x1013, "PF-500"),
166 YAMAHA_DEVICE(0x1014, "S90"),
167 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
168 YAMAHA_DEVICE(0x1016, "MDP-5"),
169 YAMAHA_DEVICE(0x1017, "CVP-204"),
170 YAMAHA_DEVICE(0x1018, "CVP-206"),
171 YAMAHA_DEVICE(0x1019, "CVP-208"),
172 YAMAHA_DEVICE(0x101a, "CVP-210"),
173 YAMAHA_DEVICE(0x101b, "PSR-1100"),
174 YAMAHA_DEVICE(0x101c, "PSR-2100"),
175 YAMAHA_DEVICE(0x101d, "CLP-175"),
176 YAMAHA_DEVICE(0x101e, "PSR-K1"),
177 YAMAHA_DEVICE(0x101f, "EZ-J24"),
178 YAMAHA_DEVICE(0x1020, "EZ-250i"),
179 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
180 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
181 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
182 YAMAHA_DEVICE(0x1024, "CVP-301"),
183 YAMAHA_DEVICE(0x1025, "CVP-303"),
184 YAMAHA_DEVICE(0x1026, "CVP-305"),
185 YAMAHA_DEVICE(0x1027, "CVP-307"),
186 YAMAHA_DEVICE(0x1028, "CVP-309"),
187 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
188 YAMAHA_DEVICE(0x102a, "PSR-1500"),
189 YAMAHA_DEVICE(0x102b, "PSR-3000"),
190 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
191 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
192 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
193 YAMAHA_DEVICE(0x1032, "DGX-305"),
194 YAMAHA_DEVICE(0x1033, "DGX-505"),
195 YAMAHA_DEVICE(0x1034, NULL),
196 YAMAHA_DEVICE(0x1035, NULL),
197 YAMAHA_DEVICE(0x1036, NULL),
198 YAMAHA_DEVICE(0x1037, NULL),
199 YAMAHA_DEVICE(0x1038, NULL),
200 YAMAHA_DEVICE(0x1039, NULL),
201 YAMAHA_DEVICE(0x103a, NULL),
202 YAMAHA_DEVICE(0x103b, NULL),
203 YAMAHA_DEVICE(0x103c, NULL),
204 YAMAHA_DEVICE(0x103d, NULL),
205 YAMAHA_DEVICE(0x103e, NULL),
206 YAMAHA_DEVICE(0x103f, NULL),
207 YAMAHA_DEVICE(0x1040, NULL),
208 YAMAHA_DEVICE(0x1041, NULL),
209 YAMAHA_DEVICE(0x1042, NULL),
210 YAMAHA_DEVICE(0x1043, NULL),
211 YAMAHA_DEVICE(0x1044, NULL),
212 YAMAHA_DEVICE(0x1045, NULL),
213 YAMAHA_DEVICE(0x104e, "KX49"),
214 YAMAHA_DEVICE(0x2000, "DGP-7"),
215 YAMAHA_DEVICE(0x2001, "DGP-5"),
216 YAMAHA_DEVICE(0x2002, NULL),
217 YAMAHA_DEVICE(0x5000, "CS1D"),
218 YAMAHA_DEVICE(0x5001, "DSP1D"),
219 YAMAHA_DEVICE(0x5002, "DME32"),
220 YAMAHA_DEVICE(0x5003, "DM2000"),
221 YAMAHA_DEVICE(0x5004, "02R96"),
222 YAMAHA_DEVICE(0x5005, "ACU16-C"),
223 YAMAHA_DEVICE(0x5006, "NHB32-C"),
224 YAMAHA_DEVICE(0x5007, "DM1000"),
225 YAMAHA_DEVICE(0x5008, "01V96"),
226 YAMAHA_DEVICE(0x5009, "SPX2000"),
227 YAMAHA_DEVICE(0x500a, "PM5D"),
228 YAMAHA_DEVICE(0x500b, "DME64N"),
229 YAMAHA_DEVICE(0x500c, "DME24N"),
230 YAMAHA_DEVICE(0x500d, NULL),
231 YAMAHA_DEVICE(0x500e, NULL),
232 YAMAHA_DEVICE(0x500f, NULL),
233 YAMAHA_DEVICE(0x7000, "DTX"),
234 YAMAHA_DEVICE(0x7010, "UB99"),
236 #undef YAMAHA_INTERFACE
239 * Roland/RolandED/Edirol/BOSS devices
242 USB_DEVICE(0x0582, 0x0000),
243 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
244 .vendor_name = "Roland",
245 .product_name = "UA-100",
246 .ifnum = QUIRK_ANY_INTERFACE,
247 .type = QUIRK_COMPOSITE,
248 .data = (const struct snd_usb_audio_quirk[]) {
251 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
252 .data = & (const struct audioformat) {
253 .format = SNDRV_PCM_FORMAT_S16_LE,
261 .rates = SNDRV_PCM_RATE_CONTINUOUS,
268 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
269 .data = & (const struct audioformat) {
270 .format = SNDRV_PCM_FORMAT_S16_LE,
275 .attributes = EP_CS_ATTR_FILL_MAX,
278 .rates = SNDRV_PCM_RATE_CONTINUOUS,
285 .type = QUIRK_MIDI_FIXED_ENDPOINT,
286 .data = & (const struct snd_usb_midi_endpoint_info) {
287 .out_cables = 0x0007,
298 USB_DEVICE(0x0582, 0x0002),
299 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
300 .vendor_name = "EDIROL",
301 .product_name = "UM-4",
302 .ifnum = QUIRK_ANY_INTERFACE,
303 .type = QUIRK_COMPOSITE,
304 .data = (const struct snd_usb_audio_quirk[]) {
307 .type = QUIRK_IGNORE_INTERFACE
311 .type = QUIRK_IGNORE_INTERFACE
315 .type = QUIRK_MIDI_FIXED_ENDPOINT,
316 .data = & (const struct snd_usb_midi_endpoint_info) {
317 .out_cables = 0x000f,
328 USB_DEVICE(0x0582, 0x0003),
329 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
330 .vendor_name = "Roland",
331 .product_name = "SC-8850",
332 .ifnum = QUIRK_ANY_INTERFACE,
333 .type = QUIRK_COMPOSITE,
334 .data = (const struct snd_usb_audio_quirk[]) {
337 .type = QUIRK_IGNORE_INTERFACE
341 .type = QUIRK_IGNORE_INTERFACE
345 .type = QUIRK_MIDI_FIXED_ENDPOINT,
346 .data = & (const struct snd_usb_midi_endpoint_info) {
347 .out_cables = 0x003f,
358 USB_DEVICE(0x0582, 0x0004),
359 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
360 .vendor_name = "Roland",
361 .product_name = "U-8",
362 .ifnum = QUIRK_ANY_INTERFACE,
363 .type = QUIRK_COMPOSITE,
364 .data = (const struct snd_usb_audio_quirk[]) {
367 .type = QUIRK_IGNORE_INTERFACE
371 .type = QUIRK_IGNORE_INTERFACE
375 .type = QUIRK_MIDI_FIXED_ENDPOINT,
376 .data = & (const struct snd_usb_midi_endpoint_info) {
377 .out_cables = 0x0005,
388 /* Has ID 0x0099 when not in "Advanced Driver" mode.
389 * The UM-2EX has only one input, but we cannot detect this. */
390 USB_DEVICE(0x0582, 0x0005),
391 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
392 .vendor_name = "EDIROL",
393 .product_name = "UM-2",
394 .ifnum = QUIRK_ANY_INTERFACE,
395 .type = QUIRK_COMPOSITE,
396 .data = (const struct snd_usb_audio_quirk[]) {
399 .type = QUIRK_IGNORE_INTERFACE
403 .type = QUIRK_IGNORE_INTERFACE
407 .type = QUIRK_MIDI_FIXED_ENDPOINT,
408 .data = & (const struct snd_usb_midi_endpoint_info) {
409 .out_cables = 0x0003,
420 USB_DEVICE(0x0582, 0x0007),
421 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
422 .vendor_name = "Roland",
423 .product_name = "SC-8820",
424 .ifnum = QUIRK_ANY_INTERFACE,
425 .type = QUIRK_COMPOSITE,
426 .data = (const struct snd_usb_audio_quirk[]) {
429 .type = QUIRK_IGNORE_INTERFACE
433 .type = QUIRK_IGNORE_INTERFACE
437 .type = QUIRK_MIDI_FIXED_ENDPOINT,
438 .data = & (const struct snd_usb_midi_endpoint_info) {
439 .out_cables = 0x0013,
450 USB_DEVICE(0x0582, 0x0008),
451 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
452 .vendor_name = "Roland",
453 .product_name = "PC-300",
454 .ifnum = QUIRK_ANY_INTERFACE,
455 .type = QUIRK_COMPOSITE,
456 .data = (const struct snd_usb_audio_quirk[]) {
459 .type = QUIRK_IGNORE_INTERFACE
463 .type = QUIRK_IGNORE_INTERFACE
467 .type = QUIRK_MIDI_FIXED_ENDPOINT,
468 .data = & (const struct snd_usb_midi_endpoint_info) {
469 .out_cables = 0x0001,
480 /* has ID 0x009d when not in "Advanced Driver" mode */
481 USB_DEVICE(0x0582, 0x0009),
482 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
483 .vendor_name = "EDIROL",
484 .product_name = "UM-1",
485 .ifnum = QUIRK_ANY_INTERFACE,
486 .type = QUIRK_COMPOSITE,
487 .data = (const struct snd_usb_audio_quirk[]) {
490 .type = QUIRK_IGNORE_INTERFACE
494 .type = QUIRK_IGNORE_INTERFACE
498 .type = QUIRK_MIDI_FIXED_ENDPOINT,
499 .data = & (const struct snd_usb_midi_endpoint_info) {
500 .out_cables = 0x0001,
511 USB_DEVICE(0x0582, 0x000b),
512 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
513 .vendor_name = "Roland",
514 .product_name = "SK-500",
515 .ifnum = QUIRK_ANY_INTERFACE,
516 .type = QUIRK_COMPOSITE,
517 .data = (const struct snd_usb_audio_quirk[]) {
520 .type = QUIRK_IGNORE_INTERFACE
524 .type = QUIRK_IGNORE_INTERFACE
528 .type = QUIRK_MIDI_FIXED_ENDPOINT,
529 .data = & (const struct snd_usb_midi_endpoint_info) {
530 .out_cables = 0x0013,
541 /* thanks to Emiliano Grilli <emillo@libero.it>
542 * for helping researching this data */
543 USB_DEVICE(0x0582, 0x000c),
544 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
545 .vendor_name = "Roland",
546 .product_name = "SC-D70",
547 .ifnum = QUIRK_ANY_INTERFACE,
548 .type = QUIRK_COMPOSITE,
549 .data = (const struct snd_usb_audio_quirk[]) {
552 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
553 .data = & (const struct audioformat) {
554 .format = SNDRV_PCM_FORMAT_S24_3LE,
562 .rates = SNDRV_PCM_RATE_CONTINUOUS,
569 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
570 .data = & (const struct audioformat) {
571 .format = SNDRV_PCM_FORMAT_S24_3LE,
579 .rates = SNDRV_PCM_RATE_CONTINUOUS,
586 .type = QUIRK_MIDI_FIXED_ENDPOINT,
587 .data = & (const struct snd_usb_midi_endpoint_info) {
588 .out_cables = 0x0007,
599 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
600 * If the advanced mode switch at the back of the unit is off, the
601 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
602 * but offers only 16-bit PCM.
603 * In advanced mode, the UA-5 will output S24_3LE samples (two
604 * channels) at the rate indicated on the front switch, including
605 * the 96kHz sample rate.
607 USB_DEVICE(0x0582, 0x0010),
608 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
609 .vendor_name = "EDIROL",
610 .product_name = "UA-5",
611 .ifnum = QUIRK_ANY_INTERFACE,
612 .type = QUIRK_COMPOSITE,
613 .data = (const struct snd_usb_audio_quirk[]) {
616 .type = QUIRK_AUDIO_STANDARD_INTERFACE
620 .type = QUIRK_AUDIO_STANDARD_INTERFACE
629 /* has ID 0x0013 when not in "Advanced Driver" mode */
630 USB_DEVICE(0x0582, 0x0012),
631 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
632 .vendor_name = "Roland",
633 .product_name = "XV-5050",
635 .type = QUIRK_MIDI_FIXED_ENDPOINT,
636 .data = & (const struct snd_usb_midi_endpoint_info) {
637 .out_cables = 0x0001,
643 /* has ID 0x0015 when not in "Advanced Driver" mode */
644 USB_DEVICE(0x0582, 0x0014),
645 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
646 .vendor_name = "EDIROL",
647 .product_name = "UM-880",
649 .type = QUIRK_MIDI_FIXED_ENDPOINT,
650 .data = & (const struct snd_usb_midi_endpoint_info) {
651 .out_cables = 0x01ff,
657 /* has ID 0x0017 when not in "Advanced Driver" mode */
658 USB_DEVICE(0x0582, 0x0016),
659 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
660 .vendor_name = "EDIROL",
661 .product_name = "SD-90",
662 .ifnum = QUIRK_ANY_INTERFACE,
663 .type = QUIRK_COMPOSITE,
664 .data = (const struct snd_usb_audio_quirk[]) {
667 .type = QUIRK_IGNORE_INTERFACE
671 .type = QUIRK_IGNORE_INTERFACE
675 .type = QUIRK_MIDI_FIXED_ENDPOINT,
676 .data = & (const struct snd_usb_midi_endpoint_info) {
677 .out_cables = 0x000f,
688 /* has ID 0x001c when not in "Advanced Driver" mode */
689 USB_DEVICE(0x0582, 0x001b),
690 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
691 .vendor_name = "Roland",
692 .product_name = "MMP-2",
693 .ifnum = QUIRK_ANY_INTERFACE,
694 .type = QUIRK_COMPOSITE,
695 .data = (const struct snd_usb_audio_quirk[]) {
698 .type = QUIRK_IGNORE_INTERFACE
702 .type = QUIRK_IGNORE_INTERFACE
706 .type = QUIRK_MIDI_FIXED_ENDPOINT,
707 .data = & (const struct snd_usb_midi_endpoint_info) {
708 .out_cables = 0x0001,
719 /* has ID 0x001e when not in "Advanced Driver" mode */
720 USB_DEVICE(0x0582, 0x001d),
721 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
722 .vendor_name = "Roland",
723 .product_name = "V-SYNTH",
725 .type = QUIRK_MIDI_FIXED_ENDPOINT,
726 .data = & (const struct snd_usb_midi_endpoint_info) {
727 .out_cables = 0x0001,
733 /* has ID 0x0024 when not in "Advanced Driver" mode */
734 USB_DEVICE(0x0582, 0x0023),
735 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
736 .vendor_name = "EDIROL",
737 .product_name = "UM-550",
739 .type = QUIRK_MIDI_FIXED_ENDPOINT,
740 .data = & (const struct snd_usb_midi_endpoint_info) {
741 .out_cables = 0x003f,
748 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
749 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
752 USB_DEVICE(0x0582, 0x0025),
753 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
754 .vendor_name = "EDIROL",
755 .product_name = "UA-20",
756 .ifnum = QUIRK_ANY_INTERFACE,
757 .type = QUIRK_COMPOSITE,
758 .data = (const struct snd_usb_audio_quirk[]) {
761 .type = QUIRK_IGNORE_INTERFACE
765 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
766 .data = & (const struct audioformat) {
767 .format = SNDRV_PCM_FORMAT_S24_3LE,
775 .rates = SNDRV_PCM_RATE_CONTINUOUS,
782 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
783 .data = & (const struct audioformat) {
784 .format = SNDRV_PCM_FORMAT_S24_3LE,
792 .rates = SNDRV_PCM_RATE_CONTINUOUS,
799 .type = QUIRK_MIDI_FIXED_ENDPOINT,
800 .data = & (const struct snd_usb_midi_endpoint_info) {
801 .out_cables = 0x0001,
812 /* has ID 0x0028 when not in "Advanced Driver" mode */
813 USB_DEVICE(0x0582, 0x0027),
814 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
815 .vendor_name = "EDIROL",
816 .product_name = "SD-20",
818 .type = QUIRK_MIDI_FIXED_ENDPOINT,
819 .data = & (const struct snd_usb_midi_endpoint_info) {
820 .out_cables = 0x0003,
826 /* has ID 0x002a when not in "Advanced Driver" mode */
827 USB_DEVICE(0x0582, 0x0029),
828 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
829 .vendor_name = "EDIROL",
830 .product_name = "SD-80",
832 .type = QUIRK_MIDI_FIXED_ENDPOINT,
833 .data = & (const struct snd_usb_midi_endpoint_info) {
834 .out_cables = 0x000f,
840 * This quirk is for the "Advanced" modes of the Edirol UA-700.
841 * If the sample format switch is not in an advanced setting, the
842 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
843 * but offers only 16-bit PCM and no MIDI.
845 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
846 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
847 .vendor_name = "EDIROL",
848 .product_name = "UA-700",
849 .ifnum = QUIRK_ANY_INTERFACE,
850 .type = QUIRK_COMPOSITE,
851 .data = (const struct snd_usb_audio_quirk[]) {
854 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
858 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
862 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
871 /* has ID 0x002e when not in "Advanced Driver" mode */
872 USB_DEVICE(0x0582, 0x002d),
873 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
874 .vendor_name = "Roland",
875 .product_name = "XV-2020",
877 .type = QUIRK_MIDI_FIXED_ENDPOINT,
878 .data = & (const struct snd_usb_midi_endpoint_info) {
879 .out_cables = 0x0001,
885 /* has ID 0x0030 when not in "Advanced Driver" mode */
886 USB_DEVICE(0x0582, 0x002f),
887 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
888 .vendor_name = "Roland",
889 .product_name = "VariOS",
891 .type = QUIRK_MIDI_FIXED_ENDPOINT,
892 .data = & (const struct snd_usb_midi_endpoint_info) {
893 .out_cables = 0x0007,
899 /* has ID 0x0034 when not in "Advanced Driver" mode */
900 USB_DEVICE(0x0582, 0x0033),
901 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
902 .vendor_name = "EDIROL",
903 .product_name = "PCR",
905 .type = QUIRK_MIDI_FIXED_ENDPOINT,
906 .data = & (const struct snd_usb_midi_endpoint_info) {
907 .out_cables = 0x0003,
912 /* TODO: add Roland M-1000 support */
915 * Has ID 0x0038 when not in "Advanced Driver" mode;
916 * later revisions use IDs 0x0054 and 0x00a2.
918 USB_DEVICE(0x0582, 0x0037),
919 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
920 .vendor_name = "Roland",
921 .product_name = "Digital Piano",
923 .type = QUIRK_MIDI_FIXED_ENDPOINT,
924 .data = & (const struct snd_usb_midi_endpoint_info) {
925 .out_cables = 0x0001,
932 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
933 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
936 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
937 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
938 .vendor_name = "BOSS",
939 .product_name = "GS-10",
940 .ifnum = QUIRK_ANY_INTERFACE,
941 .type = QUIRK_COMPOSITE,
942 .data = & (const struct snd_usb_audio_quirk[]) {
945 .type = QUIRK_AUDIO_STANDARD_INTERFACE
949 .type = QUIRK_AUDIO_STANDARD_INTERFACE
953 .type = QUIRK_MIDI_STANDARD_INTERFACE
962 /* has ID 0x0041 when not in "Advanced Driver" mode */
963 USB_DEVICE(0x0582, 0x0040),
964 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
965 .vendor_name = "Roland",
966 .product_name = "GI-20",
968 .type = QUIRK_MIDI_FIXED_ENDPOINT,
969 .data = & (const struct snd_usb_midi_endpoint_info) {
970 .out_cables = 0x0001,
976 /* has ID 0x0043 when not in "Advanced Driver" mode */
977 USB_DEVICE(0x0582, 0x0042),
978 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
979 .vendor_name = "Roland",
980 .product_name = "RS-70",
982 .type = QUIRK_MIDI_FIXED_ENDPOINT,
983 .data = & (const struct snd_usb_midi_endpoint_info) {
984 .out_cables = 0x0001,
990 USB_DEVICE(0x0582, 0x0044),
991 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
992 .vendor_name = "Roland",
993 .product_name = "UA-1000",
994 .ifnum = QUIRK_ANY_INTERFACE,
995 .type = QUIRK_COMPOSITE,
996 .data = (const struct snd_usb_audio_quirk[]) {
999 .type = QUIRK_AUDIO_EDIROL_UA1000
1003 .type = QUIRK_AUDIO_EDIROL_UA1000
1007 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1008 .data = & (const struct snd_usb_midi_endpoint_info) {
1009 .out_cables = 0x0003,
1020 /* has ID 0x0049 when not in "Advanced Driver" mode */
1021 USB_DEVICE(0x0582, 0x0047),
1022 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1023 /* .vendor_name = "EDIROL", */
1024 /* .product_name = "UR-80", */
1025 .ifnum = QUIRK_ANY_INTERFACE,
1026 .type = QUIRK_COMPOSITE,
1027 .data = (const struct snd_usb_audio_quirk[]) {
1028 /* in the 96 kHz modes, only interface 1 is there */
1031 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1035 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1044 /* has ID 0x004a when not in "Advanced Driver" mode */
1045 USB_DEVICE(0x0582, 0x0048),
1046 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1047 /* .vendor_name = "EDIROL", */
1048 /* .product_name = "UR-80", */
1050 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1051 .data = & (const struct snd_usb_midi_endpoint_info) {
1052 .out_cables = 0x0003,
1057 /* TODO: add Edirol M-100FX support */
1059 /* has ID 0x004e when not in "Advanced Driver" mode */
1060 USB_DEVICE(0x0582, 0x004c),
1061 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1062 .vendor_name = "EDIROL",
1063 .product_name = "PCR-A",
1064 .ifnum = QUIRK_ANY_INTERFACE,
1065 .type = QUIRK_COMPOSITE,
1066 .data = (const struct snd_usb_audio_quirk[]) {
1069 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1073 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1082 /* has ID 0x004f when not in "Advanced Driver" mode */
1083 USB_DEVICE(0x0582, 0x004d),
1084 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1085 .vendor_name = "EDIROL",
1086 .product_name = "PCR-A",
1088 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1089 .data = & (const struct snd_usb_midi_endpoint_info) {
1090 .out_cables = 0x0003,
1097 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1098 * is standard compliant, but has only 16-bit PCM.
1100 USB_DEVICE(0x0582, 0x0050),
1101 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1102 .vendor_name = "EDIROL",
1103 .product_name = "UA-3FX",
1104 .ifnum = QUIRK_ANY_INTERFACE,
1105 .type = QUIRK_COMPOSITE,
1106 .data = (const struct snd_usb_audio_quirk[]) {
1109 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1113 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1122 USB_DEVICE(0x0582, 0x0052),
1123 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1124 .vendor_name = "EDIROL",
1125 .product_name = "UM-1SX",
1127 .type = QUIRK_MIDI_STANDARD_INTERFACE
1131 USB_DEVICE(0x0582, 0x0060),
1132 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1133 .vendor_name = "Roland",
1134 .product_name = "EXR Series",
1136 .type = QUIRK_MIDI_STANDARD_INTERFACE
1140 /* has ID 0x0067 when not in "Advanced Driver" mode */
1141 USB_DEVICE(0x0582, 0x0065),
1142 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1143 .vendor_name = "EDIROL",
1144 .product_name = "PCR-1",
1146 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1147 .data = & (const struct snd_usb_midi_endpoint_info) {
1148 .out_cables = 0x0001,
1154 /* has ID 0x006b when not in "Advanced Driver" mode */
1155 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1157 .vendor_name = "Roland",
1158 .product_name = "SP-606",
1160 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1161 .data = & (const struct snd_usb_midi_endpoint_info) {
1162 .out_cables = 0x0001,
1168 /* has ID 0x006e when not in "Advanced Driver" mode */
1169 USB_DEVICE(0x0582, 0x006d),
1170 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1171 .vendor_name = "Roland",
1172 .product_name = "FANTOM-X",
1174 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1175 .data = & (const struct snd_usb_midi_endpoint_info) {
1176 .out_cables = 0x0001,
1182 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1183 * If the switch is not in an advanced setting, the UA-25 has
1184 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1185 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1187 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1188 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1189 .vendor_name = "EDIROL",
1190 .product_name = "UA-25",
1191 .ifnum = QUIRK_ANY_INTERFACE,
1192 .type = QUIRK_COMPOSITE,
1193 .data = (const struct snd_usb_audio_quirk[]) {
1196 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1200 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1204 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1213 /* has ID 0x0076 when not in "Advanced Driver" mode */
1214 USB_DEVICE(0x0582, 0x0075),
1215 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1216 .vendor_name = "BOSS",
1217 .product_name = "DR-880",
1219 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1220 .data = & (const struct snd_usb_midi_endpoint_info) {
1221 .out_cables = 0x0001,
1227 /* has ID 0x007b when not in "Advanced Driver" mode */
1228 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1229 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1230 .vendor_name = "Roland",
1231 /* "RD" or "RD-700SX"? */
1233 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1234 .data = & (const struct snd_usb_midi_endpoint_info) {
1235 .out_cables = 0x0003,
1240 /* Roland UA-101 in High-Speed Mode only */
1242 USB_DEVICE(0x0582, 0x007d),
1243 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1244 .vendor_name = "Roland",
1245 .product_name = "UA-101",
1246 .ifnum = QUIRK_ANY_INTERFACE,
1247 .type = QUIRK_COMPOSITE,
1248 .data = (const struct snd_usb_audio_quirk[]) {
1251 .type = QUIRK_AUDIO_EDIROL_UA101
1255 .type = QUIRK_AUDIO_EDIROL_UA101
1259 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1260 .data = & (const struct snd_usb_midi_endpoint_info) {
1261 .out_cables = 0x0001,
1272 /* has ID 0x0081 when not in "Advanced Driver" mode */
1273 USB_DEVICE(0x0582, 0x0080),
1274 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1275 .vendor_name = "Roland",
1276 .product_name = "G-70",
1278 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1279 .data = & (const struct snd_usb_midi_endpoint_info) {
1280 .out_cables = 0x0001,
1285 /* TODO: add Roland V-SYNTH XT support */
1286 /* TODO: add BOSS GT-PRO support */
1288 /* has ID 0x008c when not in "Advanced Driver" mode */
1289 USB_DEVICE(0x0582, 0x008b),
1290 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1291 .vendor_name = "EDIROL",
1292 .product_name = "PC-50",
1294 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1295 .data = & (const struct snd_usb_midi_endpoint_info) {
1296 .out_cables = 0x0001,
1301 /* TODO: add Edirol PC-80 support */
1303 USB_DEVICE(0x0582, 0x0096),
1304 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1305 .vendor_name = "EDIROL",
1306 .product_name = "UA-1EX",
1307 .ifnum = QUIRK_ANY_INTERFACE,
1308 .type = QUIRK_COMPOSITE,
1309 .data = (const struct snd_usb_audio_quirk[]) {
1312 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1316 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1325 USB_DEVICE(0x0582, 0x009a),
1326 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1327 .vendor_name = "EDIROL",
1328 .product_name = "UM-3EX",
1330 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1331 .data = & (const struct snd_usb_midi_endpoint_info) {
1332 .out_cables = 0x000f,
1337 /* TODO: add Edirol MD-P1 support */
1339 USB_DEVICE(0x582, 0x00a6),
1340 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1341 .vendor_name = "Roland",
1342 .product_name = "Juno-G",
1344 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1345 .data = & (const struct snd_usb_midi_endpoint_info) {
1346 .out_cables = 0x0001,
1353 USB_DEVICE(0x0582, 0x00ad),
1354 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1355 .vendor_name = "Roland",
1356 .product_name = "SH-201",
1357 .ifnum = QUIRK_ANY_INTERFACE,
1358 .type = QUIRK_COMPOSITE,
1359 .data = (const struct snd_usb_audio_quirk[]) {
1362 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1366 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1370 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1371 .data = & (const struct snd_usb_midi_endpoint_info) {
1372 .out_cables = 0x0001,
1384 /* Roland SonicCell */
1385 USB_DEVICE(0x0582, 0x00c2),
1386 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1387 .vendor_name = "Roland",
1388 .product_name = "SonicCell",
1389 .ifnum = QUIRK_ANY_INTERFACE,
1390 .type = QUIRK_COMPOSITE,
1391 .data = (const struct snd_usb_audio_quirk[]) {
1394 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1398 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1402 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1403 .data = & (const struct snd_usb_midi_endpoint_info) {
1404 .out_cables = 0x0001,
1416 /* Guillemot devices */
1419 * This is for the "Windows Edition" where the external MIDI ports are
1420 * the only MIDI ports; the control data is reported through HID
1421 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1422 * compliant USB MIDI ports for external MIDI and controls.
1424 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1425 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1426 .vendor_name = "Hercules",
1427 .product_name = "DJ Console (WE)",
1429 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1430 .data = & (const struct snd_usb_midi_endpoint_info) {
1431 .out_cables = 0x0001,
1437 /* Midiman/M-Audio devices */
1439 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1440 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1441 .vendor_name = "M-Audio",
1442 .product_name = "MidiSport 2x2",
1443 .ifnum = QUIRK_ANY_INTERFACE,
1444 .type = QUIRK_MIDI_MIDIMAN,
1445 .data = & (const struct snd_usb_midi_endpoint_info) {
1446 .out_cables = 0x0003,
1452 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1453 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1454 .vendor_name = "M-Audio",
1455 .product_name = "MidiSport 1x1",
1456 .ifnum = QUIRK_ANY_INTERFACE,
1457 .type = QUIRK_MIDI_MIDIMAN,
1458 .data = & (const struct snd_usb_midi_endpoint_info) {
1459 .out_cables = 0x0001,
1465 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1466 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1467 .vendor_name = "M-Audio",
1468 .product_name = "Keystation",
1469 .ifnum = QUIRK_ANY_INTERFACE,
1470 .type = QUIRK_MIDI_MIDIMAN,
1471 .data = & (const struct snd_usb_midi_endpoint_info) {
1472 .out_cables = 0x0001,
1478 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1479 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1480 .vendor_name = "M-Audio",
1481 .product_name = "MidiSport 4x4",
1482 .ifnum = QUIRK_ANY_INTERFACE,
1483 .type = QUIRK_MIDI_MIDIMAN,
1484 .data = & (const struct snd_usb_midi_endpoint_info) {
1485 .out_cables = 0x000f,
1492 * For hardware revision 1.05; in the later revisions (1.10 and
1493 * 1.21), 0x1031 is the ID for the device without firmware.
1494 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1496 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1497 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1498 .vendor_name = "M-Audio",
1499 .product_name = "MidiSport 8x8",
1500 .ifnum = QUIRK_ANY_INTERFACE,
1501 .type = QUIRK_MIDI_MIDIMAN,
1502 .data = & (const struct snd_usb_midi_endpoint_info) {
1503 .out_cables = 0x01ff,
1509 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1510 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1511 .vendor_name = "M-Audio",
1512 .product_name = "MidiSport 8x8",
1513 .ifnum = QUIRK_ANY_INTERFACE,
1514 .type = QUIRK_MIDI_MIDIMAN,
1515 .data = & (const struct snd_usb_midi_endpoint_info) {
1516 .out_cables = 0x01ff,
1522 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1524 .vendor_name = "M-Audio",
1525 .product_name = "MidiSport 2x4",
1526 .ifnum = QUIRK_ANY_INTERFACE,
1527 .type = QUIRK_MIDI_MIDIMAN,
1528 .data = & (const struct snd_usb_midi_endpoint_info) {
1529 .out_cables = 0x000f,
1535 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1536 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1537 .vendor_name = "M-Audio",
1538 .product_name = "Quattro",
1539 .ifnum = QUIRK_ANY_INTERFACE,
1540 .type = QUIRK_COMPOSITE,
1541 .data = & (const struct snd_usb_audio_quirk[]) {
1543 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1544 * and share endpoints with the other interfaces.
1545 * Ignore them. The other interfaces can do 24 bits,
1546 * but captured samples are big-endian (see usbaudio.c).
1550 .type = QUIRK_IGNORE_INTERFACE
1554 .type = QUIRK_IGNORE_INTERFACE
1558 .type = QUIRK_IGNORE_INTERFACE
1562 .type = QUIRK_IGNORE_INTERFACE
1566 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1570 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1574 .type = QUIRK_IGNORE_INTERFACE
1578 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1582 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1586 .type = QUIRK_MIDI_MIDIMAN,
1587 .data = & (const struct snd_usb_midi_endpoint_info) {
1588 .out_cables = 0x0001,
1599 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1600 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1601 .vendor_name = "M-Audio",
1602 .product_name = "AudioPhile",
1604 .type = QUIRK_MIDI_MIDIMAN,
1605 .data = & (const struct snd_usb_midi_endpoint_info) {
1606 .out_cables = 0x0001,
1612 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1613 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1614 .vendor_name = "M-Audio",
1615 .product_name = "Ozone",
1617 .type = QUIRK_MIDI_MIDIMAN,
1618 .data = & (const struct snd_usb_midi_endpoint_info) {
1619 .out_cables = 0x0001,
1625 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1626 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1627 .vendor_name = "M-Audio",
1628 .product_name = "OmniStudio",
1629 .ifnum = QUIRK_ANY_INTERFACE,
1630 .type = QUIRK_COMPOSITE,
1631 .data = & (const struct snd_usb_audio_quirk[]) {
1634 .type = QUIRK_IGNORE_INTERFACE
1638 .type = QUIRK_IGNORE_INTERFACE
1642 .type = QUIRK_IGNORE_INTERFACE
1646 .type = QUIRK_IGNORE_INTERFACE
1650 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1654 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1658 .type = QUIRK_IGNORE_INTERFACE
1662 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1666 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1670 .type = QUIRK_MIDI_MIDIMAN,
1671 .data = & (const struct snd_usb_midi_endpoint_info) {
1672 .out_cables = 0x0001,
1683 USB_DEVICE(0x0763, 0x2019),
1684 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1685 /* .vendor_name = "M-Audio", */
1686 /* .product_name = "Ozone Academic", */
1687 .ifnum = QUIRK_ANY_INTERFACE,
1688 .type = QUIRK_COMPOSITE,
1689 .data = & (const struct snd_usb_audio_quirk[]) {
1692 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1696 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1700 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1704 .type = QUIRK_MIDI_MIDIMAN,
1705 .data = & (const struct snd_usb_midi_endpoint_info) {
1706 .out_cables = 0x0001,
1719 USB_DEVICE(0x07cf, 0x6801),
1720 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1721 .vendor_name = "Casio",
1722 .product_name = "PL-40R",
1724 .type = QUIRK_MIDI_YAMAHA
1728 /* this ID is used by several devices without a product ID */
1729 USB_DEVICE(0x07cf, 0x6802),
1730 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1731 .vendor_name = "Casio",
1732 .product_name = "Keyboard",
1734 .type = QUIRK_MIDI_YAMAHA
1738 /* Mark of the Unicorn devices */
1740 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1741 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1742 USB_DEVICE_ID_MATCH_PRODUCT |
1743 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1745 .idProduct = 0x0001,
1746 .bDeviceSubClass = 2,
1747 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1748 .vendor_name = "MOTU",
1749 .product_name = "Fastlane",
1750 .ifnum = QUIRK_ANY_INTERFACE,
1751 .type = QUIRK_COMPOSITE,
1752 .data = & (const struct snd_usb_audio_quirk[]) {
1755 .type = QUIRK_MIDI_RAW
1759 .type = QUIRK_IGNORE_INTERFACE
1768 /* Emagic devices */
1770 USB_DEVICE(0x086a, 0x0001),
1771 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1772 .vendor_name = "Emagic",
1773 /* .product_name = "Unitor8", */
1775 .type = QUIRK_MIDI_EMAGIC,
1776 .data = & (const struct snd_usb_midi_endpoint_info) {
1777 .out_cables = 0x80ff,
1783 USB_DEVICE(0x086a, 0x0002),
1784 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1785 .vendor_name = "Emagic",
1786 /* .product_name = "AMT8", */
1788 .type = QUIRK_MIDI_EMAGIC,
1789 .data = & (const struct snd_usb_midi_endpoint_info) {
1790 .out_cables = 0x80ff,
1796 USB_DEVICE(0x086a, 0x0003),
1797 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1798 .vendor_name = "Emagic",
1799 /* .product_name = "MT4", */
1801 .type = QUIRK_MIDI_EMAGIC,
1802 .data = & (const struct snd_usb_midi_endpoint_info) {
1803 .out_cables = 0x800f,
1809 /* TerraTec devices */
1811 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
1812 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1813 .vendor_name = "TerraTec",
1814 .product_name = "PHASE 26",
1816 .type = QUIRK_MIDI_STANDARD_INTERFACE
1820 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1821 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1822 .vendor_name = "TerraTec",
1823 .product_name = "PHASE 26",
1825 .type = QUIRK_MIDI_STANDARD_INTERFACE
1829 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1830 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1831 .vendor_name = "TerraTec",
1832 .product_name = "PHASE 26",
1834 .type = QUIRK_MIDI_STANDARD_INTERFACE
1838 USB_DEVICE(0x0ccd, 0x0035),
1839 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1840 .vendor_name = "Miditech",
1841 .product_name = "Play'n Roll",
1843 .type = QUIRK_MIDI_CME
1847 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1849 USB_DEVICE(0x103d, 0x0100),
1850 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1851 .vendor_name = "Stanton",
1852 .product_name = "ScratchAmp",
1853 .ifnum = QUIRK_NO_INTERFACE
1857 USB_DEVICE(0x103d, 0x0101),
1858 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1859 .vendor_name = "Stanton",
1860 .product_name = "ScratchAmp",
1861 .ifnum = QUIRK_NO_INTERFACE
1865 /* Novation EMS devices */
1867 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1868 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1869 .vendor_name = "Novation",
1870 .product_name = "ReMOTE Audio/XStation",
1872 .type = QUIRK_MIDI_NOVATION
1876 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1877 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1878 .vendor_name = "Novation",
1879 .product_name = "Speedio",
1881 .type = QUIRK_MIDI_NOVATION
1885 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1886 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1887 .vendor_name = "Novation",
1888 .product_name = "ReMOTE25",
1890 .type = QUIRK_MIDI_NOVATION
1896 /* aka. Serato Scratch Live DJ Box */
1897 USB_DEVICE(0x13e5, 0x0001),
1898 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1899 .vendor_name = "Rane",
1900 .product_name = "SL-1",
1901 .ifnum = QUIRK_NO_INTERFACE
1905 /* Miditech devices */
1907 USB_DEVICE(0x4752, 0x0011),
1908 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1909 .vendor_name = "Miditech",
1910 .product_name = "Midistart-2",
1912 .type = QUIRK_MIDI_CME
1916 /* Central Music devices */
1918 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
1919 USB_DEVICE(0x7104, 0x2202),
1920 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1922 .type = QUIRK_MIDI_CME
1928 * Some USB MIDI devices don't have an audio control interface,
1929 * so we have to grab MIDI streaming interfaces here.
1931 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1932 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1933 .bInterfaceClass = USB_CLASS_AUDIO,
1934 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
1935 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1936 .ifnum = QUIRK_ANY_INTERFACE,
1937 .type = QUIRK_MIDI_STANDARD_INTERFACE
1941 #undef USB_DEVICE_VENDOR_SPEC