2 * ALSA USB Audio Driver
4 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
5 * Clemens Ladisch <clemens@ladisch.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * The contents of this file are part of the driver's id_table.
26 * In a perfect world, this file would be empty.
30 * Use this for devices where other interfaces are standard compliant,
31 * to prevent the quirk being applied to those interfaces. (To work with
32 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
34 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
35 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
36 USB_DEVICE_ID_MATCH_PRODUCT | \
37 USB_DEVICE_ID_MATCH_INT_CLASS, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
46 #define YAMAHA_DEVICE(id, name) { \
47 USB_DEVICE(0x0499, id), \
48 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
49 .vendor_name = "Yamaha", \
50 .product_name = name, \
51 .ifnum = QUIRK_ANY_INTERFACE, \
52 .type = QUIRK_MIDI_YAMAHA \
55 #define YAMAHA_INTERFACE(id, intf, name) { \
56 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
57 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
58 .vendor_name = "Yamaha", \
59 .product_name = name, \
61 .type = QUIRK_MIDI_YAMAHA \
64 YAMAHA_DEVICE(0x1000, "UX256"),
65 YAMAHA_DEVICE(0x1001, "MU1000"),
66 YAMAHA_DEVICE(0x1002, "MU2000"),
67 YAMAHA_DEVICE(0x1003, "MU500"),
68 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
69 YAMAHA_DEVICE(0x1005, "MOTIF6"),
70 YAMAHA_DEVICE(0x1006, "MOTIF7"),
71 YAMAHA_DEVICE(0x1007, "MOTIF8"),
72 YAMAHA_DEVICE(0x1008, "UX96"),
73 YAMAHA_DEVICE(0x1009, "UX16"),
74 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
75 YAMAHA_DEVICE(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 snd_usb_audio_quirk_t) {
153 .vendor_name = "Roland",
154 .product_name = "UA-100",
155 .ifnum = QUIRK_ANY_INTERFACE,
156 .type = QUIRK_COMPOSITE,
157 .data = (const snd_usb_audio_quirk_t[]) {
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 snd_usb_midi_endpoint_info_t) {
196 .out_cables = 0x0007,
207 USB_DEVICE(0x0582, 0x0002),
208 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
209 .vendor_name = "EDIROL",
210 .product_name = "UM-4",
211 .ifnum = QUIRK_ANY_INTERFACE,
212 .type = QUIRK_COMPOSITE,
213 .data = (const snd_usb_audio_quirk_t[]) {
216 .type = QUIRK_IGNORE_INTERFACE
220 .type = QUIRK_IGNORE_INTERFACE
224 .type = QUIRK_MIDI_FIXED_ENDPOINT,
225 .data = & (const snd_usb_midi_endpoint_info_t) {
226 .out_cables = 0x000f,
237 USB_DEVICE(0x0582, 0x0003),
238 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
239 .vendor_name = "Roland",
240 .product_name = "SC-8850",
241 .ifnum = QUIRK_ANY_INTERFACE,
242 .type = QUIRK_COMPOSITE,
243 .data = (const snd_usb_audio_quirk_t[]) {
246 .type = QUIRK_IGNORE_INTERFACE
250 .type = QUIRK_IGNORE_INTERFACE
254 .type = QUIRK_MIDI_FIXED_ENDPOINT,
255 .data = & (const snd_usb_midi_endpoint_info_t) {
256 .out_cables = 0x003f,
267 USB_DEVICE(0x0582, 0x0004),
268 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
269 .vendor_name = "Roland",
270 .product_name = "U-8",
271 .ifnum = QUIRK_ANY_INTERFACE,
272 .type = QUIRK_COMPOSITE,
273 .data = (const snd_usb_audio_quirk_t[]) {
276 .type = QUIRK_IGNORE_INTERFACE
280 .type = QUIRK_IGNORE_INTERFACE
284 .type = QUIRK_MIDI_FIXED_ENDPOINT,
285 .data = & (const snd_usb_midi_endpoint_info_t) {
286 .out_cables = 0x0005,
297 USB_DEVICE(0x0582, 0x0005),
298 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
299 .vendor_name = "EDIROL",
300 .product_name = "UM-2",
301 .ifnum = QUIRK_ANY_INTERFACE,
302 .type = QUIRK_COMPOSITE,
303 .data = (const snd_usb_audio_quirk_t[]) {
306 .type = QUIRK_IGNORE_INTERFACE
310 .type = QUIRK_IGNORE_INTERFACE
314 .type = QUIRK_MIDI_FIXED_ENDPOINT,
315 .data = & (const snd_usb_midi_endpoint_info_t) {
316 .out_cables = 0x0003,
327 USB_DEVICE(0x0582, 0x0007),
328 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
329 .vendor_name = "Roland",
330 .product_name = "SC-8820",
331 .ifnum = QUIRK_ANY_INTERFACE,
332 .type = QUIRK_COMPOSITE,
333 .data = (const snd_usb_audio_quirk_t[]) {
336 .type = QUIRK_IGNORE_INTERFACE
340 .type = QUIRK_IGNORE_INTERFACE
344 .type = QUIRK_MIDI_FIXED_ENDPOINT,
345 .data = & (const snd_usb_midi_endpoint_info_t) {
346 .out_cables = 0x0013,
357 USB_DEVICE(0x0582, 0x0008),
358 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
359 .vendor_name = "Roland",
360 .product_name = "PC-300",
361 .ifnum = QUIRK_ANY_INTERFACE,
362 .type = QUIRK_COMPOSITE,
363 .data = (const snd_usb_audio_quirk_t[]) {
366 .type = QUIRK_IGNORE_INTERFACE
370 .type = QUIRK_IGNORE_INTERFACE
374 .type = QUIRK_MIDI_FIXED_ENDPOINT,
375 .data = & (const snd_usb_midi_endpoint_info_t) {
376 .out_cables = 0x0001,
387 USB_DEVICE(0x0582, 0x0009),
388 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
389 .vendor_name = "EDIROL",
390 .product_name = "UM-1",
391 .ifnum = QUIRK_ANY_INTERFACE,
392 .type = QUIRK_COMPOSITE,
393 .data = (const snd_usb_audio_quirk_t[]) {
396 .type = QUIRK_IGNORE_INTERFACE
400 .type = QUIRK_IGNORE_INTERFACE
404 .type = QUIRK_MIDI_FIXED_ENDPOINT,
405 .data = & (const snd_usb_midi_endpoint_info_t) {
406 .out_cables = 0x0001,
417 USB_DEVICE(0x0582, 0x000b),
418 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
419 .vendor_name = "Roland",
420 .product_name = "SK-500",
421 .ifnum = QUIRK_ANY_INTERFACE,
422 .type = QUIRK_COMPOSITE,
423 .data = (const snd_usb_audio_quirk_t[]) {
426 .type = QUIRK_IGNORE_INTERFACE
430 .type = QUIRK_IGNORE_INTERFACE
434 .type = QUIRK_MIDI_FIXED_ENDPOINT,
435 .data = & (const snd_usb_midi_endpoint_info_t) {
436 .out_cables = 0x0013,
447 /* thanks to Emiliano Grilli <emillo@libero.it>
448 * for helping researching this data */
449 USB_DEVICE(0x0582, 0x000c),
450 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
451 .vendor_name = "Roland",
452 .product_name = "SC-D70",
453 .ifnum = QUIRK_ANY_INTERFACE,
454 .type = QUIRK_COMPOSITE,
455 .data = (const snd_usb_audio_quirk_t[]) {
458 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
459 .data = & (const struct audioformat) {
460 .format = SNDRV_PCM_FORMAT_S24_3LE,
468 .rates = SNDRV_PCM_RATE_CONTINUOUS,
475 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
476 .data = & (const struct audioformat) {
477 .format = SNDRV_PCM_FORMAT_S24_3LE,
485 .rates = SNDRV_PCM_RATE_CONTINUOUS,
492 .type = QUIRK_MIDI_FIXED_ENDPOINT,
493 .data = & (const snd_usb_midi_endpoint_info_t) {
494 .out_cables = 0x0007,
505 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
506 * If the advanced mode switch at the back of the unit is off, the
507 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
508 * but offers only 16-bit PCM.
509 * In advanced mode, the UA-5 will output S24_3LE samples (two
510 * channels) at the rate indicated on the front switch, including
511 * the 96kHz sample rate.
513 USB_DEVICE(0x0582, 0x0010),
514 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
515 .vendor_name = "EDIROL",
516 .product_name = "UA-5",
517 .ifnum = QUIRK_ANY_INTERFACE,
518 .type = QUIRK_COMPOSITE,
519 .data = (const snd_usb_audio_quirk_t[]) {
522 .type = QUIRK_AUDIO_STANDARD_INTERFACE
526 .type = QUIRK_AUDIO_STANDARD_INTERFACE
535 USB_DEVICE(0x0582, 0x0012),
536 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
537 .vendor_name = "Roland",
538 .product_name = "XV-5050",
540 .type = QUIRK_MIDI_FIXED_ENDPOINT,
541 .data = & (const snd_usb_midi_endpoint_info_t) {
542 .out_cables = 0x0001,
548 USB_DEVICE(0x0582, 0x0014),
549 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
550 .vendor_name = "EDIROL",
551 .product_name = "UM-880",
553 .type = QUIRK_MIDI_FIXED_ENDPOINT,
554 .data = & (const snd_usb_midi_endpoint_info_t) {
555 .out_cables = 0x01ff,
561 USB_DEVICE(0x0582, 0x0016),
562 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
563 .vendor_name = "EDIROL",
564 .product_name = "SD-90",
565 .ifnum = QUIRK_ANY_INTERFACE,
566 .type = QUIRK_COMPOSITE,
567 .data = (const snd_usb_audio_quirk_t[]) {
570 .type = QUIRK_IGNORE_INTERFACE
574 .type = QUIRK_IGNORE_INTERFACE
578 .type = QUIRK_MIDI_FIXED_ENDPOINT,
579 .data = & (const snd_usb_midi_endpoint_info_t) {
580 .out_cables = 0x000f,
591 USB_DEVICE(0x0582, 0x001b),
592 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
593 .vendor_name = "Roland",
594 .product_name = "MMP-2",
595 .ifnum = QUIRK_ANY_INTERFACE,
596 .type = QUIRK_COMPOSITE,
597 .data = (const snd_usb_audio_quirk_t[]) {
600 .type = QUIRK_IGNORE_INTERFACE
604 .type = QUIRK_IGNORE_INTERFACE
608 .type = QUIRK_MIDI_FIXED_ENDPOINT,
609 .data = & (const snd_usb_midi_endpoint_info_t) {
610 .out_cables = 0x0001,
621 USB_DEVICE(0x0582, 0x001d),
622 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
623 .vendor_name = "Roland",
624 .product_name = "V-SYNTH",
626 .type = QUIRK_MIDI_FIXED_ENDPOINT,
627 .data = & (const snd_usb_midi_endpoint_info_t) {
628 .out_cables = 0x0001,
634 USB_DEVICE(0x0582, 0x0023),
635 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
636 .vendor_name = "EDIROL",
637 .product_name = "UM-550",
639 .type = QUIRK_MIDI_FIXED_ENDPOINT,
640 .data = & (const snd_usb_midi_endpoint_info_t) {
641 .out_cables = 0x003f,
648 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
649 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
652 USB_DEVICE(0x0582, 0x0025),
653 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
654 .vendor_name = "EDIROL",
655 .product_name = "UA-20",
656 .ifnum = QUIRK_ANY_INTERFACE,
657 .type = QUIRK_COMPOSITE,
658 .data = (const snd_usb_audio_quirk_t[]) {
661 .type = QUIRK_AUDIO_STANDARD_INTERFACE
665 .type = QUIRK_AUDIO_STANDARD_INTERFACE
669 .type = QUIRK_MIDI_STANDARD_INTERFACE
678 USB_DEVICE(0x0582, 0x0027),
679 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
680 .vendor_name = "EDIROL",
681 .product_name = "SD-20",
683 .type = QUIRK_MIDI_FIXED_ENDPOINT,
684 .data = & (const snd_usb_midi_endpoint_info_t) {
685 .out_cables = 0x0003,
691 USB_DEVICE(0x0582, 0x0029),
692 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
693 .vendor_name = "EDIROL",
694 .product_name = "SD-80",
696 .type = QUIRK_MIDI_FIXED_ENDPOINT,
697 .data = & (const snd_usb_midi_endpoint_info_t) {
698 .out_cables = 0x000f,
704 * This quirk is for the "Advanced" modes of the Edirol UA-700.
705 * If the sample format switch is not in an advanced setting, the
706 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
707 * but offers only 16-bit PCM and no MIDI.
709 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
710 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
711 .vendor_name = "EDIROL",
712 .product_name = "UA-700",
713 .ifnum = QUIRK_ANY_INTERFACE,
714 .type = QUIRK_COMPOSITE,
715 .data = (const snd_usb_audio_quirk_t[]) {
718 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
722 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
726 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
735 USB_DEVICE(0x0582, 0x002d),
736 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
737 .vendor_name = "Roland",
738 .product_name = "XV-2020",
740 .type = QUIRK_MIDI_FIXED_ENDPOINT,
741 .data = & (const snd_usb_midi_endpoint_info_t) {
742 .out_cables = 0x0001,
748 USB_DEVICE(0x0582, 0x002f),
749 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
750 .vendor_name = "Roland",
751 .product_name = "VariOS",
753 .type = QUIRK_MIDI_FIXED_ENDPOINT,
754 .data = & (const snd_usb_midi_endpoint_info_t) {
755 .out_cables = 0x0007,
761 USB_DEVICE(0x0582, 0x0033),
762 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
763 .vendor_name = "EDIROL",
764 .product_name = "PCR",
766 .type = QUIRK_MIDI_FIXED_ENDPOINT,
767 .data = & (const snd_usb_midi_endpoint_info_t) {
768 .out_cables = 0x0003,
774 USB_DEVICE(0x0582, 0x0037),
775 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
776 .vendor_name = "Roland",
777 .product_name = "Digital Piano",
779 .type = QUIRK_MIDI_FIXED_ENDPOINT,
780 .data = & (const snd_usb_midi_endpoint_info_t) {
781 .out_cables = 0x0001,
788 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
789 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
792 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
793 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
794 .vendor_name = "BOSS",
795 .product_name = "GS-10",
796 .ifnum = QUIRK_ANY_INTERFACE,
797 .type = QUIRK_COMPOSITE,
798 .data = & (const snd_usb_audio_quirk_t[]) {
801 .type = QUIRK_AUDIO_STANDARD_INTERFACE
805 .type = QUIRK_AUDIO_STANDARD_INTERFACE
809 .type = QUIRK_MIDI_STANDARD_INTERFACE
818 USB_DEVICE(0x0582, 0x0040),
819 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
820 .vendor_name = "Roland",
821 .product_name = "GI-20",
823 .type = QUIRK_MIDI_FIXED_ENDPOINT,
824 .data = & (const snd_usb_midi_endpoint_info_t) {
825 .out_cables = 0x0001,
831 USB_DEVICE(0x0582, 0x0042),
832 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
833 .vendor_name = "Roland",
834 .product_name = "RS-70",
836 .type = QUIRK_MIDI_FIXED_ENDPOINT,
837 .data = & (const snd_usb_midi_endpoint_info_t) {
838 .out_cables = 0x0001,
844 USB_DEVICE(0x0582, 0x0044),
845 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
846 .vendor_name = "Roland",
847 .product_name = "UA-1000",
848 .ifnum = QUIRK_ANY_INTERFACE,
849 .type = QUIRK_COMPOSITE,
850 .data = (const snd_usb_audio_quirk_t[]) {
853 .type = QUIRK_AUDIO_EDIROL_UA1000
857 .type = QUIRK_AUDIO_EDIROL_UA1000
861 .type = QUIRK_MIDI_FIXED_ENDPOINT,
862 .data = & (const snd_usb_midi_endpoint_info_t) {
863 .out_cables = 0x0003,
874 USB_DEVICE(0x0582, 0x0048),
875 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
876 .vendor_name = "EDIROL",
877 .product_name = "UR-80",
879 .type = QUIRK_MIDI_FIXED_ENDPOINT,
880 .data = & (const snd_usb_midi_endpoint_info_t) {
881 .out_cables = 0x0003,
887 USB_DEVICE(0x0582, 0x004d),
888 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
889 .vendor_name = "EDIROL",
890 .product_name = "PCR-A",
892 .type = QUIRK_MIDI_FIXED_ENDPOINT,
893 .data = & (const snd_usb_midi_endpoint_info_t) {
894 .out_cables = 0x0003,
901 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
902 * is standard compliant, but has only 16-bit PCM.
904 USB_DEVICE(0x0582, 0x0050),
905 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
906 .vendor_name = "EDIROL",
907 .product_name = "UA-3FX",
908 .ifnum = QUIRK_ANY_INTERFACE,
909 .type = QUIRK_COMPOSITE,
910 .data = (const snd_usb_audio_quirk_t[]) {
913 .type = QUIRK_AUDIO_STANDARD_INTERFACE
917 .type = QUIRK_AUDIO_STANDARD_INTERFACE
926 USB_DEVICE(0x0582, 0x0052),
927 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
928 .vendor_name = "EDIROL",
929 .product_name = "UM-1SX",
931 .type = QUIRK_MIDI_STANDARD_INTERFACE
935 USB_DEVICE(0x0582, 0x0065),
936 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
937 .vendor_name = "EDIROL",
938 .product_name = "PCR-1",
940 .type = QUIRK_MIDI_FIXED_ENDPOINT,
941 .data = & (const snd_usb_midi_endpoint_info_t) {
942 .out_cables = 0x0001,
948 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
949 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
950 .vendor_name = "Roland",
951 .product_name = "SP-606",
953 .type = QUIRK_MIDI_FIXED_ENDPOINT,
954 .data = & (const snd_usb_midi_endpoint_info_t) {
955 .out_cables = 0x0001,
961 USB_DEVICE(0x0582, 0x006d),
962 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
963 .vendor_name = "Roland",
964 .product_name = "FANTOM-X",
966 .type = QUIRK_MIDI_FIXED_ENDPOINT,
967 .data = & (const snd_usb_midi_endpoint_info_t) {
968 .out_cables = 0x0001,
974 * This quirk is for the "Advanced" modes of the Edirol UA-25.
975 * If the switch is not in an advanced setting, the UA-25 has
976 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
977 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
979 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
980 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
981 .vendor_name = "EDIROL",
982 .product_name = "UA-25",
983 .ifnum = QUIRK_ANY_INTERFACE,
984 .type = QUIRK_COMPOSITE,
985 .data = (const snd_usb_audio_quirk_t[]) {
988 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
992 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
996 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1005 USB_DEVICE(0x0582, 0x0075),
1006 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1007 .vendor_name = "BOSS",
1008 .product_name = "DR-880",
1010 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1011 .data = & (const snd_usb_midi_endpoint_info_t) {
1012 .out_cables = 0x0001,
1018 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1019 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1020 .vendor_name = "Roland",
1021 /* RD-700SX, RD-300SX */
1023 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1024 .data = & (const snd_usb_midi_endpoint_info_t) {
1025 .out_cables = 0x0003,
1031 /* Midiman/M-Audio devices */
1033 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1034 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1035 .vendor_name = "M-Audio",
1036 .product_name = "MidiSport 2x2",
1037 .ifnum = QUIRK_ANY_INTERFACE,
1038 .type = QUIRK_MIDI_MIDIMAN,
1039 .data = & (const snd_usb_midi_endpoint_info_t) {
1040 .out_cables = 0x0003,
1046 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1047 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1048 .vendor_name = "M-Audio",
1049 .product_name = "MidiSport 1x1",
1050 .ifnum = QUIRK_ANY_INTERFACE,
1051 .type = QUIRK_MIDI_MIDIMAN,
1052 .data = & (const snd_usb_midi_endpoint_info_t) {
1053 .out_cables = 0x0001,
1059 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1060 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1061 .vendor_name = "M-Audio",
1062 .product_name = "Keystation",
1063 .ifnum = QUIRK_ANY_INTERFACE,
1064 .type = QUIRK_MIDI_MIDIMAN,
1065 .data = & (const snd_usb_midi_endpoint_info_t) {
1066 .out_cables = 0x0001,
1072 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1073 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1074 .vendor_name = "M-Audio",
1075 .product_name = "MidiSport 4x4",
1076 .ifnum = QUIRK_ANY_INTERFACE,
1077 .type = QUIRK_MIDI_MIDIMAN,
1078 .data = & (const snd_usb_midi_endpoint_info_t) {
1079 .out_cables = 0x000f,
1086 * For hardware revision 1.05; in the later revisions (1.10 and
1087 * 1.21), 0x1031 is the ID for the device without firmware.
1088 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1090 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1091 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1092 .vendor_name = "M-Audio",
1093 .product_name = "MidiSport 8x8",
1094 .ifnum = QUIRK_ANY_INTERFACE,
1095 .type = QUIRK_MIDI_MIDIMAN,
1096 .data = & (const snd_usb_midi_endpoint_info_t) {
1097 .out_cables = 0x01ff,
1103 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1104 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1105 .vendor_name = "M-Audio",
1106 .product_name = "MidiSport 8x8",
1107 .ifnum = QUIRK_ANY_INTERFACE,
1108 .type = QUIRK_MIDI_MIDIMAN,
1109 .data = & (const snd_usb_midi_endpoint_info_t) {
1110 .out_cables = 0x01ff,
1116 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1117 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1118 .vendor_name = "M-Audio",
1119 .product_name = "MidiSport 2x4",
1120 .ifnum = QUIRK_ANY_INTERFACE,
1121 .type = QUIRK_MIDI_MIDIMAN,
1122 .data = & (const snd_usb_midi_endpoint_info_t) {
1123 .out_cables = 0x000f,
1129 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1130 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1131 .vendor_name = "M-Audio",
1132 .product_name = "Quattro",
1133 .ifnum = QUIRK_ANY_INTERFACE,
1134 .type = QUIRK_COMPOSITE,
1135 .data = & (const snd_usb_audio_quirk_t[]) {
1137 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1138 * and share endpoints with the other interfaces.
1139 * Ignore them. The other interfaces can do 24 bits,
1140 * but captured samples are big-endian (see usbaudio.c).
1144 .type = QUIRK_IGNORE_INTERFACE
1148 .type = QUIRK_IGNORE_INTERFACE
1152 .type = QUIRK_IGNORE_INTERFACE
1156 .type = QUIRK_IGNORE_INTERFACE
1160 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1164 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1168 .type = QUIRK_IGNORE_INTERFACE
1172 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1176 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1180 .type = QUIRK_MIDI_MIDIMAN,
1181 .data = & (const snd_usb_midi_endpoint_info_t) {
1182 .out_cables = 0x0001,
1193 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1194 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1195 .vendor_name = "M-Audio",
1196 .product_name = "AudioPhile",
1198 .type = QUIRK_MIDI_MIDIMAN,
1199 .data = & (const snd_usb_midi_endpoint_info_t) {
1200 .out_cables = 0x0001,
1206 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1207 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1208 .vendor_name = "M-Audio",
1209 .product_name = "Ozone",
1211 .type = QUIRK_MIDI_MIDIMAN,
1212 .data = & (const snd_usb_midi_endpoint_info_t) {
1213 .out_cables = 0x0001,
1219 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1220 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1221 .vendor_name = "M-Audio",
1222 .product_name = "OmniStudio",
1223 .ifnum = QUIRK_ANY_INTERFACE,
1224 .type = QUIRK_COMPOSITE,
1225 .data = & (const snd_usb_audio_quirk_t[]) {
1228 .type = QUIRK_IGNORE_INTERFACE
1232 .type = QUIRK_IGNORE_INTERFACE
1236 .type = QUIRK_IGNORE_INTERFACE
1240 .type = QUIRK_IGNORE_INTERFACE
1244 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1248 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1252 .type = QUIRK_IGNORE_INTERFACE
1256 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1260 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1264 .type = QUIRK_MIDI_MIDIMAN,
1265 .data = & (const snd_usb_midi_endpoint_info_t) {
1266 .out_cables = 0x0001,
1277 /* Mark of the Unicorn devices */
1279 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1280 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1281 USB_DEVICE_ID_MATCH_PRODUCT |
1282 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1284 .idProduct = 0x0001,
1285 .bDeviceSubClass = 2,
1286 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1287 .vendor_name = "MOTU",
1288 .product_name = "Fastlane",
1289 .ifnum = QUIRK_ANY_INTERFACE,
1290 .type = QUIRK_COMPOSITE,
1291 .data = & (const snd_usb_audio_quirk_t[]) {
1294 .type = QUIRK_MIDI_RAW
1298 .type = QUIRK_IGNORE_INTERFACE
1308 /* Creative Sound Blaster MP3+ */
1309 USB_DEVICE(0x041e, 0x3010),
1310 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1311 .vendor_name = "Creative Labs",
1312 .product_name = "Sound Blaster MP3+",
1313 .ifnum = QUIRK_NO_INTERFACE
1318 /* Emagic devices */
1320 USB_DEVICE(0x086a, 0x0001),
1321 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1322 .vendor_name = "Emagic",
1323 /* .product_name = "Unitor8", */
1325 .type = QUIRK_MIDI_EMAGIC,
1326 .data = & (const snd_usb_midi_endpoint_info_t) {
1327 .out_cables = 0x80ff,
1333 USB_DEVICE(0x086a, 0x0002),
1334 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1335 .vendor_name = "Emagic",
1336 /* .product_name = "AMT8", */
1338 .type = QUIRK_MIDI_EMAGIC,
1339 .data = & (const snd_usb_midi_endpoint_info_t) {
1340 .out_cables = 0x80ff,
1346 USB_DEVICE(0x086a, 0x0003),
1347 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1348 .vendor_name = "Emagic",
1349 /* .product_name = "MT4", */
1351 .type = QUIRK_MIDI_EMAGIC,
1352 .data = & (const snd_usb_midi_endpoint_info_t) {
1353 .out_cables = 0x800f,
1360 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1361 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1362 .vendor_name = "Terratec",
1363 .product_name = "PHASE 26",
1365 .type = QUIRK_MIDI_STANDARD_INTERFACE
1369 /* Novation EMS devices */
1371 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1372 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1373 .vendor_name = "Novation",
1374 .product_name = "ReMOTE Audio/XStation",
1376 .type = QUIRK_MIDI_NOVATION
1380 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1381 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1382 .vendor_name = "Novation",
1383 .product_name = "Speedio",
1385 .type = QUIRK_MIDI_NOVATION
1389 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1390 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1391 .vendor_name = "Novation",
1392 .product_name = "ReMOTE25",
1394 .type = QUIRK_MIDI_NOVATION
1399 USB_DEVICE(0x4752, 0x0011),
1400 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1401 .vendor_name = "Miditech",
1402 .product_name = "Midistart-2",
1404 .type = QUIRK_MIDI_MIDITECH
1408 USB_DEVICE(0x7104, 0x2202),
1409 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1410 .vendor_name = "Miditech",
1411 .product_name = "MidiStudio-2",
1413 .type = QUIRK_MIDI_MIDITECH
1419 * Some USB MIDI devices don't have an audio control interface,
1420 * so we have to grab MIDI streaming interfaces here.
1422 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1423 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1424 .bInterfaceClass = USB_CLASS_AUDIO,
1425 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
1426 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
1427 .ifnum = QUIRK_ANY_INTERFACE,
1428 .type = QUIRK_MIDI_STANDARD_INTERFACE
1432 #undef USB_DEVICE_VENDOR_SPEC