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
30 USB_DEVICE(0x0403, 0xb8d8),
31 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
32 /* .vendor_name = "STARR LABS", */
33 /* .product_name = "Starr Labs MIDI USB device", */
35 .type = QUIRK_MIDI_FTDI
41 USB_DEVICE(0x041e, 0x0005),
42 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
44 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
45 .data = &(const struct audioformat) {
46 .formats = SNDRV_PCM_FMTBIT_S16_LE,
52 .ep_attr = USB_ENDPOINT_XFER_ISOC,
54 .rates = SNDRV_PCM_RATE_CONTINUOUS,
63 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
66 .bInterfaceClass = USB_CLASS_AUDIO,
70 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
73 .bInterfaceClass = USB_CLASS_AUDIO,
76 /* E-Mu Tracker Pre */
77 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
80 .bInterfaceClass = USB_CLASS_AUDIO,
84 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
87 .bInterfaceClass = USB_CLASS_AUDIO,
92 * When not ignored, causes instability issues for some users, forcing them to
93 * skip the entire module.
96 USB_DEVICE(0x0424, 0xb832),
97 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
98 .vendor_name = "Standard Microsystems Corp.",
99 .product_name = "HP Wireless Audio",
100 .ifnum = QUIRK_ANY_INTERFACE,
101 .type = QUIRK_COMPOSITE,
102 .data = (const struct snd_usb_audio_quirk[]) {
106 .type = QUIRK_IGNORE_INTERFACE,
111 .type = QUIRK_IGNORE_INTERFACE,
116 .type = QUIRK_IGNORE_INTERFACE,
118 /* HID Device, .ifnum = 3 */
127 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
128 * class matches do not take effect without an explicit ID match.
131 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
132 USB_DEVICE_ID_MATCH_INT_CLASS |
133 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
136 .bInterfaceClass = USB_CLASS_AUDIO,
137 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
140 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
141 USB_DEVICE_ID_MATCH_INT_CLASS |
142 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
145 .bInterfaceClass = USB_CLASS_AUDIO,
146 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
149 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
150 USB_DEVICE_ID_MATCH_INT_CLASS |
151 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
154 .bInterfaceClass = USB_CLASS_AUDIO,
155 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
158 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
159 USB_DEVICE_ID_MATCH_INT_CLASS |
160 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
163 .bInterfaceClass = USB_CLASS_AUDIO,
164 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
167 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
168 USB_DEVICE_ID_MATCH_INT_CLASS |
169 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
172 .bInterfaceClass = USB_CLASS_AUDIO,
173 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
176 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
177 USB_DEVICE_ID_MATCH_INT_CLASS |
178 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
181 .bInterfaceClass = USB_CLASS_AUDIO,
182 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
185 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
186 USB_DEVICE_ID_MATCH_INT_CLASS |
187 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
190 .bInterfaceClass = USB_CLASS_AUDIO,
191 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
198 #define YAMAHA_DEVICE(id, name) { \
199 USB_DEVICE(0x0499, id), \
200 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
201 .vendor_name = "Yamaha", \
202 .product_name = name, \
203 .ifnum = QUIRK_ANY_INTERFACE, \
204 .type = QUIRK_MIDI_YAMAHA \
207 #define YAMAHA_INTERFACE(id, intf, name) { \
208 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
209 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
210 .vendor_name = "Yamaha", \
211 .product_name = name, \
213 .type = QUIRK_MIDI_YAMAHA \
216 YAMAHA_DEVICE(0x1000, "UX256"),
217 YAMAHA_DEVICE(0x1001, "MU1000"),
218 YAMAHA_DEVICE(0x1002, "MU2000"),
219 YAMAHA_DEVICE(0x1003, "MU500"),
220 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
221 YAMAHA_DEVICE(0x1005, "MOTIF6"),
222 YAMAHA_DEVICE(0x1006, "MOTIF7"),
223 YAMAHA_DEVICE(0x1007, "MOTIF8"),
224 YAMAHA_DEVICE(0x1008, "UX96"),
225 YAMAHA_DEVICE(0x1009, "UX16"),
226 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
227 YAMAHA_DEVICE(0x100c, "UC-MX"),
228 YAMAHA_DEVICE(0x100d, "UC-KX"),
229 YAMAHA_DEVICE(0x100e, "S08"),
230 YAMAHA_DEVICE(0x100f, "CLP-150"),
231 YAMAHA_DEVICE(0x1010, "CLP-170"),
232 YAMAHA_DEVICE(0x1011, "P-250"),
233 YAMAHA_DEVICE(0x1012, "TYROS"),
234 YAMAHA_DEVICE(0x1013, "PF-500"),
235 YAMAHA_DEVICE(0x1014, "S90"),
236 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
237 YAMAHA_DEVICE(0x1016, "MDP-5"),
238 YAMAHA_DEVICE(0x1017, "CVP-204"),
239 YAMAHA_DEVICE(0x1018, "CVP-206"),
240 YAMAHA_DEVICE(0x1019, "CVP-208"),
241 YAMAHA_DEVICE(0x101a, "CVP-210"),
242 YAMAHA_DEVICE(0x101b, "PSR-1100"),
243 YAMAHA_DEVICE(0x101c, "PSR-2100"),
244 YAMAHA_DEVICE(0x101d, "CLP-175"),
245 YAMAHA_DEVICE(0x101e, "PSR-K1"),
246 YAMAHA_DEVICE(0x101f, "EZ-J24"),
247 YAMAHA_DEVICE(0x1020, "EZ-250i"),
248 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
249 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
250 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
251 YAMAHA_DEVICE(0x1024, "CVP-301"),
252 YAMAHA_DEVICE(0x1025, "CVP-303"),
253 YAMAHA_DEVICE(0x1026, "CVP-305"),
254 YAMAHA_DEVICE(0x1027, "CVP-307"),
255 YAMAHA_DEVICE(0x1028, "CVP-309"),
256 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
257 YAMAHA_DEVICE(0x102a, "PSR-1500"),
258 YAMAHA_DEVICE(0x102b, "PSR-3000"),
259 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
260 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
261 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
262 YAMAHA_DEVICE(0x1032, "DGX-305"),
263 YAMAHA_DEVICE(0x1033, "DGX-505"),
264 YAMAHA_DEVICE(0x1034, NULL),
265 YAMAHA_DEVICE(0x1035, NULL),
266 YAMAHA_DEVICE(0x1036, NULL),
267 YAMAHA_DEVICE(0x1037, NULL),
268 YAMAHA_DEVICE(0x1038, NULL),
269 YAMAHA_DEVICE(0x1039, NULL),
270 YAMAHA_DEVICE(0x103a, NULL),
271 YAMAHA_DEVICE(0x103b, NULL),
272 YAMAHA_DEVICE(0x103c, NULL),
273 YAMAHA_DEVICE(0x103d, NULL),
274 YAMAHA_DEVICE(0x103e, NULL),
275 YAMAHA_DEVICE(0x103f, NULL),
276 YAMAHA_DEVICE(0x1040, NULL),
277 YAMAHA_DEVICE(0x1041, NULL),
278 YAMAHA_DEVICE(0x1042, NULL),
279 YAMAHA_DEVICE(0x1043, NULL),
280 YAMAHA_DEVICE(0x1044, NULL),
281 YAMAHA_DEVICE(0x1045, NULL),
282 YAMAHA_INTERFACE(0x104e, 0, NULL),
283 YAMAHA_DEVICE(0x104f, NULL),
284 YAMAHA_DEVICE(0x1050, NULL),
285 YAMAHA_DEVICE(0x1051, NULL),
286 YAMAHA_DEVICE(0x1052, NULL),
287 YAMAHA_INTERFACE(0x1053, 0, NULL),
288 YAMAHA_INTERFACE(0x1054, 0, NULL),
289 YAMAHA_DEVICE(0x1055, NULL),
290 YAMAHA_DEVICE(0x1056, NULL),
291 YAMAHA_DEVICE(0x1057, NULL),
292 YAMAHA_DEVICE(0x1058, NULL),
293 YAMAHA_DEVICE(0x1059, NULL),
294 YAMAHA_DEVICE(0x105a, NULL),
295 YAMAHA_DEVICE(0x105b, NULL),
296 YAMAHA_DEVICE(0x105c, NULL),
297 YAMAHA_DEVICE(0x105d, NULL),
299 USB_DEVICE(0x0499, 0x1503),
300 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
301 /* .vendor_name = "Yamaha", */
302 /* .product_name = "MOX6/MOX8", */
303 .ifnum = QUIRK_ANY_INTERFACE,
304 .type = QUIRK_COMPOSITE,
305 .data = (const struct snd_usb_audio_quirk[]) {
308 .type = QUIRK_AUDIO_STANDARD_INTERFACE
312 .type = QUIRK_AUDIO_STANDARD_INTERFACE
316 .type = QUIRK_MIDI_YAMAHA
325 USB_DEVICE(0x0499, 0x1507),
326 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
327 /* .vendor_name = "Yamaha", */
328 /* .product_name = "THR10", */
329 .ifnum = QUIRK_ANY_INTERFACE,
330 .type = QUIRK_COMPOSITE,
331 .data = (const struct snd_usb_audio_quirk[]) {
334 .type = QUIRK_AUDIO_STANDARD_INTERFACE
338 .type = QUIRK_AUDIO_STANDARD_INTERFACE
342 .type = QUIRK_MIDI_YAMAHA
351 USB_DEVICE(0x0499, 0x1509),
352 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
353 /* .vendor_name = "Yamaha", */
354 /* .product_name = "Steinberg UR22", */
355 .ifnum = QUIRK_ANY_INTERFACE,
356 .type = QUIRK_COMPOSITE,
357 .data = (const struct snd_usb_audio_quirk[]) {
360 .type = QUIRK_AUDIO_STANDARD_INTERFACE
364 .type = QUIRK_AUDIO_STANDARD_INTERFACE
368 .type = QUIRK_MIDI_YAMAHA
372 .type = QUIRK_IGNORE_INTERFACE
381 USB_DEVICE(0x0499, 0x150a),
382 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
383 /* .vendor_name = "Yamaha", */
384 /* .product_name = "THR5A", */
385 .ifnum = QUIRK_ANY_INTERFACE,
386 .type = QUIRK_COMPOSITE,
387 .data = (const struct snd_usb_audio_quirk[]) {
390 .type = QUIRK_AUDIO_STANDARD_INTERFACE
394 .type = QUIRK_AUDIO_STANDARD_INTERFACE
398 .type = QUIRK_MIDI_YAMAHA
407 USB_DEVICE(0x0499, 0x150c),
408 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
409 /* .vendor_name = "Yamaha", */
410 /* .product_name = "THR10C", */
411 .ifnum = QUIRK_ANY_INTERFACE,
412 .type = QUIRK_COMPOSITE,
413 .data = (const struct snd_usb_audio_quirk[]) {
416 .type = QUIRK_AUDIO_STANDARD_INTERFACE
420 .type = QUIRK_AUDIO_STANDARD_INTERFACE
424 .type = QUIRK_MIDI_YAMAHA
432 YAMAHA_DEVICE(0x2000, "DGP-7"),
433 YAMAHA_DEVICE(0x2001, "DGP-5"),
434 YAMAHA_DEVICE(0x2002, NULL),
435 YAMAHA_DEVICE(0x2003, NULL),
436 YAMAHA_DEVICE(0x5000, "CS1D"),
437 YAMAHA_DEVICE(0x5001, "DSP1D"),
438 YAMAHA_DEVICE(0x5002, "DME32"),
439 YAMAHA_DEVICE(0x5003, "DM2000"),
440 YAMAHA_DEVICE(0x5004, "02R96"),
441 YAMAHA_DEVICE(0x5005, "ACU16-C"),
442 YAMAHA_DEVICE(0x5006, "NHB32-C"),
443 YAMAHA_DEVICE(0x5007, "DM1000"),
444 YAMAHA_DEVICE(0x5008, "01V96"),
445 YAMAHA_DEVICE(0x5009, "SPX2000"),
446 YAMAHA_DEVICE(0x500a, "PM5D"),
447 YAMAHA_DEVICE(0x500b, "DME64N"),
448 YAMAHA_DEVICE(0x500c, "DME24N"),
449 YAMAHA_DEVICE(0x500d, NULL),
450 YAMAHA_DEVICE(0x500e, NULL),
451 YAMAHA_DEVICE(0x500f, NULL),
452 YAMAHA_DEVICE(0x7000, "DTX"),
453 YAMAHA_DEVICE(0x7010, "UB99"),
455 #undef YAMAHA_INTERFACE
456 /* this catches most recent vendor-specific Yamaha devices */
458 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
459 USB_DEVICE_ID_MATCH_INT_CLASS,
461 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
462 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
463 .ifnum = QUIRK_ANY_INTERFACE,
464 .type = QUIRK_AUTODETECT
469 * Roland/RolandED/Edirol/BOSS devices
472 USB_DEVICE(0x0582, 0x0000),
473 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
474 .vendor_name = "Roland",
475 .product_name = "UA-100",
476 .ifnum = QUIRK_ANY_INTERFACE,
477 .type = QUIRK_COMPOSITE,
478 .data = (const struct snd_usb_audio_quirk[]) {
481 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
482 .data = & (const struct audioformat) {
483 .formats = SNDRV_PCM_FMTBIT_S16_LE,
491 .rates = SNDRV_PCM_RATE_CONTINUOUS,
498 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
499 .data = & (const struct audioformat) {
500 .formats = SNDRV_PCM_FMTBIT_S16_LE,
505 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
508 .rates = SNDRV_PCM_RATE_CONTINUOUS,
515 .type = QUIRK_MIDI_FIXED_ENDPOINT,
516 .data = & (const struct snd_usb_midi_endpoint_info) {
517 .out_cables = 0x0007,
528 USB_DEVICE(0x0582, 0x0002),
529 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
530 .vendor_name = "EDIROL",
531 .product_name = "UM-4",
532 .ifnum = QUIRK_ANY_INTERFACE,
533 .type = QUIRK_COMPOSITE,
534 .data = (const struct snd_usb_audio_quirk[]) {
537 .type = QUIRK_IGNORE_INTERFACE
541 .type = QUIRK_IGNORE_INTERFACE
545 .type = QUIRK_MIDI_FIXED_ENDPOINT,
546 .data = & (const struct snd_usb_midi_endpoint_info) {
547 .out_cables = 0x000f,
558 USB_DEVICE(0x0582, 0x0003),
559 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
560 .vendor_name = "Roland",
561 .product_name = "SC-8850",
562 .ifnum = QUIRK_ANY_INTERFACE,
563 .type = QUIRK_COMPOSITE,
564 .data = (const struct snd_usb_audio_quirk[]) {
567 .type = QUIRK_IGNORE_INTERFACE
571 .type = QUIRK_IGNORE_INTERFACE
575 .type = QUIRK_MIDI_FIXED_ENDPOINT,
576 .data = & (const struct snd_usb_midi_endpoint_info) {
577 .out_cables = 0x003f,
588 USB_DEVICE(0x0582, 0x0004),
589 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
590 .vendor_name = "Roland",
591 .product_name = "U-8",
592 .ifnum = QUIRK_ANY_INTERFACE,
593 .type = QUIRK_COMPOSITE,
594 .data = (const struct snd_usb_audio_quirk[]) {
597 .type = QUIRK_IGNORE_INTERFACE
601 .type = QUIRK_IGNORE_INTERFACE
605 .type = QUIRK_MIDI_FIXED_ENDPOINT,
606 .data = & (const struct snd_usb_midi_endpoint_info) {
607 .out_cables = 0x0005,
618 /* Has ID 0x0099 when not in "Advanced Driver" mode.
619 * The UM-2EX has only one input, but we cannot detect this. */
620 USB_DEVICE(0x0582, 0x0005),
621 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
622 .vendor_name = "EDIROL",
623 .product_name = "UM-2",
624 .ifnum = QUIRK_ANY_INTERFACE,
625 .type = QUIRK_COMPOSITE,
626 .data = (const struct snd_usb_audio_quirk[]) {
629 .type = QUIRK_IGNORE_INTERFACE
633 .type = QUIRK_IGNORE_INTERFACE
637 .type = QUIRK_MIDI_FIXED_ENDPOINT,
638 .data = & (const struct snd_usb_midi_endpoint_info) {
639 .out_cables = 0x0003,
650 USB_DEVICE(0x0582, 0x0007),
651 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
652 .vendor_name = "Roland",
653 .product_name = "SC-8820",
654 .ifnum = QUIRK_ANY_INTERFACE,
655 .type = QUIRK_COMPOSITE,
656 .data = (const struct snd_usb_audio_quirk[]) {
659 .type = QUIRK_IGNORE_INTERFACE
663 .type = QUIRK_IGNORE_INTERFACE
667 .type = QUIRK_MIDI_FIXED_ENDPOINT,
668 .data = & (const struct snd_usb_midi_endpoint_info) {
669 .out_cables = 0x0013,
680 USB_DEVICE(0x0582, 0x0008),
681 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
682 .vendor_name = "Roland",
683 .product_name = "PC-300",
684 .ifnum = QUIRK_ANY_INTERFACE,
685 .type = QUIRK_COMPOSITE,
686 .data = (const struct snd_usb_audio_quirk[]) {
689 .type = QUIRK_IGNORE_INTERFACE
693 .type = QUIRK_IGNORE_INTERFACE
697 .type = QUIRK_MIDI_FIXED_ENDPOINT,
698 .data = & (const struct snd_usb_midi_endpoint_info) {
699 .out_cables = 0x0001,
710 /* has ID 0x009d when not in "Advanced Driver" mode */
711 USB_DEVICE(0x0582, 0x0009),
712 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
713 .vendor_name = "EDIROL",
714 .product_name = "UM-1",
715 .ifnum = QUIRK_ANY_INTERFACE,
716 .type = QUIRK_COMPOSITE,
717 .data = (const struct snd_usb_audio_quirk[]) {
720 .type = QUIRK_IGNORE_INTERFACE
724 .type = QUIRK_IGNORE_INTERFACE
728 .type = QUIRK_MIDI_FIXED_ENDPOINT,
729 .data = & (const struct snd_usb_midi_endpoint_info) {
730 .out_cables = 0x0001,
741 USB_DEVICE(0x0582, 0x000b),
742 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
743 .vendor_name = "Roland",
744 .product_name = "SK-500",
745 .ifnum = QUIRK_ANY_INTERFACE,
746 .type = QUIRK_COMPOSITE,
747 .data = (const struct snd_usb_audio_quirk[]) {
750 .type = QUIRK_IGNORE_INTERFACE
754 .type = QUIRK_IGNORE_INTERFACE
758 .type = QUIRK_MIDI_FIXED_ENDPOINT,
759 .data = & (const struct snd_usb_midi_endpoint_info) {
760 .out_cables = 0x0013,
771 /* thanks to Emiliano Grilli <emillo@libero.it>
772 * for helping researching this data */
773 USB_DEVICE(0x0582, 0x000c),
774 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
775 .vendor_name = "Roland",
776 .product_name = "SC-D70",
777 .ifnum = QUIRK_ANY_INTERFACE,
778 .type = QUIRK_COMPOSITE,
779 .data = (const struct snd_usb_audio_quirk[]) {
782 .type = QUIRK_AUDIO_STANDARD_INTERFACE
786 .type = QUIRK_AUDIO_STANDARD_INTERFACE
790 .type = QUIRK_MIDI_FIXED_ENDPOINT,
791 .data = & (const struct snd_usb_midi_endpoint_info) {
792 .out_cables = 0x0007,
803 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
804 * If the advanced mode switch at the back of the unit is off, the
805 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
806 * but offers only 16-bit PCM.
807 * In advanced mode, the UA-5 will output S24_3LE samples (two
808 * channels) at the rate indicated on the front switch, including
809 * the 96kHz sample rate.
811 USB_DEVICE(0x0582, 0x0010),
812 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
813 .vendor_name = "EDIROL",
814 .product_name = "UA-5",
815 .ifnum = QUIRK_ANY_INTERFACE,
816 .type = QUIRK_COMPOSITE,
817 .data = (const struct snd_usb_audio_quirk[]) {
820 .type = QUIRK_AUDIO_STANDARD_INTERFACE
824 .type = QUIRK_AUDIO_STANDARD_INTERFACE
833 /* has ID 0x0013 when not in "Advanced Driver" mode */
834 USB_DEVICE(0x0582, 0x0012),
835 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
836 .vendor_name = "Roland",
837 .product_name = "XV-5050",
839 .type = QUIRK_MIDI_FIXED_ENDPOINT,
840 .data = & (const struct snd_usb_midi_endpoint_info) {
841 .out_cables = 0x0001,
847 /* has ID 0x0015 when not in "Advanced Driver" mode */
848 USB_DEVICE(0x0582, 0x0014),
849 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
850 .vendor_name = "EDIROL",
851 .product_name = "UM-880",
853 .type = QUIRK_MIDI_FIXED_ENDPOINT,
854 .data = & (const struct snd_usb_midi_endpoint_info) {
855 .out_cables = 0x01ff,
861 /* has ID 0x0017 when not in "Advanced Driver" mode */
862 USB_DEVICE(0x0582, 0x0016),
863 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
864 .vendor_name = "EDIROL",
865 .product_name = "SD-90",
866 .ifnum = QUIRK_ANY_INTERFACE,
867 .type = QUIRK_COMPOSITE,
868 .data = (const struct snd_usb_audio_quirk[]) {
871 .type = QUIRK_AUDIO_STANDARD_INTERFACE
875 .type = QUIRK_AUDIO_STANDARD_INTERFACE
879 .type = QUIRK_MIDI_FIXED_ENDPOINT,
880 .data = & (const struct snd_usb_midi_endpoint_info) {
881 .out_cables = 0x000f,
892 /* has ID 0x001c when not in "Advanced Driver" mode */
893 USB_DEVICE(0x0582, 0x001b),
894 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
895 .vendor_name = "Roland",
896 .product_name = "MMP-2",
897 .ifnum = QUIRK_ANY_INTERFACE,
898 .type = QUIRK_COMPOSITE,
899 .data = (const struct snd_usb_audio_quirk[]) {
902 .type = QUIRK_IGNORE_INTERFACE
906 .type = QUIRK_IGNORE_INTERFACE
910 .type = QUIRK_MIDI_FIXED_ENDPOINT,
911 .data = & (const struct snd_usb_midi_endpoint_info) {
912 .out_cables = 0x0001,
923 /* has ID 0x001e when not in "Advanced Driver" mode */
924 USB_DEVICE(0x0582, 0x001d),
925 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
926 .vendor_name = "Roland",
927 .product_name = "V-SYNTH",
929 .type = QUIRK_MIDI_FIXED_ENDPOINT,
930 .data = & (const struct snd_usb_midi_endpoint_info) {
931 .out_cables = 0x0001,
937 /* has ID 0x0024 when not in "Advanced Driver" mode */
938 USB_DEVICE(0x0582, 0x0023),
939 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
940 .vendor_name = "EDIROL",
941 .product_name = "UM-550",
943 .type = QUIRK_MIDI_FIXED_ENDPOINT,
944 .data = & (const struct snd_usb_midi_endpoint_info) {
945 .out_cables = 0x003f,
952 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
953 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
956 USB_DEVICE(0x0582, 0x0025),
957 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
958 .vendor_name = "EDIROL",
959 .product_name = "UA-20",
960 .ifnum = QUIRK_ANY_INTERFACE,
961 .type = QUIRK_COMPOSITE,
962 .data = (const struct snd_usb_audio_quirk[]) {
965 .type = QUIRK_IGNORE_INTERFACE
969 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
970 .data = & (const struct audioformat) {
971 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
979 .rates = SNDRV_PCM_RATE_CONTINUOUS,
986 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
987 .data = & (const struct audioformat) {
988 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
996 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1003 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1004 .data = & (const struct snd_usb_midi_endpoint_info) {
1005 .out_cables = 0x0001,
1016 /* has ID 0x0028 when not in "Advanced Driver" mode */
1017 USB_DEVICE(0x0582, 0x0027),
1018 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1019 .vendor_name = "EDIROL",
1020 .product_name = "SD-20",
1022 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1023 .data = & (const struct snd_usb_midi_endpoint_info) {
1024 .out_cables = 0x0003,
1030 /* has ID 0x002a when not in "Advanced Driver" mode */
1031 USB_DEVICE(0x0582, 0x0029),
1032 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1033 .vendor_name = "EDIROL",
1034 .product_name = "SD-80",
1036 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1037 .data = & (const struct snd_usb_midi_endpoint_info) {
1038 .out_cables = 0x000f,
1044 * This quirk is for the "Advanced" modes of the Edirol UA-700.
1045 * If the sample format switch is not in an advanced setting, the
1046 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
1047 * but offers only 16-bit PCM and no MIDI.
1049 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
1050 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1051 .vendor_name = "EDIROL",
1052 .product_name = "UA-700",
1053 .ifnum = QUIRK_ANY_INTERFACE,
1054 .type = QUIRK_COMPOSITE,
1055 .data = (const struct snd_usb_audio_quirk[]) {
1058 .type = QUIRK_AUDIO_EDIROL_UAXX
1062 .type = QUIRK_AUDIO_EDIROL_UAXX
1066 .type = QUIRK_AUDIO_EDIROL_UAXX
1075 /* has ID 0x002e when not in "Advanced Driver" mode */
1076 USB_DEVICE(0x0582, 0x002d),
1077 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1078 .vendor_name = "Roland",
1079 .product_name = "XV-2020",
1081 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1082 .data = & (const struct snd_usb_midi_endpoint_info) {
1083 .out_cables = 0x0001,
1089 /* has ID 0x0030 when not in "Advanced Driver" mode */
1090 USB_DEVICE(0x0582, 0x002f),
1091 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1092 .vendor_name = "Roland",
1093 .product_name = "VariOS",
1095 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1096 .data = & (const struct snd_usb_midi_endpoint_info) {
1097 .out_cables = 0x0007,
1103 /* has ID 0x0034 when not in "Advanced Driver" mode */
1104 USB_DEVICE(0x0582, 0x0033),
1105 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1106 .vendor_name = "EDIROL",
1107 .product_name = "PCR",
1109 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1110 .data = & (const struct snd_usb_midi_endpoint_info) {
1111 .out_cables = 0x0003,
1118 * Has ID 0x0038 when not in "Advanced Driver" mode;
1119 * later revisions use IDs 0x0054 and 0x00a2.
1121 USB_DEVICE(0x0582, 0x0037),
1122 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1123 .vendor_name = "Roland",
1124 .product_name = "Digital Piano",
1126 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1127 .data = & (const struct snd_usb_midi_endpoint_info) {
1128 .out_cables = 0x0001,
1135 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1136 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1139 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1140 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1141 .vendor_name = "BOSS",
1142 .product_name = "GS-10",
1143 .ifnum = QUIRK_ANY_INTERFACE,
1144 .type = QUIRK_COMPOSITE,
1145 .data = & (const struct snd_usb_audio_quirk[]) {
1148 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1152 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1156 .type = QUIRK_MIDI_STANDARD_INTERFACE
1165 /* has ID 0x0041 when not in "Advanced Driver" mode */
1166 USB_DEVICE(0x0582, 0x0040),
1167 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1168 .vendor_name = "Roland",
1169 .product_name = "GI-20",
1171 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1172 .data = & (const struct snd_usb_midi_endpoint_info) {
1173 .out_cables = 0x0001,
1179 /* has ID 0x0043 when not in "Advanced Driver" mode */
1180 USB_DEVICE(0x0582, 0x0042),
1181 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1182 .vendor_name = "Roland",
1183 .product_name = "RS-70",
1185 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1186 .data = & (const struct snd_usb_midi_endpoint_info) {
1187 .out_cables = 0x0001,
1193 /* has ID 0x0049 when not in "Advanced Driver" mode */
1194 USB_DEVICE(0x0582, 0x0047),
1195 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1196 /* .vendor_name = "EDIROL", */
1197 /* .product_name = "UR-80", */
1198 .ifnum = QUIRK_ANY_INTERFACE,
1199 .type = QUIRK_COMPOSITE,
1200 .data = (const struct snd_usb_audio_quirk[]) {
1201 /* in the 96 kHz modes, only interface 1 is there */
1204 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1208 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1217 /* has ID 0x004a when not in "Advanced Driver" mode */
1218 USB_DEVICE(0x0582, 0x0048),
1219 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1220 /* .vendor_name = "EDIROL", */
1221 /* .product_name = "UR-80", */
1223 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1224 .data = & (const struct snd_usb_midi_endpoint_info) {
1225 .out_cables = 0x0003,
1231 /* has ID 0x004e when not in "Advanced Driver" mode */
1232 USB_DEVICE(0x0582, 0x004c),
1233 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1234 .vendor_name = "EDIROL",
1235 .product_name = "PCR-A",
1236 .ifnum = QUIRK_ANY_INTERFACE,
1237 .type = QUIRK_COMPOSITE,
1238 .data = (const struct snd_usb_audio_quirk[]) {
1241 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1245 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1254 /* has ID 0x004f when not in "Advanced Driver" mode */
1255 USB_DEVICE(0x0582, 0x004d),
1256 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1257 .vendor_name = "EDIROL",
1258 .product_name = "PCR-A",
1260 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1261 .data = & (const struct snd_usb_midi_endpoint_info) {
1262 .out_cables = 0x0003,
1269 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1270 * is standard compliant, but has only 16-bit PCM.
1272 USB_DEVICE(0x0582, 0x0050),
1273 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1274 .vendor_name = "EDIROL",
1275 .product_name = "UA-3FX",
1276 .ifnum = QUIRK_ANY_INTERFACE,
1277 .type = QUIRK_COMPOSITE,
1278 .data = (const struct snd_usb_audio_quirk[]) {
1281 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1285 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1294 USB_DEVICE(0x0582, 0x0052),
1295 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1296 .vendor_name = "EDIROL",
1297 .product_name = "UM-1SX",
1299 .type = QUIRK_MIDI_STANDARD_INTERFACE
1303 USB_DEVICE(0x0582, 0x0060),
1304 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1305 .vendor_name = "Roland",
1306 .product_name = "EXR Series",
1308 .type = QUIRK_MIDI_STANDARD_INTERFACE
1312 /* has ID 0x0066 when not in "Advanced Driver" mode */
1313 USB_DEVICE(0x0582, 0x0064),
1314 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1315 /* .vendor_name = "EDIROL", */
1316 /* .product_name = "PCR-1", */
1317 .ifnum = QUIRK_ANY_INTERFACE,
1318 .type = QUIRK_COMPOSITE,
1319 .data = (const struct snd_usb_audio_quirk[]) {
1322 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1326 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1335 /* has ID 0x0067 when not in "Advanced Driver" mode */
1336 USB_DEVICE(0x0582, 0x0065),
1337 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1338 /* .vendor_name = "EDIROL", */
1339 /* .product_name = "PCR-1", */
1341 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1342 .data = & (const struct snd_usb_midi_endpoint_info) {
1343 .out_cables = 0x0001,
1349 /* has ID 0x006e when not in "Advanced Driver" mode */
1350 USB_DEVICE(0x0582, 0x006d),
1351 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1352 .vendor_name = "Roland",
1353 .product_name = "FANTOM-X",
1355 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1356 .data = & (const struct snd_usb_midi_endpoint_info) {
1357 .out_cables = 0x0001,
1363 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1364 * If the switch is not in an advanced setting, the UA-25 has
1365 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1366 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1368 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1369 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1370 .vendor_name = "EDIROL",
1371 .product_name = "UA-25",
1372 .ifnum = QUIRK_ANY_INTERFACE,
1373 .type = QUIRK_COMPOSITE,
1374 .data = (const struct snd_usb_audio_quirk[]) {
1377 .type = QUIRK_AUDIO_EDIROL_UAXX
1381 .type = QUIRK_AUDIO_EDIROL_UAXX
1385 .type = QUIRK_AUDIO_EDIROL_UAXX
1394 /* has ID 0x0076 when not in "Advanced Driver" mode */
1395 USB_DEVICE(0x0582, 0x0075),
1396 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1397 .vendor_name = "BOSS",
1398 .product_name = "DR-880",
1400 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1401 .data = & (const struct snd_usb_midi_endpoint_info) {
1402 .out_cables = 0x0001,
1408 /* has ID 0x007b when not in "Advanced Driver" mode */
1409 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1410 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1411 .vendor_name = "Roland",
1412 /* "RD" or "RD-700SX"? */
1414 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1415 .data = & (const struct snd_usb_midi_endpoint_info) {
1416 .out_cables = 0x0003,
1422 /* has ID 0x0081 when not in "Advanced Driver" mode */
1423 USB_DEVICE(0x0582, 0x0080),
1424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1425 .vendor_name = "Roland",
1426 .product_name = "G-70",
1428 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1429 .data = & (const struct snd_usb_midi_endpoint_info) {
1430 .out_cables = 0x0001,
1436 /* has ID 0x008c when not in "Advanced Driver" mode */
1437 USB_DEVICE(0x0582, 0x008b),
1438 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1439 .vendor_name = "EDIROL",
1440 .product_name = "PC-50",
1442 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1443 .data = & (const struct snd_usb_midi_endpoint_info) {
1444 .out_cables = 0x0001,
1451 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1452 * is standard compliant, but has only 16-bit PCM and no MIDI.
1454 USB_DEVICE(0x0582, 0x00a3),
1455 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1456 .vendor_name = "EDIROL",
1457 .product_name = "UA-4FX",
1458 .ifnum = QUIRK_ANY_INTERFACE,
1459 .type = QUIRK_COMPOSITE,
1460 .data = (const struct snd_usb_audio_quirk[]) {
1463 .type = QUIRK_AUDIO_EDIROL_UAXX
1467 .type = QUIRK_AUDIO_EDIROL_UAXX
1471 .type = QUIRK_AUDIO_EDIROL_UAXX
1481 USB_DEVICE(0x0582, 0x00c4),
1482 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1483 .ifnum = QUIRK_ANY_INTERFACE,
1484 .type = QUIRK_COMPOSITE,
1485 .data = (const struct snd_usb_audio_quirk[]) {
1488 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1492 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1496 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1497 .data = & (const struct snd_usb_midi_endpoint_info) {
1498 .out_cables = 0x0001,
1509 /* Advanced modes of the Edirol UA-25EX.
1510 * For the standard mode, UA-25EX has ID 0582:00e7, which
1511 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1513 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1514 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1515 .vendor_name = "EDIROL",
1516 .product_name = "UA-25EX",
1517 .ifnum = QUIRK_ANY_INTERFACE,
1518 .type = QUIRK_COMPOSITE,
1519 .data = (const struct snd_usb_audio_quirk[]) {
1522 .type = QUIRK_AUDIO_EDIROL_UAXX
1526 .type = QUIRK_AUDIO_EDIROL_UAXX
1530 .type = QUIRK_AUDIO_EDIROL_UAXX
1540 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1543 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1544 .data = & (const struct snd_usb_midi_endpoint_info) {
1545 .out_cables = 0x0007,
1552 USB_DEVICE(0x0582, 0x0113),
1553 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1554 .ifnum = QUIRK_ANY_INTERFACE,
1555 .type = QUIRK_COMPOSITE,
1556 .data = (const struct snd_usb_audio_quirk[]) {
1559 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1563 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1567 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1568 .data = & (const struct snd_usb_midi_endpoint_info) {
1569 .out_cables = 0x0001,
1580 /* only 44.1 kHz works at the moment */
1581 USB_DEVICE(0x0582, 0x0120),
1582 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1583 /* .vendor_name = "Roland", */
1584 /* .product_name = "OCTO-CAPTURE", */
1585 .ifnum = QUIRK_ANY_INTERFACE,
1586 .type = QUIRK_COMPOSITE,
1587 .data = (const struct snd_usb_audio_quirk[]) {
1590 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1591 .data = & (const struct audioformat) {
1592 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1599 .rates = SNDRV_PCM_RATE_44100,
1603 .rate_table = (unsigned int[]) { 44100 }
1608 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1609 .data = & (const struct audioformat) {
1610 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1617 .rates = SNDRV_PCM_RATE_44100,
1621 .rate_table = (unsigned int[]) { 44100 }
1626 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1627 .data = & (const struct snd_usb_midi_endpoint_info) {
1628 .out_cables = 0x0001,
1634 .type = QUIRK_IGNORE_INTERFACE
1638 .type = QUIRK_IGNORE_INTERFACE
1647 /* only 44.1 kHz works at the moment */
1648 USB_DEVICE(0x0582, 0x012f),
1649 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1650 /* .vendor_name = "Roland", */
1651 /* .product_name = "QUAD-CAPTURE", */
1652 .ifnum = QUIRK_ANY_INTERFACE,
1653 .type = QUIRK_COMPOSITE,
1654 .data = (const struct snd_usb_audio_quirk[]) {
1657 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1658 .data = & (const struct audioformat) {
1659 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1666 .rates = SNDRV_PCM_RATE_44100,
1670 .rate_table = (unsigned int[]) { 44100 }
1675 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1676 .data = & (const struct audioformat) {
1677 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1684 .rates = SNDRV_PCM_RATE_44100,
1688 .rate_table = (unsigned int[]) { 44100 }
1693 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1694 .data = & (const struct snd_usb_midi_endpoint_info) {
1695 .out_cables = 0x0001,
1701 .type = QUIRK_IGNORE_INTERFACE
1705 .type = QUIRK_IGNORE_INTERFACE
1714 USB_DEVICE(0x0582, 0x0159),
1715 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1716 /* .vendor_name = "Roland", */
1717 /* .product_name = "UA-22", */
1718 .ifnum = QUIRK_ANY_INTERFACE,
1719 .type = QUIRK_COMPOSITE,
1720 .data = (const struct snd_usb_audio_quirk[]) {
1723 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1727 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1731 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1732 .data = & (const struct snd_usb_midi_endpoint_info) {
1733 .out_cables = 0x0001,
1743 /* this catches most recent vendor-specific Roland devices */
1745 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1746 USB_DEVICE_ID_MATCH_INT_CLASS,
1748 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1749 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1750 .ifnum = QUIRK_ANY_INTERFACE,
1751 .type = QUIRK_AUTODETECT
1755 /* Guillemot devices */
1758 * This is for the "Windows Edition" where the external MIDI ports are
1759 * the only MIDI ports; the control data is reported through HID
1760 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1761 * compliant USB MIDI ports for external MIDI and controls.
1763 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1764 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1765 .vendor_name = "Hercules",
1766 .product_name = "DJ Console (WE)",
1768 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1769 .data = & (const struct snd_usb_midi_endpoint_info) {
1770 .out_cables = 0x0001,
1776 /* Midiman/M-Audio devices */
1778 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1779 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1780 .vendor_name = "M-Audio",
1781 .product_name = "MidiSport 2x2",
1782 .ifnum = QUIRK_ANY_INTERFACE,
1783 .type = QUIRK_MIDI_MIDIMAN,
1784 .data = & (const struct snd_usb_midi_endpoint_info) {
1785 .out_cables = 0x0003,
1791 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1792 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1793 .vendor_name = "M-Audio",
1794 .product_name = "MidiSport 1x1",
1795 .ifnum = QUIRK_ANY_INTERFACE,
1796 .type = QUIRK_MIDI_MIDIMAN,
1797 .data = & (const struct snd_usb_midi_endpoint_info) {
1798 .out_cables = 0x0001,
1804 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1805 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1806 .vendor_name = "M-Audio",
1807 .product_name = "Keystation",
1808 .ifnum = QUIRK_ANY_INTERFACE,
1809 .type = QUIRK_MIDI_MIDIMAN,
1810 .data = & (const struct snd_usb_midi_endpoint_info) {
1811 .out_cables = 0x0001,
1817 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1818 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1819 .vendor_name = "M-Audio",
1820 .product_name = "MidiSport 4x4",
1821 .ifnum = QUIRK_ANY_INTERFACE,
1822 .type = QUIRK_MIDI_MIDIMAN,
1823 .data = & (const struct snd_usb_midi_endpoint_info) {
1824 .out_cables = 0x000f,
1831 * For hardware revision 1.05; in the later revisions (1.10 and
1832 * 1.21), 0x1031 is the ID for the device without firmware.
1833 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1835 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1836 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1837 .vendor_name = "M-Audio",
1838 .product_name = "MidiSport 8x8",
1839 .ifnum = QUIRK_ANY_INTERFACE,
1840 .type = QUIRK_MIDI_MIDIMAN,
1841 .data = & (const struct snd_usb_midi_endpoint_info) {
1842 .out_cables = 0x01ff,
1848 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1849 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1850 .vendor_name = "M-Audio",
1851 .product_name = "MidiSport 8x8",
1852 .ifnum = QUIRK_ANY_INTERFACE,
1853 .type = QUIRK_MIDI_MIDIMAN,
1854 .data = & (const struct snd_usb_midi_endpoint_info) {
1855 .out_cables = 0x01ff,
1861 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1862 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1863 .vendor_name = "M-Audio",
1864 .product_name = "MidiSport 2x4",
1865 .ifnum = QUIRK_ANY_INTERFACE,
1866 .type = QUIRK_MIDI_MIDIMAN,
1867 .data = & (const struct snd_usb_midi_endpoint_info) {
1868 .out_cables = 0x000f,
1874 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1875 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1876 .vendor_name = "M-Audio",
1877 .product_name = "Quattro",
1878 .ifnum = QUIRK_ANY_INTERFACE,
1879 .type = QUIRK_COMPOSITE,
1880 .data = & (const struct snd_usb_audio_quirk[]) {
1882 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1883 * and share endpoints with the other interfaces.
1884 * Ignore them. The other interfaces can do 24 bits,
1885 * but captured samples are big-endian (see usbaudio.c).
1889 .type = QUIRK_IGNORE_INTERFACE
1893 .type = QUIRK_IGNORE_INTERFACE
1897 .type = QUIRK_IGNORE_INTERFACE
1901 .type = QUIRK_IGNORE_INTERFACE
1905 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1909 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1913 .type = QUIRK_IGNORE_INTERFACE
1917 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1921 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1925 .type = QUIRK_MIDI_MIDIMAN,
1926 .data = & (const struct snd_usb_midi_endpoint_info) {
1927 .out_cables = 0x0001,
1938 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1939 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1940 .vendor_name = "M-Audio",
1941 .product_name = "AudioPhile",
1943 .type = QUIRK_MIDI_MIDIMAN,
1944 .data = & (const struct snd_usb_midi_endpoint_info) {
1945 .out_cables = 0x0001,
1951 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1952 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1953 .vendor_name = "M-Audio",
1954 .product_name = "Ozone",
1956 .type = QUIRK_MIDI_MIDIMAN,
1957 .data = & (const struct snd_usb_midi_endpoint_info) {
1958 .out_cables = 0x0001,
1964 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1965 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1966 .vendor_name = "M-Audio",
1967 .product_name = "OmniStudio",
1968 .ifnum = QUIRK_ANY_INTERFACE,
1969 .type = QUIRK_COMPOSITE,
1970 .data = & (const struct snd_usb_audio_quirk[]) {
1973 .type = QUIRK_IGNORE_INTERFACE
1977 .type = QUIRK_IGNORE_INTERFACE
1981 .type = QUIRK_IGNORE_INTERFACE
1985 .type = QUIRK_IGNORE_INTERFACE
1989 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1993 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1997 .type = QUIRK_IGNORE_INTERFACE
2001 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2005 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2009 .type = QUIRK_MIDI_MIDIMAN,
2010 .data = & (const struct snd_usb_midi_endpoint_info) {
2011 .out_cables = 0x0001,
2022 USB_DEVICE(0x0763, 0x2019),
2023 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2024 /* .vendor_name = "M-Audio", */
2025 /* .product_name = "Ozone Academic", */
2026 .ifnum = QUIRK_ANY_INTERFACE,
2027 .type = QUIRK_COMPOSITE,
2028 .data = & (const struct snd_usb_audio_quirk[]) {
2031 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2035 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2039 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2043 .type = QUIRK_MIDI_MIDIMAN,
2044 .data = & (const struct snd_usb_midi_endpoint_info) {
2045 .out_cables = 0x0001,
2056 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2057 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2058 /* .vendor_name = "M-Audio", */
2059 /* .product_name = "Fast Track C400", */
2060 .ifnum = QUIRK_ANY_INTERFACE,
2061 .type = QUIRK_COMPOSITE,
2062 .data = &(const struct snd_usb_audio_quirk[]) {
2065 .type = QUIRK_AUDIO_STANDARD_MIXER,
2070 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2071 .data = &(const struct audioformat) {
2072 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2077 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2080 .rates = SNDRV_PCM_RATE_44100 |
2081 SNDRV_PCM_RATE_48000 |
2082 SNDRV_PCM_RATE_88200 |
2083 SNDRV_PCM_RATE_96000,
2087 .rate_table = (unsigned int[]) {
2088 44100, 48000, 88200, 96000
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
2121 .ifnum = -1 /* Interface = 4 */
2127 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2128 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2129 /* .vendor_name = "M-Audio", */
2130 /* .product_name = "Fast Track C600", */
2131 .ifnum = QUIRK_ANY_INTERFACE,
2132 .type = QUIRK_COMPOSITE,
2133 .data = &(const struct snd_usb_audio_quirk[]) {
2136 .type = QUIRK_AUDIO_STANDARD_MIXER,
2141 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2142 .data = &(const struct audioformat) {
2143 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2148 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2151 .rates = SNDRV_PCM_RATE_44100 |
2152 SNDRV_PCM_RATE_48000 |
2153 SNDRV_PCM_RATE_88200 |
2154 SNDRV_PCM_RATE_96000,
2158 .rate_table = (unsigned int[]) {
2159 44100, 48000, 88200, 96000
2167 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2168 .data = &(const struct audioformat) {
2169 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2174 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2177 .rates = SNDRV_PCM_RATE_44100 |
2178 SNDRV_PCM_RATE_48000 |
2179 SNDRV_PCM_RATE_88200 |
2180 SNDRV_PCM_RATE_96000,
2184 .rate_table = (unsigned int[]) {
2185 44100, 48000, 88200, 96000
2192 .ifnum = -1 /* Interface = 4 */
2198 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2199 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2200 /* .vendor_name = "M-Audio", */
2201 /* .product_name = "Fast Track Ultra", */
2202 .ifnum = QUIRK_ANY_INTERFACE,
2203 .type = QUIRK_COMPOSITE,
2204 .data = & (const struct snd_usb_audio_quirk[]) {
2207 .type = QUIRK_AUDIO_STANDARD_MIXER,
2211 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2212 .data = & (const struct audioformat) {
2213 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2218 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2221 .rates = SNDRV_PCM_RATE_44100 |
2222 SNDRV_PCM_RATE_48000 |
2223 SNDRV_PCM_RATE_88200 |
2224 SNDRV_PCM_RATE_96000,
2228 .rate_table = (unsigned int[]) {
2229 44100, 48000, 88200, 96000
2235 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2236 .data = & (const struct audioformat) {
2237 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2242 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2245 .rates = SNDRV_PCM_RATE_44100 |
2246 SNDRV_PCM_RATE_48000 |
2247 SNDRV_PCM_RATE_88200 |
2248 SNDRV_PCM_RATE_96000,
2252 .rate_table = (unsigned int[]) {
2253 44100, 48000, 88200, 96000
2257 /* interface 3 (MIDI) is standard compliant */
2265 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2266 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2267 /* .vendor_name = "M-Audio", */
2268 /* .product_name = "Fast Track Ultra 8R", */
2269 .ifnum = QUIRK_ANY_INTERFACE,
2270 .type = QUIRK_COMPOSITE,
2271 .data = & (const struct snd_usb_audio_quirk[]) {
2274 .type = QUIRK_AUDIO_STANDARD_MIXER,
2278 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2279 .data = & (const struct audioformat) {
2280 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2285 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2288 .rates = SNDRV_PCM_RATE_44100 |
2289 SNDRV_PCM_RATE_48000 |
2290 SNDRV_PCM_RATE_88200 |
2291 SNDRV_PCM_RATE_96000,
2295 .rate_table = (unsigned int[]) {
2296 44100, 48000, 88200, 96000
2302 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2303 .data = & (const struct audioformat) {
2304 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2309 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2312 .rates = SNDRV_PCM_RATE_44100 |
2313 SNDRV_PCM_RATE_48000 |
2314 SNDRV_PCM_RATE_88200 |
2315 SNDRV_PCM_RATE_96000,
2319 .rate_table = (unsigned int[]) {
2320 44100, 48000, 88200, 96000
2324 /* interface 3 (MIDI) is standard compliant */
2334 USB_DEVICE(0x07cf, 0x6801),
2335 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2336 .vendor_name = "Casio",
2337 .product_name = "PL-40R",
2339 .type = QUIRK_MIDI_YAMAHA
2343 /* this ID is used by several devices without a product ID */
2344 USB_DEVICE(0x07cf, 0x6802),
2345 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2346 .vendor_name = "Casio",
2347 .product_name = "Keyboard",
2349 .type = QUIRK_MIDI_YAMAHA
2353 /* Mark of the Unicorn devices */
2355 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2356 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2357 USB_DEVICE_ID_MATCH_PRODUCT |
2358 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2360 .idProduct = 0x0001,
2361 .bDeviceSubClass = 2,
2362 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2363 .vendor_name = "MOTU",
2364 .product_name = "Fastlane",
2365 .ifnum = QUIRK_ANY_INTERFACE,
2366 .type = QUIRK_COMPOSITE,
2367 .data = & (const struct snd_usb_audio_quirk[]) {
2370 .type = QUIRK_MIDI_RAW_BYTES
2374 .type = QUIRK_IGNORE_INTERFACE
2383 /* Emagic devices */
2385 USB_DEVICE(0x086a, 0x0001),
2386 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2387 .vendor_name = "Emagic",
2388 .product_name = "Unitor8",
2390 .type = QUIRK_MIDI_EMAGIC,
2391 .data = & (const struct snd_usb_midi_endpoint_info) {
2392 .out_cables = 0x80ff,
2398 USB_DEVICE(0x086a, 0x0002),
2399 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2400 .vendor_name = "Emagic",
2401 /* .product_name = "AMT8", */
2403 .type = QUIRK_MIDI_EMAGIC,
2404 .data = & (const struct snd_usb_midi_endpoint_info) {
2405 .out_cables = 0x80ff,
2411 USB_DEVICE(0x086a, 0x0003),
2412 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2413 .vendor_name = "Emagic",
2414 /* .product_name = "MT4", */
2416 .type = QUIRK_MIDI_EMAGIC,
2417 .data = & (const struct snd_usb_midi_endpoint_info) {
2418 .out_cables = 0x800f,
2426 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2427 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2428 .vendor_name = "KORG, Inc.",
2429 /* .product_name = "PANDORA PX5D", */
2431 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2436 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2437 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2438 .vendor_name = "KORG, Inc.",
2439 /* .product_name = "ToneLab ST", */
2441 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2447 USB_DEVICE(0x09e8, 0x0062),
2448 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2449 .vendor_name = "AKAI",
2450 .product_name = "MPD16",
2452 .type = QUIRK_MIDI_AKAI,
2457 /* Akai MPC Element */
2458 USB_DEVICE(0x09e8, 0x0021),
2459 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2460 .ifnum = QUIRK_ANY_INTERFACE,
2461 .type = QUIRK_COMPOSITE,
2462 .data = & (const struct snd_usb_audio_quirk[]) {
2465 .type = QUIRK_IGNORE_INTERFACE
2469 .type = QUIRK_MIDI_STANDARD_INTERFACE
2478 /* Steinberg devices */
2481 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
2482 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2483 .ifnum = QUIRK_ANY_INTERFACE,
2484 .type = QUIRK_COMPOSITE,
2485 .data = & (const struct snd_usb_audio_quirk[]) {
2488 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2492 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2496 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2500 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2501 .data = &(const struct snd_usb_midi_endpoint_info) {
2502 .out_cables = 0x0001,
2514 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
2515 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2516 .ifnum = QUIRK_ANY_INTERFACE,
2517 .type = QUIRK_COMPOSITE,
2518 .data = & (const struct snd_usb_audio_quirk[]) {
2521 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2525 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2529 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2533 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2534 .data = &(const struct snd_usb_midi_endpoint_info) {
2535 .out_cables = 0x0001,
2546 /* TerraTec devices */
2548 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2549 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2550 .vendor_name = "TerraTec",
2551 .product_name = "PHASE 26",
2553 .type = QUIRK_MIDI_STANDARD_INTERFACE
2557 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2558 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2559 .vendor_name = "TerraTec",
2560 .product_name = "PHASE 26",
2562 .type = QUIRK_MIDI_STANDARD_INTERFACE
2566 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2567 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2568 .vendor_name = "TerraTec",
2569 .product_name = "PHASE 26",
2571 .type = QUIRK_MIDI_STANDARD_INTERFACE
2575 USB_DEVICE(0x0ccd, 0x0035),
2576 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2577 .vendor_name = "Miditech",
2578 .product_name = "Play'n Roll",
2580 .type = QUIRK_MIDI_CME
2584 /* Novation EMS devices */
2586 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2587 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2588 .vendor_name = "Novation",
2589 .product_name = "ReMOTE Audio/XStation",
2591 .type = QUIRK_MIDI_NOVATION
2595 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2596 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2597 .vendor_name = "Novation",
2598 .product_name = "Speedio",
2600 .type = QUIRK_MIDI_NOVATION
2604 USB_DEVICE(0x1235, 0x000a),
2605 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2606 /* .vendor_name = "Novation", */
2607 /* .product_name = "Nocturn", */
2609 .type = QUIRK_MIDI_RAW_BYTES
2613 USB_DEVICE(0x1235, 0x000e),
2614 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2615 /* .vendor_name = "Novation", */
2616 /* .product_name = "Launchpad", */
2618 .type = QUIRK_MIDI_RAW_BYTES
2622 USB_DEVICE(0x1235, 0x0010),
2623 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2624 .vendor_name = "Focusrite",
2625 .product_name = "Saffire 6 USB",
2626 .ifnum = QUIRK_ANY_INTERFACE,
2627 .type = QUIRK_COMPOSITE,
2628 .data = (const struct snd_usb_audio_quirk[]) {
2631 .type = QUIRK_AUDIO_STANDARD_MIXER,
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,
2646 .maxpacksize = 0x024c,
2647 .rates = SNDRV_PCM_RATE_44100 |
2648 SNDRV_PCM_RATE_48000,
2652 .rate_table = (unsigned int[]) {
2659 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2660 .data = &(const struct audioformat) {
2661 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2668 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2670 .maxpacksize = 0x0126,
2671 .rates = SNDRV_PCM_RATE_44100 |
2672 SNDRV_PCM_RATE_48000,
2676 .rate_table = (unsigned int[]) {
2683 .type = QUIRK_MIDI_RAW_BYTES
2692 USB_DEVICE(0x1235, 0x0018),
2693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2694 .vendor_name = "Novation",
2695 .product_name = "Twitch",
2696 .ifnum = QUIRK_ANY_INTERFACE,
2697 .type = QUIRK_COMPOSITE,
2698 .data = (const struct snd_usb_audio_quirk[]) {
2701 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2702 .data = & (const struct audioformat) {
2703 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2708 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2710 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2711 .rates = SNDRV_PCM_RATE_44100 |
2712 SNDRV_PCM_RATE_48000,
2716 .rate_table = (unsigned int[]) {
2723 .type = QUIRK_MIDI_RAW_BYTES
2732 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2733 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2734 .vendor_name = "Novation",
2735 .product_name = "ReMOTE25",
2737 .type = QUIRK_MIDI_NOVATION
2741 /* Access Music devices */
2743 /* VirusTI Desktop */
2744 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2745 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2746 .ifnum = QUIRK_ANY_INTERFACE,
2747 .type = QUIRK_COMPOSITE,
2748 .data = &(const struct snd_usb_audio_quirk[]) {
2751 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2752 .data = &(const struct snd_usb_midi_endpoint_info) {
2753 .out_cables = 0x0003,
2759 .type = QUIRK_IGNORE_INTERFACE
2768 /* Native Instruments MK2 series */
2770 /* Komplete Audio 6 */
2771 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2773 .idProduct = 0x1000,
2776 /* Traktor Audio 6 */
2777 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2779 .idProduct = 0x1010,
2782 /* Traktor Audio 10 */
2783 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2785 .idProduct = 0x1020,
2788 /* QinHeng devices */
2790 USB_DEVICE(0x1a86, 0x752d),
2791 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2792 .vendor_name = "QinHeng",
2793 .product_name = "CH345",
2795 .type = QUIRK_MIDI_CH345
2799 /* KeithMcMillen Stringport */
2801 USB_DEVICE(0x1f38, 0x0001),
2802 .bInterfaceClass = USB_CLASS_AUDIO,
2805 /* Miditech devices */
2807 USB_DEVICE(0x4752, 0x0011),
2808 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2809 .vendor_name = "Miditech",
2810 .product_name = "Midistart-2",
2812 .type = QUIRK_MIDI_CME
2816 /* Central Music devices */
2818 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2819 USB_DEVICE(0x7104, 0x2202),
2820 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2822 .type = QUIRK_MIDI_CME
2827 * Auvitek au0828 devices with audio interface.
2828 * This should be kept in sync with drivers/media/usb/au0828/au0828-cards.c
2829 * Please notice that some drivers are DVB only, and don't need to be
2830 * here. That's the case, for example, of DVICO_FUSIONHDTV7.
2833 #define AU0828_DEVICE(vid, pid, vname, pname) { \
2836 .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
2837 USB_DEVICE_ID_MATCH_INT_CLASS | \
2838 USB_DEVICE_ID_MATCH_INT_SUBCLASS, \
2839 .bInterfaceClass = USB_CLASS_AUDIO, \
2840 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL, \
2841 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { \
2842 .vendor_name = vname, \
2843 .product_name = pname, \
2844 .ifnum = QUIRK_ANY_INTERFACE, \
2845 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2846 .shares_media_device = 1, \
2850 AU0828_DEVICE(0x2040, 0x7200, "Hauppauge", "HVR-950Q"),
2851 AU0828_DEVICE(0x2040, 0x7240, "Hauppauge", "HVR-850"),
2852 AU0828_DEVICE(0x2040, 0x7210, "Hauppauge", "HVR-950Q"),
2853 AU0828_DEVICE(0x2040, 0x7217, "Hauppauge", "HVR-950Q"),
2854 AU0828_DEVICE(0x2040, 0x721b, "Hauppauge", "HVR-950Q"),
2855 AU0828_DEVICE(0x2040, 0x721e, "Hauppauge", "HVR-950Q"),
2856 AU0828_DEVICE(0x2040, 0x721f, "Hauppauge", "HVR-950Q"),
2857 AU0828_DEVICE(0x2040, 0x7280, "Hauppauge", "HVR-950Q"),
2858 AU0828_DEVICE(0x0fd9, 0x0008, "Hauppauge", "HVR-950Q"),
2859 AU0828_DEVICE(0x2040, 0x7201, "Hauppauge", "HVR-950Q-MXL"),
2860 AU0828_DEVICE(0x2040, 0x7211, "Hauppauge", "HVR-950Q-MXL"),
2861 AU0828_DEVICE(0x2040, 0x7281, "Hauppauge", "HVR-950Q-MXL"),
2862 AU0828_DEVICE(0x05e1, 0x0480, "Hauppauge", "Woodbury"),
2863 AU0828_DEVICE(0x2040, 0x8200, "Hauppauge", "Woodbury"),
2864 AU0828_DEVICE(0x2040, 0x7260, "Hauppauge", "HVR-950Q"),
2865 AU0828_DEVICE(0x2040, 0x7213, "Hauppauge", "HVR-950Q"),
2866 AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
2868 /* Syntek STK1160 */
2870 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2871 USB_DEVICE_ID_MATCH_INT_CLASS |
2872 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2874 .idProduct = 0x0408,
2875 .bInterfaceClass = USB_CLASS_AUDIO,
2876 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2877 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2878 .vendor_name = "Syntek",
2879 .product_name = "STK1160",
2880 .ifnum = QUIRK_ANY_INTERFACE,
2881 .type = QUIRK_AUDIO_ALIGN_TRANSFER
2885 /* Digidesign Mbox */
2887 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2888 USB_DEVICE(0x0dba, 0x1000),
2889 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2890 .vendor_name = "Digidesign",
2891 .product_name = "MBox",
2892 .ifnum = QUIRK_ANY_INTERFACE,
2893 .type = QUIRK_COMPOSITE,
2894 .data = (const struct snd_usb_audio_quirk[]){
2897 .type = QUIRK_AUDIO_STANDARD_MIXER,
2901 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2902 .data = &(const struct audioformat) {
2903 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2910 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2911 USB_ENDPOINT_SYNC_SYNC,
2912 .maxpacksize = 0x130,
2913 .rates = SNDRV_PCM_RATE_48000,
2917 .rate_table = (unsigned int[]) {
2924 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2925 .data = &(const struct audioformat) {
2926 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2933 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2934 USB_ENDPOINT_SYNC_ASYNC,
2935 .maxpacksize = 0x130,
2936 .rates = SNDRV_PCM_RATE_48000,
2940 .rate_table = (unsigned int[]) {
2952 /* DIGIDESIGN MBOX 2 */
2954 USB_DEVICE(0x0dba, 0x3000),
2955 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2956 .vendor_name = "Digidesign",
2957 .product_name = "Mbox 2",
2958 .ifnum = QUIRK_ANY_INTERFACE,
2959 .type = QUIRK_COMPOSITE,
2960 .data = (const struct snd_usb_audio_quirk[]) {
2963 .type = QUIRK_IGNORE_INTERFACE
2967 .type = QUIRK_IGNORE_INTERFACE
2971 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2972 .data = &(const struct audioformat) {
2973 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2980 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2981 .rates = SNDRV_PCM_RATE_48000,
2985 .rate_table = (unsigned int[]) {
2992 .type = QUIRK_IGNORE_INTERFACE
2996 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2997 .data = &(const struct audioformat) {
2998 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3003 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3005 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
3006 .rates = SNDRV_PCM_RATE_48000,
3010 .rate_table = (unsigned int[]) {
3017 .type = QUIRK_IGNORE_INTERFACE
3021 .type = QUIRK_MIDI_MIDIMAN,
3022 .data = &(const struct snd_usb_midi_endpoint_info) {
3024 .out_cables = 0x0001,
3026 .in_interval = 0x01,
3037 /* Tascam US122 MKII - playback-only support */
3038 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
3040 .idProduct = 0x8021,
3041 .bInterfaceClass = USB_CLASS_AUDIO,
3042 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3043 .vendor_name = "TASCAM",
3044 .product_name = "US122 MKII",
3045 .ifnum = QUIRK_ANY_INTERFACE,
3046 .type = QUIRK_COMPOSITE,
3047 .data = (const struct snd_usb_audio_quirk[]) {
3050 .type = QUIRK_IGNORE_INTERFACE
3054 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3055 .data = &(const struct audioformat) {
3056 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3061 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3063 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3064 .rates = SNDRV_PCM_RATE_44100 |
3065 SNDRV_PCM_RATE_48000 |
3066 SNDRV_PCM_RATE_88200 |
3067 SNDRV_PCM_RATE_96000,
3071 .rate_table = (unsigned int[]) {
3072 44100, 48000, 88200, 96000
3083 /* Microsoft XboxLive Headset/Xbox Communicator */
3085 USB_DEVICE(0x045e, 0x0283),
3086 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3087 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3088 .vendor_name = "Microsoft",
3089 .product_name = "XboxLive Headset/Xbox Communicator",
3090 .ifnum = QUIRK_ANY_INTERFACE,
3091 .type = QUIRK_COMPOSITE,
3092 .data = &(const struct snd_usb_audio_quirk[]) {
3096 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3097 .data = &(const struct audioformat) {
3098 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3106 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3114 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3115 .data = &(const struct audioformat) {
3116 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3124 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3138 USB_DEVICE(0x200c, 0x100b),
3139 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3140 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3141 .ifnum = QUIRK_ANY_INTERFACE,
3142 .type = QUIRK_COMPOSITE,
3143 .data = &(const struct snd_usb_audio_quirk[]) {
3146 .type = QUIRK_AUDIO_STANDARD_MIXER,
3150 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3151 .data = &(const struct audioformat) {
3152 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3157 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3159 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3160 .rates = SNDRV_PCM_RATE_44100 |
3161 SNDRV_PCM_RATE_48000,
3165 .rate_table = (unsigned int[]) {
3179 * ZOOM R16/24 in audio interface mode.
3180 * Playback requires an extra four byte LE length indicator
3181 * at the start of each isochronous packet. This quirk is
3182 * enabled in create_standard_audio_quirk().
3184 USB_DEVICE(0x1686, 0x00dd),
3185 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3186 .ifnum = QUIRK_ANY_INTERFACE,
3187 .type = QUIRK_COMPOSITE,
3188 .data = (const struct snd_usb_audio_quirk[]) {
3192 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3197 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3202 .type = QUIRK_MIDI_STANDARD_INTERFACE
3213 * Some USB MIDI devices don't have an audio control interface,
3214 * so we have to grab MIDI streaming interfaces here.
3216 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3217 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3218 .bInterfaceClass = USB_CLASS_AUDIO,
3219 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3220 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3221 .ifnum = QUIRK_ANY_INTERFACE,
3222 .type = QUIRK_MIDI_STANDARD_INTERFACE
3226 /* disabled due to regression for other devices;
3227 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3232 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3233 * ID, but it looks like the product ID actually is only for Nura.
3234 * The capture interface does not work at all (even on Windows),
3235 * and only the 48 kHz sample rate works for the playback interface.
3237 USB_DEVICE(0x0a12, 0x1243),
3238 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3239 .ifnum = QUIRK_ANY_INTERFACE,
3240 .type = QUIRK_COMPOSITE,
3241 .data = (const struct snd_usb_audio_quirk[]) {
3244 .type = QUIRK_AUDIO_STANDARD_MIXER,
3249 .type = QUIRK_IGNORE_INTERFACE,
3254 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3255 .data = &(const struct audioformat) {
3256 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3261 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3262 UAC_EP_CS_ATTR_SAMPLE_RATE,
3264 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3265 .rates = SNDRV_PCM_RATE_48000,
3269 .rate_table = (unsigned int[]) {
3280 #endif /* disabled */
3284 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3285 * even though it advertises more. The capture interface doesn't work
3288 USB_DEVICE(0x19b5, 0x0021),
3289 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3290 .ifnum = QUIRK_ANY_INTERFACE,
3291 .type = QUIRK_COMPOSITE,
3292 .data = (const struct snd_usb_audio_quirk[]) {
3295 .type = QUIRK_AUDIO_STANDARD_MIXER,
3300 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3301 .data = &(const struct audioformat) {
3302 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3307 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3308 UAC_EP_CS_ATTR_SAMPLE_RATE,
3310 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3311 .rates = SNDRV_PCM_RATE_48000,
3315 .rate_table = (unsigned int[]) {
3326 /* Dell WD19 Dock */
3328 USB_DEVICE(0x0bda, 0x402e),
3329 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3330 .ifnum = QUIRK_ANY_INTERFACE,
3331 .type = QUIRK_SETUP_FMT_AFTER_RESUME
3334 /* MOTU Microbook II */
3336 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
3337 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3338 .vendor_name = "MOTU",
3339 .product_name = "MicroBookII",
3340 .ifnum = QUIRK_ANY_INTERFACE,
3341 .type = QUIRK_COMPOSITE,
3342 .data = (const struct snd_usb_audio_quirk[]) {
3345 .type = QUIRK_AUDIO_STANDARD_MIXER,
3349 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3350 .data = &(const struct audioformat) {
3351 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3358 .rates = SNDRV_PCM_RATE_96000,
3359 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3360 USB_ENDPOINT_SYNC_ASYNC,
3364 .maxpacksize = 0x00d8,
3365 .rate_table = (unsigned int[]) {
3372 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3373 .data = &(const struct audioformat) {
3374 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3381 .rates = SNDRV_PCM_RATE_96000,
3382 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3383 USB_ENDPOINT_SYNC_ASYNC,
3387 .maxpacksize = 0x0120,
3388 .rate_table = (unsigned int[]) {
3401 * PIONEER DJ DDJ-SX3
3402 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
3403 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
3404 * The feedback for the output is the input.
3406 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
3407 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3408 .ifnum = QUIRK_ANY_INTERFACE,
3409 .type = QUIRK_COMPOSITE,
3410 .data = (const struct snd_usb_audio_quirk[]) {
3413 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3414 .data = &(const struct audioformat) {
3415 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3421 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3422 USB_ENDPOINT_SYNC_ASYNC,
3423 .rates = SNDRV_PCM_RATE_44100,
3427 .rate_table = (unsigned int[]) { 44100 }
3432 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3433 .data = &(const struct audioformat) {
3434 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3440 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3441 USB_ENDPOINT_SYNC_ASYNC|
3442 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3443 .rates = SNDRV_PCM_RATE_44100,
3447 .rate_table = (unsigned int[]) { 44100 }
3458 * Pioneer DJ DJM-250MK2
3459 * PCM is 8 channels out @ 48 fixed (endpoints 0x01).
3460 * The output from computer to the mixer is usable.
3462 * The input (phono or line to computer) is not working.
3463 * It should be at endpoint 0x82 and probably also 8 channels,
3464 * but it seems that it works only with Pioneer proprietary software.
3465 * Even on officially supported OS, the Audacity was unable to record
3466 * and Mixxx to recognize the control vinyls.
3468 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
3469 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3470 .ifnum = QUIRK_ANY_INTERFACE,
3471 .type = QUIRK_COMPOSITE,
3472 .data = (const struct snd_usb_audio_quirk[]) {
3475 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3476 .data = &(const struct audioformat) {
3477 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3478 .channels = 8, // outputs
3483 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3484 USB_ENDPOINT_SYNC_ASYNC,
3485 .rates = SNDRV_PCM_RATE_48000,
3489 .rate_table = (unsigned int[]) { 48000 }
3501 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3502 * The feedback for the output is the dummy input.
3504 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3505 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3506 .ifnum = QUIRK_ANY_INTERFACE,
3507 .type = QUIRK_COMPOSITE,
3508 .data = (const struct snd_usb_audio_quirk[]) {
3511 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3512 .data = &(const struct audioformat) {
3513 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3519 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3520 USB_ENDPOINT_SYNC_ASYNC,
3521 .rates = SNDRV_PCM_RATE_44100,
3525 .rate_table = (unsigned int[]) { 44100 }
3530 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3531 .data = &(const struct audioformat) {
3532 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3538 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3539 USB_ENDPOINT_SYNC_ASYNC|
3540 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3541 .rates = SNDRV_PCM_RATE_44100,
3545 .rate_table = (unsigned int[]) { 44100 }
3557 * Pioneer DJ DJM-900NXS2
3558 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3560 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3561 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3562 .ifnum = QUIRK_ANY_INTERFACE,
3563 .type = QUIRK_COMPOSITE,
3564 .data = (const struct snd_usb_audio_quirk[]) {
3567 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3568 .data = &(const struct audioformat) {
3569 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3575 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3576 USB_ENDPOINT_SYNC_ASYNC,
3577 .rates = SNDRV_PCM_RATE_44100|
3578 SNDRV_PCM_RATE_48000|
3579 SNDRV_PCM_RATE_96000,
3583 .rate_table = (unsigned int[]) {
3590 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3591 .data = &(const struct audioformat) {
3592 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3598 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3599 USB_ENDPOINT_SYNC_ASYNC|
3600 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3601 .rates = SNDRV_PCM_RATE_44100|
3602 SNDRV_PCM_RATE_48000|
3603 SNDRV_PCM_RATE_96000,
3607 .rate_table = (unsigned int[]) {
3620 * MacroSilicon MS2109 based HDMI capture cards
3622 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3623 * They also need QUIRK_AUDIO_ALIGN_TRANSFER, which makes one wonder if
3624 * they pretend to be 96kHz mono as a workaround for stereo being broken
3627 * They also have an issue with initial stream alignment that causes the
3628 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3631 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
3632 USB_DEVICE_ID_MATCH_INT_CLASS |
3633 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3635 .idProduct = 0x2109,
3636 .bInterfaceClass = USB_CLASS_AUDIO,
3637 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
3638 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3639 .vendor_name = "MacroSilicon",
3640 .product_name = "MS2109",
3641 .ifnum = QUIRK_ANY_INTERFACE,
3642 .type = QUIRK_COMPOSITE,
3643 .data = &(const struct snd_usb_audio_quirk[]) {
3646 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
3650 .type = QUIRK_AUDIO_STANDARD_MIXER,
3654 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3655 .data = &(const struct audioformat) {
3656 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3663 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3664 USB_ENDPOINT_SYNC_ASYNC,
3665 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3677 #undef USB_DEVICE_VENDOR_SPEC