1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * ALSA USB Audio Driver
5 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
6 * Clemens Ladisch <clemens@ladisch.de>
10 * The contents of this file are part of the driver's id_table.
12 * In a perfect world, this file would be empty.
16 * Use this for devices where other interfaces are standard compliant,
17 * to prevent the quirk being applied to those interfaces. (To work with
18 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
20 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
21 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
22 USB_DEVICE_ID_MATCH_PRODUCT | \
23 USB_DEVICE_ID_MATCH_INT_CLASS, \
26 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
28 /* A standard entry matching with vid/pid and the audio class/subclass */
29 #define USB_AUDIO_DEVICE(vend, prod) \
30 .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
31 USB_DEVICE_ID_MATCH_INT_CLASS | \
32 USB_DEVICE_ID_MATCH_INT_SUBCLASS, \
35 .bInterfaceClass = USB_CLASS_AUDIO, \
36 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
40 USB_DEVICE(0x0403, 0xb8d8),
41 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
42 /* .vendor_name = "STARR LABS", */
43 /* .product_name = "Starr Labs MIDI USB device", */
45 .type = QUIRK_MIDI_FTDI
51 USB_DEVICE(0x041e, 0x0005),
52 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
54 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
55 .data = &(const struct audioformat) {
56 .formats = SNDRV_PCM_FMTBIT_S16_LE,
62 .ep_attr = USB_ENDPOINT_XFER_ISOC,
64 .rates = SNDRV_PCM_RATE_CONTINUOUS,
72 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f02) },
74 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f04) },
75 /* E-Mu Tracker Pre */
76 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f0a) },
78 { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f19) },
82 * When not ignored, causes instability issues for some users, forcing them to
83 * skip the entire module.
86 USB_DEVICE(0x0424, 0xb832),
87 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
88 .vendor_name = "Standard Microsystems Corp.",
89 .product_name = "HP Wireless Audio",
90 .ifnum = QUIRK_ANY_INTERFACE,
91 .type = QUIRK_COMPOSITE,
92 .data = (const struct snd_usb_audio_quirk[]) {
96 .type = QUIRK_IGNORE_INTERFACE,
101 .type = QUIRK_IGNORE_INTERFACE,
106 .type = QUIRK_IGNORE_INTERFACE,
108 /* HID Device, .ifnum = 3 */
117 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
118 * class matches do not take effect without an explicit ID match.
120 { USB_AUDIO_DEVICE(0x046d, 0x0850) },
121 { USB_AUDIO_DEVICE(0x046d, 0x08ae) },
122 { USB_AUDIO_DEVICE(0x046d, 0x08c6) },
123 { USB_AUDIO_DEVICE(0x046d, 0x08f0) },
124 { USB_AUDIO_DEVICE(0x046d, 0x08f5) },
125 { USB_AUDIO_DEVICE(0x046d, 0x08f6) },
126 { USB_AUDIO_DEVICE(0x046d, 0x0990) },
132 #define YAMAHA_DEVICE(id, name) { \
133 USB_DEVICE(0x0499, id), \
134 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
135 .vendor_name = "Yamaha", \
136 .product_name = name, \
137 .ifnum = QUIRK_ANY_INTERFACE, \
138 .type = QUIRK_MIDI_YAMAHA \
141 #define YAMAHA_INTERFACE(id, intf, name) { \
142 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
143 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
144 .vendor_name = "Yamaha", \
145 .product_name = name, \
147 .type = QUIRK_MIDI_YAMAHA \
150 YAMAHA_DEVICE(0x1000, "UX256"),
151 YAMAHA_DEVICE(0x1001, "MU1000"),
152 YAMAHA_DEVICE(0x1002, "MU2000"),
153 YAMAHA_DEVICE(0x1003, "MU500"),
154 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
155 YAMAHA_DEVICE(0x1005, "MOTIF6"),
156 YAMAHA_DEVICE(0x1006, "MOTIF7"),
157 YAMAHA_DEVICE(0x1007, "MOTIF8"),
158 YAMAHA_DEVICE(0x1008, "UX96"),
159 YAMAHA_DEVICE(0x1009, "UX16"),
160 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
161 YAMAHA_DEVICE(0x100c, "UC-MX"),
162 YAMAHA_DEVICE(0x100d, "UC-KX"),
163 YAMAHA_DEVICE(0x100e, "S08"),
164 YAMAHA_DEVICE(0x100f, "CLP-150"),
165 YAMAHA_DEVICE(0x1010, "CLP-170"),
166 YAMAHA_DEVICE(0x1011, "P-250"),
167 YAMAHA_DEVICE(0x1012, "TYROS"),
168 YAMAHA_DEVICE(0x1013, "PF-500"),
169 YAMAHA_DEVICE(0x1014, "S90"),
170 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
171 YAMAHA_DEVICE(0x1016, "MDP-5"),
172 YAMAHA_DEVICE(0x1017, "CVP-204"),
173 YAMAHA_DEVICE(0x1018, "CVP-206"),
174 YAMAHA_DEVICE(0x1019, "CVP-208"),
175 YAMAHA_DEVICE(0x101a, "CVP-210"),
176 YAMAHA_DEVICE(0x101b, "PSR-1100"),
177 YAMAHA_DEVICE(0x101c, "PSR-2100"),
178 YAMAHA_DEVICE(0x101d, "CLP-175"),
179 YAMAHA_DEVICE(0x101e, "PSR-K1"),
180 YAMAHA_DEVICE(0x101f, "EZ-J24"),
181 YAMAHA_DEVICE(0x1020, "EZ-250i"),
182 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
183 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
184 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
185 YAMAHA_DEVICE(0x1024, "CVP-301"),
186 YAMAHA_DEVICE(0x1025, "CVP-303"),
187 YAMAHA_DEVICE(0x1026, "CVP-305"),
188 YAMAHA_DEVICE(0x1027, "CVP-307"),
189 YAMAHA_DEVICE(0x1028, "CVP-309"),
190 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
191 YAMAHA_DEVICE(0x102a, "PSR-1500"),
192 YAMAHA_DEVICE(0x102b, "PSR-3000"),
193 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
194 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
195 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
196 YAMAHA_DEVICE(0x1032, "DGX-305"),
197 YAMAHA_DEVICE(0x1033, "DGX-505"),
198 YAMAHA_DEVICE(0x1034, NULL),
199 YAMAHA_DEVICE(0x1035, NULL),
200 YAMAHA_DEVICE(0x1036, NULL),
201 YAMAHA_DEVICE(0x1037, NULL),
202 YAMAHA_DEVICE(0x1038, NULL),
203 YAMAHA_DEVICE(0x1039, NULL),
204 YAMAHA_DEVICE(0x103a, NULL),
205 YAMAHA_DEVICE(0x103b, NULL),
206 YAMAHA_DEVICE(0x103c, NULL),
207 YAMAHA_DEVICE(0x103d, NULL),
208 YAMAHA_DEVICE(0x103e, NULL),
209 YAMAHA_DEVICE(0x103f, NULL),
210 YAMAHA_DEVICE(0x1040, NULL),
211 YAMAHA_DEVICE(0x1041, NULL),
212 YAMAHA_DEVICE(0x1042, NULL),
213 YAMAHA_DEVICE(0x1043, NULL),
214 YAMAHA_DEVICE(0x1044, NULL),
215 YAMAHA_DEVICE(0x1045, NULL),
216 YAMAHA_INTERFACE(0x104e, 0, NULL),
217 YAMAHA_DEVICE(0x104f, NULL),
218 YAMAHA_DEVICE(0x1050, NULL),
219 YAMAHA_DEVICE(0x1051, NULL),
220 YAMAHA_DEVICE(0x1052, NULL),
221 YAMAHA_INTERFACE(0x1053, 0, NULL),
222 YAMAHA_INTERFACE(0x1054, 0, NULL),
223 YAMAHA_DEVICE(0x1055, NULL),
224 YAMAHA_DEVICE(0x1056, NULL),
225 YAMAHA_DEVICE(0x1057, NULL),
226 YAMAHA_DEVICE(0x1058, NULL),
227 YAMAHA_DEVICE(0x1059, NULL),
228 YAMAHA_DEVICE(0x105a, NULL),
229 YAMAHA_DEVICE(0x105b, NULL),
230 YAMAHA_DEVICE(0x105c, NULL),
231 YAMAHA_DEVICE(0x105d, NULL),
233 USB_DEVICE(0x0499, 0x1503),
234 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
235 /* .vendor_name = "Yamaha", */
236 /* .product_name = "MOX6/MOX8", */
237 .ifnum = QUIRK_ANY_INTERFACE,
238 .type = QUIRK_COMPOSITE,
239 .data = (const struct snd_usb_audio_quirk[]) {
242 .type = QUIRK_AUDIO_STANDARD_INTERFACE
246 .type = QUIRK_AUDIO_STANDARD_INTERFACE
250 .type = QUIRK_MIDI_YAMAHA
259 USB_DEVICE(0x0499, 0x1507),
260 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
261 /* .vendor_name = "Yamaha", */
262 /* .product_name = "THR10", */
263 .ifnum = QUIRK_ANY_INTERFACE,
264 .type = QUIRK_COMPOSITE,
265 .data = (const struct snd_usb_audio_quirk[]) {
268 .type = QUIRK_AUDIO_STANDARD_INTERFACE
272 .type = QUIRK_AUDIO_STANDARD_INTERFACE
276 .type = QUIRK_MIDI_YAMAHA
285 USB_DEVICE(0x0499, 0x1509),
286 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
287 /* .vendor_name = "Yamaha", */
288 /* .product_name = "Steinberg UR22", */
289 .ifnum = QUIRK_ANY_INTERFACE,
290 .type = QUIRK_COMPOSITE,
291 .data = (const struct snd_usb_audio_quirk[]) {
294 .type = QUIRK_AUDIO_STANDARD_INTERFACE
298 .type = QUIRK_AUDIO_STANDARD_INTERFACE
302 .type = QUIRK_MIDI_YAMAHA
306 .type = QUIRK_IGNORE_INTERFACE
315 USB_DEVICE(0x0499, 0x150a),
316 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
317 /* .vendor_name = "Yamaha", */
318 /* .product_name = "THR5A", */
319 .ifnum = QUIRK_ANY_INTERFACE,
320 .type = QUIRK_COMPOSITE,
321 .data = (const struct snd_usb_audio_quirk[]) {
324 .type = QUIRK_AUDIO_STANDARD_INTERFACE
328 .type = QUIRK_AUDIO_STANDARD_INTERFACE
332 .type = QUIRK_MIDI_YAMAHA
341 USB_DEVICE(0x0499, 0x150c),
342 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
343 /* .vendor_name = "Yamaha", */
344 /* .product_name = "THR10C", */
345 .ifnum = QUIRK_ANY_INTERFACE,
346 .type = QUIRK_COMPOSITE,
347 .data = (const struct snd_usb_audio_quirk[]) {
350 .type = QUIRK_AUDIO_STANDARD_INTERFACE
354 .type = QUIRK_AUDIO_STANDARD_INTERFACE
358 .type = QUIRK_MIDI_YAMAHA
366 YAMAHA_DEVICE(0x2000, "DGP-7"),
367 YAMAHA_DEVICE(0x2001, "DGP-5"),
368 YAMAHA_DEVICE(0x2002, NULL),
369 YAMAHA_DEVICE(0x2003, NULL),
370 YAMAHA_DEVICE(0x5000, "CS1D"),
371 YAMAHA_DEVICE(0x5001, "DSP1D"),
372 YAMAHA_DEVICE(0x5002, "DME32"),
373 YAMAHA_DEVICE(0x5003, "DM2000"),
374 YAMAHA_DEVICE(0x5004, "02R96"),
375 YAMAHA_DEVICE(0x5005, "ACU16-C"),
376 YAMAHA_DEVICE(0x5006, "NHB32-C"),
377 YAMAHA_DEVICE(0x5007, "DM1000"),
378 YAMAHA_DEVICE(0x5008, "01V96"),
379 YAMAHA_DEVICE(0x5009, "SPX2000"),
380 YAMAHA_DEVICE(0x500a, "PM5D"),
381 YAMAHA_DEVICE(0x500b, "DME64N"),
382 YAMAHA_DEVICE(0x500c, "DME24N"),
383 YAMAHA_DEVICE(0x500d, NULL),
384 YAMAHA_DEVICE(0x500e, NULL),
385 YAMAHA_DEVICE(0x500f, NULL),
386 YAMAHA_DEVICE(0x7000, "DTX"),
387 YAMAHA_DEVICE(0x7010, "UB99"),
389 #undef YAMAHA_INTERFACE
390 /* this catches most recent vendor-specific Yamaha devices */
392 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
393 USB_DEVICE_ID_MATCH_INT_CLASS,
395 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
396 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
397 .ifnum = QUIRK_ANY_INTERFACE,
398 .type = QUIRK_AUTODETECT
403 * Roland/RolandED/Edirol/BOSS devices
406 USB_DEVICE(0x0582, 0x0000),
407 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
408 .vendor_name = "Roland",
409 .product_name = "UA-100",
410 .ifnum = QUIRK_ANY_INTERFACE,
411 .type = QUIRK_COMPOSITE,
412 .data = (const struct snd_usb_audio_quirk[]) {
415 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
416 .data = & (const struct audioformat) {
417 .formats = SNDRV_PCM_FMTBIT_S16_LE,
425 .rates = SNDRV_PCM_RATE_CONTINUOUS,
432 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
433 .data = & (const struct audioformat) {
434 .formats = SNDRV_PCM_FMTBIT_S16_LE,
439 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
442 .rates = SNDRV_PCM_RATE_CONTINUOUS,
449 .type = QUIRK_MIDI_FIXED_ENDPOINT,
450 .data = & (const struct snd_usb_midi_endpoint_info) {
451 .out_cables = 0x0007,
462 USB_DEVICE(0x0582, 0x0002),
463 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
464 .vendor_name = "EDIROL",
465 .product_name = "UM-4",
466 .ifnum = QUIRK_ANY_INTERFACE,
467 .type = QUIRK_COMPOSITE,
468 .data = (const struct snd_usb_audio_quirk[]) {
471 .type = QUIRK_IGNORE_INTERFACE
475 .type = QUIRK_IGNORE_INTERFACE
479 .type = QUIRK_MIDI_FIXED_ENDPOINT,
480 .data = & (const struct snd_usb_midi_endpoint_info) {
481 .out_cables = 0x000f,
492 USB_DEVICE(0x0582, 0x0003),
493 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
494 .vendor_name = "Roland",
495 .product_name = "SC-8850",
496 .ifnum = QUIRK_ANY_INTERFACE,
497 .type = QUIRK_COMPOSITE,
498 .data = (const struct snd_usb_audio_quirk[]) {
501 .type = QUIRK_IGNORE_INTERFACE
505 .type = QUIRK_IGNORE_INTERFACE
509 .type = QUIRK_MIDI_FIXED_ENDPOINT,
510 .data = & (const struct snd_usb_midi_endpoint_info) {
511 .out_cables = 0x003f,
522 USB_DEVICE(0x0582, 0x0004),
523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
524 .vendor_name = "Roland",
525 .product_name = "U-8",
526 .ifnum = QUIRK_ANY_INTERFACE,
527 .type = QUIRK_COMPOSITE,
528 .data = (const struct snd_usb_audio_quirk[]) {
531 .type = QUIRK_IGNORE_INTERFACE
535 .type = QUIRK_IGNORE_INTERFACE
539 .type = QUIRK_MIDI_FIXED_ENDPOINT,
540 .data = & (const struct snd_usb_midi_endpoint_info) {
541 .out_cables = 0x0005,
552 /* Has ID 0x0099 when not in "Advanced Driver" mode.
553 * The UM-2EX has only one input, but we cannot detect this. */
554 USB_DEVICE(0x0582, 0x0005),
555 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
556 .vendor_name = "EDIROL",
557 .product_name = "UM-2",
558 .ifnum = QUIRK_ANY_INTERFACE,
559 .type = QUIRK_COMPOSITE,
560 .data = (const struct snd_usb_audio_quirk[]) {
563 .type = QUIRK_IGNORE_INTERFACE
567 .type = QUIRK_IGNORE_INTERFACE
571 .type = QUIRK_MIDI_FIXED_ENDPOINT,
572 .data = & (const struct snd_usb_midi_endpoint_info) {
573 .out_cables = 0x0003,
584 USB_DEVICE(0x0582, 0x0007),
585 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
586 .vendor_name = "Roland",
587 .product_name = "SC-8820",
588 .ifnum = QUIRK_ANY_INTERFACE,
589 .type = QUIRK_COMPOSITE,
590 .data = (const struct snd_usb_audio_quirk[]) {
593 .type = QUIRK_IGNORE_INTERFACE
597 .type = QUIRK_IGNORE_INTERFACE
601 .type = QUIRK_MIDI_FIXED_ENDPOINT,
602 .data = & (const struct snd_usb_midi_endpoint_info) {
603 .out_cables = 0x0013,
614 USB_DEVICE(0x0582, 0x0008),
615 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
616 .vendor_name = "Roland",
617 .product_name = "PC-300",
618 .ifnum = QUIRK_ANY_INTERFACE,
619 .type = QUIRK_COMPOSITE,
620 .data = (const struct snd_usb_audio_quirk[]) {
623 .type = QUIRK_IGNORE_INTERFACE
627 .type = QUIRK_IGNORE_INTERFACE
631 .type = QUIRK_MIDI_FIXED_ENDPOINT,
632 .data = & (const struct snd_usb_midi_endpoint_info) {
633 .out_cables = 0x0001,
644 /* has ID 0x009d when not in "Advanced Driver" mode */
645 USB_DEVICE(0x0582, 0x0009),
646 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
647 .vendor_name = "EDIROL",
648 .product_name = "UM-1",
649 .ifnum = QUIRK_ANY_INTERFACE,
650 .type = QUIRK_COMPOSITE,
651 .data = (const struct snd_usb_audio_quirk[]) {
654 .type = QUIRK_IGNORE_INTERFACE
658 .type = QUIRK_IGNORE_INTERFACE
662 .type = QUIRK_MIDI_FIXED_ENDPOINT,
663 .data = & (const struct snd_usb_midi_endpoint_info) {
664 .out_cables = 0x0001,
675 USB_DEVICE(0x0582, 0x000b),
676 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
677 .vendor_name = "Roland",
678 .product_name = "SK-500",
679 .ifnum = QUIRK_ANY_INTERFACE,
680 .type = QUIRK_COMPOSITE,
681 .data = (const struct snd_usb_audio_quirk[]) {
684 .type = QUIRK_IGNORE_INTERFACE
688 .type = QUIRK_IGNORE_INTERFACE
692 .type = QUIRK_MIDI_FIXED_ENDPOINT,
693 .data = & (const struct snd_usb_midi_endpoint_info) {
694 .out_cables = 0x0013,
705 /* thanks to Emiliano Grilli <emillo@libero.it>
706 * for helping researching this data */
707 USB_DEVICE(0x0582, 0x000c),
708 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
709 .vendor_name = "Roland",
710 .product_name = "SC-D70",
711 .ifnum = QUIRK_ANY_INTERFACE,
712 .type = QUIRK_COMPOSITE,
713 .data = (const struct snd_usb_audio_quirk[]) {
716 .type = QUIRK_AUDIO_STANDARD_INTERFACE
720 .type = QUIRK_AUDIO_STANDARD_INTERFACE
724 .type = QUIRK_MIDI_FIXED_ENDPOINT,
725 .data = & (const struct snd_usb_midi_endpoint_info) {
726 .out_cables = 0x0007,
737 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
738 * If the advanced mode switch at the back of the unit is off, the
739 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
740 * but offers only 16-bit PCM.
741 * In advanced mode, the UA-5 will output S24_3LE samples (two
742 * channels) at the rate indicated on the front switch, including
743 * the 96kHz sample rate.
745 USB_DEVICE(0x0582, 0x0010),
746 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
747 .vendor_name = "EDIROL",
748 .product_name = "UA-5",
749 .ifnum = QUIRK_ANY_INTERFACE,
750 .type = QUIRK_COMPOSITE,
751 .data = (const struct snd_usb_audio_quirk[]) {
754 .type = QUIRK_AUDIO_STANDARD_INTERFACE
758 .type = QUIRK_AUDIO_STANDARD_INTERFACE
767 /* has ID 0x0013 when not in "Advanced Driver" mode */
768 USB_DEVICE(0x0582, 0x0012),
769 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
770 .vendor_name = "Roland",
771 .product_name = "XV-5050",
773 .type = QUIRK_MIDI_FIXED_ENDPOINT,
774 .data = & (const struct snd_usb_midi_endpoint_info) {
775 .out_cables = 0x0001,
781 /* has ID 0x0015 when not in "Advanced Driver" mode */
782 USB_DEVICE(0x0582, 0x0014),
783 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
784 .vendor_name = "EDIROL",
785 .product_name = "UM-880",
787 .type = QUIRK_MIDI_FIXED_ENDPOINT,
788 .data = & (const struct snd_usb_midi_endpoint_info) {
789 .out_cables = 0x01ff,
795 /* has ID 0x0017 when not in "Advanced Driver" mode */
796 USB_DEVICE(0x0582, 0x0016),
797 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
798 .vendor_name = "EDIROL",
799 .product_name = "SD-90",
800 .ifnum = QUIRK_ANY_INTERFACE,
801 .type = QUIRK_COMPOSITE,
802 .data = (const struct snd_usb_audio_quirk[]) {
805 .type = QUIRK_AUDIO_STANDARD_INTERFACE
809 .type = QUIRK_AUDIO_STANDARD_INTERFACE
813 .type = QUIRK_MIDI_FIXED_ENDPOINT,
814 .data = & (const struct snd_usb_midi_endpoint_info) {
815 .out_cables = 0x000f,
826 /* has ID 0x001c when not in "Advanced Driver" mode */
827 USB_DEVICE(0x0582, 0x001b),
828 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
829 .vendor_name = "Roland",
830 .product_name = "MMP-2",
831 .ifnum = QUIRK_ANY_INTERFACE,
832 .type = QUIRK_COMPOSITE,
833 .data = (const struct snd_usb_audio_quirk[]) {
836 .type = QUIRK_IGNORE_INTERFACE
840 .type = QUIRK_IGNORE_INTERFACE
844 .type = QUIRK_MIDI_FIXED_ENDPOINT,
845 .data = & (const struct snd_usb_midi_endpoint_info) {
846 .out_cables = 0x0001,
857 /* has ID 0x001e when not in "Advanced Driver" mode */
858 USB_DEVICE(0x0582, 0x001d),
859 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
860 .vendor_name = "Roland",
861 .product_name = "V-SYNTH",
863 .type = QUIRK_MIDI_FIXED_ENDPOINT,
864 .data = & (const struct snd_usb_midi_endpoint_info) {
865 .out_cables = 0x0001,
871 /* has ID 0x0024 when not in "Advanced Driver" mode */
872 USB_DEVICE(0x0582, 0x0023),
873 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
874 .vendor_name = "EDIROL",
875 .product_name = "UM-550",
877 .type = QUIRK_MIDI_FIXED_ENDPOINT,
878 .data = & (const struct snd_usb_midi_endpoint_info) {
879 .out_cables = 0x003f,
886 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
887 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
890 USB_DEVICE(0x0582, 0x0025),
891 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
892 .vendor_name = "EDIROL",
893 .product_name = "UA-20",
894 .ifnum = QUIRK_ANY_INTERFACE,
895 .type = QUIRK_COMPOSITE,
896 .data = (const struct snd_usb_audio_quirk[]) {
899 .type = QUIRK_IGNORE_INTERFACE
903 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
904 .data = & (const struct audioformat) {
905 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
913 .rates = SNDRV_PCM_RATE_CONTINUOUS,
920 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
921 .data = & (const struct audioformat) {
922 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
930 .rates = SNDRV_PCM_RATE_CONTINUOUS,
937 .type = QUIRK_MIDI_FIXED_ENDPOINT,
938 .data = & (const struct snd_usb_midi_endpoint_info) {
939 .out_cables = 0x0001,
950 /* has ID 0x0028 when not in "Advanced Driver" mode */
951 USB_DEVICE(0x0582, 0x0027),
952 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
953 .vendor_name = "EDIROL",
954 .product_name = "SD-20",
956 .type = QUIRK_MIDI_FIXED_ENDPOINT,
957 .data = & (const struct snd_usb_midi_endpoint_info) {
958 .out_cables = 0x0003,
964 /* has ID 0x002a when not in "Advanced Driver" mode */
965 USB_DEVICE(0x0582, 0x0029),
966 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
967 .vendor_name = "EDIROL",
968 .product_name = "SD-80",
970 .type = QUIRK_MIDI_FIXED_ENDPOINT,
971 .data = & (const struct snd_usb_midi_endpoint_info) {
972 .out_cables = 0x000f,
978 * This quirk is for the "Advanced" modes of the Edirol UA-700.
979 * If the sample format switch is not in an advanced setting, the
980 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
981 * but offers only 16-bit PCM and no MIDI.
983 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
984 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
985 .vendor_name = "EDIROL",
986 .product_name = "UA-700",
987 .ifnum = QUIRK_ANY_INTERFACE,
988 .type = QUIRK_COMPOSITE,
989 .data = (const struct snd_usb_audio_quirk[]) {
992 .type = QUIRK_AUDIO_EDIROL_UAXX
996 .type = QUIRK_AUDIO_EDIROL_UAXX
1000 .type = QUIRK_AUDIO_EDIROL_UAXX
1009 /* has ID 0x002e when not in "Advanced Driver" mode */
1010 USB_DEVICE(0x0582, 0x002d),
1011 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1012 .vendor_name = "Roland",
1013 .product_name = "XV-2020",
1015 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1016 .data = & (const struct snd_usb_midi_endpoint_info) {
1017 .out_cables = 0x0001,
1023 /* has ID 0x0030 when not in "Advanced Driver" mode */
1024 USB_DEVICE(0x0582, 0x002f),
1025 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1026 .vendor_name = "Roland",
1027 .product_name = "VariOS",
1029 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1030 .data = & (const struct snd_usb_midi_endpoint_info) {
1031 .out_cables = 0x0007,
1037 /* has ID 0x0034 when not in "Advanced Driver" mode */
1038 USB_DEVICE(0x0582, 0x0033),
1039 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1040 .vendor_name = "EDIROL",
1041 .product_name = "PCR",
1043 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1044 .data = & (const struct snd_usb_midi_endpoint_info) {
1045 .out_cables = 0x0003,
1052 * Has ID 0x0038 when not in "Advanced Driver" mode;
1053 * later revisions use IDs 0x0054 and 0x00a2.
1055 USB_DEVICE(0x0582, 0x0037),
1056 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1057 .vendor_name = "Roland",
1058 .product_name = "Digital Piano",
1060 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1061 .data = & (const struct snd_usb_midi_endpoint_info) {
1062 .out_cables = 0x0001,
1069 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1070 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1073 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1074 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1075 .vendor_name = "BOSS",
1076 .product_name = "GS-10",
1077 .ifnum = QUIRK_ANY_INTERFACE,
1078 .type = QUIRK_COMPOSITE,
1079 .data = & (const struct snd_usb_audio_quirk[]) {
1082 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1086 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1090 .type = QUIRK_MIDI_STANDARD_INTERFACE
1099 /* has ID 0x0041 when not in "Advanced Driver" mode */
1100 USB_DEVICE(0x0582, 0x0040),
1101 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1102 .vendor_name = "Roland",
1103 .product_name = "GI-20",
1105 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1106 .data = & (const struct snd_usb_midi_endpoint_info) {
1107 .out_cables = 0x0001,
1113 /* has ID 0x0043 when not in "Advanced Driver" mode */
1114 USB_DEVICE(0x0582, 0x0042),
1115 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1116 .vendor_name = "Roland",
1117 .product_name = "RS-70",
1119 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1120 .data = & (const struct snd_usb_midi_endpoint_info) {
1121 .out_cables = 0x0001,
1127 /* has ID 0x0049 when not in "Advanced Driver" mode */
1128 USB_DEVICE(0x0582, 0x0047),
1129 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1130 /* .vendor_name = "EDIROL", */
1131 /* .product_name = "UR-80", */
1132 .ifnum = QUIRK_ANY_INTERFACE,
1133 .type = QUIRK_COMPOSITE,
1134 .data = (const struct snd_usb_audio_quirk[]) {
1135 /* in the 96 kHz modes, only interface 1 is there */
1138 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1142 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1151 /* has ID 0x004a when not in "Advanced Driver" mode */
1152 USB_DEVICE(0x0582, 0x0048),
1153 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1154 /* .vendor_name = "EDIROL", */
1155 /* .product_name = "UR-80", */
1157 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1158 .data = & (const struct snd_usb_midi_endpoint_info) {
1159 .out_cables = 0x0003,
1165 /* has ID 0x004e when not in "Advanced Driver" mode */
1166 USB_DEVICE(0x0582, 0x004c),
1167 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1168 .vendor_name = "EDIROL",
1169 .product_name = "PCR-A",
1170 .ifnum = QUIRK_ANY_INTERFACE,
1171 .type = QUIRK_COMPOSITE,
1172 .data = (const struct snd_usb_audio_quirk[]) {
1175 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1179 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1188 /* has ID 0x004f when not in "Advanced Driver" mode */
1189 USB_DEVICE(0x0582, 0x004d),
1190 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1191 .vendor_name = "EDIROL",
1192 .product_name = "PCR-A",
1194 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1195 .data = & (const struct snd_usb_midi_endpoint_info) {
1196 .out_cables = 0x0003,
1203 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1204 * is standard compliant, but has only 16-bit PCM.
1206 USB_DEVICE(0x0582, 0x0050),
1207 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1208 .vendor_name = "EDIROL",
1209 .product_name = "UA-3FX",
1210 .ifnum = QUIRK_ANY_INTERFACE,
1211 .type = QUIRK_COMPOSITE,
1212 .data = (const struct snd_usb_audio_quirk[]) {
1215 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1219 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1228 USB_DEVICE(0x0582, 0x0052),
1229 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1230 .vendor_name = "EDIROL",
1231 .product_name = "UM-1SX",
1233 .type = QUIRK_MIDI_STANDARD_INTERFACE
1237 USB_DEVICE(0x0582, 0x0060),
1238 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1239 .vendor_name = "Roland",
1240 .product_name = "EXR Series",
1242 .type = QUIRK_MIDI_STANDARD_INTERFACE
1246 /* has ID 0x0066 when not in "Advanced Driver" mode */
1247 USB_DEVICE(0x0582, 0x0064),
1248 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1249 /* .vendor_name = "EDIROL", */
1250 /* .product_name = "PCR-1", */
1251 .ifnum = QUIRK_ANY_INTERFACE,
1252 .type = QUIRK_COMPOSITE,
1253 .data = (const struct snd_usb_audio_quirk[]) {
1256 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1260 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1269 /* has ID 0x0067 when not in "Advanced Driver" mode */
1270 USB_DEVICE(0x0582, 0x0065),
1271 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1272 /* .vendor_name = "EDIROL", */
1273 /* .product_name = "PCR-1", */
1275 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1276 .data = & (const struct snd_usb_midi_endpoint_info) {
1277 .out_cables = 0x0001,
1283 /* has ID 0x006e when not in "Advanced Driver" mode */
1284 USB_DEVICE(0x0582, 0x006d),
1285 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1286 .vendor_name = "Roland",
1287 .product_name = "FANTOM-X",
1289 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1290 .data = & (const struct snd_usb_midi_endpoint_info) {
1291 .out_cables = 0x0001,
1297 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1298 * If the switch is not in an advanced setting, the UA-25 has
1299 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1300 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1302 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1303 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1304 .vendor_name = "EDIROL",
1305 .product_name = "UA-25",
1306 .ifnum = QUIRK_ANY_INTERFACE,
1307 .type = QUIRK_COMPOSITE,
1308 .data = (const struct snd_usb_audio_quirk[]) {
1311 .type = QUIRK_AUDIO_EDIROL_UAXX
1315 .type = QUIRK_AUDIO_EDIROL_UAXX
1319 .type = QUIRK_AUDIO_EDIROL_UAXX
1328 /* has ID 0x0076 when not in "Advanced Driver" mode */
1329 USB_DEVICE(0x0582, 0x0075),
1330 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1331 .vendor_name = "BOSS",
1332 .product_name = "DR-880",
1334 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1335 .data = & (const struct snd_usb_midi_endpoint_info) {
1336 .out_cables = 0x0001,
1342 /* has ID 0x007b when not in "Advanced Driver" mode */
1343 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1344 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1345 .vendor_name = "Roland",
1346 /* "RD" or "RD-700SX"? */
1348 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1349 .data = & (const struct snd_usb_midi_endpoint_info) {
1350 .out_cables = 0x0003,
1356 /* has ID 0x0081 when not in "Advanced Driver" mode */
1357 USB_DEVICE(0x0582, 0x0080),
1358 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1359 .vendor_name = "Roland",
1360 .product_name = "G-70",
1362 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1363 .data = & (const struct snd_usb_midi_endpoint_info) {
1364 .out_cables = 0x0001,
1370 /* has ID 0x008c when not in "Advanced Driver" mode */
1371 USB_DEVICE(0x0582, 0x008b),
1372 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1373 .vendor_name = "EDIROL",
1374 .product_name = "PC-50",
1376 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1377 .data = & (const struct snd_usb_midi_endpoint_info) {
1378 .out_cables = 0x0001,
1385 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1386 * is standard compliant, but has only 16-bit PCM and no MIDI.
1388 USB_DEVICE(0x0582, 0x00a3),
1389 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1390 .vendor_name = "EDIROL",
1391 .product_name = "UA-4FX",
1392 .ifnum = QUIRK_ANY_INTERFACE,
1393 .type = QUIRK_COMPOSITE,
1394 .data = (const struct snd_usb_audio_quirk[]) {
1397 .type = QUIRK_AUDIO_EDIROL_UAXX
1401 .type = QUIRK_AUDIO_EDIROL_UAXX
1405 .type = QUIRK_AUDIO_EDIROL_UAXX
1415 USB_DEVICE(0x0582, 0x00c4),
1416 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1417 .ifnum = QUIRK_ANY_INTERFACE,
1418 .type = QUIRK_COMPOSITE,
1419 .data = (const struct snd_usb_audio_quirk[]) {
1422 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1426 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1430 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1431 .data = & (const struct snd_usb_midi_endpoint_info) {
1432 .out_cables = 0x0001,
1443 /* Advanced modes of the Edirol UA-25EX.
1444 * For the standard mode, UA-25EX has ID 0582:00e7, which
1445 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1447 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1448 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1449 .vendor_name = "EDIROL",
1450 .product_name = "UA-25EX",
1451 .ifnum = QUIRK_ANY_INTERFACE,
1452 .type = QUIRK_COMPOSITE,
1453 .data = (const struct snd_usb_audio_quirk[]) {
1456 .type = QUIRK_AUDIO_EDIROL_UAXX
1460 .type = QUIRK_AUDIO_EDIROL_UAXX
1464 .type = QUIRK_AUDIO_EDIROL_UAXX
1474 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1475 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1477 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1478 .data = & (const struct snd_usb_midi_endpoint_info) {
1479 .out_cables = 0x0007,
1486 USB_DEVICE(0x0582, 0x0113),
1487 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1488 .ifnum = QUIRK_ANY_INTERFACE,
1489 .type = QUIRK_COMPOSITE,
1490 .data = (const struct snd_usb_audio_quirk[]) {
1493 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1497 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1501 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1502 .data = & (const struct snd_usb_midi_endpoint_info) {
1503 .out_cables = 0x0001,
1514 /* only 44.1 kHz works at the moment */
1515 USB_DEVICE(0x0582, 0x0120),
1516 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1517 /* .vendor_name = "Roland", */
1518 /* .product_name = "OCTO-CAPTURE", */
1519 .ifnum = QUIRK_ANY_INTERFACE,
1520 .type = QUIRK_COMPOSITE,
1521 .data = (const struct snd_usb_audio_quirk[]) {
1524 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1525 .data = & (const struct audioformat) {
1526 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1533 .rates = SNDRV_PCM_RATE_44100,
1537 .rate_table = (unsigned int[]) { 44100 }
1542 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1543 .data = & (const struct audioformat) {
1544 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1551 .rates = SNDRV_PCM_RATE_44100,
1555 .rate_table = (unsigned int[]) { 44100 }
1560 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1561 .data = & (const struct snd_usb_midi_endpoint_info) {
1562 .out_cables = 0x0001,
1568 .type = QUIRK_IGNORE_INTERFACE
1572 .type = QUIRK_IGNORE_INTERFACE
1581 /* only 44.1 kHz works at the moment */
1582 USB_DEVICE(0x0582, 0x012f),
1583 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1584 /* .vendor_name = "Roland", */
1585 /* .product_name = "QUAD-CAPTURE", */
1586 .ifnum = QUIRK_ANY_INTERFACE,
1587 .type = QUIRK_COMPOSITE,
1588 .data = (const struct snd_usb_audio_quirk[]) {
1591 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1592 .data = & (const struct audioformat) {
1593 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1600 .rates = SNDRV_PCM_RATE_44100,
1604 .rate_table = (unsigned int[]) { 44100 }
1609 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1610 .data = & (const struct audioformat) {
1611 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1618 .rates = SNDRV_PCM_RATE_44100,
1622 .rate_table = (unsigned int[]) { 44100 }
1627 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1628 .data = & (const struct snd_usb_midi_endpoint_info) {
1629 .out_cables = 0x0001,
1635 .type = QUIRK_IGNORE_INTERFACE
1639 .type = QUIRK_IGNORE_INTERFACE
1648 USB_DEVICE(0x0582, 0x0159),
1649 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1650 /* .vendor_name = "Roland", */
1651 /* .product_name = "UA-22", */
1652 .ifnum = QUIRK_ANY_INTERFACE,
1653 .type = QUIRK_COMPOSITE,
1654 .data = (const struct snd_usb_audio_quirk[]) {
1657 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1661 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1665 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1666 .data = & (const struct snd_usb_midi_endpoint_info) {
1667 .out_cables = 0x0001,
1678 /* UA101 and co are supported by another driver */
1680 USB_DEVICE(0x0582, 0x0044), /* UA-1000 high speed */
1681 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1682 .ifnum = QUIRK_NODEV_INTERFACE
1686 USB_DEVICE(0x0582, 0x007d), /* UA-101 high speed */
1687 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1688 .ifnum = QUIRK_NODEV_INTERFACE
1692 USB_DEVICE(0x0582, 0x008d), /* UA-101 full speed */
1693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1694 .ifnum = QUIRK_NODEV_INTERFACE
1698 /* this catches most recent vendor-specific Roland devices */
1700 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1701 USB_DEVICE_ID_MATCH_INT_CLASS,
1703 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1704 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1705 .ifnum = QUIRK_ANY_INTERFACE,
1706 .type = QUIRK_AUTODETECT
1710 /* Guillemot devices */
1713 * This is for the "Windows Edition" where the external MIDI ports are
1714 * the only MIDI ports; the control data is reported through HID
1715 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1716 * compliant USB MIDI ports for external MIDI and controls.
1718 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1719 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1720 .vendor_name = "Hercules",
1721 .product_name = "DJ Console (WE)",
1723 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1724 .data = & (const struct snd_usb_midi_endpoint_info) {
1725 .out_cables = 0x0001,
1731 /* Midiman/M-Audio devices */
1733 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1734 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1735 .vendor_name = "M-Audio",
1736 .product_name = "MidiSport 2x2",
1737 .ifnum = QUIRK_ANY_INTERFACE,
1738 .type = QUIRK_MIDI_MIDIMAN,
1739 .data = & (const struct snd_usb_midi_endpoint_info) {
1740 .out_cables = 0x0003,
1746 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1747 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1748 .vendor_name = "M-Audio",
1749 .product_name = "MidiSport 1x1",
1750 .ifnum = QUIRK_ANY_INTERFACE,
1751 .type = QUIRK_MIDI_MIDIMAN,
1752 .data = & (const struct snd_usb_midi_endpoint_info) {
1753 .out_cables = 0x0001,
1759 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1760 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1761 .vendor_name = "M-Audio",
1762 .product_name = "Keystation",
1763 .ifnum = QUIRK_ANY_INTERFACE,
1764 .type = QUIRK_MIDI_MIDIMAN,
1765 .data = & (const struct snd_usb_midi_endpoint_info) {
1766 .out_cables = 0x0001,
1772 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1773 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1774 .vendor_name = "M-Audio",
1775 .product_name = "MidiSport 4x4",
1776 .ifnum = QUIRK_ANY_INTERFACE,
1777 .type = QUIRK_MIDI_MIDIMAN,
1778 .data = & (const struct snd_usb_midi_endpoint_info) {
1779 .out_cables = 0x000f,
1786 * For hardware revision 1.05; in the later revisions (1.10 and
1787 * 1.21), 0x1031 is the ID for the device without firmware.
1788 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1790 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1791 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1792 .vendor_name = "M-Audio",
1793 .product_name = "MidiSport 8x8",
1794 .ifnum = QUIRK_ANY_INTERFACE,
1795 .type = QUIRK_MIDI_MIDIMAN,
1796 .data = & (const struct snd_usb_midi_endpoint_info) {
1797 .out_cables = 0x01ff,
1803 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1804 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1805 .vendor_name = "M-Audio",
1806 .product_name = "MidiSport 8x8",
1807 .ifnum = QUIRK_ANY_INTERFACE,
1808 .type = QUIRK_MIDI_MIDIMAN,
1809 .data = & (const struct snd_usb_midi_endpoint_info) {
1810 .out_cables = 0x01ff,
1816 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1817 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1818 .vendor_name = "M-Audio",
1819 .product_name = "MidiSport 2x4",
1820 .ifnum = QUIRK_ANY_INTERFACE,
1821 .type = QUIRK_MIDI_MIDIMAN,
1822 .data = & (const struct snd_usb_midi_endpoint_info) {
1823 .out_cables = 0x000f,
1829 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1830 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1831 .vendor_name = "M-Audio",
1832 .product_name = "Quattro",
1833 .ifnum = QUIRK_ANY_INTERFACE,
1834 .type = QUIRK_COMPOSITE,
1835 .data = & (const struct snd_usb_audio_quirk[]) {
1837 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1838 * and share endpoints with the other interfaces.
1839 * Ignore them. The other interfaces can do 24 bits,
1840 * but captured samples are big-endian (see usbaudio.c).
1844 .type = QUIRK_IGNORE_INTERFACE
1848 .type = QUIRK_IGNORE_INTERFACE
1852 .type = QUIRK_IGNORE_INTERFACE
1856 .type = QUIRK_IGNORE_INTERFACE
1860 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1864 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1868 .type = QUIRK_IGNORE_INTERFACE
1872 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1876 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1880 .type = QUIRK_MIDI_MIDIMAN,
1881 .data = & (const struct snd_usb_midi_endpoint_info) {
1882 .out_cables = 0x0001,
1893 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1894 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1895 .vendor_name = "M-Audio",
1896 .product_name = "AudioPhile",
1898 .type = QUIRK_MIDI_MIDIMAN,
1899 .data = & (const struct snd_usb_midi_endpoint_info) {
1900 .out_cables = 0x0001,
1906 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1907 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1908 .vendor_name = "M-Audio",
1909 .product_name = "Ozone",
1911 .type = QUIRK_MIDI_MIDIMAN,
1912 .data = & (const struct snd_usb_midi_endpoint_info) {
1913 .out_cables = 0x0001,
1919 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1920 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1921 .vendor_name = "M-Audio",
1922 .product_name = "OmniStudio",
1923 .ifnum = QUIRK_ANY_INTERFACE,
1924 .type = QUIRK_COMPOSITE,
1925 .data = & (const struct snd_usb_audio_quirk[]) {
1928 .type = QUIRK_IGNORE_INTERFACE
1932 .type = QUIRK_IGNORE_INTERFACE
1936 .type = QUIRK_IGNORE_INTERFACE
1940 .type = QUIRK_IGNORE_INTERFACE
1944 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1948 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1952 .type = QUIRK_IGNORE_INTERFACE
1956 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1960 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1964 .type = QUIRK_MIDI_MIDIMAN,
1965 .data = & (const struct snd_usb_midi_endpoint_info) {
1966 .out_cables = 0x0001,
1977 USB_DEVICE(0x0763, 0x2019),
1978 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1979 /* .vendor_name = "M-Audio", */
1980 /* .product_name = "Ozone Academic", */
1981 .ifnum = QUIRK_ANY_INTERFACE,
1982 .type = QUIRK_COMPOSITE,
1983 .data = & (const struct snd_usb_audio_quirk[]) {
1986 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1990 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1994 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1998 .type = QUIRK_MIDI_MIDIMAN,
1999 .data = & (const struct snd_usb_midi_endpoint_info) {
2000 .out_cables = 0x0001,
2011 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2012 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2013 /* .vendor_name = "M-Audio", */
2014 /* .product_name = "Fast Track C400", */
2015 .ifnum = QUIRK_ANY_INTERFACE,
2016 .type = QUIRK_COMPOSITE,
2017 .data = &(const struct snd_usb_audio_quirk[]) {
2020 .type = QUIRK_AUDIO_STANDARD_MIXER,
2025 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2026 .data = &(const struct audioformat) {
2027 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2032 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2035 .rates = SNDRV_PCM_RATE_44100 |
2036 SNDRV_PCM_RATE_48000 |
2037 SNDRV_PCM_RATE_88200 |
2038 SNDRV_PCM_RATE_96000,
2042 .rate_table = (unsigned int[]) {
2043 44100, 48000, 88200, 96000
2051 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2052 .data = &(const struct audioformat) {
2053 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2058 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2061 .rates = SNDRV_PCM_RATE_44100 |
2062 SNDRV_PCM_RATE_48000 |
2063 SNDRV_PCM_RATE_88200 |
2064 SNDRV_PCM_RATE_96000,
2068 .rate_table = (unsigned int[]) {
2069 44100, 48000, 88200, 96000
2076 .ifnum = -1 /* Interface = 4 */
2082 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2083 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2084 /* .vendor_name = "M-Audio", */
2085 /* .product_name = "Fast Track C600", */
2086 .ifnum = QUIRK_ANY_INTERFACE,
2087 .type = QUIRK_COMPOSITE,
2088 .data = &(const struct snd_usb_audio_quirk[]) {
2091 .type = QUIRK_AUDIO_STANDARD_MIXER,
2096 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2097 .data = &(const struct audioformat) {
2098 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2103 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2106 .rates = SNDRV_PCM_RATE_44100 |
2107 SNDRV_PCM_RATE_48000 |
2108 SNDRV_PCM_RATE_88200 |
2109 SNDRV_PCM_RATE_96000,
2113 .rate_table = (unsigned int[]) {
2114 44100, 48000, 88200, 96000
2122 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2123 .data = &(const struct audioformat) {
2124 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2129 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2132 .rates = SNDRV_PCM_RATE_44100 |
2133 SNDRV_PCM_RATE_48000 |
2134 SNDRV_PCM_RATE_88200 |
2135 SNDRV_PCM_RATE_96000,
2139 .rate_table = (unsigned int[]) {
2140 44100, 48000, 88200, 96000
2147 .ifnum = -1 /* Interface = 4 */
2153 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2154 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2155 /* .vendor_name = "M-Audio", */
2156 /* .product_name = "Fast Track Ultra", */
2157 .ifnum = QUIRK_ANY_INTERFACE,
2158 .type = QUIRK_COMPOSITE,
2159 .data = & (const struct snd_usb_audio_quirk[]) {
2162 .type = QUIRK_AUDIO_STANDARD_MIXER,
2166 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2167 .data = & (const struct audioformat) {
2168 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2173 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2176 .rates = SNDRV_PCM_RATE_44100 |
2177 SNDRV_PCM_RATE_48000 |
2178 SNDRV_PCM_RATE_88200 |
2179 SNDRV_PCM_RATE_96000,
2183 .rate_table = (unsigned int[]) {
2184 44100, 48000, 88200, 96000
2190 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2191 .data = & (const struct audioformat) {
2192 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2197 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2200 .rates = SNDRV_PCM_RATE_44100 |
2201 SNDRV_PCM_RATE_48000 |
2202 SNDRV_PCM_RATE_88200 |
2203 SNDRV_PCM_RATE_96000,
2207 .rate_table = (unsigned int[]) {
2208 44100, 48000, 88200, 96000
2212 /* interface 3 (MIDI) is standard compliant */
2220 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2221 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2222 /* .vendor_name = "M-Audio", */
2223 /* .product_name = "Fast Track Ultra 8R", */
2224 .ifnum = QUIRK_ANY_INTERFACE,
2225 .type = QUIRK_COMPOSITE,
2226 .data = & (const struct snd_usb_audio_quirk[]) {
2229 .type = QUIRK_AUDIO_STANDARD_MIXER,
2233 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2234 .data = & (const struct audioformat) {
2235 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2240 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2243 .rates = SNDRV_PCM_RATE_44100 |
2244 SNDRV_PCM_RATE_48000 |
2245 SNDRV_PCM_RATE_88200 |
2246 SNDRV_PCM_RATE_96000,
2250 .rate_table = (unsigned int[]) {
2251 44100, 48000, 88200, 96000
2257 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2258 .data = & (const struct audioformat) {
2259 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2264 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2267 .rates = SNDRV_PCM_RATE_44100 |
2268 SNDRV_PCM_RATE_48000 |
2269 SNDRV_PCM_RATE_88200 |
2270 SNDRV_PCM_RATE_96000,
2274 .rate_table = (unsigned int[]) {
2275 44100, 48000, 88200, 96000
2279 /* interface 3 (MIDI) is standard compliant */
2289 USB_DEVICE(0x07cf, 0x6801),
2290 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2291 .vendor_name = "Casio",
2292 .product_name = "PL-40R",
2294 .type = QUIRK_MIDI_YAMAHA
2298 /* this ID is used by several devices without a product ID */
2299 USB_DEVICE(0x07cf, 0x6802),
2300 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2301 .vendor_name = "Casio",
2302 .product_name = "Keyboard",
2304 .type = QUIRK_MIDI_YAMAHA
2308 /* Mark of the Unicorn devices */
2310 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2311 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2312 USB_DEVICE_ID_MATCH_PRODUCT |
2313 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2315 .idProduct = 0x0001,
2316 .bDeviceSubClass = 2,
2317 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2318 .vendor_name = "MOTU",
2319 .product_name = "Fastlane",
2320 .ifnum = QUIRK_ANY_INTERFACE,
2321 .type = QUIRK_COMPOSITE,
2322 .data = & (const struct snd_usb_audio_quirk[]) {
2325 .type = QUIRK_MIDI_RAW_BYTES
2329 .type = QUIRK_IGNORE_INTERFACE
2338 /* Emagic devices */
2340 USB_DEVICE(0x086a, 0x0001),
2341 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2342 .vendor_name = "Emagic",
2343 .product_name = "Unitor8",
2345 .type = QUIRK_MIDI_EMAGIC,
2346 .data = & (const struct snd_usb_midi_endpoint_info) {
2347 .out_cables = 0x80ff,
2353 USB_DEVICE(0x086a, 0x0002),
2354 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2355 .vendor_name = "Emagic",
2356 /* .product_name = "AMT8", */
2358 .type = QUIRK_MIDI_EMAGIC,
2359 .data = & (const struct snd_usb_midi_endpoint_info) {
2360 .out_cables = 0x80ff,
2366 USB_DEVICE(0x086a, 0x0003),
2367 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2368 .vendor_name = "Emagic",
2369 /* .product_name = "MT4", */
2371 .type = QUIRK_MIDI_EMAGIC,
2372 .data = & (const struct snd_usb_midi_endpoint_info) {
2373 .out_cables = 0x800f,
2381 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2382 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2383 .vendor_name = "KORG, Inc.",
2384 /* .product_name = "PANDORA PX5D", */
2386 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2391 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2392 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2393 .vendor_name = "KORG, Inc.",
2394 /* .product_name = "ToneLab ST", */
2396 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2401 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0204),
2402 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2403 .vendor_name = "KORG, Inc.",
2404 /* .product_name = "ToneLab EX", */
2406 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2412 USB_DEVICE(0x09e8, 0x0062),
2413 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2414 .vendor_name = "AKAI",
2415 .product_name = "MPD16",
2417 .type = QUIRK_MIDI_AKAI,
2422 /* Akai MPC Element */
2423 USB_DEVICE(0x09e8, 0x0021),
2424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2425 .ifnum = QUIRK_ANY_INTERFACE,
2426 .type = QUIRK_COMPOSITE,
2427 .data = & (const struct snd_usb_audio_quirk[]) {
2430 .type = QUIRK_IGNORE_INTERFACE
2434 .type = QUIRK_MIDI_STANDARD_INTERFACE
2443 /* Steinberg devices */
2446 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
2447 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2448 .ifnum = QUIRK_ANY_INTERFACE,
2449 .type = QUIRK_COMPOSITE,
2450 .data = & (const struct snd_usb_audio_quirk[]) {
2453 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2457 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2461 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2465 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2466 .data = &(const struct snd_usb_midi_endpoint_info) {
2467 .out_cables = 0x0001,
2479 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
2480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2481 .ifnum = QUIRK_ANY_INTERFACE,
2482 .type = QUIRK_COMPOSITE,
2483 .data = & (const struct snd_usb_audio_quirk[]) {
2486 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2490 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2494 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2498 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2499 .data = &(const struct snd_usb_midi_endpoint_info) {
2500 .out_cables = 0x0001,
2511 /* TerraTec devices */
2513 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2514 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2515 .vendor_name = "TerraTec",
2516 .product_name = "PHASE 26",
2518 .type = QUIRK_MIDI_STANDARD_INTERFACE
2522 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2524 .vendor_name = "TerraTec",
2525 .product_name = "PHASE 26",
2527 .type = QUIRK_MIDI_STANDARD_INTERFACE
2531 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2532 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2533 .vendor_name = "TerraTec",
2534 .product_name = "PHASE 26",
2536 .type = QUIRK_MIDI_STANDARD_INTERFACE
2540 USB_DEVICE(0x0ccd, 0x0035),
2541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2542 .vendor_name = "Miditech",
2543 .product_name = "Play'n Roll",
2545 .type = QUIRK_MIDI_CME
2549 /* Novation EMS devices */
2551 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2552 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2553 .vendor_name = "Novation",
2554 .product_name = "ReMOTE Audio/XStation",
2556 .type = QUIRK_MIDI_NOVATION
2560 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2561 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2562 .vendor_name = "Novation",
2563 .product_name = "Speedio",
2565 .type = QUIRK_MIDI_NOVATION
2569 USB_DEVICE(0x1235, 0x000a),
2570 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2571 /* .vendor_name = "Novation", */
2572 /* .product_name = "Nocturn", */
2574 .type = QUIRK_MIDI_RAW_BYTES
2578 USB_DEVICE(0x1235, 0x000e),
2579 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2580 /* .vendor_name = "Novation", */
2581 /* .product_name = "Launchpad", */
2583 .type = QUIRK_MIDI_RAW_BYTES
2587 USB_DEVICE(0x1235, 0x0010),
2588 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2589 .vendor_name = "Focusrite",
2590 .product_name = "Saffire 6 USB",
2591 .ifnum = QUIRK_ANY_INTERFACE,
2592 .type = QUIRK_COMPOSITE,
2593 .data = (const struct snd_usb_audio_quirk[]) {
2596 .type = QUIRK_AUDIO_STANDARD_MIXER,
2600 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2601 .data = &(const struct audioformat) {
2602 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2607 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2609 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2611 .maxpacksize = 0x024c,
2612 .rates = SNDRV_PCM_RATE_44100 |
2613 SNDRV_PCM_RATE_48000,
2617 .rate_table = (unsigned int[]) {
2624 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2625 .data = &(const struct audioformat) {
2626 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2633 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2635 .maxpacksize = 0x0126,
2636 .rates = SNDRV_PCM_RATE_44100 |
2637 SNDRV_PCM_RATE_48000,
2641 .rate_table = (unsigned int[]) {
2648 .type = QUIRK_MIDI_RAW_BYTES
2657 USB_DEVICE(0x1235, 0x0018),
2658 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2659 .vendor_name = "Novation",
2660 .product_name = "Twitch",
2661 .ifnum = QUIRK_ANY_INTERFACE,
2662 .type = QUIRK_COMPOSITE,
2663 .data = (const struct snd_usb_audio_quirk[]) {
2666 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2667 .data = & (const struct audioformat) {
2668 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2673 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2675 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2676 .rates = SNDRV_PCM_RATE_44100 |
2677 SNDRV_PCM_RATE_48000,
2681 .rate_table = (unsigned int[]) {
2688 .type = QUIRK_MIDI_RAW_BYTES
2697 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2698 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2699 .vendor_name = "Novation",
2700 .product_name = "ReMOTE25",
2702 .type = QUIRK_MIDI_NOVATION
2706 /* Access Music devices */
2708 /* VirusTI Desktop */
2709 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2710 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2711 .ifnum = QUIRK_ANY_INTERFACE,
2712 .type = QUIRK_COMPOSITE,
2713 .data = &(const struct snd_usb_audio_quirk[]) {
2716 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2717 .data = &(const struct snd_usb_midi_endpoint_info) {
2718 .out_cables = 0x0003,
2724 .type = QUIRK_IGNORE_INTERFACE
2733 /* Native Instruments MK2 series */
2735 /* Komplete Audio 6 */
2736 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2738 .idProduct = 0x1000,
2741 /* Traktor Audio 6 */
2742 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2744 .idProduct = 0x1010,
2747 /* Traktor Audio 10 */
2748 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2750 .idProduct = 0x1020,
2753 /* QinHeng devices */
2755 USB_DEVICE(0x1a86, 0x752d),
2756 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2757 .vendor_name = "QinHeng",
2758 .product_name = "CH345",
2760 .type = QUIRK_MIDI_CH345
2764 /* KeithMcMillen Stringport */
2765 { USB_DEVICE(0x1f38, 0x0001) }, /* FIXME: should be more restrictive matching */
2767 /* Miditech devices */
2769 USB_DEVICE(0x4752, 0x0011),
2770 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2771 .vendor_name = "Miditech",
2772 .product_name = "Midistart-2",
2774 .type = QUIRK_MIDI_CME
2778 /* Central Music devices */
2780 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2781 USB_DEVICE(0x7104, 0x2202),
2782 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2784 .type = QUIRK_MIDI_CME
2788 /* Digidesign Mbox */
2790 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2791 USB_DEVICE(0x0dba, 0x1000),
2792 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2793 .vendor_name = "Digidesign",
2794 .product_name = "MBox",
2795 .ifnum = QUIRK_ANY_INTERFACE,
2796 .type = QUIRK_COMPOSITE,
2797 .data = (const struct snd_usb_audio_quirk[]){
2800 .type = QUIRK_AUDIO_STANDARD_MIXER,
2804 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2805 .data = &(const struct audioformat) {
2806 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2813 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2814 USB_ENDPOINT_SYNC_SYNC,
2815 .maxpacksize = 0x130,
2816 .rates = SNDRV_PCM_RATE_48000,
2820 .rate_table = (unsigned int[]) {
2827 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2828 .data = &(const struct audioformat) {
2829 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2836 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2837 USB_ENDPOINT_SYNC_ASYNC,
2838 .maxpacksize = 0x130,
2839 .rates = SNDRV_PCM_RATE_48000,
2843 .rate_table = (unsigned int[]) {
2855 /* DIGIDESIGN MBOX 2 */
2857 USB_DEVICE(0x0dba, 0x3000),
2858 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2859 .vendor_name = "Digidesign",
2860 .product_name = "Mbox 2",
2861 .ifnum = QUIRK_ANY_INTERFACE,
2862 .type = QUIRK_COMPOSITE,
2863 .data = (const struct snd_usb_audio_quirk[]) {
2866 .type = QUIRK_IGNORE_INTERFACE
2870 .type = QUIRK_IGNORE_INTERFACE
2874 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2875 .data = &(const struct audioformat) {
2876 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2883 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2884 .rates = SNDRV_PCM_RATE_48000,
2888 .rate_table = (unsigned int[]) {
2895 .type = QUIRK_IGNORE_INTERFACE
2899 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2900 .data = &(const struct audioformat) {
2901 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2906 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2908 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2909 .rates = SNDRV_PCM_RATE_48000,
2913 .rate_table = (unsigned int[]) {
2920 .type = QUIRK_IGNORE_INTERFACE
2924 .type = QUIRK_MIDI_MIDIMAN,
2925 .data = &(const struct snd_usb_midi_endpoint_info) {
2927 .out_cables = 0x0001,
2929 .in_interval = 0x01,
2940 /* Tascam US122 MKII - playback-only support */
2941 USB_DEVICE_VENDOR_SPEC(0x0644, 0x8021),
2942 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2943 .vendor_name = "TASCAM",
2944 .product_name = "US122 MKII",
2945 .ifnum = QUIRK_ANY_INTERFACE,
2946 .type = QUIRK_COMPOSITE,
2947 .data = (const struct snd_usb_audio_quirk[]) {
2950 .type = QUIRK_IGNORE_INTERFACE
2954 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2955 .data = &(const struct audioformat) {
2956 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2961 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2963 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2964 .rates = SNDRV_PCM_RATE_44100 |
2965 SNDRV_PCM_RATE_48000 |
2966 SNDRV_PCM_RATE_88200 |
2967 SNDRV_PCM_RATE_96000,
2971 .rate_table = (unsigned int[]) {
2972 44100, 48000, 88200, 96000
2983 /* Denon DN-X1600 */
2985 USB_AUDIO_DEVICE(0x154e, 0x500e),
2986 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2987 .vendor_name = "Denon",
2988 .product_name = "DN-X1600",
2989 .ifnum = QUIRK_ANY_INTERFACE,
2990 .type = QUIRK_COMPOSITE,
2991 .data = (const struct snd_usb_audio_quirk[]){
2994 .type = QUIRK_IGNORE_INTERFACE,
2998 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2999 .data = &(const struct audioformat) {
3000 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3007 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3008 USB_ENDPOINT_SYNC_ADAPTIVE,
3009 .maxpacksize = 0x138,
3010 .rates = SNDRV_PCM_RATE_48000,
3014 .rate_table = (unsigned int[]) {
3021 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3022 .data = &(const struct audioformat) {
3023 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3030 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3031 USB_ENDPOINT_SYNC_ADAPTIVE,
3032 .maxpacksize = 0x138,
3033 .rates = SNDRV_PCM_RATE_48000,
3037 .rate_table = (unsigned int[]) {
3044 .type = QUIRK_MIDI_STANDARD_INTERFACE,
3053 /* Microsoft XboxLive Headset/Xbox Communicator */
3055 USB_DEVICE(0x045e, 0x0283),
3056 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3057 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3058 .vendor_name = "Microsoft",
3059 .product_name = "XboxLive Headset/Xbox Communicator",
3060 .ifnum = QUIRK_ANY_INTERFACE,
3061 .type = QUIRK_COMPOSITE,
3062 .data = &(const struct snd_usb_audio_quirk[]) {
3066 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3067 .data = &(const struct audioformat) {
3068 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3076 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3084 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3085 .data = &(const struct audioformat) {
3086 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3094 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3108 USB_DEVICE(0x200c, 0x100b),
3109 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3110 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3111 .ifnum = QUIRK_ANY_INTERFACE,
3112 .type = QUIRK_COMPOSITE,
3113 .data = &(const struct snd_usb_audio_quirk[]) {
3116 .type = QUIRK_AUDIO_STANDARD_MIXER,
3120 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3121 .data = &(const struct audioformat) {
3122 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3127 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3129 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3130 .rates = SNDRV_PCM_RATE_44100 |
3131 SNDRV_PCM_RATE_48000,
3135 .rate_table = (unsigned int[]) {
3149 * ZOOM R16/24 in audio interface mode.
3150 * Playback requires an extra four byte LE length indicator
3151 * at the start of each isochronous packet. This quirk is
3152 * enabled in create_standard_audio_quirk().
3154 USB_DEVICE(0x1686, 0x00dd),
3155 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3156 .ifnum = QUIRK_ANY_INTERFACE,
3157 .type = QUIRK_COMPOSITE,
3158 .data = (const struct snd_usb_audio_quirk[]) {
3162 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3167 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3172 .type = QUIRK_MIDI_STANDARD_INTERFACE
3183 * Some USB MIDI devices don't have an audio control interface,
3184 * so we have to grab MIDI streaming interfaces here.
3186 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3187 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3188 .bInterfaceClass = USB_CLASS_AUDIO,
3189 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3190 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3191 .ifnum = QUIRK_ANY_INTERFACE,
3192 .type = QUIRK_MIDI_STANDARD_INTERFACE
3196 /* disabled due to regression for other devices;
3197 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3202 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3203 * ID, but it looks like the product ID actually is only for Nura.
3204 * The capture interface does not work at all (even on Windows),
3205 * and only the 48 kHz sample rate works for the playback interface.
3207 USB_DEVICE(0x0a12, 0x1243),
3208 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3209 .ifnum = QUIRK_ANY_INTERFACE,
3210 .type = QUIRK_COMPOSITE,
3211 .data = (const struct snd_usb_audio_quirk[]) {
3214 .type = QUIRK_AUDIO_STANDARD_MIXER,
3219 .type = QUIRK_IGNORE_INTERFACE,
3224 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3225 .data = &(const struct audioformat) {
3226 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3231 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3232 UAC_EP_CS_ATTR_SAMPLE_RATE,
3234 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3235 .rates = SNDRV_PCM_RATE_48000,
3239 .rate_table = (unsigned int[]) {
3250 #endif /* disabled */
3254 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3255 * even though it advertises more. The capture interface doesn't work
3258 USB_DEVICE(0x19b5, 0x0021),
3259 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3260 .ifnum = QUIRK_ANY_INTERFACE,
3261 .type = QUIRK_COMPOSITE,
3262 .data = (const struct snd_usb_audio_quirk[]) {
3265 .type = QUIRK_AUDIO_STANDARD_MIXER,
3270 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3271 .data = &(const struct audioformat) {
3272 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3277 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3278 UAC_EP_CS_ATTR_SAMPLE_RATE,
3280 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3281 .rates = SNDRV_PCM_RATE_48000,
3285 .rate_table = (unsigned int[]) {
3296 /* MOTU Microbook II */
3298 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
3299 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3300 .vendor_name = "MOTU",
3301 .product_name = "MicroBookII",
3302 .ifnum = QUIRK_ANY_INTERFACE,
3303 .type = QUIRK_COMPOSITE,
3304 .data = (const struct snd_usb_audio_quirk[]) {
3307 .type = QUIRK_AUDIO_STANDARD_MIXER,
3311 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3312 .data = &(const struct audioformat) {
3313 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3320 .rates = SNDRV_PCM_RATE_96000,
3321 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3322 USB_ENDPOINT_SYNC_ASYNC,
3326 .maxpacksize = 0x00d8,
3327 .rate_table = (unsigned int[]) {
3334 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3335 .data = &(const struct audioformat) {
3336 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3343 .rates = SNDRV_PCM_RATE_96000,
3344 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3345 USB_ENDPOINT_SYNC_ASYNC,
3349 .maxpacksize = 0x0120,
3350 .rate_table = (unsigned int[]) {
3363 * PIONEER DJ DDJ-SX3
3364 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
3365 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
3366 * The feedback for the output is the input.
3368 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
3369 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3370 .ifnum = QUIRK_ANY_INTERFACE,
3371 .type = QUIRK_COMPOSITE,
3372 .data = (const struct snd_usb_audio_quirk[]) {
3375 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3376 .data = &(const struct audioformat) {
3377 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3383 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3384 USB_ENDPOINT_SYNC_ASYNC,
3385 .rates = SNDRV_PCM_RATE_44100,
3389 .rate_table = (unsigned int[]) { 44100 }
3394 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3395 .data = &(const struct audioformat) {
3396 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3403 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3404 USB_ENDPOINT_SYNC_ASYNC|
3405 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3406 .rates = SNDRV_PCM_RATE_44100,
3410 .rate_table = (unsigned int[]) { 44100 }
3421 * Pioneer DJ DJM-250MK2
3422 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3423 * and 8 channels in @ 48 fixed (endpoint 0x82).
3425 * Both playback and recording is working, even simultaneously.
3427 * Playback channels could be mapped to:
3432 * Recording channels could be mapped to:
3441 * There is remaining problem with recording directly from PHONO/LINE.
3442 * If we map a channel to:
3443 * - CH1 Control Tone PHONO
3444 * - CH1 Control Tone LINE
3445 * - CH2 Control Tone PHONO
3446 * - CH2 Control Tone LINE
3448 * There is no signal even on other operating systems with official drivers.
3449 * The signal appears only when a supported application is started.
3450 * This needs to be investigated yet...
3451 * (there is quite a lot communication on the USB in both directions)
3453 * In current version this mixer could be used for playback
3454 * and for recording from vinyls (through Post CH* Fader)
3455 * but not for DVS (Digital Vinyl Systems) like in Mixxx.
3457 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
3458 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3459 .ifnum = QUIRK_ANY_INTERFACE,
3460 .type = QUIRK_COMPOSITE,
3461 .data = (const struct snd_usb_audio_quirk[]) {
3464 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3465 .data = &(const struct audioformat) {
3466 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3467 .channels = 8, // outputs
3472 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3473 USB_ENDPOINT_SYNC_ASYNC,
3474 .rates = SNDRV_PCM_RATE_48000,
3478 .rate_table = (unsigned int[]) { 48000 }
3483 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3484 .data = &(const struct audioformat) {
3485 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3486 .channels = 8, // inputs
3492 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3493 USB_ENDPOINT_SYNC_ASYNC|
3494 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3495 .rates = SNDRV_PCM_RATE_48000,
3499 .rate_table = (unsigned int[]) { 48000 }
3511 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3512 * The feedback for the output is the dummy input.
3514 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3515 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3516 .ifnum = QUIRK_ANY_INTERFACE,
3517 .type = QUIRK_COMPOSITE,
3518 .data = (const struct snd_usb_audio_quirk[]) {
3521 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3522 .data = &(const struct audioformat) {
3523 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3529 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3530 USB_ENDPOINT_SYNC_ASYNC,
3531 .rates = SNDRV_PCM_RATE_44100,
3535 .rate_table = (unsigned int[]) { 44100 }
3540 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3541 .data = &(const struct audioformat) {
3542 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3549 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3550 USB_ENDPOINT_SYNC_ASYNC|
3551 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3552 .rates = SNDRV_PCM_RATE_44100,
3556 .rate_table = (unsigned int[]) { 44100 }
3569 * PCM is 6 channels out & 4 channels in @ 44.1 fixed
3571 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000d),
3572 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3573 .ifnum = QUIRK_ANY_INTERFACE,
3574 .type = QUIRK_COMPOSITE,
3575 .data = (const struct snd_usb_audio_quirk[]) {
3578 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3579 .data = &(const struct audioformat) {
3580 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3581 .channels = 6, //Master, Headphones & Booth
3586 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3587 USB_ENDPOINT_SYNC_ASYNC,
3588 .rates = SNDRV_PCM_RATE_44100,
3592 .rate_table = (unsigned int[]) { 44100 }
3597 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3598 .data = &(const struct audioformat) {
3599 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3600 .channels = 4, //2x RCA inputs (CH1 & CH2)
3606 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3607 USB_ENDPOINT_SYNC_ASYNC|
3608 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3609 .rates = SNDRV_PCM_RATE_44100,
3613 .rate_table = (unsigned int[]) { 44100 }
3625 * PIONEER DJ DDJ-SR2
3626 * PCM is 4 channels out, 6 channels in @ 44.1 fixed
3627 * The Feedback for the output is the input
3629 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001e),
3630 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3631 .ifnum = QUIRK_ANY_INTERFACE,
3632 .type = QUIRK_COMPOSITE,
3633 .data = (const struct snd_usb_audio_quirk[]) {
3636 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3637 .data = &(const struct audioformat) {
3638 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3644 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3645 USB_ENDPOINT_SYNC_ASYNC,
3646 .rates = SNDRV_PCM_RATE_44100,
3650 .rate_table = (unsigned int[]) { 44100 }
3655 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3656 .data = &(const struct audioformat) {
3657 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3664 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3665 USB_ENDPOINT_SYNC_ASYNC|
3666 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3667 .rates = SNDRV_PCM_RATE_44100,
3671 .rate_table = (unsigned int[]) { 44100 }
3683 * Pioneer DJ DJM-900NXS2
3684 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3686 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3687 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3688 .ifnum = QUIRK_ANY_INTERFACE,
3689 .type = QUIRK_COMPOSITE,
3690 .data = (const struct snd_usb_audio_quirk[]) {
3693 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3694 .data = &(const struct audioformat) {
3695 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3701 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3702 USB_ENDPOINT_SYNC_ASYNC,
3703 .rates = SNDRV_PCM_RATE_44100|
3704 SNDRV_PCM_RATE_48000|
3705 SNDRV_PCM_RATE_96000,
3709 .rate_table = (unsigned int[]) {
3716 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3717 .data = &(const struct audioformat) {
3718 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3725 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3726 USB_ENDPOINT_SYNC_ASYNC|
3727 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3728 .rates = SNDRV_PCM_RATE_44100|
3729 SNDRV_PCM_RATE_48000|
3730 SNDRV_PCM_RATE_96000,
3734 .rate_table = (unsigned int[]) {
3747 * MacroSilicon MS2109 based HDMI capture cards
3749 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3750 * They also need QUIRK_FLAG_ALIGN_TRANSFER, which makes one wonder if
3751 * they pretend to be 96kHz mono as a workaround for stereo being broken
3754 * They also have an issue with initial stream alignment that causes the
3755 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3758 USB_AUDIO_DEVICE(0x534d, 0x2109),
3759 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3760 .vendor_name = "MacroSilicon",
3761 .product_name = "MS2109",
3762 .ifnum = QUIRK_ANY_INTERFACE,
3763 .type = QUIRK_COMPOSITE,
3764 .data = &(const struct snd_usb_audio_quirk[]) {
3767 .type = QUIRK_AUDIO_STANDARD_MIXER,
3771 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3772 .data = &(const struct audioformat) {
3773 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3780 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3781 USB_ENDPOINT_SYNC_ASYNC,
3782 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3795 * Pioneer DJ DJM-750
3796 * 8 channels playback & 8 channels capture @ 44.1/48/96kHz S24LE
3798 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x017f),
3799 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3800 .ifnum = QUIRK_ANY_INTERFACE,
3801 .type = QUIRK_COMPOSITE,
3802 .data = (const struct snd_usb_audio_quirk[]) {
3805 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3806 .data = &(const struct audioformat) {
3807 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3813 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3814 USB_ENDPOINT_SYNC_ASYNC,
3815 .rates = SNDRV_PCM_RATE_44100|
3816 SNDRV_PCM_RATE_48000|
3817 SNDRV_PCM_RATE_96000,
3821 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3826 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3827 .data = &(const struct audioformat) {
3828 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3835 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3836 USB_ENDPOINT_SYNC_ASYNC|
3837 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3838 .rates = SNDRV_PCM_RATE_44100|
3839 SNDRV_PCM_RATE_48000|
3840 SNDRV_PCM_RATE_96000,
3844 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3855 * Pioneer DJ DJM-850
3856 * 8 channels playback and 8 channels capture @ 44.1/48/96kHz S24LE
3857 * Playback on EP 0x05
3858 * Capture on EP 0x86
3860 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x0163),
3861 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3862 .ifnum = QUIRK_ANY_INTERFACE,
3863 .type = QUIRK_COMPOSITE,
3864 .data = (const struct snd_usb_audio_quirk[]) {
3867 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3868 .data = &(const struct audioformat) {
3869 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3875 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3876 USB_ENDPOINT_SYNC_ASYNC|
3877 USB_ENDPOINT_USAGE_DATA,
3878 .rates = SNDRV_PCM_RATE_44100|
3879 SNDRV_PCM_RATE_48000|
3880 SNDRV_PCM_RATE_96000,
3884 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3889 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3890 .data = &(const struct audioformat) {
3891 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3898 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3899 USB_ENDPOINT_SYNC_ASYNC|
3900 USB_ENDPOINT_USAGE_DATA,
3901 .rates = SNDRV_PCM_RATE_44100|
3902 SNDRV_PCM_RATE_48000|
3903 SNDRV_PCM_RATE_96000,
3907 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3918 * Pioneer DJ DJM-450
3919 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3920 * and 8 channels in @ 48 fixed (endpoint 0x82).
3922 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0013),
3923 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3924 .ifnum = QUIRK_ANY_INTERFACE,
3925 .type = QUIRK_COMPOSITE,
3926 .data = (const struct snd_usb_audio_quirk[]) {
3929 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3930 .data = &(const struct audioformat) {
3931 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3932 .channels = 8, // outputs
3937 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3938 USB_ENDPOINT_SYNC_ASYNC,
3939 .rates = SNDRV_PCM_RATE_48000,
3943 .rate_table = (unsigned int[]) { 48000 }
3948 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3949 .data = &(const struct audioformat) {
3950 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3951 .channels = 8, // inputs
3957 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3958 USB_ENDPOINT_SYNC_ASYNC|
3959 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3960 .rates = SNDRV_PCM_RATE_48000,
3964 .rate_table = (unsigned int[]) { 48000 }
3974 #undef USB_DEVICE_VENDOR_SPEC
3975 #undef USB_AUDIO_DEVICE