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(0x2000, "DGP-7"),
121 YAMAHA_DEVICE(0x2001, "DGP-5"),
122 YAMAHA_DEVICE(0x2002, NULL
),
123 YAMAHA_DEVICE(0x5000, "CS1D"),
124 YAMAHA_DEVICE(0x5001, "DSP1D"),
125 YAMAHA_DEVICE(0x5002, "DME32"),
126 YAMAHA_DEVICE(0x5003, "DM2000"),
127 YAMAHA_DEVICE(0x5004, "02R96"),
128 YAMAHA_DEVICE(0x5005, "ACU16-C"),
129 YAMAHA_DEVICE(0x5006, "NHB32-C"),
130 YAMAHA_DEVICE(0x5007, "DM1000"),
131 YAMAHA_DEVICE(0x5008, "01V96"),
132 YAMAHA_DEVICE(0x5009, "SPX2000"),
133 YAMAHA_DEVICE(0x500a, "PM5D"),
134 YAMAHA_DEVICE(0x500b, "DME64N"),
135 YAMAHA_DEVICE(0x500c, "DME24N"),
136 YAMAHA_DEVICE(0x500d, NULL
),
137 YAMAHA_DEVICE(0x500e, NULL
),
138 YAMAHA_DEVICE(0x7000, "DTX"),
139 YAMAHA_DEVICE(0x7010, "UB99"),
141 #undef YAMAHA_INTERFACE
144 * Roland/RolandED/Edirol/BOSS devices
147 USB_DEVICE(0x0582, 0x0000),
148 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
149 .vendor_name
= "Roland",
150 .product_name
= "UA-100",
151 .ifnum
= QUIRK_ANY_INTERFACE
,
152 .type
= QUIRK_COMPOSITE
,
153 .data
= (const snd_usb_audio_quirk_t
[]) {
156 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
157 .data
= & (const struct audioformat
) {
158 .format
= SNDRV_PCM_FORMAT_S16_LE
,
166 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
173 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
174 .data
= & (const struct audioformat
) {
175 .format
= SNDRV_PCM_FORMAT_S16_LE
,
180 .attributes
= EP_CS_ATTR_FILL_MAX
,
183 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
190 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
191 .data
= & (const snd_usb_midi_endpoint_info_t
) {
192 .out_cables
= 0x0007,
203 USB_DEVICE(0x0582, 0x0002),
204 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
205 .vendor_name
= "EDIROL",
206 .product_name
= "UM-4",
207 .ifnum
= QUIRK_ANY_INTERFACE
,
208 .type
= QUIRK_COMPOSITE
,
209 .data
= (const snd_usb_audio_quirk_t
[]) {
212 .type
= QUIRK_IGNORE_INTERFACE
216 .type
= QUIRK_IGNORE_INTERFACE
220 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
221 .data
= & (const snd_usb_midi_endpoint_info_t
) {
222 .out_cables
= 0x000f,
233 USB_DEVICE(0x0582, 0x0003),
234 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
235 .vendor_name
= "Roland",
236 .product_name
= "SC-8850",
237 .ifnum
= QUIRK_ANY_INTERFACE
,
238 .type
= QUIRK_COMPOSITE
,
239 .data
= (const snd_usb_audio_quirk_t
[]) {
242 .type
= QUIRK_IGNORE_INTERFACE
246 .type
= QUIRK_IGNORE_INTERFACE
250 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
251 .data
= & (const snd_usb_midi_endpoint_info_t
) {
252 .out_cables
= 0x003f,
263 USB_DEVICE(0x0582, 0x0004),
264 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
265 .vendor_name
= "Roland",
266 .product_name
= "U-8",
267 .ifnum
= QUIRK_ANY_INTERFACE
,
268 .type
= QUIRK_COMPOSITE
,
269 .data
= (const snd_usb_audio_quirk_t
[]) {
272 .type
= QUIRK_IGNORE_INTERFACE
276 .type
= QUIRK_IGNORE_INTERFACE
280 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
281 .data
= & (const snd_usb_midi_endpoint_info_t
) {
282 .out_cables
= 0x0005,
293 USB_DEVICE(0x0582, 0x0005),
294 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
295 .vendor_name
= "EDIROL",
296 .product_name
= "UM-2",
297 .ifnum
= QUIRK_ANY_INTERFACE
,
298 .type
= QUIRK_COMPOSITE
,
299 .data
= (const snd_usb_audio_quirk_t
[]) {
302 .type
= QUIRK_IGNORE_INTERFACE
306 .type
= QUIRK_IGNORE_INTERFACE
310 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
311 .data
= & (const snd_usb_midi_endpoint_info_t
) {
312 .out_cables
= 0x0003,
323 USB_DEVICE(0x0582, 0x0007),
324 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
325 .vendor_name
= "Roland",
326 .product_name
= "SC-8820",
327 .ifnum
= QUIRK_ANY_INTERFACE
,
328 .type
= QUIRK_COMPOSITE
,
329 .data
= (const snd_usb_audio_quirk_t
[]) {
332 .type
= QUIRK_IGNORE_INTERFACE
336 .type
= QUIRK_IGNORE_INTERFACE
340 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
341 .data
= & (const snd_usb_midi_endpoint_info_t
) {
342 .out_cables
= 0x0013,
353 USB_DEVICE(0x0582, 0x0008),
354 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
355 .vendor_name
= "Roland",
356 .product_name
= "PC-300",
357 .ifnum
= QUIRK_ANY_INTERFACE
,
358 .type
= QUIRK_COMPOSITE
,
359 .data
= (const snd_usb_audio_quirk_t
[]) {
362 .type
= QUIRK_IGNORE_INTERFACE
366 .type
= QUIRK_IGNORE_INTERFACE
370 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
371 .data
= & (const snd_usb_midi_endpoint_info_t
) {
372 .out_cables
= 0x0001,
383 USB_DEVICE(0x0582, 0x0009),
384 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
385 .vendor_name
= "EDIROL",
386 .product_name
= "UM-1",
387 .ifnum
= QUIRK_ANY_INTERFACE
,
388 .type
= QUIRK_COMPOSITE
,
389 .data
= (const snd_usb_audio_quirk_t
[]) {
392 .type
= QUIRK_IGNORE_INTERFACE
396 .type
= QUIRK_IGNORE_INTERFACE
400 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
401 .data
= & (const snd_usb_midi_endpoint_info_t
) {
402 .out_cables
= 0x0001,
413 USB_DEVICE(0x0582, 0x000b),
414 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
415 .vendor_name
= "Roland",
416 .product_name
= "SK-500",
417 .ifnum
= QUIRK_ANY_INTERFACE
,
418 .type
= QUIRK_COMPOSITE
,
419 .data
= (const snd_usb_audio_quirk_t
[]) {
422 .type
= QUIRK_IGNORE_INTERFACE
426 .type
= QUIRK_IGNORE_INTERFACE
430 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
431 .data
= & (const snd_usb_midi_endpoint_info_t
) {
432 .out_cables
= 0x0013,
443 /* thanks to Emiliano Grilli <emillo@libero.it>
444 * for helping researching this data */
445 USB_DEVICE(0x0582, 0x000c),
446 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
447 .vendor_name
= "Roland",
448 .product_name
= "SC-D70",
449 .ifnum
= QUIRK_ANY_INTERFACE
,
450 .type
= QUIRK_COMPOSITE
,
451 .data
= (const snd_usb_audio_quirk_t
[]) {
454 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
455 .data
= & (const struct audioformat
) {
456 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
464 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
471 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
472 .data
= & (const struct audioformat
) {
473 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
481 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
488 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
489 .data
= & (const snd_usb_midi_endpoint_info_t
) {
490 .out_cables
= 0x0007,
501 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
502 * If the advanced mode switch at the back of the unit is off, the
503 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
504 * but offers only 16-bit PCM.
505 * In advanced mode, the UA-5 will output S24_3LE samples (two
506 * channels) at the rate indicated on the front switch, including
507 * the 96kHz sample rate.
509 USB_DEVICE(0x0582, 0x0010),
510 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
511 .vendor_name
= "EDIROL",
512 .product_name
= "UA-5",
513 .ifnum
= QUIRK_ANY_INTERFACE
,
514 .type
= QUIRK_COMPOSITE
,
515 .data
= (const snd_usb_audio_quirk_t
[]) {
518 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
522 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
531 USB_DEVICE(0x0582, 0x0012),
532 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
533 .vendor_name
= "Roland",
534 .product_name
= "XV-5050",
536 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
537 .data
= & (const snd_usb_midi_endpoint_info_t
) {
538 .out_cables
= 0x0001,
544 USB_DEVICE(0x0582, 0x0014),
545 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
546 .vendor_name
= "EDIROL",
547 .product_name
= "UM-880",
549 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
550 .data
= & (const snd_usb_midi_endpoint_info_t
) {
551 .out_cables
= 0x01ff,
557 USB_DEVICE(0x0582, 0x0016),
558 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
559 .vendor_name
= "EDIROL",
560 .product_name
= "SD-90",
561 .ifnum
= QUIRK_ANY_INTERFACE
,
562 .type
= QUIRK_COMPOSITE
,
563 .data
= (const snd_usb_audio_quirk_t
[]) {
566 .type
= QUIRK_IGNORE_INTERFACE
570 .type
= QUIRK_IGNORE_INTERFACE
574 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
575 .data
= & (const snd_usb_midi_endpoint_info_t
) {
576 .out_cables
= 0x000f,
587 USB_DEVICE(0x0582, 0x001b),
588 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
589 .vendor_name
= "Roland",
590 .product_name
= "MMP-2",
591 .ifnum
= QUIRK_ANY_INTERFACE
,
592 .type
= QUIRK_COMPOSITE
,
593 .data
= (const snd_usb_audio_quirk_t
[]) {
596 .type
= QUIRK_IGNORE_INTERFACE
600 .type
= QUIRK_IGNORE_INTERFACE
604 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
605 .data
= & (const snd_usb_midi_endpoint_info_t
) {
606 .out_cables
= 0x0001,
617 USB_DEVICE(0x0582, 0x001d),
618 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
619 .vendor_name
= "Roland",
620 .product_name
= "V-SYNTH",
622 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
623 .data
= & (const snd_usb_midi_endpoint_info_t
) {
624 .out_cables
= 0x0001,
630 USB_DEVICE(0x0582, 0x0023),
631 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
632 .vendor_name
= "EDIROL",
633 .product_name
= "UM-550",
635 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
636 .data
= & (const snd_usb_midi_endpoint_info_t
) {
637 .out_cables
= 0x003f,
644 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
645 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
648 USB_DEVICE(0x0582, 0x0025),
649 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
650 .vendor_name
= "EDIROL",
651 .product_name
= "UA-20",
652 .ifnum
= QUIRK_ANY_INTERFACE
,
653 .type
= QUIRK_COMPOSITE
,
654 .data
= (const snd_usb_audio_quirk_t
[]) {
657 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
661 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
665 .type
= QUIRK_MIDI_STANDARD_INTERFACE
674 USB_DEVICE(0x0582, 0x0027),
675 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
676 .vendor_name
= "EDIROL",
677 .product_name
= "SD-20",
679 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
680 .data
= & (const snd_usb_midi_endpoint_info_t
) {
681 .out_cables
= 0x0003,
687 USB_DEVICE(0x0582, 0x0029),
688 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
689 .vendor_name
= "EDIROL",
690 .product_name
= "SD-80",
692 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
693 .data
= & (const snd_usb_midi_endpoint_info_t
) {
694 .out_cables
= 0x000f,
700 * This quirk is for the "Advanced" modes of the Edirol UA-700.
701 * If the sample format switch is not in an advanced setting, the
702 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
703 * but offers only 16-bit PCM and no MIDI.
705 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
706 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
707 .vendor_name
= "EDIROL",
708 .product_name
= "UA-700",
709 .ifnum
= QUIRK_ANY_INTERFACE
,
710 .type
= QUIRK_COMPOSITE
,
711 .data
= (const snd_usb_audio_quirk_t
[]) {
714 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
718 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
722 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
731 USB_DEVICE(0x0582, 0x002d),
732 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
733 .vendor_name
= "Roland",
734 .product_name
= "XV-2020",
736 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
737 .data
= & (const snd_usb_midi_endpoint_info_t
) {
738 .out_cables
= 0x0001,
744 USB_DEVICE(0x0582, 0x002f),
745 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
746 .vendor_name
= "Roland",
747 .product_name
= "VariOS",
749 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
750 .data
= & (const snd_usb_midi_endpoint_info_t
) {
751 .out_cables
= 0x0007,
757 USB_DEVICE(0x0582, 0x0033),
758 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
759 .vendor_name
= "EDIROL",
760 .product_name
= "PCR",
762 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
763 .data
= & (const snd_usb_midi_endpoint_info_t
) {
764 .out_cables
= 0x0003,
770 USB_DEVICE(0x0582, 0x0037),
771 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
772 .vendor_name
= "Roland",
773 .product_name
= "Digital Piano",
775 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
776 .data
= & (const snd_usb_midi_endpoint_info_t
) {
777 .out_cables
= 0x0001,
784 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
785 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
788 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
789 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
790 .vendor_name
= "BOSS",
791 .product_name
= "GS-10",
792 .ifnum
= QUIRK_ANY_INTERFACE
,
793 .type
= QUIRK_COMPOSITE
,
794 .data
= & (const snd_usb_audio_quirk_t
[]) {
797 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
801 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
805 .type
= QUIRK_MIDI_STANDARD_INTERFACE
814 USB_DEVICE(0x0582, 0x0040),
815 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
816 .vendor_name
= "Roland",
817 .product_name
= "GI-20",
819 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
820 .data
= & (const snd_usb_midi_endpoint_info_t
) {
821 .out_cables
= 0x0001,
827 USB_DEVICE(0x0582, 0x0042),
828 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
829 .vendor_name
= "Roland",
830 .product_name
= "RS-70",
832 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
833 .data
= & (const snd_usb_midi_endpoint_info_t
) {
834 .out_cables
= 0x0001,
840 USB_DEVICE(0x0582, 0x0044),
841 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
842 .vendor_name
= "Roland",
843 .product_name
= "UA-1000",
844 .ifnum
= QUIRK_ANY_INTERFACE
,
845 .type
= QUIRK_COMPOSITE
,
846 .data
= (const snd_usb_audio_quirk_t
[]) {
849 .type
= QUIRK_AUDIO_EDIROL_UA1000
853 .type
= QUIRK_AUDIO_EDIROL_UA1000
857 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
858 .data
= & (const snd_usb_midi_endpoint_info_t
) {
859 .out_cables
= 0x0003,
870 USB_DEVICE(0x0582, 0x0048),
871 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
872 .vendor_name
= "EDIROL",
873 .product_name
= "UR-80",
875 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
876 .data
= & (const snd_usb_midi_endpoint_info_t
) {
877 .out_cables
= 0x0003,
883 USB_DEVICE(0x0582, 0x004d),
884 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
885 .vendor_name
= "EDIROL",
886 .product_name
= "PCR-A",
888 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
889 .data
= & (const snd_usb_midi_endpoint_info_t
) {
890 .out_cables
= 0x0003,
897 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
898 * is standard compliant, but has only 16-bit PCM.
900 USB_DEVICE(0x0582, 0x0050),
901 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
902 .vendor_name
= "EDIROL",
903 .product_name
= "UA-3FX",
904 .ifnum
= QUIRK_ANY_INTERFACE
,
905 .type
= QUIRK_COMPOSITE
,
906 .data
= (const snd_usb_audio_quirk_t
[]) {
909 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
913 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
922 USB_DEVICE(0x0582, 0x0052),
923 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
924 .vendor_name
= "EDIROL",
925 .product_name
= "UM-1SX",
927 .type
= QUIRK_MIDI_STANDARD_INTERFACE
931 USB_DEVICE(0x0582, 0x0065),
932 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
933 .vendor_name
= "EDIROL",
934 .product_name
= "PCR-1",
936 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
937 .data
= & (const snd_usb_midi_endpoint_info_t
) {
938 .out_cables
= 0x0001,
944 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
945 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
946 .vendor_name
= "Roland",
947 .product_name
= "SP-606",
949 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
950 .data
= & (const snd_usb_midi_endpoint_info_t
) {
951 .out_cables
= 0x0001,
957 USB_DEVICE(0x0582, 0x006d),
958 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
959 .vendor_name
= "Roland",
960 .product_name
= "FANTOM-X",
962 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
963 .data
= & (const snd_usb_midi_endpoint_info_t
) {
964 .out_cables
= 0x0001,
970 * This quirk is for the "Advanced" modes of the Edirol UA-25.
971 * If the switch is not in an advanced setting, the UA-25 has
972 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
973 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
975 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
976 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
977 .vendor_name
= "EDIROL",
978 .product_name
= "UA-25",
979 .ifnum
= QUIRK_ANY_INTERFACE
,
980 .type
= QUIRK_COMPOSITE
,
981 .data
= (const snd_usb_audio_quirk_t
[]) {
984 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
988 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
992 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
1001 USB_DEVICE(0x0582, 0x0075),
1002 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1003 .vendor_name
= "BOSS",
1004 .product_name
= "DR-880",
1006 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1007 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1008 .out_cables
= 0x0001,
1014 /* Midiman/M-Audio devices */
1016 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1017 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1018 .vendor_name
= "M-Audio",
1019 .product_name
= "MidiSport 2x2",
1020 .ifnum
= QUIRK_ANY_INTERFACE
,
1021 .type
= QUIRK_MIDI_MIDIMAN
,
1022 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1023 .out_cables
= 0x0003,
1029 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1030 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1031 .vendor_name
= "M-Audio",
1032 .product_name
= "MidiSport 1x1",
1033 .ifnum
= QUIRK_ANY_INTERFACE
,
1034 .type
= QUIRK_MIDI_MIDIMAN
,
1035 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1036 .out_cables
= 0x0001,
1042 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1043 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1044 .vendor_name
= "M-Audio",
1045 .product_name
= "Keystation",
1046 .ifnum
= QUIRK_ANY_INTERFACE
,
1047 .type
= QUIRK_MIDI_MIDIMAN
,
1048 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1049 .out_cables
= 0x0001,
1055 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1056 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1057 .vendor_name
= "M-Audio",
1058 .product_name
= "MidiSport 4x4",
1059 .ifnum
= QUIRK_ANY_INTERFACE
,
1060 .type
= QUIRK_MIDI_MIDIMAN
,
1061 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1062 .out_cables
= 0x000f,
1069 * For hardware revision 1.05; in the later revisions (1.10 and
1070 * 1.21), 0x1031 is the ID for the device without firmware.
1071 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1073 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1074 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1075 .vendor_name
= "M-Audio",
1076 .product_name
= "MidiSport 8x8",
1077 .ifnum
= QUIRK_ANY_INTERFACE
,
1078 .type
= QUIRK_MIDI_MIDIMAN
,
1079 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1080 .out_cables
= 0x01ff,
1086 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1087 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1088 .vendor_name
= "M-Audio",
1089 .product_name
= "MidiSport 8x8",
1090 .ifnum
= QUIRK_ANY_INTERFACE
,
1091 .type
= QUIRK_MIDI_MIDIMAN
,
1092 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1093 .out_cables
= 0x01ff,
1099 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1100 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1101 .vendor_name
= "M-Audio",
1102 .product_name
= "MidiSport 2x4",
1103 .ifnum
= QUIRK_ANY_INTERFACE
,
1104 .type
= QUIRK_MIDI_MIDIMAN
,
1105 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1106 .out_cables
= 0x000f,
1112 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1113 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1114 .vendor_name
= "M-Audio",
1115 .product_name
= "Quattro",
1116 .ifnum
= QUIRK_ANY_INTERFACE
,
1117 .type
= QUIRK_COMPOSITE
,
1118 .data
= & (const snd_usb_audio_quirk_t
[]) {
1120 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1121 * and share endpoints with the other interfaces.
1122 * Ignore them. The other interfaces can do 24 bits,
1123 * but captured samples are big-endian (see usbaudio.c).
1127 .type
= QUIRK_IGNORE_INTERFACE
1131 .type
= QUIRK_IGNORE_INTERFACE
1135 .type
= QUIRK_IGNORE_INTERFACE
1139 .type
= QUIRK_IGNORE_INTERFACE
1143 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1147 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1151 .type
= QUIRK_IGNORE_INTERFACE
1155 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1159 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1163 .type
= QUIRK_MIDI_MIDIMAN
,
1164 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1165 .out_cables
= 0x0001,
1176 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1177 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1178 .vendor_name
= "M-Audio",
1179 .product_name
= "AudioPhile",
1181 .type
= QUIRK_MIDI_MIDIMAN
,
1182 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1183 .out_cables
= 0x0001,
1189 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1190 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1191 .vendor_name
= "M-Audio",
1192 .product_name
= "Ozone",
1194 .type
= QUIRK_MIDI_MIDIMAN
,
1195 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1196 .out_cables
= 0x0001,
1202 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1203 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1204 .vendor_name
= "M-Audio",
1205 .product_name
= "OmniStudio",
1206 .ifnum
= QUIRK_ANY_INTERFACE
,
1207 .type
= QUIRK_COMPOSITE
,
1208 .data
= & (const snd_usb_audio_quirk_t
[]) {
1211 .type
= QUIRK_IGNORE_INTERFACE
1215 .type
= QUIRK_IGNORE_INTERFACE
1219 .type
= QUIRK_IGNORE_INTERFACE
1223 .type
= QUIRK_IGNORE_INTERFACE
1227 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1231 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1235 .type
= QUIRK_IGNORE_INTERFACE
1239 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1243 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1247 .type
= QUIRK_MIDI_MIDIMAN
,
1248 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1249 .out_cables
= 0x0001,
1260 /* Mark of the Unicorn devices */
1262 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1263 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
1264 USB_DEVICE_ID_MATCH_PRODUCT
|
1265 USB_DEVICE_ID_MATCH_DEV_SUBCLASS
,
1267 .idProduct
= 0x0001,
1268 .bDeviceSubClass
= 2,
1269 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1270 .vendor_name
= "MOTU",
1271 .product_name
= "Fastlane",
1272 .ifnum
= QUIRK_ANY_INTERFACE
,
1273 .type
= QUIRK_COMPOSITE
,
1274 .data
= & (const snd_usb_audio_quirk_t
[]) {
1277 .type
= QUIRK_MIDI_RAW
1281 .type
= QUIRK_IGNORE_INTERFACE
1291 /* Creative Sound Blaster MP3+ */
1292 USB_DEVICE(0x041e, 0x3010),
1293 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1294 .vendor_name
= "Creative Labs",
1295 .product_name
= "Sound Blaster MP3+",
1296 .ifnum
= QUIRK_NO_INTERFACE
1301 /* Emagic devices */
1303 USB_DEVICE(0x086a, 0x0001),
1304 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1305 .vendor_name
= "Emagic",
1306 /* .product_name = "Unitor8", */
1308 .type
= QUIRK_MIDI_EMAGIC
,
1309 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1310 .out_cables
= 0x80ff,
1316 USB_DEVICE(0x086a, 0x0002),
1317 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1318 .vendor_name
= "Emagic",
1319 /* .product_name = "AMT8", */
1321 .type
= QUIRK_MIDI_EMAGIC
,
1322 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1323 .out_cables
= 0x80ff,
1329 USB_DEVICE(0x086a, 0x0003),
1330 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1331 .vendor_name
= "Emagic",
1332 /* .product_name = "MT4", */
1334 .type
= QUIRK_MIDI_EMAGIC
,
1335 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1336 .out_cables
= 0x800f,
1343 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1344 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1345 .vendor_name
= "Terratec",
1346 .product_name
= "PHASE 26",
1348 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1352 /* Novation EMS devices */
1354 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1355 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1356 .vendor_name
= "Novation",
1357 .product_name
= "ReMOTE Audio/XStation",
1359 .type
= QUIRK_MIDI_NOVATION
1363 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1364 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1365 .vendor_name
= "Novation",
1366 .product_name
= "Speedio",
1368 .type
= QUIRK_MIDI_NOVATION
1372 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1373 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1374 .vendor_name
= "Novation",
1375 .product_name
= "ReMOTE25",
1377 .type
= QUIRK_MIDI_NOVATION
1382 USB_DEVICE(0x4752, 0x0011),
1383 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1384 .vendor_name
= "Miditech",
1385 .product_name
= "Midistart-2",
1387 .type
= QUIRK_MIDI_MIDITECH
1391 USB_DEVICE(0x7104, 0x2202),
1392 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1393 .vendor_name
= "Miditech",
1394 .product_name
= "MidiStudio-2",
1396 .type
= QUIRK_MIDI_MIDITECH
1402 * Some USB MIDI devices don't have an audio control interface,
1403 * so we have to grab MIDI streaming interfaces here.
1405 .match_flags
= USB_DEVICE_ID_MATCH_INT_CLASS
|
1406 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
1407 .bInterfaceClass
= USB_CLASS_AUDIO
,
1408 .bInterfaceSubClass
= USB_SUBCLASS_MIDI_STREAMING
,
1409 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1410 .ifnum
= QUIRK_ANY_INTERFACE
,
1411 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1415 #undef USB_DEVICE_VENDOR_SPEC