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 /* Lenovo ThinkStation P620 Rear Line-in, Line-out and Microphone */
2735 USB_DEVICE(0x17aa, 0x1046),
2736 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2737 .ifnum = QUIRK_ANY_INTERFACE,
2738 .type = QUIRK_SETUP_DISABLE_AUTOSUSPEND
2741 /* Lenovo ThinkStation P620 Internal Speaker + Front Headset */
2743 USB_DEVICE(0x17aa, 0x104d),
2744 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2745 .ifnum = QUIRK_ANY_INTERFACE,
2746 .type = QUIRK_SETUP_DISABLE_AUTOSUSPEND
2750 /* Native Instruments MK2 series */
2752 /* Komplete Audio 6 */
2753 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2755 .idProduct = 0x1000,
2758 /* Traktor Audio 6 */
2759 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2761 .idProduct = 0x1010,
2764 /* Traktor Audio 10 */
2765 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2767 .idProduct = 0x1020,
2770 /* QinHeng devices */
2772 USB_DEVICE(0x1a86, 0x752d),
2773 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2774 .vendor_name = "QinHeng",
2775 .product_name = "CH345",
2777 .type = QUIRK_MIDI_CH345
2781 /* KeithMcMillen Stringport */
2782 { USB_DEVICE(0x1f38, 0x0001) }, /* FIXME: should be more restrictive matching */
2784 /* Miditech devices */
2786 USB_DEVICE(0x4752, 0x0011),
2787 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2788 .vendor_name = "Miditech",
2789 .product_name = "Midistart-2",
2791 .type = QUIRK_MIDI_CME
2795 /* Central Music devices */
2797 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2798 USB_DEVICE(0x7104, 0x2202),
2799 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2801 .type = QUIRK_MIDI_CME
2806 * Auvitek au0828 devices with audio interface.
2807 * This should be kept in sync with drivers/media/usb/au0828/au0828-cards.c
2808 * Please notice that some drivers are DVB only, and don't need to be
2809 * here. That's the case, for example, of DVICO_FUSIONHDTV7.
2812 #define AU0828_DEVICE(vid, pid, vname, pname) { \
2813 USB_AUDIO_DEVICE(vid, pid), \
2814 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { \
2815 .vendor_name = vname, \
2816 .product_name = pname, \
2817 .ifnum = QUIRK_ANY_INTERFACE, \
2818 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2819 .shares_media_device = 1, \
2823 AU0828_DEVICE(0x2040, 0x7200, "Hauppauge", "HVR-950Q"),
2824 AU0828_DEVICE(0x2040, 0x7240, "Hauppauge", "HVR-850"),
2825 AU0828_DEVICE(0x2040, 0x7210, "Hauppauge", "HVR-950Q"),
2826 AU0828_DEVICE(0x2040, 0x7217, "Hauppauge", "HVR-950Q"),
2827 AU0828_DEVICE(0x2040, 0x721b, "Hauppauge", "HVR-950Q"),
2828 AU0828_DEVICE(0x2040, 0x721e, "Hauppauge", "HVR-950Q"),
2829 AU0828_DEVICE(0x2040, 0x721f, "Hauppauge", "HVR-950Q"),
2830 AU0828_DEVICE(0x2040, 0x7280, "Hauppauge", "HVR-950Q"),
2831 AU0828_DEVICE(0x0fd9, 0x0008, "Hauppauge", "HVR-950Q"),
2832 AU0828_DEVICE(0x2040, 0x7201, "Hauppauge", "HVR-950Q-MXL"),
2833 AU0828_DEVICE(0x2040, 0x7211, "Hauppauge", "HVR-950Q-MXL"),
2834 AU0828_DEVICE(0x2040, 0x7281, "Hauppauge", "HVR-950Q-MXL"),
2835 AU0828_DEVICE(0x05e1, 0x0480, "Hauppauge", "Woodbury"),
2836 AU0828_DEVICE(0x2040, 0x8200, "Hauppauge", "Woodbury"),
2837 AU0828_DEVICE(0x2040, 0x7260, "Hauppauge", "HVR-950Q"),
2838 AU0828_DEVICE(0x2040, 0x7213, "Hauppauge", "HVR-950Q"),
2839 AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
2841 /* Syntek STK1160 */
2843 USB_AUDIO_DEVICE(0x05e1, 0x0408),
2844 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2845 .vendor_name = "Syntek",
2846 .product_name = "STK1160",
2847 .ifnum = QUIRK_ANY_INTERFACE,
2848 .type = QUIRK_AUDIO_ALIGN_TRANSFER
2852 /* Digidesign Mbox */
2854 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2855 USB_DEVICE(0x0dba, 0x1000),
2856 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2857 .vendor_name = "Digidesign",
2858 .product_name = "MBox",
2859 .ifnum = QUIRK_ANY_INTERFACE,
2860 .type = QUIRK_COMPOSITE,
2861 .data = (const struct snd_usb_audio_quirk[]){
2864 .type = QUIRK_AUDIO_STANDARD_MIXER,
2868 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2869 .data = &(const struct audioformat) {
2870 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2877 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2878 USB_ENDPOINT_SYNC_SYNC,
2879 .maxpacksize = 0x130,
2880 .rates = SNDRV_PCM_RATE_48000,
2884 .rate_table = (unsigned int[]) {
2891 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2892 .data = &(const struct audioformat) {
2893 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2900 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2901 USB_ENDPOINT_SYNC_ASYNC,
2902 .maxpacksize = 0x130,
2903 .rates = SNDRV_PCM_RATE_48000,
2907 .rate_table = (unsigned int[]) {
2919 /* DIGIDESIGN MBOX 2 */
2921 USB_DEVICE(0x0dba, 0x3000),
2922 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2923 .vendor_name = "Digidesign",
2924 .product_name = "Mbox 2",
2925 .ifnum = QUIRK_ANY_INTERFACE,
2926 .type = QUIRK_COMPOSITE,
2927 .data = (const struct snd_usb_audio_quirk[]) {
2930 .type = QUIRK_IGNORE_INTERFACE
2934 .type = QUIRK_IGNORE_INTERFACE
2938 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2939 .data = &(const struct audioformat) {
2940 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2947 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2948 .rates = SNDRV_PCM_RATE_48000,
2952 .rate_table = (unsigned int[]) {
2959 .type = QUIRK_IGNORE_INTERFACE
2963 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2964 .data = &(const struct audioformat) {
2965 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2970 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2972 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2973 .rates = SNDRV_PCM_RATE_48000,
2977 .rate_table = (unsigned int[]) {
2984 .type = QUIRK_IGNORE_INTERFACE
2988 .type = QUIRK_MIDI_MIDIMAN,
2989 .data = &(const struct snd_usb_midi_endpoint_info) {
2991 .out_cables = 0x0001,
2993 .in_interval = 0x01,
3004 /* Tascam US122 MKII - playback-only support */
3005 USB_DEVICE_VENDOR_SPEC(0x0644, 0x8021),
3006 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3007 .vendor_name = "TASCAM",
3008 .product_name = "US122 MKII",
3009 .ifnum = QUIRK_ANY_INTERFACE,
3010 .type = QUIRK_COMPOSITE,
3011 .data = (const struct snd_usb_audio_quirk[]) {
3014 .type = QUIRK_IGNORE_INTERFACE
3018 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3019 .data = &(const struct audioformat) {
3020 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3025 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3027 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3028 .rates = SNDRV_PCM_RATE_44100 |
3029 SNDRV_PCM_RATE_48000 |
3030 SNDRV_PCM_RATE_88200 |
3031 SNDRV_PCM_RATE_96000,
3035 .rate_table = (unsigned int[]) {
3036 44100, 48000, 88200, 96000
3047 /* Denon DN-X1600 */
3049 USB_AUDIO_DEVICE(0x154e, 0x500e),
3050 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3051 .vendor_name = "Denon",
3052 .product_name = "DN-X1600",
3053 .ifnum = QUIRK_ANY_INTERFACE,
3054 .type = QUIRK_COMPOSITE,
3055 .data = (const struct snd_usb_audio_quirk[]){
3058 .type = QUIRK_IGNORE_INTERFACE,
3062 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3063 .data = &(const struct audioformat) {
3064 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3071 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3072 USB_ENDPOINT_SYNC_ADAPTIVE,
3073 .maxpacksize = 0x138,
3074 .rates = SNDRV_PCM_RATE_48000,
3078 .rate_table = (unsigned int[]) {
3085 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3086 .data = &(const struct audioformat) {
3087 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3094 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3095 USB_ENDPOINT_SYNC_ADAPTIVE,
3096 .maxpacksize = 0x138,
3097 .rates = SNDRV_PCM_RATE_48000,
3101 .rate_table = (unsigned int[]) {
3108 .type = QUIRK_MIDI_STANDARD_INTERFACE,
3117 /* Microsoft XboxLive Headset/Xbox Communicator */
3119 USB_DEVICE(0x045e, 0x0283),
3120 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3121 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3122 .vendor_name = "Microsoft",
3123 .product_name = "XboxLive Headset/Xbox Communicator",
3124 .ifnum = QUIRK_ANY_INTERFACE,
3125 .type = QUIRK_COMPOSITE,
3126 .data = &(const struct snd_usb_audio_quirk[]) {
3130 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3131 .data = &(const struct audioformat) {
3132 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3140 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3148 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3149 .data = &(const struct audioformat) {
3150 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3158 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3172 USB_DEVICE(0x200c, 0x100b),
3173 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3174 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3175 .ifnum = QUIRK_ANY_INTERFACE,
3176 .type = QUIRK_COMPOSITE,
3177 .data = &(const struct snd_usb_audio_quirk[]) {
3180 .type = QUIRK_AUDIO_STANDARD_MIXER,
3184 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3185 .data = &(const struct audioformat) {
3186 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3191 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3193 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3194 .rates = SNDRV_PCM_RATE_44100 |
3195 SNDRV_PCM_RATE_48000,
3199 .rate_table = (unsigned int[]) {
3213 * ZOOM R16/24 in audio interface mode.
3214 * Playback requires an extra four byte LE length indicator
3215 * at the start of each isochronous packet. This quirk is
3216 * enabled in create_standard_audio_quirk().
3218 USB_DEVICE(0x1686, 0x00dd),
3219 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3220 .ifnum = QUIRK_ANY_INTERFACE,
3221 .type = QUIRK_COMPOSITE,
3222 .data = (const struct snd_usb_audio_quirk[]) {
3226 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3231 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3236 .type = QUIRK_MIDI_STANDARD_INTERFACE
3247 * Some USB MIDI devices don't have an audio control interface,
3248 * so we have to grab MIDI streaming interfaces here.
3250 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3251 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3252 .bInterfaceClass = USB_CLASS_AUDIO,
3253 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3254 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3255 .ifnum = QUIRK_ANY_INTERFACE,
3256 .type = QUIRK_MIDI_STANDARD_INTERFACE
3260 /* disabled due to regression for other devices;
3261 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3266 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3267 * ID, but it looks like the product ID actually is only for Nura.
3268 * The capture interface does not work at all (even on Windows),
3269 * and only the 48 kHz sample rate works for the playback interface.
3271 USB_DEVICE(0x0a12, 0x1243),
3272 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3273 .ifnum = QUIRK_ANY_INTERFACE,
3274 .type = QUIRK_COMPOSITE,
3275 .data = (const struct snd_usb_audio_quirk[]) {
3278 .type = QUIRK_AUDIO_STANDARD_MIXER,
3283 .type = QUIRK_IGNORE_INTERFACE,
3288 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3289 .data = &(const struct audioformat) {
3290 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3295 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3296 UAC_EP_CS_ATTR_SAMPLE_RATE,
3298 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3299 .rates = SNDRV_PCM_RATE_48000,
3303 .rate_table = (unsigned int[]) {
3314 #endif /* disabled */
3318 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3319 * even though it advertises more. The capture interface doesn't work
3322 USB_DEVICE(0x19b5, 0x0021),
3323 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3324 .ifnum = QUIRK_ANY_INTERFACE,
3325 .type = QUIRK_COMPOSITE,
3326 .data = (const struct snd_usb_audio_quirk[]) {
3329 .type = QUIRK_AUDIO_STANDARD_MIXER,
3334 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3335 .data = &(const struct audioformat) {
3336 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3341 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3342 UAC_EP_CS_ATTR_SAMPLE_RATE,
3344 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3345 .rates = SNDRV_PCM_RATE_48000,
3349 .rate_table = (unsigned int[]) {
3360 /* MOTU Microbook II */
3362 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
3363 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3364 .vendor_name = "MOTU",
3365 .product_name = "MicroBookII",
3366 .ifnum = QUIRK_ANY_INTERFACE,
3367 .type = QUIRK_COMPOSITE,
3368 .data = (const struct snd_usb_audio_quirk[]) {
3371 .type = QUIRK_AUDIO_STANDARD_MIXER,
3375 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3376 .data = &(const struct audioformat) {
3377 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3384 .rates = SNDRV_PCM_RATE_96000,
3385 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3386 USB_ENDPOINT_SYNC_ASYNC,
3390 .maxpacksize = 0x00d8,
3391 .rate_table = (unsigned int[]) {
3398 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3399 .data = &(const struct audioformat) {
3400 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3407 .rates = SNDRV_PCM_RATE_96000,
3408 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3409 USB_ENDPOINT_SYNC_ASYNC,
3413 .maxpacksize = 0x0120,
3414 .rate_table = (unsigned int[]) {
3427 * PIONEER DJ DDJ-SX3
3428 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
3429 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
3430 * The feedback for the output is the input.
3432 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
3433 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3434 .ifnum = QUIRK_ANY_INTERFACE,
3435 .type = QUIRK_COMPOSITE,
3436 .data = (const struct snd_usb_audio_quirk[]) {
3439 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3440 .data = &(const struct audioformat) {
3441 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3447 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3448 USB_ENDPOINT_SYNC_ASYNC,
3449 .rates = SNDRV_PCM_RATE_44100,
3453 .rate_table = (unsigned int[]) { 44100 }
3458 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3459 .data = &(const struct audioformat) {
3460 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3467 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3468 USB_ENDPOINT_SYNC_ASYNC|
3469 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3470 .rates = SNDRV_PCM_RATE_44100,
3474 .rate_table = (unsigned int[]) { 44100 }
3485 * Pioneer DJ DJM-250MK2
3486 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3487 * and 8 channels in @ 48 fixed (endpoint 0x82).
3489 * Both playback and recording is working, even simultaneously.
3491 * Playback channels could be mapped to:
3496 * Recording channels could be mapped to:
3505 * There is remaining problem with recording directly from PHONO/LINE.
3506 * If we map a channel to:
3507 * - CH1 Control Tone PHONO
3508 * - CH1 Control Tone LINE
3509 * - CH2 Control Tone PHONO
3510 * - CH2 Control Tone LINE
3512 * There is no signal even on other operating systems with official drivers.
3513 * The signal appears only when a supported application is started.
3514 * This needs to be investigated yet...
3515 * (there is quite a lot communication on the USB in both directions)
3517 * In current version this mixer could be used for playback
3518 * and for recording from vinyls (through Post CH* Fader)
3519 * but not for DVS (Digital Vinyl Systems) like in Mixxx.
3521 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
3522 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3523 .ifnum = QUIRK_ANY_INTERFACE,
3524 .type = QUIRK_COMPOSITE,
3525 .data = (const struct snd_usb_audio_quirk[]) {
3528 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3529 .data = &(const struct audioformat) {
3530 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3531 .channels = 8, // outputs
3536 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3537 USB_ENDPOINT_SYNC_ASYNC,
3538 .rates = SNDRV_PCM_RATE_48000,
3542 .rate_table = (unsigned int[]) { 48000 }
3547 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3548 .data = &(const struct audioformat) {
3549 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3550 .channels = 8, // inputs
3556 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3557 USB_ENDPOINT_SYNC_ASYNC|
3558 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3559 .rates = SNDRV_PCM_RATE_48000,
3563 .rate_table = (unsigned int[]) { 48000 }
3575 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3576 * The feedback for the output is the dummy input.
3578 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3579 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3580 .ifnum = QUIRK_ANY_INTERFACE,
3581 .type = QUIRK_COMPOSITE,
3582 .data = (const struct snd_usb_audio_quirk[]) {
3585 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3586 .data = &(const struct audioformat) {
3587 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3593 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3594 USB_ENDPOINT_SYNC_ASYNC,
3595 .rates = SNDRV_PCM_RATE_44100,
3599 .rate_table = (unsigned int[]) { 44100 }
3604 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3605 .data = &(const struct audioformat) {
3606 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3613 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3614 USB_ENDPOINT_SYNC_ASYNC|
3615 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3616 .rates = SNDRV_PCM_RATE_44100,
3620 .rate_table = (unsigned int[]) { 44100 }
3633 * PCM is 6 channels out & 4 channels in @ 44.1 fixed
3635 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000d),
3636 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3637 .ifnum = QUIRK_ANY_INTERFACE,
3638 .type = QUIRK_COMPOSITE,
3639 .data = (const struct snd_usb_audio_quirk[]) {
3642 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3643 .data = &(const struct audioformat) {
3644 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3645 .channels = 6, //Master, Headphones & Booth
3650 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3651 USB_ENDPOINT_SYNC_ASYNC,
3652 .rates = SNDRV_PCM_RATE_44100,
3656 .rate_table = (unsigned int[]) { 44100 }
3661 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3662 .data = &(const struct audioformat) {
3663 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3664 .channels = 4, //2x RCA inputs (CH1 & CH2)
3670 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3671 USB_ENDPOINT_SYNC_ASYNC|
3672 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3673 .rates = SNDRV_PCM_RATE_44100,
3677 .rate_table = (unsigned int[]) { 44100 }
3689 * PIONEER DJ DDJ-SR2
3690 * PCM is 4 channels out, 6 channels in @ 44.1 fixed
3691 * The Feedback for the output is the input
3693 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001e),
3694 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3695 .ifnum = QUIRK_ANY_INTERFACE,
3696 .type = QUIRK_COMPOSITE,
3697 .data = (const struct snd_usb_audio_quirk[]) {
3700 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3701 .data = &(const struct audioformat) {
3702 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3708 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3709 USB_ENDPOINT_SYNC_ASYNC,
3710 .rates = SNDRV_PCM_RATE_44100,
3714 .rate_table = (unsigned int[]) { 44100 }
3719 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3720 .data = &(const struct audioformat) {
3721 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3728 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3729 USB_ENDPOINT_SYNC_ASYNC|
3730 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3731 .rates = SNDRV_PCM_RATE_44100,
3735 .rate_table = (unsigned int[]) { 44100 }
3747 * Pioneer DJ DJM-900NXS2
3748 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3750 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3751 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3752 .ifnum = QUIRK_ANY_INTERFACE,
3753 .type = QUIRK_COMPOSITE,
3754 .data = (const struct snd_usb_audio_quirk[]) {
3757 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3758 .data = &(const struct audioformat) {
3759 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3765 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3766 USB_ENDPOINT_SYNC_ASYNC,
3767 .rates = SNDRV_PCM_RATE_44100|
3768 SNDRV_PCM_RATE_48000|
3769 SNDRV_PCM_RATE_96000,
3773 .rate_table = (unsigned int[]) {
3780 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3781 .data = &(const struct audioformat) {
3782 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3789 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3790 USB_ENDPOINT_SYNC_ASYNC|
3791 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3792 .rates = SNDRV_PCM_RATE_44100|
3793 SNDRV_PCM_RATE_48000|
3794 SNDRV_PCM_RATE_96000,
3798 .rate_table = (unsigned int[]) {
3811 * MacroSilicon MS2109 based HDMI capture cards
3813 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3814 * They also need QUIRK_AUDIO_ALIGN_TRANSFER, which makes one wonder if
3815 * they pretend to be 96kHz mono as a workaround for stereo being broken
3818 * They also have an issue with initial stream alignment that causes the
3819 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3822 USB_AUDIO_DEVICE(0x534d, 0x2109),
3823 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3824 .vendor_name = "MacroSilicon",
3825 .product_name = "MS2109",
3826 .ifnum = QUIRK_ANY_INTERFACE,
3827 .type = QUIRK_COMPOSITE,
3828 .data = &(const struct snd_usb_audio_quirk[]) {
3831 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
3835 .type = QUIRK_AUDIO_STANDARD_MIXER,
3839 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3840 .data = &(const struct audioformat) {
3841 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3848 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3849 USB_ENDPOINT_SYNC_ASYNC,
3850 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3863 * Pioneer DJ DJM-750
3864 * 8 channels playback & 8 channels capture @ 44.1/48/96kHz S24LE
3866 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x017f),
3867 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3868 .ifnum = QUIRK_ANY_INTERFACE,
3869 .type = QUIRK_COMPOSITE,
3870 .data = (const struct snd_usb_audio_quirk[]) {
3873 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3874 .data = &(const struct audioformat) {
3875 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3881 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3882 USB_ENDPOINT_SYNC_ASYNC,
3883 .rates = SNDRV_PCM_RATE_44100|
3884 SNDRV_PCM_RATE_48000|
3885 SNDRV_PCM_RATE_96000,
3889 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3894 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3895 .data = &(const struct audioformat) {
3896 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3903 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3904 USB_ENDPOINT_SYNC_ASYNC|
3905 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3906 .rates = SNDRV_PCM_RATE_44100|
3907 SNDRV_PCM_RATE_48000|
3908 SNDRV_PCM_RATE_96000,
3912 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3923 * Pioneer DJ DJM-850
3924 * 8 channels playback and 8 channels capture @ 44.1/48/96kHz S24LE
3925 * Playback on EP 0x05
3926 * Capture on EP 0x86
3928 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x0163),
3929 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3930 .ifnum = QUIRK_ANY_INTERFACE,
3931 .type = QUIRK_COMPOSITE,
3932 .data = (const struct snd_usb_audio_quirk[]) {
3935 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3936 .data = &(const struct audioformat) {
3937 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3943 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3944 USB_ENDPOINT_SYNC_ASYNC|
3945 USB_ENDPOINT_USAGE_DATA,
3946 .rates = SNDRV_PCM_RATE_44100|
3947 SNDRV_PCM_RATE_48000|
3948 SNDRV_PCM_RATE_96000,
3952 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3957 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3958 .data = &(const struct audioformat) {
3959 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3966 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3967 USB_ENDPOINT_SYNC_ASYNC|
3968 USB_ENDPOINT_USAGE_DATA,
3969 .rates = SNDRV_PCM_RATE_44100|
3970 SNDRV_PCM_RATE_48000|
3971 SNDRV_PCM_RATE_96000,
3975 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
3986 * Pioneer DJ DJM-450
3987 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3988 * and 8 channels in @ 48 fixed (endpoint 0x82).
3990 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0013),
3991 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3992 .ifnum = QUIRK_ANY_INTERFACE,
3993 .type = QUIRK_COMPOSITE,
3994 .data = (const struct snd_usb_audio_quirk[]) {
3997 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3998 .data = &(const struct audioformat) {
3999 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4000 .channels = 8, // outputs
4005 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4006 USB_ENDPOINT_SYNC_ASYNC,
4007 .rates = SNDRV_PCM_RATE_48000,
4011 .rate_table = (unsigned int[]) { 48000 }
4016 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4017 .data = &(const struct audioformat) {
4018 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4019 .channels = 8, // inputs
4025 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4026 USB_ENDPOINT_SYNC_ASYNC|
4027 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4028 .rates = SNDRV_PCM_RATE_48000,
4032 .rate_table = (unsigned int[]) { 48000 }
4042 #undef USB_DEVICE_VENDOR_SPEC
4043 #undef USB_AUDIO_DEVICE