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 struct snd_usb_audio_quirk) { \
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 struct snd_usb_audio_quirk) { \
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(0x100c, "UC-MX"),
76 YAMAHA_DEVICE(0x100d, "UC-KX"),
77 YAMAHA_DEVICE(0x100e, "S08"),
78 YAMAHA_DEVICE(0x100f, "CLP-150"),
79 YAMAHA_DEVICE(0x1010, "CLP-170"),
80 YAMAHA_DEVICE(0x1011, "P-250"),
81 YAMAHA_DEVICE(0x1012, "TYROS"),
82 YAMAHA_DEVICE(0x1013, "PF-500"),
83 YAMAHA_DEVICE(0x1014, "S90"),
84 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
85 YAMAHA_DEVICE(0x1017, "CVP-204"),
86 YAMAHA_DEVICE(0x1018, "CVP-206"),
87 YAMAHA_DEVICE(0x1019, "CVP-208"),
88 YAMAHA_DEVICE(0x101a, "CVP-210"),
89 YAMAHA_DEVICE(0x101b, "PSR-1100"),
90 YAMAHA_DEVICE(0x101c, "PSR-2100"),
91 YAMAHA_DEVICE(0x101d, "CLP-175"),
92 YAMAHA_DEVICE(0x101e, "PSR-K1"),
93 YAMAHA_DEVICE(0x1020, "EZ-250i"),
94 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
95 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
96 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
97 YAMAHA_DEVICE(0x1024, "CVP-301"),
98 YAMAHA_DEVICE(0x1025, "CVP-303"),
99 YAMAHA_DEVICE(0x1026, "CVP-305"),
100 YAMAHA_DEVICE(0x1027, "CVP-307"),
101 YAMAHA_DEVICE(0x1028, "CVP-309"),
102 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
103 YAMAHA_DEVICE(0x102a, "PSR-1500"),
104 YAMAHA_DEVICE(0x102b, "PSR-3000"),
105 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
106 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
107 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
108 YAMAHA_DEVICE(0x1032, "DGX-305"),
109 YAMAHA_DEVICE(0x1033, "DGX-505"),
110 YAMAHA_DEVICE(0x1034, NULL),
111 YAMAHA_DEVICE(0x1035, NULL),
112 YAMAHA_DEVICE(0x1036, NULL),
113 YAMAHA_DEVICE(0x1037, NULL),
114 YAMAHA_DEVICE(0x1038, NULL),
115 YAMAHA_DEVICE(0x1039, NULL),
116 YAMAHA_DEVICE(0x103a, NULL),
117 YAMAHA_DEVICE(0x103b, NULL),
118 YAMAHA_DEVICE(0x103c, NULL),
119 YAMAHA_DEVICE(0x103d, NULL),
120 YAMAHA_DEVICE(0x103e, NULL),
121 YAMAHA_DEVICE(0x103f, NULL),
122 YAMAHA_DEVICE(0x1040, NULL),
123 YAMAHA_DEVICE(0x1041, NULL),
124 YAMAHA_DEVICE(0x2000, "DGP-7"),
125 YAMAHA_DEVICE(0x2001, "DGP-5"),
126 YAMAHA_DEVICE(0x2002, NULL),
127 YAMAHA_DEVICE(0x5000, "CS1D"),
128 YAMAHA_DEVICE(0x5001, "DSP1D"),
129 YAMAHA_DEVICE(0x5002, "DME32"),
130 YAMAHA_DEVICE(0x5003, "DM2000"),
131 YAMAHA_DEVICE(0x5004, "02R96"),
132 YAMAHA_DEVICE(0x5005, "ACU16-C"),
133 YAMAHA_DEVICE(0x5006, "NHB32-C"),
134 YAMAHA_DEVICE(0x5007, "DM1000"),
135 YAMAHA_DEVICE(0x5008, "01V96"),
136 YAMAHA_DEVICE(0x5009, "SPX2000"),
137 YAMAHA_DEVICE(0x500a, "PM5D"),
138 YAMAHA_DEVICE(0x500b, "DME64N"),
139 YAMAHA_DEVICE(0x500c, "DME24N"),
140 YAMAHA_DEVICE(0x500d, NULL),
141 YAMAHA_DEVICE(0x500e, NULL),
142 YAMAHA_DEVICE(0x7000, "DTX"),
143 YAMAHA_DEVICE(0x7010, "UB99"),
145 #undef YAMAHA_INTERFACE
148 * Roland/RolandED/Edirol/BOSS devices
151 USB_DEVICE(0x0582, 0x0000),
152 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
153 .vendor_name = "Roland",
154 .product_name = "UA-100",
155 .ifnum = QUIRK_ANY_INTERFACE,
156 .type = QUIRK_COMPOSITE,
157 .data = (const struct snd_usb_audio_quirk[]) {
160 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
161 .data = & (const struct audioformat) {
162 .format = SNDRV_PCM_FORMAT_S16_LE,
170 .rates = SNDRV_PCM_RATE_CONTINUOUS,
177 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
178 .data = & (const struct audioformat) {
179 .format = SNDRV_PCM_FORMAT_S16_LE,
184 .attributes = EP_CS_ATTR_FILL_MAX,
187 .rates = SNDRV_PCM_RATE_CONTINUOUS,
194 .type = QUIRK_MIDI_FIXED_ENDPOINT,
195 .data = & (const struct snd_usb_midi_endpoint_info) {
196 .out_cables = 0x0007,
207 USB_DEVICE(0x0582, 0x0002),
208 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
209 .vendor_name = "EDIROL",
210 .product_name = "UM-4",
211 .ifnum = QUIRK_ANY_INTERFACE,
212 .type = QUIRK_COMPOSITE,
213 .data = (const struct snd_usb_audio_quirk[]) {
216 .type = QUIRK_IGNORE_INTERFACE
220 .type = QUIRK_IGNORE_INTERFACE
224 .type = QUIRK_MIDI_FIXED_ENDPOINT,
225 .data = & (const struct snd_usb_midi_endpoint_info) {
226 .out_cables = 0x000f,
237 USB_DEVICE(0x0582, 0x0003),
238 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
239 .vendor_name = "Roland",
240 .product_name = "SC-8850",
241 .ifnum = QUIRK_ANY_INTERFACE,
242 .type = QUIRK_COMPOSITE,
243 .data = (const struct snd_usb_audio_quirk[]) {
246 .type = QUIRK_IGNORE_INTERFACE
250 .type = QUIRK_IGNORE_INTERFACE
254 .type = QUIRK_MIDI_FIXED_ENDPOINT,
255 .data = & (const struct snd_usb_midi_endpoint_info) {
256 .out_cables = 0x003f,
267 USB_DEVICE(0x0582, 0x0004),
268 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
269 .vendor_name = "Roland",
270 .product_name = "U-8",
271 .ifnum = QUIRK_ANY_INTERFACE,
272 .type = QUIRK_COMPOSITE,
273 .data = (const struct snd_usb_audio_quirk[]) {
276 .type = QUIRK_IGNORE_INTERFACE
280 .type = QUIRK_IGNORE_INTERFACE
284 .type = QUIRK_MIDI_FIXED_ENDPOINT,
285 .data = & (const struct snd_usb_midi_endpoint_info) {
286 .out_cables = 0x0005,
297 /* Has ID 0x0099 when not in "Advanced Driver" mode.
298 * The UM-2EX has only one input, but we cannot detect this. */
299 USB_DEVICE(0x0582, 0x0005),
300 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
301 .vendor_name = "EDIROL",
302 .product_name = "UM-2",
303 .ifnum = QUIRK_ANY_INTERFACE,
304 .type = QUIRK_COMPOSITE,
305 .data = (const struct snd_usb_audio_quirk[]) {
308 .type = QUIRK_IGNORE_INTERFACE
312 .type = QUIRK_IGNORE_INTERFACE
316 .type = QUIRK_MIDI_FIXED_ENDPOINT,
317 .data = & (const struct snd_usb_midi_endpoint_info) {
318 .out_cables = 0x0003,
329 USB_DEVICE(0x0582, 0x0007),
330 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
331 .vendor_name = "Roland",
332 .product_name = "SC-8820",
333 .ifnum = QUIRK_ANY_INTERFACE,
334 .type = QUIRK_COMPOSITE,
335 .data = (const struct snd_usb_audio_quirk[]) {
338 .type = QUIRK_IGNORE_INTERFACE
342 .type = QUIRK_IGNORE_INTERFACE
346 .type = QUIRK_MIDI_FIXED_ENDPOINT,
347 .data = & (const struct snd_usb_midi_endpoint_info) {
348 .out_cables = 0x0013,
359 USB_DEVICE(0x0582, 0x0008),
360 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
361 .vendor_name = "Roland",
362 .product_name = "PC-300",
363 .ifnum = QUIRK_ANY_INTERFACE,
364 .type = QUIRK_COMPOSITE,
365 .data = (const struct snd_usb_audio_quirk[]) {
368 .type = QUIRK_IGNORE_INTERFACE
372 .type = QUIRK_IGNORE_INTERFACE
376 .type = QUIRK_MIDI_FIXED_ENDPOINT,
377 .data = & (const struct snd_usb_midi_endpoint_info) {
378 .out_cables = 0x0001,
389 /* has ID 0x009d when not in "Advanced Driver" mode */
390 USB_DEVICE(0x0582, 0x0009),
391 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
392 .vendor_name = "EDIROL",
393 .product_name = "UM-1",
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 = 0x0001,
420 USB_DEVICE(0x0582, 0x000b),
421 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
422 .vendor_name = "Roland",
423 .product_name = "SK-500",
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 /* thanks to Emiliano Grilli <emillo@libero.it>
451 * for helping researching this data */
452 USB_DEVICE(0x0582, 0x000c),
453 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
454 .vendor_name = "Roland",
455 .product_name = "SC-D70",
456 .ifnum = QUIRK_ANY_INTERFACE,
457 .type = QUIRK_COMPOSITE,
458 .data = (const struct snd_usb_audio_quirk[]) {
461 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
462 .data = & (const struct audioformat) {
463 .format = SNDRV_PCM_FORMAT_S24_3LE,
471 .rates = SNDRV_PCM_RATE_CONTINUOUS,
478 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
479 .data = & (const struct audioformat) {
480 .format = SNDRV_PCM_FORMAT_S24_3LE,
488 .rates = SNDRV_PCM_RATE_CONTINUOUS,
495 .type = QUIRK_MIDI_FIXED_ENDPOINT,
496 .data = & (const struct snd_usb_midi_endpoint_info) {
497 .out_cables = 0x0007,
508 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
509 * If the advanced mode switch at the back of the unit is off, the
510 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
511 * but offers only 16-bit PCM.
512 * In advanced mode, the UA-5 will output S24_3LE samples (two
513 * channels) at the rate indicated on the front switch, including
514 * the 96kHz sample rate.
516 USB_DEVICE(0x0582, 0x0010),
517 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
518 .vendor_name = "EDIROL",
519 .product_name = "UA-5",
520 .ifnum = QUIRK_ANY_INTERFACE,
521 .type = QUIRK_COMPOSITE,
522 .data = (const struct snd_usb_audio_quirk[]) {
525 .type = QUIRK_AUDIO_STANDARD_INTERFACE
529 .type = QUIRK_AUDIO_STANDARD_INTERFACE
538 /* has ID 0x0013 when not in "Advanced Driver" mode */
539 USB_DEVICE(0x0582, 0x0012),
540 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
541 .vendor_name = "Roland",
542 .product_name = "XV-5050",
544 .type = QUIRK_MIDI_FIXED_ENDPOINT,
545 .data = & (const struct snd_usb_midi_endpoint_info) {
546 .out_cables = 0x0001,
552 /* has ID 0x0015 when not in "Advanced Driver" mode */
553 USB_DEVICE(0x0582, 0x0014),
554 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
555 .vendor_name = "EDIROL",
556 .product_name = "UM-880",
558 .type = QUIRK_MIDI_FIXED_ENDPOINT,
559 .data = & (const struct snd_usb_midi_endpoint_info) {
560 .out_cables = 0x01ff,
566 /* has ID 0x0017 when not in "Advanced Driver" mode */
567 USB_DEVICE(0x0582, 0x0016),
568 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
569 .vendor_name = "EDIROL",
570 .product_name = "SD-90",
571 .ifnum = QUIRK_ANY_INTERFACE,
572 .type = QUIRK_COMPOSITE,
573 .data = (const struct snd_usb_audio_quirk[]) {
576 .type = QUIRK_IGNORE_INTERFACE
580 .type = QUIRK_IGNORE_INTERFACE
584 .type = QUIRK_MIDI_FIXED_ENDPOINT,
585 .data = & (const struct snd_usb_midi_endpoint_info) {
586 .out_cables = 0x000f,
597 /* has ID 0x001c when not in "Advanced Driver" mode */
598 USB_DEVICE(0x0582, 0x001b),
599 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
600 .vendor_name = "Roland",
601 .product_name = "MMP-2",
602 .ifnum = QUIRK_ANY_INTERFACE,
603 .type = QUIRK_COMPOSITE,
604 .data = (const struct snd_usb_audio_quirk[]) {
607 .type = QUIRK_IGNORE_INTERFACE
611 .type = QUIRK_IGNORE_INTERFACE
615 .type = QUIRK_MIDI_FIXED_ENDPOINT,
616 .data = & (const struct snd_usb_midi_endpoint_info) {
617 .out_cables = 0x0001,
628 /* has ID 0x001e when not in "Advanced Driver" mode */
629 USB_DEVICE(0x0582, 0x001d),
630 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
631 .vendor_name = "Roland",
632 .product_name = "V-SYNTH",
634 .type = QUIRK_MIDI_FIXED_ENDPOINT,
635 .data = & (const struct snd_usb_midi_endpoint_info) {
636 .out_cables = 0x0001,
642 /* has ID 0x0024 when not in "Advanced Driver" mode */
643 USB_DEVICE(0x0582, 0x0023),
644 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
645 .vendor_name = "EDIROL",
646 .product_name = "UM-550",
648 .type = QUIRK_MIDI_FIXED_ENDPOINT,
649 .data = & (const struct snd_usb_midi_endpoint_info) {
650 .out_cables = 0x003f,
657 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
658 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
661 USB_DEVICE(0x0582, 0x0025),
662 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
663 .vendor_name = "EDIROL",
664 .product_name = "UA-20",
665 .ifnum = QUIRK_ANY_INTERFACE,
666 .type = QUIRK_COMPOSITE,
667 .data = (const struct snd_usb_audio_quirk[]) {
670 .type = QUIRK_IGNORE_INTERFACE
674 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
675 .data = & (const struct audioformat) {
676 .format = SNDRV_PCM_FORMAT_S24_3LE,
684 .rates = SNDRV_PCM_RATE_CONTINUOUS,
691 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
692 .data = & (const struct audioformat) {
693 .format = SNDRV_PCM_FORMAT_S24_3LE,
701 .rates = SNDRV_PCM_RATE_CONTINUOUS,
708 .type = QUIRK_MIDI_FIXED_ENDPOINT,
709 .data = & (const struct snd_usb_midi_endpoint_info) {
710 .out_cables = 0x0001,
721 /* has ID 0x0028 when not in "Advanced Driver" mode */
722 USB_DEVICE(0x0582, 0x0027),
723 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
724 .vendor_name = "EDIROL",
725 .product_name = "SD-20",
727 .type = QUIRK_MIDI_FIXED_ENDPOINT,
728 .data = & (const struct snd_usb_midi_endpoint_info) {
729 .out_cables = 0x0003,
735 /* has ID 0x002a when not in "Advanced Driver" mode */
736 USB_DEVICE(0x0582, 0x0029),
737 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
738 .vendor_name = "EDIROL",
739 .product_name = "SD-80",
741 .type = QUIRK_MIDI_FIXED_ENDPOINT,
742 .data = & (const struct snd_usb_midi_endpoint_info) {
743 .out_cables = 0x000f,
749 * This quirk is for the "Advanced" modes of the Edirol UA-700.
750 * If the sample format switch is not in an advanced setting, the
751 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
752 * but offers only 16-bit PCM and no MIDI.
754 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
755 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
756 .vendor_name = "EDIROL",
757 .product_name = "UA-700",
758 .ifnum = QUIRK_ANY_INTERFACE,
759 .type = QUIRK_COMPOSITE,
760 .data = (const struct snd_usb_audio_quirk[]) {
763 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
767 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
771 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
780 /* has ID 0x002e when not in "Advanced Driver" mode */
781 USB_DEVICE(0x0582, 0x002d),
782 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
783 .vendor_name = "Roland",
784 .product_name = "XV-2020",
786 .type = QUIRK_MIDI_FIXED_ENDPOINT,
787 .data = & (const struct snd_usb_midi_endpoint_info) {
788 .out_cables = 0x0001,
794 /* has ID 0x0030 when not in "Advanced Driver" mode */
795 USB_DEVICE(0x0582, 0x002f),
796 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
797 .vendor_name = "Roland",
798 .product_name = "VariOS",
800 .type = QUIRK_MIDI_FIXED_ENDPOINT,
801 .data = & (const struct snd_usb_midi_endpoint_info) {
802 .out_cables = 0x0007,
808 /* has ID 0x0034 when not in "Advanced Driver" mode */
809 USB_DEVICE(0x0582, 0x0033),
810 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
811 .vendor_name = "EDIROL",
812 .product_name = "PCR",
814 .type = QUIRK_MIDI_FIXED_ENDPOINT,
815 .data = & (const struct snd_usb_midi_endpoint_info) {
816 .out_cables = 0x0003,
821 /* TODO: add Roland M-1000 support */
824 * Has ID 0x0038 when not in "Advanced Driver" mode;
825 * later revisions use IDs 0x0054 and 0x00a2.
827 USB_DEVICE(0x0582, 0x0037),
828 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
829 .vendor_name = "Roland",
830 .product_name = "Digital Piano",
832 .type = QUIRK_MIDI_FIXED_ENDPOINT,
833 .data = & (const struct snd_usb_midi_endpoint_info) {
834 .out_cables = 0x0001,
841 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
842 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
845 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
846 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
847 .vendor_name = "BOSS",
848 .product_name = "GS-10",
849 .ifnum = QUIRK_ANY_INTERFACE,
850 .type = QUIRK_COMPOSITE,
851 .data = & (const struct snd_usb_audio_quirk[]) {
854 .type = QUIRK_AUDIO_STANDARD_INTERFACE
858 .type = QUIRK_AUDIO_STANDARD_INTERFACE
862 .type = QUIRK_MIDI_STANDARD_INTERFACE
871 /* has ID 0x0041 when not in "Advanced Driver" mode */
872 USB_DEVICE(0x0582, 0x0040),
873 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
874 .vendor_name = "Roland",
875 .product_name = "GI-20",
877 .type = QUIRK_MIDI_FIXED_ENDPOINT,
878 .data = & (const struct snd_usb_midi_endpoint_info) {
879 .out_cables = 0x0001,
885 /* has ID 0x0043 when not in "Advanced Driver" mode */
886 USB_DEVICE(0x0582, 0x0042),
887 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
888 .vendor_name = "Roland",
889 .product_name = "RS-70",
891 .type = QUIRK_MIDI_FIXED_ENDPOINT,
892 .data = & (const struct snd_usb_midi_endpoint_info) {
893 .out_cables = 0x0001,
899 USB_DEVICE(0x0582, 0x0044),
900 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
901 .vendor_name = "Roland",
902 .product_name = "UA-1000",
903 .ifnum = QUIRK_ANY_INTERFACE,
904 .type = QUIRK_COMPOSITE,
905 .data = (const struct snd_usb_audio_quirk[]) {
908 .type = QUIRK_AUDIO_EDIROL_UA1000
912 .type = QUIRK_AUDIO_EDIROL_UA1000
916 .type = QUIRK_MIDI_FIXED_ENDPOINT,
917 .data = & (const struct snd_usb_midi_endpoint_info) {
918 .out_cables = 0x0003,
929 /* has ID 0x004a when not in "Advanced Driver" mode */
930 USB_DEVICE(0x0582, 0x0048),
931 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
932 .vendor_name = "EDIROL",
933 .product_name = "UR-80",
935 .type = QUIRK_MIDI_FIXED_ENDPOINT,
936 .data = & (const struct snd_usb_midi_endpoint_info) {
937 .out_cables = 0x0003,
942 /* TODO: add Edirol M-100FX support */
944 /* has ID 0x004f when not in "Advanced Driver" mode */
945 USB_DEVICE(0x0582, 0x004d),
946 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
947 .vendor_name = "EDIROL",
948 .product_name = "PCR-A",
950 .type = QUIRK_MIDI_FIXED_ENDPOINT,
951 .data = & (const struct snd_usb_midi_endpoint_info) {
952 .out_cables = 0x0003,
959 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
960 * is standard compliant, but has only 16-bit PCM.
962 USB_DEVICE(0x0582, 0x0050),
963 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
964 .vendor_name = "EDIROL",
965 .product_name = "UA-3FX",
966 .ifnum = QUIRK_ANY_INTERFACE,
967 .type = QUIRK_COMPOSITE,
968 .data = (const struct snd_usb_audio_quirk[]) {
971 .type = QUIRK_AUDIO_STANDARD_INTERFACE
975 .type = QUIRK_AUDIO_STANDARD_INTERFACE
984 USB_DEVICE(0x0582, 0x0052),
985 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
986 .vendor_name = "EDIROL",
987 .product_name = "UM-1SX",
989 .type = QUIRK_MIDI_STANDARD_INTERFACE
992 /* TODO: add Roland EXR support */
994 /* has ID 0x0067 when not in "Advanced Driver" mode */
995 USB_DEVICE(0x0582, 0x0065),
996 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
997 .vendor_name = "EDIROL",
998 .product_name = "PCR-1",
1000 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1001 .data = & (const struct snd_usb_midi_endpoint_info) {
1002 .out_cables = 0x0001,
1008 /* has ID 0x006b when not in "Advanced Driver" mode */
1009 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1010 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1011 .vendor_name = "Roland",
1012 .product_name = "SP-606",
1014 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1015 .data = & (const struct snd_usb_midi_endpoint_info) {
1016 .out_cables = 0x0001,
1022 /* has ID 0x006e when not in "Advanced Driver" mode */
1023 USB_DEVICE(0x0582, 0x006d),
1024 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1025 .vendor_name = "Roland",
1026 .product_name = "FANTOM-X",
1028 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1029 .data = & (const struct snd_usb_midi_endpoint_info) {
1030 .out_cables = 0x0001,
1036 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1037 * If the switch is not in an advanced setting, the UA-25 has
1038 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1039 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1041 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1042 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1043 .vendor_name = "EDIROL",
1044 .product_name = "UA-25",
1045 .ifnum = QUIRK_ANY_INTERFACE,
1046 .type = QUIRK_COMPOSITE,
1047 .data = (const struct snd_usb_audio_quirk[]) {
1050 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1054 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1058 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1067 /* has ID 0x0076 when not in "Advanced Driver" mode */
1068 USB_DEVICE(0x0582, 0x0075),
1069 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1070 .vendor_name = "BOSS",
1071 .product_name = "DR-880",
1073 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1074 .data = & (const struct snd_usb_midi_endpoint_info) {
1075 .out_cables = 0x0001,
1081 /* has ID 0x007b when not in "Advanced Driver" mode */
1082 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1083 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1084 .vendor_name = "Roland",
1085 /* "RD" or "RD-700SX"? */
1087 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1088 .data = & (const struct snd_usb_midi_endpoint_info) {
1089 .out_cables = 0x0003,
1094 /* TODO: add Edirol UA-101 support */
1096 /* has ID 0x0081 when not in "Advanced Driver" mode */
1097 USB_DEVICE(0x0582, 0x0080),
1098 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1099 .vendor_name = "Roland",
1100 .product_name = "G-70",
1102 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1103 .data = & (const struct snd_usb_midi_endpoint_info) {
1104 .out_cables = 0x0001,
1109 /* TODO: add Roland V-SYNTH XT support */
1110 /* TODO: add BOSS GT-PRO support */
1112 /* has ID 0x008c when not in "Advanced Driver" mode */
1113 USB_DEVICE(0x0582, 0x008b),
1114 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1115 .vendor_name = "EDIROL",
1116 .product_name = "PC-50",
1118 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1119 .data = & (const struct snd_usb_midi_endpoint_info) {
1120 .out_cables = 0x0001,
1125 /* TODO: add Edirol PC-80 support */
1126 /* TODO: add Edirol UA-1EX support */
1128 USB_DEVICE(0x0582, 0x009a),
1129 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1130 .vendor_name = "EDIROL",
1131 .product_name = "UM-3EX",
1133 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1134 .data = & (const struct snd_usb_midi_endpoint_info) {
1135 .out_cables = 0x000f,
1140 /* TODO: add Edirol MD-P1 support */
1142 /* Guillemot devices */
1145 * This is for the "Windows Edition" where the external MIDI ports are
1146 * the only MIDI ports; the control data is reported through HID
1147 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1148 * compliant USB MIDI ports for external MIDI and controls.
1150 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1151 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1152 .vendor_name = "Hercules",
1153 .product_name = "DJ Console (WE)",
1155 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1156 .data = & (const struct snd_usb_midi_endpoint_info) {
1157 .out_cables = 0x0001,
1163 /* Midiman/M-Audio devices */
1165 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1166 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1167 .vendor_name = "M-Audio",
1168 .product_name = "MidiSport 2x2",
1169 .ifnum = QUIRK_ANY_INTERFACE,
1170 .type = QUIRK_MIDI_MIDIMAN,
1171 .data = & (const struct snd_usb_midi_endpoint_info) {
1172 .out_cables = 0x0003,
1178 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1179 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1180 .vendor_name = "M-Audio",
1181 .product_name = "MidiSport 1x1",
1182 .ifnum = QUIRK_ANY_INTERFACE,
1183 .type = QUIRK_MIDI_MIDIMAN,
1184 .data = & (const struct snd_usb_midi_endpoint_info) {
1185 .out_cables = 0x0001,
1191 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1192 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1193 .vendor_name = "M-Audio",
1194 .product_name = "Keystation",
1195 .ifnum = QUIRK_ANY_INTERFACE,
1196 .type = QUIRK_MIDI_MIDIMAN,
1197 .data = & (const struct snd_usb_midi_endpoint_info) {
1198 .out_cables = 0x0001,
1204 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1205 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1206 .vendor_name = "M-Audio",
1207 .product_name = "MidiSport 4x4",
1208 .ifnum = QUIRK_ANY_INTERFACE,
1209 .type = QUIRK_MIDI_MIDIMAN,
1210 .data = & (const struct snd_usb_midi_endpoint_info) {
1211 .out_cables = 0x000f,
1218 * For hardware revision 1.05; in the later revisions (1.10 and
1219 * 1.21), 0x1031 is the ID for the device without firmware.
1220 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1222 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1223 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1224 .vendor_name = "M-Audio",
1225 .product_name = "MidiSport 8x8",
1226 .ifnum = QUIRK_ANY_INTERFACE,
1227 .type = QUIRK_MIDI_MIDIMAN,
1228 .data = & (const struct snd_usb_midi_endpoint_info) {
1229 .out_cables = 0x01ff,
1235 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1236 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1237 .vendor_name = "M-Audio",
1238 .product_name = "MidiSport 8x8",
1239 .ifnum = QUIRK_ANY_INTERFACE,
1240 .type = QUIRK_MIDI_MIDIMAN,
1241 .data = & (const struct snd_usb_midi_endpoint_info) {
1242 .out_cables = 0x01ff,
1248 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1249 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1250 .vendor_name = "M-Audio",
1251 .product_name = "MidiSport 2x4",
1252 .ifnum = QUIRK_ANY_INTERFACE,
1253 .type = QUIRK_MIDI_MIDIMAN,
1254 .data = & (const struct snd_usb_midi_endpoint_info) {
1255 .out_cables = 0x000f,
1261 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1262 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1263 .vendor_name = "M-Audio",
1264 .product_name = "Quattro",
1265 .ifnum = QUIRK_ANY_INTERFACE,
1266 .type = QUIRK_COMPOSITE,
1267 .data = & (const struct snd_usb_audio_quirk[]) {
1269 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1270 * and share endpoints with the other interfaces.
1271 * Ignore them. The other interfaces can do 24 bits,
1272 * but captured samples are big-endian (see usbaudio.c).
1276 .type = QUIRK_IGNORE_INTERFACE
1280 .type = QUIRK_IGNORE_INTERFACE
1284 .type = QUIRK_IGNORE_INTERFACE
1288 .type = QUIRK_IGNORE_INTERFACE
1292 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1296 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1300 .type = QUIRK_IGNORE_INTERFACE
1304 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1308 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1312 .type = QUIRK_MIDI_MIDIMAN,
1313 .data = & (const struct snd_usb_midi_endpoint_info) {
1314 .out_cables = 0x0001,
1325 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1326 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1327 .vendor_name = "M-Audio",
1328 .product_name = "AudioPhile",
1330 .type = QUIRK_MIDI_MIDIMAN,
1331 .data = & (const struct snd_usb_midi_endpoint_info) {
1332 .out_cables = 0x0001,
1338 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1339 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1340 .vendor_name = "M-Audio",
1341 .product_name = "Ozone",
1343 .type = QUIRK_MIDI_MIDIMAN,
1344 .data = & (const struct snd_usb_midi_endpoint_info) {
1345 .out_cables = 0x0001,
1351 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1352 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1353 .vendor_name = "M-Audio",
1354 .product_name = "OmniStudio",
1355 .ifnum = QUIRK_ANY_INTERFACE,
1356 .type = QUIRK_COMPOSITE,
1357 .data = & (const struct snd_usb_audio_quirk[]) {
1360 .type = QUIRK_IGNORE_INTERFACE
1364 .type = QUIRK_IGNORE_INTERFACE
1368 .type = QUIRK_IGNORE_INTERFACE
1372 .type = QUIRK_IGNORE_INTERFACE
1376 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1380 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1384 .type = QUIRK_IGNORE_INTERFACE
1388 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1392 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1396 .type = QUIRK_MIDI_MIDIMAN,
1397 .data = & (const struct snd_usb_midi_endpoint_info) {
1398 .out_cables = 0x0001,
1409 /* Mark of the Unicorn devices */
1411 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1412 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1413 USB_DEVICE_ID_MATCH_PRODUCT |
1414 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1416 .idProduct = 0x0001,
1417 .bDeviceSubClass = 2,
1418 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1419 .vendor_name = "MOTU",
1420 .product_name = "Fastlane",
1421 .ifnum = QUIRK_ANY_INTERFACE,
1422 .type = QUIRK_COMPOSITE,
1423 .data = & (const struct snd_usb_audio_quirk[]) {
1426 .type = QUIRK_MIDI_RAW
1430 .type = QUIRK_IGNORE_INTERFACE
1440 /* Creative Sound Blaster MP3+ */
1441 USB_DEVICE(0x041e, 0x3010),
1442 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1443 .vendor_name = "Creative Labs",
1444 .product_name = "Sound Blaster MP3+",
1445 .ifnum = QUIRK_NO_INTERFACE
1450 /* Emagic devices */
1452 USB_DEVICE(0x086a, 0x0001),
1453 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1454 .vendor_name = "Emagic",
1455 /* .product_name = "Unitor8", */
1457 .type = QUIRK_MIDI_EMAGIC,
1458 .data = & (const struct snd_usb_midi_endpoint_info) {
1459 .out_cables = 0x80ff,
1465 USB_DEVICE(0x086a, 0x0002),
1466 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1467 .vendor_name = "Emagic",
1468 /* .product_name = "AMT8", */
1470 .type = QUIRK_MIDI_EMAGIC,
1471 .data = & (const struct snd_usb_midi_endpoint_info) {
1472 .out_cables = 0x80ff,
1478 USB_DEVICE(0x086a, 0x0003),
1479 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1480 .vendor_name = "Emagic",
1481 /* .product_name = "MT4", */
1483 .type = QUIRK_MIDI_EMAGIC,
1484 .data = & (const struct snd_usb_midi_endpoint_info) {
1485 .out_cables = 0x800f,
1491 /* TerraTec devices */
1493 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
1494 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1495 .vendor_name = "TerraTec",
1496 .product_name = "PHASE 26",
1498 .type = QUIRK_MIDI_STANDARD_INTERFACE
1502 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1503 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1504 .vendor_name = "TerraTec",
1505 .product_name = "PHASE 26",
1507 .type = QUIRK_MIDI_STANDARD_INTERFACE
1511 USB_DEVICE(0x0ccd, 0x0035),
1512 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1513 .vendor_name = "Miditech",
1514 .product_name = "Play'n Roll",
1516 .type = QUIRK_MIDI_CME
1520 /* Novation EMS devices */
1522 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1524 .vendor_name = "Novation",
1525 .product_name = "ReMOTE Audio/XStation",
1527 .type = QUIRK_MIDI_NOVATION
1531 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1532 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1533 .vendor_name = "Novation",
1534 .product_name = "Speedio",
1536 .type = QUIRK_MIDI_NOVATION
1540 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1542 .vendor_name = "Novation",
1543 .product_name = "ReMOTE25",
1545 .type = QUIRK_MIDI_NOVATION
1549 /* Miditech devices */
1551 USB_DEVICE(0x4752, 0x0011),
1552 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1553 .vendor_name = "Miditech",
1554 .product_name = "Midistart-2",
1556 .type = QUIRK_MIDI_CME
1560 /* Central Music devices */
1562 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
1563 USB_DEVICE(0x7104, 0x2202),
1564 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1566 .type = QUIRK_MIDI_CME
1572 * Some USB MIDI devices don't have an audio control interface,
1573 * so we have to grab MIDI streaming interfaces here.
1575 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1576 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1577 .bInterfaceClass = USB_CLASS_AUDIO,
1578 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
1579 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1580 .ifnum = QUIRK_ANY_INTERFACE,
1581 .type = QUIRK_MIDI_STANDARD_INTERFACE
1585 #undef USB_DEVICE_VENDOR_SPEC