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(0x2000, "DGP-7"),
120 YAMAHA_DEVICE(0x2001, "DGP-5"),
121 YAMAHA_DEVICE(0x2002, NULL
),
122 YAMAHA_DEVICE(0x5000, "CS1D"),
123 YAMAHA_DEVICE(0x5001, "DSP1D"),
124 YAMAHA_DEVICE(0x5002, "DME32"),
125 YAMAHA_DEVICE(0x5003, "DM2000"),
126 YAMAHA_DEVICE(0x5004, "02R96"),
127 YAMAHA_DEVICE(0x5005, "ACU16-C"),
128 YAMAHA_DEVICE(0x5006, "NHB32-C"),
129 YAMAHA_DEVICE(0x5007, "DM1000"),
130 YAMAHA_DEVICE(0x5008, "01V96"),
131 YAMAHA_DEVICE(0x5009, "SPX2000"),
132 YAMAHA_DEVICE(0x500a, "PM5D"),
133 YAMAHA_DEVICE(0x500b, "DME64N"),
134 YAMAHA_DEVICE(0x500c, "DME24N"),
135 YAMAHA_DEVICE(0x500d, NULL
),
136 YAMAHA_DEVICE(0x500e, NULL
),
137 YAMAHA_DEVICE(0x7000, "DTX"),
138 YAMAHA_DEVICE(0x7010, "UB99"),
140 #undef YAMAHA_INTERFACE
143 * Roland/RolandED/Edirol/BOSS devices
146 USB_DEVICE(0x0582, 0x0000),
147 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
148 .vendor_name
= "Roland",
149 .product_name
= "UA-100",
150 .ifnum
= QUIRK_ANY_INTERFACE
,
151 .type
= QUIRK_COMPOSITE
,
152 .data
= (const snd_usb_audio_quirk_t
[]) {
155 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
156 .data
= & (const struct audioformat
) {
157 .format
= SNDRV_PCM_FORMAT_S16_LE
,
165 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
172 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
173 .data
= & (const struct audioformat
) {
174 .format
= SNDRV_PCM_FORMAT_S16_LE
,
179 .attributes
= EP_CS_ATTR_FILL_MAX
,
182 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
189 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
190 .data
= & (const snd_usb_midi_endpoint_info_t
) {
191 .out_cables
= 0x0007,
202 USB_DEVICE(0x0582, 0x0002),
203 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
204 .vendor_name
= "EDIROL",
205 .product_name
= "UM-4",
206 .ifnum
= QUIRK_ANY_INTERFACE
,
207 .type
= QUIRK_COMPOSITE
,
208 .data
= (const snd_usb_audio_quirk_t
[]) {
211 .type
= QUIRK_IGNORE_INTERFACE
215 .type
= QUIRK_IGNORE_INTERFACE
219 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
220 .data
= & (const snd_usb_midi_endpoint_info_t
) {
221 .out_cables
= 0x000f,
232 USB_DEVICE(0x0582, 0x0003),
233 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
234 .vendor_name
= "Roland",
235 .product_name
= "SC-8850",
236 .ifnum
= QUIRK_ANY_INTERFACE
,
237 .type
= QUIRK_COMPOSITE
,
238 .data
= (const snd_usb_audio_quirk_t
[]) {
241 .type
= QUIRK_IGNORE_INTERFACE
245 .type
= QUIRK_IGNORE_INTERFACE
249 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
250 .data
= & (const snd_usb_midi_endpoint_info_t
) {
251 .out_cables
= 0x003f,
262 USB_DEVICE(0x0582, 0x0004),
263 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
264 .vendor_name
= "Roland",
265 .product_name
= "U-8",
266 .ifnum
= QUIRK_ANY_INTERFACE
,
267 .type
= QUIRK_COMPOSITE
,
268 .data
= (const snd_usb_audio_quirk_t
[]) {
271 .type
= QUIRK_IGNORE_INTERFACE
275 .type
= QUIRK_IGNORE_INTERFACE
279 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
280 .data
= & (const snd_usb_midi_endpoint_info_t
) {
281 .out_cables
= 0x0005,
292 USB_DEVICE(0x0582, 0x0005),
293 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
294 .vendor_name
= "EDIROL",
295 .product_name
= "UM-2",
296 .ifnum
= QUIRK_ANY_INTERFACE
,
297 .type
= QUIRK_COMPOSITE
,
298 .data
= (const snd_usb_audio_quirk_t
[]) {
301 .type
= QUIRK_IGNORE_INTERFACE
305 .type
= QUIRK_IGNORE_INTERFACE
309 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
310 .data
= & (const snd_usb_midi_endpoint_info_t
) {
311 .out_cables
= 0x0003,
322 USB_DEVICE(0x0582, 0x0007),
323 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
324 .vendor_name
= "Roland",
325 .product_name
= "SC-8820",
326 .ifnum
= QUIRK_ANY_INTERFACE
,
327 .type
= QUIRK_COMPOSITE
,
328 .data
= (const snd_usb_audio_quirk_t
[]) {
331 .type
= QUIRK_IGNORE_INTERFACE
335 .type
= QUIRK_IGNORE_INTERFACE
339 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
340 .data
= & (const snd_usb_midi_endpoint_info_t
) {
341 .out_cables
= 0x0013,
352 USB_DEVICE(0x0582, 0x0008),
353 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
354 .vendor_name
= "Roland",
355 .product_name
= "PC-300",
356 .ifnum
= QUIRK_ANY_INTERFACE
,
357 .type
= QUIRK_COMPOSITE
,
358 .data
= (const snd_usb_audio_quirk_t
[]) {
361 .type
= QUIRK_IGNORE_INTERFACE
365 .type
= QUIRK_IGNORE_INTERFACE
369 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
370 .data
= & (const snd_usb_midi_endpoint_info_t
) {
371 .out_cables
= 0x0001,
382 USB_DEVICE(0x0582, 0x0009),
383 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
384 .vendor_name
= "EDIROL",
385 .product_name
= "UM-1",
386 .ifnum
= QUIRK_ANY_INTERFACE
,
387 .type
= QUIRK_COMPOSITE
,
388 .data
= (const snd_usb_audio_quirk_t
[]) {
391 .type
= QUIRK_IGNORE_INTERFACE
395 .type
= QUIRK_IGNORE_INTERFACE
399 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
400 .data
= & (const snd_usb_midi_endpoint_info_t
) {
401 .out_cables
= 0x0001,
412 USB_DEVICE(0x0582, 0x000b),
413 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
414 .vendor_name
= "Roland",
415 .product_name
= "SK-500",
416 .ifnum
= QUIRK_ANY_INTERFACE
,
417 .type
= QUIRK_COMPOSITE
,
418 .data
= (const snd_usb_audio_quirk_t
[]) {
421 .type
= QUIRK_IGNORE_INTERFACE
425 .type
= QUIRK_IGNORE_INTERFACE
429 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
430 .data
= & (const snd_usb_midi_endpoint_info_t
) {
431 .out_cables
= 0x0013,
442 /* thanks to Emiliano Grilli <emillo@libero.it>
443 * for helping researching this data */
444 USB_DEVICE(0x0582, 0x000c),
445 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
446 .vendor_name
= "Roland",
447 .product_name
= "SC-D70",
448 .ifnum
= QUIRK_ANY_INTERFACE
,
449 .type
= QUIRK_COMPOSITE
,
450 .data
= (const snd_usb_audio_quirk_t
[]) {
453 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
454 .data
= & (const struct audioformat
) {
455 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
463 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
470 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
471 .data
= & (const struct audioformat
) {
472 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
480 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
487 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
488 .data
= & (const snd_usb_midi_endpoint_info_t
) {
489 .out_cables
= 0x0007,
500 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
501 * If the advanced mode switch at the back of the unit is off, the
502 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
503 * but offers only 16-bit PCM.
504 * In advanced mode, the UA-5 will output S24_3LE samples (two
505 * channels) at the rate indicated on the front switch, including
506 * the 96kHz sample rate.
508 USB_DEVICE(0x0582, 0x0010),
509 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
510 .vendor_name
= "EDIROL",
511 .product_name
= "UA-5",
512 .ifnum
= QUIRK_ANY_INTERFACE
,
513 .type
= QUIRK_COMPOSITE
,
514 .data
= (const snd_usb_audio_quirk_t
[]) {
517 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
521 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
530 USB_DEVICE(0x0582, 0x0012),
531 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
532 .vendor_name
= "Roland",
533 .product_name
= "XV-5050",
535 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
536 .data
= & (const snd_usb_midi_endpoint_info_t
) {
537 .out_cables
= 0x0001,
543 USB_DEVICE(0x0582, 0x0014),
544 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
545 .vendor_name
= "EDIROL",
546 .product_name
= "UM-880",
548 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
549 .data
= & (const snd_usb_midi_endpoint_info_t
) {
550 .out_cables
= 0x01ff,
556 USB_DEVICE(0x0582, 0x0016),
557 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
558 .vendor_name
= "EDIROL",
559 .product_name
= "SD-90",
560 .ifnum
= QUIRK_ANY_INTERFACE
,
561 .type
= QUIRK_COMPOSITE
,
562 .data
= (const snd_usb_audio_quirk_t
[]) {
565 .type
= QUIRK_IGNORE_INTERFACE
569 .type
= QUIRK_IGNORE_INTERFACE
573 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
574 .data
= & (const snd_usb_midi_endpoint_info_t
) {
575 .out_cables
= 0x000f,
586 USB_DEVICE(0x0582, 0x001b),
587 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
588 .vendor_name
= "Roland",
589 .product_name
= "MMP-2",
590 .ifnum
= QUIRK_ANY_INTERFACE
,
591 .type
= QUIRK_COMPOSITE
,
592 .data
= (const snd_usb_audio_quirk_t
[]) {
595 .type
= QUIRK_IGNORE_INTERFACE
599 .type
= QUIRK_IGNORE_INTERFACE
603 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
604 .data
= & (const snd_usb_midi_endpoint_info_t
) {
605 .out_cables
= 0x0001,
616 USB_DEVICE(0x0582, 0x001d),
617 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
618 .vendor_name
= "Roland",
619 .product_name
= "V-SYNTH",
621 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
622 .data
= & (const snd_usb_midi_endpoint_info_t
) {
623 .out_cables
= 0x0001,
629 USB_DEVICE(0x0582, 0x0023),
630 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
631 .vendor_name
= "EDIROL",
632 .product_name
= "UM-550",
634 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
635 .data
= & (const snd_usb_midi_endpoint_info_t
) {
636 .out_cables
= 0x003f,
643 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
644 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
647 USB_DEVICE(0x0582, 0x0025),
648 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
649 .vendor_name
= "EDIROL",
650 .product_name
= "UA-20",
651 .ifnum
= QUIRK_ANY_INTERFACE
,
652 .type
= QUIRK_COMPOSITE
,
653 .data
= (const snd_usb_audio_quirk_t
[]) {
656 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
660 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
664 .type
= QUIRK_MIDI_STANDARD_INTERFACE
673 USB_DEVICE(0x0582, 0x0027),
674 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
675 .vendor_name
= "EDIROL",
676 .product_name
= "SD-20",
678 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
679 .data
= & (const snd_usb_midi_endpoint_info_t
) {
680 .out_cables
= 0x0003,
686 USB_DEVICE(0x0582, 0x0029),
687 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
688 .vendor_name
= "EDIROL",
689 .product_name
= "SD-80",
691 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
692 .data
= & (const snd_usb_midi_endpoint_info_t
) {
693 .out_cables
= 0x000f,
699 * This quirk is for the "Advanced" modes of the Edirol UA-700.
700 * If the sample format switch is not in an advanced setting, the
701 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
702 * but offers only 16-bit PCM and no MIDI.
704 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
705 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
706 .vendor_name
= "EDIROL",
707 .product_name
= "UA-700",
708 .ifnum
= QUIRK_ANY_INTERFACE
,
709 .type
= QUIRK_COMPOSITE
,
710 .data
= (const snd_usb_audio_quirk_t
[]) {
713 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
717 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
721 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
730 USB_DEVICE(0x0582, 0x002d),
731 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
732 .vendor_name
= "Roland",
733 .product_name
= "XV-2020",
735 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
736 .data
= & (const snd_usb_midi_endpoint_info_t
) {
737 .out_cables
= 0x0001,
743 USB_DEVICE(0x0582, 0x002f),
744 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
745 .vendor_name
= "Roland",
746 .product_name
= "VariOS",
748 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
749 .data
= & (const snd_usb_midi_endpoint_info_t
) {
750 .out_cables
= 0x0007,
756 USB_DEVICE(0x0582, 0x0033),
757 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
758 .vendor_name
= "EDIROL",
759 .product_name
= "PCR",
761 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
762 .data
= & (const snd_usb_midi_endpoint_info_t
) {
763 .out_cables
= 0x0003,
769 USB_DEVICE(0x0582, 0x0037),
770 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
771 .vendor_name
= "Roland",
772 .product_name
= "Digital Piano",
774 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
775 .data
= & (const snd_usb_midi_endpoint_info_t
) {
776 .out_cables
= 0x0001,
783 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
784 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
787 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
788 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
789 .vendor_name
= "BOSS",
790 .product_name
= "GS-10",
791 .ifnum
= QUIRK_ANY_INTERFACE
,
792 .type
= QUIRK_COMPOSITE
,
793 .data
= & (const snd_usb_audio_quirk_t
[]) {
796 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
800 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
804 .type
= QUIRK_MIDI_STANDARD_INTERFACE
813 USB_DEVICE(0x0582, 0x0040),
814 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
815 .vendor_name
= "Roland",
816 .product_name
= "GI-20",
818 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
819 .data
= & (const snd_usb_midi_endpoint_info_t
) {
820 .out_cables
= 0x0001,
826 USB_DEVICE(0x0582, 0x0042),
827 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
828 .vendor_name
= "Roland",
829 .product_name
= "RS-70",
831 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
832 .data
= & (const snd_usb_midi_endpoint_info_t
) {
833 .out_cables
= 0x0001,
839 USB_DEVICE(0x0582, 0x0044),
840 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
841 .vendor_name
= "Roland",
842 .product_name
= "UA-1000",
843 .ifnum
= QUIRK_ANY_INTERFACE
,
844 .type
= QUIRK_COMPOSITE
,
845 .data
= (const snd_usb_audio_quirk_t
[]) {
848 .type
= QUIRK_AUDIO_EDIROL_UA1000
852 .type
= QUIRK_AUDIO_EDIROL_UA1000
856 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
857 .data
= & (const snd_usb_midi_endpoint_info_t
) {
858 .out_cables
= 0x0003,
869 USB_DEVICE(0x0582, 0x0048),
870 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
871 .vendor_name
= "EDIROL",
872 .product_name
= "UR-80",
874 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
875 .data
= & (const snd_usb_midi_endpoint_info_t
) {
876 .out_cables
= 0x0003,
882 USB_DEVICE(0x0582, 0x004d),
883 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
884 .vendor_name
= "EDIROL",
885 .product_name
= "PCR-A",
887 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
888 .data
= & (const snd_usb_midi_endpoint_info_t
) {
889 .out_cables
= 0x0003,
896 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
897 * is standard compliant, but has only 16-bit PCM.
899 USB_DEVICE(0x0582, 0x0050),
900 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
901 .vendor_name
= "EDIROL",
902 .product_name
= "UA-3FX",
903 .ifnum
= QUIRK_ANY_INTERFACE
,
904 .type
= QUIRK_COMPOSITE
,
905 .data
= (const snd_usb_audio_quirk_t
[]) {
908 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
912 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
921 USB_DEVICE(0x0582, 0x0052),
922 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
923 .vendor_name
= "EDIROL",
924 .product_name
= "UM-1SX",
926 .type
= QUIRK_MIDI_STANDARD_INTERFACE
930 USB_DEVICE(0x0582, 0x0065),
931 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
932 .vendor_name
= "EDIROL",
933 .product_name
= "PCR-1",
935 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
936 .data
= & (const snd_usb_midi_endpoint_info_t
) {
937 .out_cables
= 0x0001,
943 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
944 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
945 .vendor_name
= "Roland",
946 .product_name
= "SP-606",
948 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
949 .data
= & (const snd_usb_midi_endpoint_info_t
) {
950 .out_cables
= 0x0001,
956 USB_DEVICE(0x0582, 0x006d),
957 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
958 .vendor_name
= "Roland",
959 .product_name
= "FANTOM-X",
961 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
962 .data
= & (const snd_usb_midi_endpoint_info_t
) {
963 .out_cables
= 0x0001,
969 * This quirk is for the "Advanced" modes of the Edirol UA-25.
970 * If the switch is not in an advanced setting, the UA-25 has
971 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
972 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
974 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
975 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
976 .vendor_name
= "EDIROL",
977 .product_name
= "UA-25",
978 .ifnum
= QUIRK_ANY_INTERFACE
,
979 .type
= QUIRK_COMPOSITE
,
980 .data
= (const snd_usb_audio_quirk_t
[]) {
983 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
987 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
991 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
1000 USB_DEVICE(0x0582, 0x0075),
1001 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1002 .vendor_name
= "BOSS",
1003 .product_name
= "DR-880",
1005 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1006 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1007 .out_cables
= 0x0001,
1013 /* Midiman/M-Audio devices */
1015 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1016 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1017 .vendor_name
= "M-Audio",
1018 .product_name
= "MidiSport 2x2",
1019 .ifnum
= QUIRK_ANY_INTERFACE
,
1020 .type
= QUIRK_MIDI_MIDIMAN
,
1021 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1022 .out_cables
= 0x0003,
1028 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1029 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1030 .vendor_name
= "M-Audio",
1031 .product_name
= "MidiSport 1x1",
1032 .ifnum
= QUIRK_ANY_INTERFACE
,
1033 .type
= QUIRK_MIDI_MIDIMAN
,
1034 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1035 .out_cables
= 0x0001,
1041 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1042 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1043 .vendor_name
= "M-Audio",
1044 .product_name
= "Keystation",
1045 .ifnum
= QUIRK_ANY_INTERFACE
,
1046 .type
= QUIRK_MIDI_MIDIMAN
,
1047 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1048 .out_cables
= 0x0001,
1054 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1055 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1056 .vendor_name
= "M-Audio",
1057 .product_name
= "MidiSport 4x4",
1058 .ifnum
= QUIRK_ANY_INTERFACE
,
1059 .type
= QUIRK_MIDI_MIDIMAN
,
1060 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1061 .out_cables
= 0x000f,
1068 * For hardware revision 1.05; in the later revisions (1.10 and
1069 * 1.21), 0x1031 is the ID for the device without firmware.
1070 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1072 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1073 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1074 .vendor_name
= "M-Audio",
1075 .product_name
= "MidiSport 8x8",
1076 .ifnum
= QUIRK_ANY_INTERFACE
,
1077 .type
= QUIRK_MIDI_MIDIMAN
,
1078 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1079 .out_cables
= 0x01ff,
1085 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1086 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1087 .vendor_name
= "M-Audio",
1088 .product_name
= "MidiSport 8x8",
1089 .ifnum
= QUIRK_ANY_INTERFACE
,
1090 .type
= QUIRK_MIDI_MIDIMAN
,
1091 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1092 .out_cables
= 0x01ff,
1098 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1099 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1100 .vendor_name
= "M-Audio",
1101 .product_name
= "MidiSport 2x4",
1102 .ifnum
= QUIRK_ANY_INTERFACE
,
1103 .type
= QUIRK_MIDI_MIDIMAN
,
1104 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1105 .out_cables
= 0x000f,
1111 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1112 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1113 .vendor_name
= "M-Audio",
1114 .product_name
= "Quattro",
1115 .ifnum
= QUIRK_ANY_INTERFACE
,
1116 .type
= QUIRK_COMPOSITE
,
1117 .data
= & (const snd_usb_audio_quirk_t
[]) {
1119 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1120 * and share endpoints with the other interfaces.
1121 * Ignore them. The other interfaces can do 24 bits,
1122 * but captured samples are big-endian (see usbaudio.c).
1126 .type
= QUIRK_IGNORE_INTERFACE
1130 .type
= QUIRK_IGNORE_INTERFACE
1134 .type
= QUIRK_IGNORE_INTERFACE
1138 .type
= QUIRK_IGNORE_INTERFACE
1142 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1146 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1150 .type
= QUIRK_IGNORE_INTERFACE
1154 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1158 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1162 .type
= QUIRK_MIDI_MIDIMAN
,
1163 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1164 .out_cables
= 0x0001,
1175 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1176 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1177 .vendor_name
= "M-Audio",
1178 .product_name
= "AudioPhile",
1180 .type
= QUIRK_MIDI_MIDIMAN
,
1181 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1182 .out_cables
= 0x0001,
1188 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1189 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1190 .vendor_name
= "M-Audio",
1191 .product_name
= "Ozone",
1193 .type
= QUIRK_MIDI_MIDIMAN
,
1194 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1195 .out_cables
= 0x0001,
1201 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1202 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1203 .vendor_name
= "M-Audio",
1204 .product_name
= "OmniStudio",
1205 .ifnum
= QUIRK_ANY_INTERFACE
,
1206 .type
= QUIRK_COMPOSITE
,
1207 .data
= & (const snd_usb_audio_quirk_t
[]) {
1210 .type
= QUIRK_IGNORE_INTERFACE
1214 .type
= QUIRK_IGNORE_INTERFACE
1218 .type
= QUIRK_IGNORE_INTERFACE
1222 .type
= QUIRK_IGNORE_INTERFACE
1226 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1230 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1234 .type
= QUIRK_IGNORE_INTERFACE
1238 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1242 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1246 .type
= QUIRK_MIDI_MIDIMAN
,
1247 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1248 .out_cables
= 0x0001,
1259 /* Mark of the Unicorn devices */
1261 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1262 USB_DEVICE(0x07fd, 0x0001),
1263 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1264 .vendor_name
= "MOTU",
1265 .product_name
= "Fastlane",
1266 .ifnum
= QUIRK_ANY_INTERFACE
,
1267 .type
= QUIRK_COMPOSITE
,
1268 .data
= & (const snd_usb_audio_quirk_t
[]) {
1271 .type
= QUIRK_MIDI_MOTU
1275 .type
= QUIRK_IGNORE_INTERFACE
1285 /* Creative Sound Blaster MP3+ */
1286 USB_DEVICE(0x041e, 0x3010),
1287 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1288 .vendor_name
= "Creative Labs",
1289 .product_name
= "Sound Blaster MP3+",
1290 .ifnum
= QUIRK_NO_INTERFACE
1295 /* Emagic devices */
1297 USB_DEVICE(0x086a, 0x0001),
1298 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1299 .vendor_name
= "Emagic",
1300 /* .product_name = "Unitor8", */
1302 .type
= QUIRK_MIDI_EMAGIC
,
1303 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1304 .out_cables
= 0x80ff,
1310 USB_DEVICE(0x086a, 0x0002),
1311 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1312 .vendor_name
= "Emagic",
1313 /* .product_name = "AMT8", */
1315 .type
= QUIRK_MIDI_EMAGIC
,
1316 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1317 .out_cables
= 0x80ff,
1323 USB_DEVICE(0x086a, 0x0003),
1324 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1325 .vendor_name
= "Emagic",
1326 /* .product_name = "MT4", */
1328 .type
= QUIRK_MIDI_EMAGIC
,
1329 .data
= & (const snd_usb_midi_endpoint_info_t
) {
1330 .out_cables
= 0x800f,
1337 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1338 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1339 .vendor_name
= "Terratec",
1340 .product_name
= "PHASE 26",
1342 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1346 /* Novation EMS devices */
1348 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1349 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1350 .vendor_name
= "Novation",
1351 .product_name
= "ReMOTE Audio/XStation",
1353 .type
= QUIRK_MIDI_NOVATION
1357 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1358 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1359 .vendor_name
= "Novation",
1360 .product_name
= "Speedio",
1362 .type
= QUIRK_MIDI_NOVATION
1366 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1367 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1368 .vendor_name
= "Novation",
1369 .product_name
= "ReMOTE25",
1371 .type
= QUIRK_MIDI_NOVATION
1377 * Some USB MIDI devices don't have an audio control interface,
1378 * so we have to grab MIDI streaming interfaces here.
1380 .match_flags
= USB_DEVICE_ID_MATCH_INT_CLASS
|
1381 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
1382 .bInterfaceClass
= USB_CLASS_AUDIO
,
1383 .bInterfaceSubClass
= USB_SUBCLASS_MIDI_STREAMING
,
1384 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
1385 .ifnum
= QUIRK_ANY_INTERFACE
,
1386 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1390 #undef USB_DEVICE_VENDOR_SPEC