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,
1677 /* this catches most recent vendor-specific Roland devices */
1679 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1680 USB_DEVICE_ID_MATCH_INT_CLASS,
1682 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1683 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1684 .ifnum = QUIRK_ANY_INTERFACE,
1685 .type = QUIRK_AUTODETECT
1689 /* Guillemot devices */
1692 * This is for the "Windows Edition" where the external MIDI ports are
1693 * the only MIDI ports; the control data is reported through HID
1694 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1695 * compliant USB MIDI ports for external MIDI and controls.
1697 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1698 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1699 .vendor_name = "Hercules",
1700 .product_name = "DJ Console (WE)",
1702 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1703 .data = & (const struct snd_usb_midi_endpoint_info) {
1704 .out_cables = 0x0001,
1710 /* Midiman/M-Audio devices */
1712 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1713 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1714 .vendor_name = "M-Audio",
1715 .product_name = "MidiSport 2x2",
1716 .ifnum = QUIRK_ANY_INTERFACE,
1717 .type = QUIRK_MIDI_MIDIMAN,
1718 .data = & (const struct snd_usb_midi_endpoint_info) {
1719 .out_cables = 0x0003,
1725 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1726 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1727 .vendor_name = "M-Audio",
1728 .product_name = "MidiSport 1x1",
1729 .ifnum = QUIRK_ANY_INTERFACE,
1730 .type = QUIRK_MIDI_MIDIMAN,
1731 .data = & (const struct snd_usb_midi_endpoint_info) {
1732 .out_cables = 0x0001,
1738 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1739 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1740 .vendor_name = "M-Audio",
1741 .product_name = "Keystation",
1742 .ifnum = QUIRK_ANY_INTERFACE,
1743 .type = QUIRK_MIDI_MIDIMAN,
1744 .data = & (const struct snd_usb_midi_endpoint_info) {
1745 .out_cables = 0x0001,
1751 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1752 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1753 .vendor_name = "M-Audio",
1754 .product_name = "MidiSport 4x4",
1755 .ifnum = QUIRK_ANY_INTERFACE,
1756 .type = QUIRK_MIDI_MIDIMAN,
1757 .data = & (const struct snd_usb_midi_endpoint_info) {
1758 .out_cables = 0x000f,
1765 * For hardware revision 1.05; in the later revisions (1.10 and
1766 * 1.21), 0x1031 is the ID for the device without firmware.
1767 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1769 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1770 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1771 .vendor_name = "M-Audio",
1772 .product_name = "MidiSport 8x8",
1773 .ifnum = QUIRK_ANY_INTERFACE,
1774 .type = QUIRK_MIDI_MIDIMAN,
1775 .data = & (const struct snd_usb_midi_endpoint_info) {
1776 .out_cables = 0x01ff,
1782 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1783 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1784 .vendor_name = "M-Audio",
1785 .product_name = "MidiSport 8x8",
1786 .ifnum = QUIRK_ANY_INTERFACE,
1787 .type = QUIRK_MIDI_MIDIMAN,
1788 .data = & (const struct snd_usb_midi_endpoint_info) {
1789 .out_cables = 0x01ff,
1795 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1796 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1797 .vendor_name = "M-Audio",
1798 .product_name = "MidiSport 2x4",
1799 .ifnum = QUIRK_ANY_INTERFACE,
1800 .type = QUIRK_MIDI_MIDIMAN,
1801 .data = & (const struct snd_usb_midi_endpoint_info) {
1802 .out_cables = 0x000f,
1808 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1809 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1810 .vendor_name = "M-Audio",
1811 .product_name = "Quattro",
1812 .ifnum = QUIRK_ANY_INTERFACE,
1813 .type = QUIRK_COMPOSITE,
1814 .data = & (const struct snd_usb_audio_quirk[]) {
1816 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1817 * and share endpoints with the other interfaces.
1818 * Ignore them. The other interfaces can do 24 bits,
1819 * but captured samples are big-endian (see usbaudio.c).
1823 .type = QUIRK_IGNORE_INTERFACE
1827 .type = QUIRK_IGNORE_INTERFACE
1831 .type = QUIRK_IGNORE_INTERFACE
1835 .type = QUIRK_IGNORE_INTERFACE
1839 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1843 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1847 .type = QUIRK_IGNORE_INTERFACE
1851 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1855 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1859 .type = QUIRK_MIDI_MIDIMAN,
1860 .data = & (const struct snd_usb_midi_endpoint_info) {
1861 .out_cables = 0x0001,
1872 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1873 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1874 .vendor_name = "M-Audio",
1875 .product_name = "AudioPhile",
1877 .type = QUIRK_MIDI_MIDIMAN,
1878 .data = & (const struct snd_usb_midi_endpoint_info) {
1879 .out_cables = 0x0001,
1885 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1886 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1887 .vendor_name = "M-Audio",
1888 .product_name = "Ozone",
1890 .type = QUIRK_MIDI_MIDIMAN,
1891 .data = & (const struct snd_usb_midi_endpoint_info) {
1892 .out_cables = 0x0001,
1898 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1899 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1900 .vendor_name = "M-Audio",
1901 .product_name = "OmniStudio",
1902 .ifnum = QUIRK_ANY_INTERFACE,
1903 .type = QUIRK_COMPOSITE,
1904 .data = & (const struct snd_usb_audio_quirk[]) {
1907 .type = QUIRK_IGNORE_INTERFACE
1911 .type = QUIRK_IGNORE_INTERFACE
1915 .type = QUIRK_IGNORE_INTERFACE
1919 .type = QUIRK_IGNORE_INTERFACE
1923 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1927 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1931 .type = QUIRK_IGNORE_INTERFACE
1935 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1939 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1943 .type = QUIRK_MIDI_MIDIMAN,
1944 .data = & (const struct snd_usb_midi_endpoint_info) {
1945 .out_cables = 0x0001,
1956 USB_DEVICE(0x0763, 0x2019),
1957 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1958 /* .vendor_name = "M-Audio", */
1959 /* .product_name = "Ozone Academic", */
1960 .ifnum = QUIRK_ANY_INTERFACE,
1961 .type = QUIRK_COMPOSITE,
1962 .data = & (const struct snd_usb_audio_quirk[]) {
1965 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1969 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1973 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1977 .type = QUIRK_MIDI_MIDIMAN,
1978 .data = & (const struct snd_usb_midi_endpoint_info) {
1979 .out_cables = 0x0001,
1990 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
1991 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1992 /* .vendor_name = "M-Audio", */
1993 /* .product_name = "Fast Track C400", */
1994 .ifnum = QUIRK_ANY_INTERFACE,
1995 .type = QUIRK_COMPOSITE,
1996 .data = &(const struct snd_usb_audio_quirk[]) {
1999 .type = QUIRK_AUDIO_STANDARD_MIXER,
2004 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2005 .data = &(const struct audioformat) {
2006 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2011 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2014 .rates = SNDRV_PCM_RATE_44100 |
2015 SNDRV_PCM_RATE_48000 |
2016 SNDRV_PCM_RATE_88200 |
2017 SNDRV_PCM_RATE_96000,
2021 .rate_table = (unsigned int[]) {
2022 44100, 48000, 88200, 96000
2030 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2031 .data = &(const struct audioformat) {
2032 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2037 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2040 .rates = SNDRV_PCM_RATE_44100 |
2041 SNDRV_PCM_RATE_48000 |
2042 SNDRV_PCM_RATE_88200 |
2043 SNDRV_PCM_RATE_96000,
2047 .rate_table = (unsigned int[]) {
2048 44100, 48000, 88200, 96000
2055 .ifnum = -1 /* Interface = 4 */
2061 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2062 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2063 /* .vendor_name = "M-Audio", */
2064 /* .product_name = "Fast Track C600", */
2065 .ifnum = QUIRK_ANY_INTERFACE,
2066 .type = QUIRK_COMPOSITE,
2067 .data = &(const struct snd_usb_audio_quirk[]) {
2070 .type = QUIRK_AUDIO_STANDARD_MIXER,
2075 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2076 .data = &(const struct audioformat) {
2077 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2082 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2085 .rates = SNDRV_PCM_RATE_44100 |
2086 SNDRV_PCM_RATE_48000 |
2087 SNDRV_PCM_RATE_88200 |
2088 SNDRV_PCM_RATE_96000,
2092 .rate_table = (unsigned int[]) {
2093 44100, 48000, 88200, 96000
2101 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2102 .data = &(const struct audioformat) {
2103 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2108 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2111 .rates = SNDRV_PCM_RATE_44100 |
2112 SNDRV_PCM_RATE_48000 |
2113 SNDRV_PCM_RATE_88200 |
2114 SNDRV_PCM_RATE_96000,
2118 .rate_table = (unsigned int[]) {
2119 44100, 48000, 88200, 96000
2126 .ifnum = -1 /* Interface = 4 */
2132 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2133 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2134 /* .vendor_name = "M-Audio", */
2135 /* .product_name = "Fast Track Ultra", */
2136 .ifnum = QUIRK_ANY_INTERFACE,
2137 .type = QUIRK_COMPOSITE,
2138 .data = & (const struct snd_usb_audio_quirk[]) {
2141 .type = QUIRK_AUDIO_STANDARD_MIXER,
2145 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2146 .data = & (const struct audioformat) {
2147 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2152 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2155 .rates = SNDRV_PCM_RATE_44100 |
2156 SNDRV_PCM_RATE_48000 |
2157 SNDRV_PCM_RATE_88200 |
2158 SNDRV_PCM_RATE_96000,
2162 .rate_table = (unsigned int[]) {
2163 44100, 48000, 88200, 96000
2169 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2170 .data = & (const struct audioformat) {
2171 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2176 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2179 .rates = SNDRV_PCM_RATE_44100 |
2180 SNDRV_PCM_RATE_48000 |
2181 SNDRV_PCM_RATE_88200 |
2182 SNDRV_PCM_RATE_96000,
2186 .rate_table = (unsigned int[]) {
2187 44100, 48000, 88200, 96000
2191 /* interface 3 (MIDI) is standard compliant */
2199 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2200 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2201 /* .vendor_name = "M-Audio", */
2202 /* .product_name = "Fast Track Ultra 8R", */
2203 .ifnum = QUIRK_ANY_INTERFACE,
2204 .type = QUIRK_COMPOSITE,
2205 .data = & (const struct snd_usb_audio_quirk[]) {
2208 .type = QUIRK_AUDIO_STANDARD_MIXER,
2212 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2213 .data = & (const struct audioformat) {
2214 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2219 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2222 .rates = SNDRV_PCM_RATE_44100 |
2223 SNDRV_PCM_RATE_48000 |
2224 SNDRV_PCM_RATE_88200 |
2225 SNDRV_PCM_RATE_96000,
2229 .rate_table = (unsigned int[]) {
2230 44100, 48000, 88200, 96000
2236 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2237 .data = & (const struct audioformat) {
2238 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2243 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2246 .rates = SNDRV_PCM_RATE_44100 |
2247 SNDRV_PCM_RATE_48000 |
2248 SNDRV_PCM_RATE_88200 |
2249 SNDRV_PCM_RATE_96000,
2253 .rate_table = (unsigned int[]) {
2254 44100, 48000, 88200, 96000
2258 /* interface 3 (MIDI) is standard compliant */
2268 USB_DEVICE(0x07cf, 0x6801),
2269 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2270 .vendor_name = "Casio",
2271 .product_name = "PL-40R",
2273 .type = QUIRK_MIDI_YAMAHA
2277 /* this ID is used by several devices without a product ID */
2278 USB_DEVICE(0x07cf, 0x6802),
2279 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2280 .vendor_name = "Casio",
2281 .product_name = "Keyboard",
2283 .type = QUIRK_MIDI_YAMAHA
2287 /* Mark of the Unicorn devices */
2289 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2290 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2291 USB_DEVICE_ID_MATCH_PRODUCT |
2292 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2294 .idProduct = 0x0001,
2295 .bDeviceSubClass = 2,
2296 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2297 .vendor_name = "MOTU",
2298 .product_name = "Fastlane",
2299 .ifnum = QUIRK_ANY_INTERFACE,
2300 .type = QUIRK_COMPOSITE,
2301 .data = & (const struct snd_usb_audio_quirk[]) {
2304 .type = QUIRK_MIDI_RAW_BYTES
2308 .type = QUIRK_IGNORE_INTERFACE
2317 /* Emagic devices */
2319 USB_DEVICE(0x086a, 0x0001),
2320 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2321 .vendor_name = "Emagic",
2322 .product_name = "Unitor8",
2324 .type = QUIRK_MIDI_EMAGIC,
2325 .data = & (const struct snd_usb_midi_endpoint_info) {
2326 .out_cables = 0x80ff,
2332 USB_DEVICE(0x086a, 0x0002),
2333 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2334 .vendor_name = "Emagic",
2335 /* .product_name = "AMT8", */
2337 .type = QUIRK_MIDI_EMAGIC,
2338 .data = & (const struct snd_usb_midi_endpoint_info) {
2339 .out_cables = 0x80ff,
2345 USB_DEVICE(0x086a, 0x0003),
2346 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2347 .vendor_name = "Emagic",
2348 /* .product_name = "MT4", */
2350 .type = QUIRK_MIDI_EMAGIC,
2351 .data = & (const struct snd_usb_midi_endpoint_info) {
2352 .out_cables = 0x800f,
2360 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2361 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2362 .vendor_name = "KORG, Inc.",
2363 /* .product_name = "PANDORA PX5D", */
2365 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2370 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2371 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2372 .vendor_name = "KORG, Inc.",
2373 /* .product_name = "ToneLab ST", */
2375 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2381 USB_DEVICE(0x09e8, 0x0062),
2382 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2383 .vendor_name = "AKAI",
2384 .product_name = "MPD16",
2386 .type = QUIRK_MIDI_AKAI,
2391 /* Akai MPC Element */
2392 USB_DEVICE(0x09e8, 0x0021),
2393 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2394 .ifnum = QUIRK_ANY_INTERFACE,
2395 .type = QUIRK_COMPOSITE,
2396 .data = & (const struct snd_usb_audio_quirk[]) {
2399 .type = QUIRK_IGNORE_INTERFACE
2403 .type = QUIRK_MIDI_STANDARD_INTERFACE
2412 /* Steinberg devices */
2415 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
2416 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2417 .ifnum = QUIRK_ANY_INTERFACE,
2418 .type = QUIRK_COMPOSITE,
2419 .data = & (const struct snd_usb_audio_quirk[]) {
2422 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2426 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2430 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2434 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2435 .data = &(const struct snd_usb_midi_endpoint_info) {
2436 .out_cables = 0x0001,
2448 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
2449 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2450 .ifnum = QUIRK_ANY_INTERFACE,
2451 .type = QUIRK_COMPOSITE,
2452 .data = & (const struct snd_usb_audio_quirk[]) {
2455 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2459 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2463 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2467 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2468 .data = &(const struct snd_usb_midi_endpoint_info) {
2469 .out_cables = 0x0001,
2480 /* TerraTec devices */
2482 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2483 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2484 .vendor_name = "TerraTec",
2485 .product_name = "PHASE 26",
2487 .type = QUIRK_MIDI_STANDARD_INTERFACE
2491 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2492 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2493 .vendor_name = "TerraTec",
2494 .product_name = "PHASE 26",
2496 .type = QUIRK_MIDI_STANDARD_INTERFACE
2500 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2501 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2502 .vendor_name = "TerraTec",
2503 .product_name = "PHASE 26",
2505 .type = QUIRK_MIDI_STANDARD_INTERFACE
2509 USB_DEVICE(0x0ccd, 0x0035),
2510 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2511 .vendor_name = "Miditech",
2512 .product_name = "Play'n Roll",
2514 .type = QUIRK_MIDI_CME
2518 /* Novation EMS devices */
2520 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2521 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2522 .vendor_name = "Novation",
2523 .product_name = "ReMOTE Audio/XStation",
2525 .type = QUIRK_MIDI_NOVATION
2529 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2530 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2531 .vendor_name = "Novation",
2532 .product_name = "Speedio",
2534 .type = QUIRK_MIDI_NOVATION
2538 USB_DEVICE(0x1235, 0x000a),
2539 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2540 /* .vendor_name = "Novation", */
2541 /* .product_name = "Nocturn", */
2543 .type = QUIRK_MIDI_RAW_BYTES
2547 USB_DEVICE(0x1235, 0x000e),
2548 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2549 /* .vendor_name = "Novation", */
2550 /* .product_name = "Launchpad", */
2552 .type = QUIRK_MIDI_RAW_BYTES
2556 USB_DEVICE(0x1235, 0x0010),
2557 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2558 .vendor_name = "Focusrite",
2559 .product_name = "Saffire 6 USB",
2560 .ifnum = QUIRK_ANY_INTERFACE,
2561 .type = QUIRK_COMPOSITE,
2562 .data = (const struct snd_usb_audio_quirk[]) {
2565 .type = QUIRK_AUDIO_STANDARD_MIXER,
2569 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2570 .data = &(const struct audioformat) {
2571 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2576 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2578 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2580 .maxpacksize = 0x024c,
2581 .rates = SNDRV_PCM_RATE_44100 |
2582 SNDRV_PCM_RATE_48000,
2586 .rate_table = (unsigned int[]) {
2593 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2594 .data = &(const struct audioformat) {
2595 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2602 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2604 .maxpacksize = 0x0126,
2605 .rates = SNDRV_PCM_RATE_44100 |
2606 SNDRV_PCM_RATE_48000,
2610 .rate_table = (unsigned int[]) {
2617 .type = QUIRK_MIDI_RAW_BYTES
2626 USB_DEVICE(0x1235, 0x0018),
2627 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2628 .vendor_name = "Novation",
2629 .product_name = "Twitch",
2630 .ifnum = QUIRK_ANY_INTERFACE,
2631 .type = QUIRK_COMPOSITE,
2632 .data = (const struct snd_usb_audio_quirk[]) {
2635 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2636 .data = & (const struct audioformat) {
2637 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2642 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2644 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2645 .rates = SNDRV_PCM_RATE_44100 |
2646 SNDRV_PCM_RATE_48000,
2650 .rate_table = (unsigned int[]) {
2657 .type = QUIRK_MIDI_RAW_BYTES
2666 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2667 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2668 .vendor_name = "Novation",
2669 .product_name = "ReMOTE25",
2671 .type = QUIRK_MIDI_NOVATION
2675 /* Access Music devices */
2677 /* VirusTI Desktop */
2678 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2679 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2680 .ifnum = QUIRK_ANY_INTERFACE,
2681 .type = QUIRK_COMPOSITE,
2682 .data = &(const struct snd_usb_audio_quirk[]) {
2685 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2686 .data = &(const struct snd_usb_midi_endpoint_info) {
2687 .out_cables = 0x0003,
2693 .type = QUIRK_IGNORE_INTERFACE
2702 /* Lenovo ThinkStation P620 Rear Line-in, Line-out and Microphone */
2704 USB_DEVICE(0x17aa, 0x1046),
2705 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2706 .ifnum = QUIRK_ANY_INTERFACE,
2707 .type = QUIRK_SETUP_DISABLE_AUTOSUSPEND
2710 /* Lenovo ThinkStation P620 Internal Speaker + Front Headset */
2712 USB_DEVICE(0x17aa, 0x104d),
2713 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2714 .ifnum = QUIRK_ANY_INTERFACE,
2715 .type = QUIRK_SETUP_DISABLE_AUTOSUSPEND
2719 /* Native Instruments MK2 series */
2721 /* Komplete Audio 6 */
2722 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2724 .idProduct = 0x1000,
2727 /* Traktor Audio 6 */
2728 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2730 .idProduct = 0x1010,
2733 /* Traktor Audio 10 */
2734 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2736 .idProduct = 0x1020,
2739 /* QinHeng devices */
2741 USB_DEVICE(0x1a86, 0x752d),
2742 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2743 .vendor_name = "QinHeng",
2744 .product_name = "CH345",
2746 .type = QUIRK_MIDI_CH345
2750 /* KeithMcMillen Stringport */
2751 { USB_DEVICE(0x1f38, 0x0001) }, /* FIXME: should be more restrictive matching */
2753 /* Miditech devices */
2755 USB_DEVICE(0x4752, 0x0011),
2756 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2757 .vendor_name = "Miditech",
2758 .product_name = "Midistart-2",
2760 .type = QUIRK_MIDI_CME
2764 /* Central Music devices */
2766 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2767 USB_DEVICE(0x7104, 0x2202),
2768 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2770 .type = QUIRK_MIDI_CME
2775 * Auvitek au0828 devices with audio interface.
2776 * This should be kept in sync with drivers/media/usb/au0828/au0828-cards.c
2777 * Please notice that some drivers are DVB only, and don't need to be
2778 * here. That's the case, for example, of DVICO_FUSIONHDTV7.
2781 #define AU0828_DEVICE(vid, pid, vname, pname) { \
2782 USB_AUDIO_DEVICE(vid, pid), \
2783 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { \
2784 .vendor_name = vname, \
2785 .product_name = pname, \
2786 .ifnum = QUIRK_ANY_INTERFACE, \
2787 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2788 .shares_media_device = 1, \
2792 AU0828_DEVICE(0x2040, 0x7200, "Hauppauge", "HVR-950Q"),
2793 AU0828_DEVICE(0x2040, 0x7240, "Hauppauge", "HVR-850"),
2794 AU0828_DEVICE(0x2040, 0x7210, "Hauppauge", "HVR-950Q"),
2795 AU0828_DEVICE(0x2040, 0x7217, "Hauppauge", "HVR-950Q"),
2796 AU0828_DEVICE(0x2040, 0x721b, "Hauppauge", "HVR-950Q"),
2797 AU0828_DEVICE(0x2040, 0x721e, "Hauppauge", "HVR-950Q"),
2798 AU0828_DEVICE(0x2040, 0x721f, "Hauppauge", "HVR-950Q"),
2799 AU0828_DEVICE(0x2040, 0x7280, "Hauppauge", "HVR-950Q"),
2800 AU0828_DEVICE(0x0fd9, 0x0008, "Hauppauge", "HVR-950Q"),
2801 AU0828_DEVICE(0x2040, 0x7201, "Hauppauge", "HVR-950Q-MXL"),
2802 AU0828_DEVICE(0x2040, 0x7211, "Hauppauge", "HVR-950Q-MXL"),
2803 AU0828_DEVICE(0x2040, 0x7281, "Hauppauge", "HVR-950Q-MXL"),
2804 AU0828_DEVICE(0x05e1, 0x0480, "Hauppauge", "Woodbury"),
2805 AU0828_DEVICE(0x2040, 0x8200, "Hauppauge", "Woodbury"),
2806 AU0828_DEVICE(0x2040, 0x7260, "Hauppauge", "HVR-950Q"),
2807 AU0828_DEVICE(0x2040, 0x7213, "Hauppauge", "HVR-950Q"),
2808 AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
2810 /* Syntek STK1160 */
2812 USB_AUDIO_DEVICE(0x05e1, 0x0408),
2813 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2814 .vendor_name = "Syntek",
2815 .product_name = "STK1160",
2816 .ifnum = QUIRK_ANY_INTERFACE,
2817 .type = QUIRK_AUDIO_ALIGN_TRANSFER
2821 /* Digidesign Mbox */
2823 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2824 USB_DEVICE(0x0dba, 0x1000),
2825 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2826 .vendor_name = "Digidesign",
2827 .product_name = "MBox",
2828 .ifnum = QUIRK_ANY_INTERFACE,
2829 .type = QUIRK_COMPOSITE,
2830 .data = (const struct snd_usb_audio_quirk[]){
2833 .type = QUIRK_AUDIO_STANDARD_MIXER,
2837 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2838 .data = &(const struct audioformat) {
2839 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2846 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2847 USB_ENDPOINT_SYNC_SYNC,
2848 .maxpacksize = 0x130,
2849 .rates = SNDRV_PCM_RATE_48000,
2853 .rate_table = (unsigned int[]) {
2860 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2861 .data = &(const struct audioformat) {
2862 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2869 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2870 USB_ENDPOINT_SYNC_ASYNC,
2871 .maxpacksize = 0x130,
2872 .rates = SNDRV_PCM_RATE_48000,
2876 .rate_table = (unsigned int[]) {
2888 /* DIGIDESIGN MBOX 2 */
2890 USB_DEVICE(0x0dba, 0x3000),
2891 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2892 .vendor_name = "Digidesign",
2893 .product_name = "Mbox 2",
2894 .ifnum = QUIRK_ANY_INTERFACE,
2895 .type = QUIRK_COMPOSITE,
2896 .data = (const struct snd_usb_audio_quirk[]) {
2899 .type = QUIRK_IGNORE_INTERFACE
2903 .type = QUIRK_IGNORE_INTERFACE
2907 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2908 .data = &(const struct audioformat) {
2909 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2916 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2917 .rates = SNDRV_PCM_RATE_48000,
2921 .rate_table = (unsigned int[]) {
2928 .type = QUIRK_IGNORE_INTERFACE
2932 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2933 .data = &(const struct audioformat) {
2934 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2939 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2941 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2942 .rates = SNDRV_PCM_RATE_48000,
2946 .rate_table = (unsigned int[]) {
2953 .type = QUIRK_IGNORE_INTERFACE
2957 .type = QUIRK_MIDI_MIDIMAN,
2958 .data = &(const struct snd_usb_midi_endpoint_info) {
2960 .out_cables = 0x0001,
2962 .in_interval = 0x01,
2973 /* Tascam US122 MKII - playback-only support */
2974 USB_DEVICE_VENDOR_SPEC(0x0644, 0x8021),
2975 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2976 .vendor_name = "TASCAM",
2977 .product_name = "US122 MKII",
2978 .ifnum = QUIRK_ANY_INTERFACE,
2979 .type = QUIRK_COMPOSITE,
2980 .data = (const struct snd_usb_audio_quirk[]) {
2983 .type = QUIRK_IGNORE_INTERFACE
2987 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2988 .data = &(const struct audioformat) {
2989 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2994 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2996 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2997 .rates = SNDRV_PCM_RATE_44100 |
2998 SNDRV_PCM_RATE_48000 |
2999 SNDRV_PCM_RATE_88200 |
3000 SNDRV_PCM_RATE_96000,
3004 .rate_table = (unsigned int[]) {
3005 44100, 48000, 88200, 96000
3016 /* Microsoft XboxLive Headset/Xbox Communicator */
3018 USB_DEVICE(0x045e, 0x0283),
3019 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3020 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3021 .vendor_name = "Microsoft",
3022 .product_name = "XboxLive Headset/Xbox Communicator",
3023 .ifnum = QUIRK_ANY_INTERFACE,
3024 .type = QUIRK_COMPOSITE,
3025 .data = &(const struct snd_usb_audio_quirk[]) {
3029 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3030 .data = &(const struct audioformat) {
3031 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3039 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3047 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3048 .data = &(const struct audioformat) {
3049 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3057 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3071 USB_DEVICE(0x200c, 0x100b),
3072 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3073 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3074 .ifnum = QUIRK_ANY_INTERFACE,
3075 .type = QUIRK_COMPOSITE,
3076 .data = &(const struct snd_usb_audio_quirk[]) {
3079 .type = QUIRK_AUDIO_STANDARD_MIXER,
3083 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3084 .data = &(const struct audioformat) {
3085 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3090 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3092 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3093 .rates = SNDRV_PCM_RATE_44100 |
3094 SNDRV_PCM_RATE_48000,
3098 .rate_table = (unsigned int[]) {
3112 * ZOOM R16/24 in audio interface mode.
3113 * Playback requires an extra four byte LE length indicator
3114 * at the start of each isochronous packet. This quirk is
3115 * enabled in create_standard_audio_quirk().
3117 USB_DEVICE(0x1686, 0x00dd),
3118 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3119 .ifnum = QUIRK_ANY_INTERFACE,
3120 .type = QUIRK_COMPOSITE,
3121 .data = (const struct snd_usb_audio_quirk[]) {
3125 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3130 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3135 .type = QUIRK_MIDI_STANDARD_INTERFACE
3146 * Some USB MIDI devices don't have an audio control interface,
3147 * so we have to grab MIDI streaming interfaces here.
3149 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3150 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3151 .bInterfaceClass = USB_CLASS_AUDIO,
3152 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3153 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3154 .ifnum = QUIRK_ANY_INTERFACE,
3155 .type = QUIRK_MIDI_STANDARD_INTERFACE
3159 /* disabled due to regression for other devices;
3160 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3165 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3166 * ID, but it looks like the product ID actually is only for Nura.
3167 * The capture interface does not work at all (even on Windows),
3168 * and only the 48 kHz sample rate works for the playback interface.
3170 USB_DEVICE(0x0a12, 0x1243),
3171 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3172 .ifnum = QUIRK_ANY_INTERFACE,
3173 .type = QUIRK_COMPOSITE,
3174 .data = (const struct snd_usb_audio_quirk[]) {
3177 .type = QUIRK_AUDIO_STANDARD_MIXER,
3182 .type = QUIRK_IGNORE_INTERFACE,
3187 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3188 .data = &(const struct audioformat) {
3189 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3194 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3195 UAC_EP_CS_ATTR_SAMPLE_RATE,
3197 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3198 .rates = SNDRV_PCM_RATE_48000,
3202 .rate_table = (unsigned int[]) {
3213 #endif /* disabled */
3217 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3218 * even though it advertises more. The capture interface doesn't work
3221 USB_DEVICE(0x19b5, 0x0021),
3222 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3223 .ifnum = QUIRK_ANY_INTERFACE,
3224 .type = QUIRK_COMPOSITE,
3225 .data = (const struct snd_usb_audio_quirk[]) {
3228 .type = QUIRK_AUDIO_STANDARD_MIXER,
3233 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3234 .data = &(const struct audioformat) {
3235 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3240 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3241 UAC_EP_CS_ATTR_SAMPLE_RATE,
3243 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3244 .rates = SNDRV_PCM_RATE_48000,
3248 .rate_table = (unsigned int[]) {
3259 /* MOTU Microbook II */
3261 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
3262 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3263 .vendor_name = "MOTU",
3264 .product_name = "MicroBookII",
3265 .ifnum = QUIRK_ANY_INTERFACE,
3266 .type = QUIRK_COMPOSITE,
3267 .data = (const struct snd_usb_audio_quirk[]) {
3270 .type = QUIRK_AUDIO_STANDARD_MIXER,
3274 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3275 .data = &(const struct audioformat) {
3276 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3283 .rates = SNDRV_PCM_RATE_96000,
3284 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3285 USB_ENDPOINT_SYNC_ASYNC,
3289 .maxpacksize = 0x00d8,
3290 .rate_table = (unsigned int[]) {
3297 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3298 .data = &(const struct audioformat) {
3299 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3306 .rates = SNDRV_PCM_RATE_96000,
3307 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3308 USB_ENDPOINT_SYNC_ASYNC,
3312 .maxpacksize = 0x0120,
3313 .rate_table = (unsigned int[]) {
3326 * PIONEER DJ DDJ-SX3
3327 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
3328 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
3329 * The feedback for the output is the input.
3331 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
3332 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3333 .ifnum = QUIRK_ANY_INTERFACE,
3334 .type = QUIRK_COMPOSITE,
3335 .data = (const struct snd_usb_audio_quirk[]) {
3338 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3339 .data = &(const struct audioformat) {
3340 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3346 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3347 USB_ENDPOINT_SYNC_ASYNC,
3348 .rates = SNDRV_PCM_RATE_44100,
3352 .rate_table = (unsigned int[]) { 44100 }
3357 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3358 .data = &(const struct audioformat) {
3359 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3366 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3367 USB_ENDPOINT_SYNC_ASYNC|
3368 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3369 .rates = SNDRV_PCM_RATE_44100,
3373 .rate_table = (unsigned int[]) { 44100 }
3384 * Pioneer DJ DJM-250MK2
3385 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3386 * and 8 channels in @ 48 fixed (endpoint 0x82).
3388 * Both playback and recording is working, even simultaneously.
3390 * Playback channels could be mapped to:
3395 * Recording channels could be mapped to:
3404 * There is remaining problem with recording directly from PHONO/LINE.
3405 * If we map a channel to:
3406 * - CH1 Control Tone PHONO
3407 * - CH1 Control Tone LINE
3408 * - CH2 Control Tone PHONO
3409 * - CH2 Control Tone LINE
3411 * There is no signal even on other operating systems with official drivers.
3412 * The signal appears only when a supported application is started.
3413 * This needs to be investigated yet...
3414 * (there is quite a lot communication on the USB in both directions)
3416 * In current version this mixer could be used for playback
3417 * and for recording from vinyls (through Post CH* Fader)
3418 * but not for DVS (Digital Vinyl Systems) like in Mixxx.
3420 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
3421 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3422 .ifnum = QUIRK_ANY_INTERFACE,
3423 .type = QUIRK_COMPOSITE,
3424 .data = (const struct snd_usb_audio_quirk[]) {
3427 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3428 .data = &(const struct audioformat) {
3429 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3430 .channels = 8, // outputs
3435 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3436 USB_ENDPOINT_SYNC_ASYNC,
3437 .rates = SNDRV_PCM_RATE_48000,
3441 .rate_table = (unsigned int[]) { 48000 }
3446 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3447 .data = &(const struct audioformat) {
3448 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3449 .channels = 8, // inputs
3455 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3456 USB_ENDPOINT_SYNC_ASYNC|
3457 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3458 .rates = SNDRV_PCM_RATE_48000,
3462 .rate_table = (unsigned int[]) { 48000 }
3474 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3475 * The feedback for the output is the dummy input.
3477 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3478 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3479 .ifnum = QUIRK_ANY_INTERFACE,
3480 .type = QUIRK_COMPOSITE,
3481 .data = (const struct snd_usb_audio_quirk[]) {
3484 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3485 .data = &(const struct audioformat) {
3486 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3492 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3493 USB_ENDPOINT_SYNC_ASYNC,
3494 .rates = SNDRV_PCM_RATE_44100,
3498 .rate_table = (unsigned int[]) { 44100 }
3503 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3504 .data = &(const struct audioformat) {
3505 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3512 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3513 USB_ENDPOINT_SYNC_ASYNC|
3514 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3515 .rates = SNDRV_PCM_RATE_44100,
3519 .rate_table = (unsigned int[]) { 44100 }
3532 * PCM is 6 channels out & 4 channels in @ 44.1 fixed
3534 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000d),
3535 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3536 .ifnum = QUIRK_ANY_INTERFACE,
3537 .type = QUIRK_COMPOSITE,
3538 .data = (const struct snd_usb_audio_quirk[]) {
3541 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3542 .data = &(const struct audioformat) {
3543 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3544 .channels = 6, //Master, Headphones & Booth
3549 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3550 USB_ENDPOINT_SYNC_ASYNC,
3551 .rates = SNDRV_PCM_RATE_44100,
3555 .rate_table = (unsigned int[]) { 44100 }
3560 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3561 .data = &(const struct audioformat) {
3562 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3563 .channels = 4, //2x RCA inputs (CH1 & CH2)
3569 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3570 USB_ENDPOINT_SYNC_ASYNC|
3571 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3572 .rates = SNDRV_PCM_RATE_44100,
3576 .rate_table = (unsigned int[]) { 44100 }
3588 * PIONEER DJ DDJ-SR2
3589 * PCM is 4 channels out, 6 channels in @ 44.1 fixed
3590 * The Feedback for the output is the input
3592 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001e),
3593 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3594 .ifnum = QUIRK_ANY_INTERFACE,
3595 .type = QUIRK_COMPOSITE,
3596 .data = (const struct snd_usb_audio_quirk[]) {
3599 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3600 .data = &(const struct audioformat) {
3601 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3607 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3608 USB_ENDPOINT_SYNC_ASYNC,
3609 .rates = SNDRV_PCM_RATE_44100,
3613 .rate_table = (unsigned int[]) { 44100 }
3618 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3619 .data = &(const struct audioformat) {
3620 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3627 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3628 USB_ENDPOINT_SYNC_ASYNC|
3629 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3630 .rates = SNDRV_PCM_RATE_44100,
3634 .rate_table = (unsigned int[]) { 44100 }
3646 * Pioneer DJ DJM-900NXS2
3647 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3649 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3650 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3651 .ifnum = QUIRK_ANY_INTERFACE,
3652 .type = QUIRK_COMPOSITE,
3653 .data = (const struct snd_usb_audio_quirk[]) {
3656 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3657 .data = &(const struct audioformat) {
3658 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3664 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3665 USB_ENDPOINT_SYNC_ASYNC,
3666 .rates = SNDRV_PCM_RATE_44100|
3667 SNDRV_PCM_RATE_48000|
3668 SNDRV_PCM_RATE_96000,
3672 .rate_table = (unsigned int[]) {
3679 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3680 .data = &(const struct audioformat) {
3681 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3688 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3689 USB_ENDPOINT_SYNC_ASYNC|
3690 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3691 .rates = SNDRV_PCM_RATE_44100|
3692 SNDRV_PCM_RATE_48000|
3693 SNDRV_PCM_RATE_96000,
3697 .rate_table = (unsigned int[]) {
3710 * MacroSilicon MS2109 based HDMI capture cards
3712 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3713 * They also need QUIRK_AUDIO_ALIGN_TRANSFER, which makes one wonder if
3714 * they pretend to be 96kHz mono as a workaround for stereo being broken
3717 * They also have an issue with initial stream alignment that causes the
3718 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3721 USB_AUDIO_DEVICE(0x534d, 0x2109),
3722 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3723 .vendor_name = "MacroSilicon",
3724 .product_name = "MS2109",
3725 .ifnum = QUIRK_ANY_INTERFACE,
3726 .type = QUIRK_COMPOSITE,
3727 .data = &(const struct snd_usb_audio_quirk[]) {
3730 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
3734 .type = QUIRK_AUDIO_STANDARD_MIXER,
3738 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3739 .data = &(const struct audioformat) {
3740 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3747 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3748 USB_ENDPOINT_SYNC_ASYNC,
3749 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3761 #undef USB_DEVICE_VENDOR_SPEC
3762 #undef USB_AUDIO_DEVICE