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) },
81 * Creative Technology, Ltd Live! Cam Sync HD [VF0770]
82 * The device advertises 8 formats, but only a rate of 48kHz is honored by the
83 * hardware and 24 bits give chopped audio, so only report the one working
87 USB_AUDIO_DEVICE(0x041e, 0x4095),
88 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
89 .ifnum = QUIRK_ANY_INTERFACE,
90 .type = QUIRK_COMPOSITE,
91 .data = &(const struct snd_usb_audio_quirk[]) {
94 .type = QUIRK_AUDIO_STANDARD_MIXER,
98 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
99 .data = &(const struct audioformat) {
100 .formats = SNDRV_PCM_FMTBIT_S16_LE,
108 .rates = SNDRV_PCM_RATE_48000,
112 .rate_table = (unsigned int[]) { 48000 },
124 * When not ignored, causes instability issues for some users, forcing them to
125 * skip the entire module.
128 USB_DEVICE(0x0424, 0xb832),
129 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
130 .vendor_name = "Standard Microsystems Corp.",
131 .product_name = "HP Wireless Audio",
132 .ifnum = QUIRK_ANY_INTERFACE,
133 .type = QUIRK_COMPOSITE,
134 .data = (const struct snd_usb_audio_quirk[]) {
138 .type = QUIRK_IGNORE_INTERFACE,
143 .type = QUIRK_IGNORE_INTERFACE,
148 .type = QUIRK_IGNORE_INTERFACE,
150 /* HID Device, .ifnum = 3 */
159 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
160 * class matches do not take effect without an explicit ID match.
162 { USB_AUDIO_DEVICE(0x046d, 0x0850) },
163 { USB_AUDIO_DEVICE(0x046d, 0x08ae) },
164 { USB_AUDIO_DEVICE(0x046d, 0x08c6) },
165 { USB_AUDIO_DEVICE(0x046d, 0x08f0) },
166 { USB_AUDIO_DEVICE(0x046d, 0x08f5) },
167 { USB_AUDIO_DEVICE(0x046d, 0x08f6) },
168 { USB_AUDIO_DEVICE(0x046d, 0x0990) },
174 #define YAMAHA_DEVICE(id, name) { \
175 USB_DEVICE(0x0499, id), \
176 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
177 .vendor_name = "Yamaha", \
178 .product_name = name, \
179 .ifnum = QUIRK_ANY_INTERFACE, \
180 .type = QUIRK_MIDI_YAMAHA \
183 #define YAMAHA_INTERFACE(id, intf, name) { \
184 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
185 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
186 .vendor_name = "Yamaha", \
187 .product_name = name, \
189 .type = QUIRK_MIDI_YAMAHA \
192 YAMAHA_DEVICE(0x1000, "UX256"),
193 YAMAHA_DEVICE(0x1001, "MU1000"),
194 YAMAHA_DEVICE(0x1002, "MU2000"),
195 YAMAHA_DEVICE(0x1003, "MU500"),
196 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
197 YAMAHA_DEVICE(0x1005, "MOTIF6"),
198 YAMAHA_DEVICE(0x1006, "MOTIF7"),
199 YAMAHA_DEVICE(0x1007, "MOTIF8"),
200 YAMAHA_DEVICE(0x1008, "UX96"),
201 YAMAHA_DEVICE(0x1009, "UX16"),
202 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
203 YAMAHA_DEVICE(0x100c, "UC-MX"),
204 YAMAHA_DEVICE(0x100d, "UC-KX"),
205 YAMAHA_DEVICE(0x100e, "S08"),
206 YAMAHA_DEVICE(0x100f, "CLP-150"),
207 YAMAHA_DEVICE(0x1010, "CLP-170"),
208 YAMAHA_DEVICE(0x1011, "P-250"),
209 YAMAHA_DEVICE(0x1012, "TYROS"),
210 YAMAHA_DEVICE(0x1013, "PF-500"),
211 YAMAHA_DEVICE(0x1014, "S90"),
212 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
213 YAMAHA_DEVICE(0x1016, "MDP-5"),
214 YAMAHA_DEVICE(0x1017, "CVP-204"),
215 YAMAHA_DEVICE(0x1018, "CVP-206"),
216 YAMAHA_DEVICE(0x1019, "CVP-208"),
217 YAMAHA_DEVICE(0x101a, "CVP-210"),
218 YAMAHA_DEVICE(0x101b, "PSR-1100"),
219 YAMAHA_DEVICE(0x101c, "PSR-2100"),
220 YAMAHA_DEVICE(0x101d, "CLP-175"),
221 YAMAHA_DEVICE(0x101e, "PSR-K1"),
222 YAMAHA_DEVICE(0x101f, "EZ-J24"),
223 YAMAHA_DEVICE(0x1020, "EZ-250i"),
224 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
225 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
226 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
227 YAMAHA_DEVICE(0x1024, "CVP-301"),
228 YAMAHA_DEVICE(0x1025, "CVP-303"),
229 YAMAHA_DEVICE(0x1026, "CVP-305"),
230 YAMAHA_DEVICE(0x1027, "CVP-307"),
231 YAMAHA_DEVICE(0x1028, "CVP-309"),
232 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
233 YAMAHA_DEVICE(0x102a, "PSR-1500"),
234 YAMAHA_DEVICE(0x102b, "PSR-3000"),
235 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
236 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
237 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
238 YAMAHA_DEVICE(0x1032, "DGX-305"),
239 YAMAHA_DEVICE(0x1033, "DGX-505"),
240 YAMAHA_DEVICE(0x1034, NULL),
241 YAMAHA_DEVICE(0x1035, NULL),
242 YAMAHA_DEVICE(0x1036, NULL),
243 YAMAHA_DEVICE(0x1037, NULL),
244 YAMAHA_DEVICE(0x1038, NULL),
245 YAMAHA_DEVICE(0x1039, NULL),
246 YAMAHA_DEVICE(0x103a, NULL),
247 YAMAHA_DEVICE(0x103b, NULL),
248 YAMAHA_DEVICE(0x103c, NULL),
249 YAMAHA_DEVICE(0x103d, NULL),
250 YAMAHA_DEVICE(0x103e, NULL),
251 YAMAHA_DEVICE(0x103f, NULL),
252 YAMAHA_DEVICE(0x1040, NULL),
253 YAMAHA_DEVICE(0x1041, NULL),
254 YAMAHA_DEVICE(0x1042, NULL),
255 YAMAHA_DEVICE(0x1043, NULL),
256 YAMAHA_DEVICE(0x1044, NULL),
257 YAMAHA_DEVICE(0x1045, NULL),
258 YAMAHA_INTERFACE(0x104e, 0, NULL),
259 YAMAHA_DEVICE(0x104f, NULL),
260 YAMAHA_DEVICE(0x1050, NULL),
261 YAMAHA_DEVICE(0x1051, NULL),
262 YAMAHA_DEVICE(0x1052, NULL),
263 YAMAHA_INTERFACE(0x1053, 0, NULL),
264 YAMAHA_INTERFACE(0x1054, 0, NULL),
265 YAMAHA_DEVICE(0x1055, NULL),
266 YAMAHA_DEVICE(0x1056, NULL),
267 YAMAHA_DEVICE(0x1057, NULL),
268 YAMAHA_DEVICE(0x1058, NULL),
269 YAMAHA_DEVICE(0x1059, NULL),
270 YAMAHA_DEVICE(0x105a, NULL),
271 YAMAHA_DEVICE(0x105b, NULL),
272 YAMAHA_DEVICE(0x105c, NULL),
273 YAMAHA_DEVICE(0x105d, NULL),
275 USB_DEVICE(0x0499, 0x1503),
276 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
277 /* .vendor_name = "Yamaha", */
278 /* .product_name = "MOX6/MOX8", */
279 .ifnum = QUIRK_ANY_INTERFACE,
280 .type = QUIRK_COMPOSITE,
281 .data = (const struct snd_usb_audio_quirk[]) {
284 .type = QUIRK_AUDIO_STANDARD_INTERFACE
288 .type = QUIRK_AUDIO_STANDARD_INTERFACE
292 .type = QUIRK_MIDI_YAMAHA
301 USB_DEVICE(0x0499, 0x1507),
302 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
303 /* .vendor_name = "Yamaha", */
304 /* .product_name = "THR10", */
305 .ifnum = QUIRK_ANY_INTERFACE,
306 .type = QUIRK_COMPOSITE,
307 .data = (const struct snd_usb_audio_quirk[]) {
310 .type = QUIRK_AUDIO_STANDARD_INTERFACE
314 .type = QUIRK_AUDIO_STANDARD_INTERFACE
318 .type = QUIRK_MIDI_YAMAHA
327 USB_DEVICE(0x0499, 0x1509),
328 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
329 /* .vendor_name = "Yamaha", */
330 /* .product_name = "Steinberg UR22", */
331 .ifnum = QUIRK_ANY_INTERFACE,
332 .type = QUIRK_COMPOSITE,
333 .data = (const struct snd_usb_audio_quirk[]) {
336 .type = QUIRK_AUDIO_STANDARD_INTERFACE
340 .type = QUIRK_AUDIO_STANDARD_INTERFACE
344 .type = QUIRK_MIDI_YAMAHA
348 .type = QUIRK_IGNORE_INTERFACE
357 USB_DEVICE(0x0499, 0x150a),
358 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
359 /* .vendor_name = "Yamaha", */
360 /* .product_name = "THR5A", */
361 .ifnum = QUIRK_ANY_INTERFACE,
362 .type = QUIRK_COMPOSITE,
363 .data = (const struct snd_usb_audio_quirk[]) {
366 .type = QUIRK_AUDIO_STANDARD_INTERFACE
370 .type = QUIRK_AUDIO_STANDARD_INTERFACE
374 .type = QUIRK_MIDI_YAMAHA
383 USB_DEVICE(0x0499, 0x150c),
384 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
385 /* .vendor_name = "Yamaha", */
386 /* .product_name = "THR10C", */
387 .ifnum = QUIRK_ANY_INTERFACE,
388 .type = QUIRK_COMPOSITE,
389 .data = (const struct snd_usb_audio_quirk[]) {
392 .type = QUIRK_AUDIO_STANDARD_INTERFACE
396 .type = QUIRK_AUDIO_STANDARD_INTERFACE
400 .type = QUIRK_MIDI_YAMAHA
408 YAMAHA_DEVICE(0x2000, "DGP-7"),
409 YAMAHA_DEVICE(0x2001, "DGP-5"),
410 YAMAHA_DEVICE(0x2002, NULL),
411 YAMAHA_DEVICE(0x2003, NULL),
412 YAMAHA_DEVICE(0x5000, "CS1D"),
413 YAMAHA_DEVICE(0x5001, "DSP1D"),
414 YAMAHA_DEVICE(0x5002, "DME32"),
415 YAMAHA_DEVICE(0x5003, "DM2000"),
416 YAMAHA_DEVICE(0x5004, "02R96"),
417 YAMAHA_DEVICE(0x5005, "ACU16-C"),
418 YAMAHA_DEVICE(0x5006, "NHB32-C"),
419 YAMAHA_DEVICE(0x5007, "DM1000"),
420 YAMAHA_DEVICE(0x5008, "01V96"),
421 YAMAHA_DEVICE(0x5009, "SPX2000"),
422 YAMAHA_DEVICE(0x500a, "PM5D"),
423 YAMAHA_DEVICE(0x500b, "DME64N"),
424 YAMAHA_DEVICE(0x500c, "DME24N"),
425 YAMAHA_DEVICE(0x500d, NULL),
426 YAMAHA_DEVICE(0x500e, NULL),
427 YAMAHA_DEVICE(0x500f, NULL),
428 YAMAHA_DEVICE(0x7000, "DTX"),
429 YAMAHA_DEVICE(0x7010, "UB99"),
431 #undef YAMAHA_INTERFACE
432 /* this catches most recent vendor-specific Yamaha devices */
434 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
435 USB_DEVICE_ID_MATCH_INT_CLASS,
437 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
438 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
439 .ifnum = QUIRK_ANY_INTERFACE,
440 .type = QUIRK_AUTODETECT
445 * Roland/RolandED/Edirol/BOSS devices
448 USB_DEVICE(0x0582, 0x0000),
449 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
450 .vendor_name = "Roland",
451 .product_name = "UA-100",
452 .ifnum = QUIRK_ANY_INTERFACE,
453 .type = QUIRK_COMPOSITE,
454 .data = (const struct snd_usb_audio_quirk[]) {
457 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
458 .data = & (const struct audioformat) {
459 .formats = SNDRV_PCM_FMTBIT_S16_LE,
467 .rates = SNDRV_PCM_RATE_CONTINUOUS,
474 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
475 .data = & (const struct audioformat) {
476 .formats = SNDRV_PCM_FMTBIT_S16_LE,
481 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
484 .rates = SNDRV_PCM_RATE_CONTINUOUS,
491 .type = QUIRK_MIDI_FIXED_ENDPOINT,
492 .data = & (const struct snd_usb_midi_endpoint_info) {
493 .out_cables = 0x0007,
504 USB_DEVICE(0x0582, 0x0002),
505 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
506 .vendor_name = "EDIROL",
507 .product_name = "UM-4",
508 .ifnum = QUIRK_ANY_INTERFACE,
509 .type = QUIRK_COMPOSITE,
510 .data = (const struct snd_usb_audio_quirk[]) {
513 .type = QUIRK_IGNORE_INTERFACE
517 .type = QUIRK_IGNORE_INTERFACE
521 .type = QUIRK_MIDI_FIXED_ENDPOINT,
522 .data = & (const struct snd_usb_midi_endpoint_info) {
523 .out_cables = 0x000f,
534 USB_DEVICE(0x0582, 0x0003),
535 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
536 .vendor_name = "Roland",
537 .product_name = "SC-8850",
538 .ifnum = QUIRK_ANY_INTERFACE,
539 .type = QUIRK_COMPOSITE,
540 .data = (const struct snd_usb_audio_quirk[]) {
543 .type = QUIRK_IGNORE_INTERFACE
547 .type = QUIRK_IGNORE_INTERFACE
551 .type = QUIRK_MIDI_FIXED_ENDPOINT,
552 .data = & (const struct snd_usb_midi_endpoint_info) {
553 .out_cables = 0x003f,
564 USB_DEVICE(0x0582, 0x0004),
565 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
566 .vendor_name = "Roland",
567 .product_name = "U-8",
568 .ifnum = QUIRK_ANY_INTERFACE,
569 .type = QUIRK_COMPOSITE,
570 .data = (const struct snd_usb_audio_quirk[]) {
573 .type = QUIRK_IGNORE_INTERFACE
577 .type = QUIRK_IGNORE_INTERFACE
581 .type = QUIRK_MIDI_FIXED_ENDPOINT,
582 .data = & (const struct snd_usb_midi_endpoint_info) {
583 .out_cables = 0x0005,
594 /* Has ID 0x0099 when not in "Advanced Driver" mode.
595 * The UM-2EX has only one input, but we cannot detect this. */
596 USB_DEVICE(0x0582, 0x0005),
597 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
598 .vendor_name = "EDIROL",
599 .product_name = "UM-2",
600 .ifnum = QUIRK_ANY_INTERFACE,
601 .type = QUIRK_COMPOSITE,
602 .data = (const struct snd_usb_audio_quirk[]) {
605 .type = QUIRK_IGNORE_INTERFACE
609 .type = QUIRK_IGNORE_INTERFACE
613 .type = QUIRK_MIDI_FIXED_ENDPOINT,
614 .data = & (const struct snd_usb_midi_endpoint_info) {
615 .out_cables = 0x0003,
626 USB_DEVICE(0x0582, 0x0007),
627 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
628 .vendor_name = "Roland",
629 .product_name = "SC-8820",
630 .ifnum = QUIRK_ANY_INTERFACE,
631 .type = QUIRK_COMPOSITE,
632 .data = (const struct snd_usb_audio_quirk[]) {
635 .type = QUIRK_IGNORE_INTERFACE
639 .type = QUIRK_IGNORE_INTERFACE
643 .type = QUIRK_MIDI_FIXED_ENDPOINT,
644 .data = & (const struct snd_usb_midi_endpoint_info) {
645 .out_cables = 0x0013,
656 USB_DEVICE(0x0582, 0x0008),
657 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
658 .vendor_name = "Roland",
659 .product_name = "PC-300",
660 .ifnum = QUIRK_ANY_INTERFACE,
661 .type = QUIRK_COMPOSITE,
662 .data = (const struct snd_usb_audio_quirk[]) {
665 .type = QUIRK_IGNORE_INTERFACE
669 .type = QUIRK_IGNORE_INTERFACE
673 .type = QUIRK_MIDI_FIXED_ENDPOINT,
674 .data = & (const struct snd_usb_midi_endpoint_info) {
675 .out_cables = 0x0001,
686 /* has ID 0x009d when not in "Advanced Driver" mode */
687 USB_DEVICE(0x0582, 0x0009),
688 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
689 .vendor_name = "EDIROL",
690 .product_name = "UM-1",
691 .ifnum = QUIRK_ANY_INTERFACE,
692 .type = QUIRK_COMPOSITE,
693 .data = (const struct snd_usb_audio_quirk[]) {
696 .type = QUIRK_IGNORE_INTERFACE
700 .type = QUIRK_IGNORE_INTERFACE
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
705 .data = & (const struct snd_usb_midi_endpoint_info) {
706 .out_cables = 0x0001,
717 USB_DEVICE(0x0582, 0x000b),
718 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
719 .vendor_name = "Roland",
720 .product_name = "SK-500",
721 .ifnum = QUIRK_ANY_INTERFACE,
722 .type = QUIRK_COMPOSITE,
723 .data = (const struct snd_usb_audio_quirk[]) {
726 .type = QUIRK_IGNORE_INTERFACE
730 .type = QUIRK_IGNORE_INTERFACE
734 .type = QUIRK_MIDI_FIXED_ENDPOINT,
735 .data = & (const struct snd_usb_midi_endpoint_info) {
736 .out_cables = 0x0013,
747 /* thanks to Emiliano Grilli <emillo@libero.it>
748 * for helping researching this data */
749 USB_DEVICE(0x0582, 0x000c),
750 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
751 .vendor_name = "Roland",
752 .product_name = "SC-D70",
753 .ifnum = QUIRK_ANY_INTERFACE,
754 .type = QUIRK_COMPOSITE,
755 .data = (const struct snd_usb_audio_quirk[]) {
758 .type = QUIRK_AUDIO_STANDARD_INTERFACE
762 .type = QUIRK_AUDIO_STANDARD_INTERFACE
766 .type = QUIRK_MIDI_FIXED_ENDPOINT,
767 .data = & (const struct snd_usb_midi_endpoint_info) {
768 .out_cables = 0x0007,
779 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
780 * If the advanced mode switch at the back of the unit is off, the
781 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
782 * but offers only 16-bit PCM.
783 * In advanced mode, the UA-5 will output S24_3LE samples (two
784 * channels) at the rate indicated on the front switch, including
785 * the 96kHz sample rate.
787 USB_DEVICE(0x0582, 0x0010),
788 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
789 .vendor_name = "EDIROL",
790 .product_name = "UA-5",
791 .ifnum = QUIRK_ANY_INTERFACE,
792 .type = QUIRK_COMPOSITE,
793 .data = (const struct snd_usb_audio_quirk[]) {
796 .type = QUIRK_AUDIO_STANDARD_INTERFACE
800 .type = QUIRK_AUDIO_STANDARD_INTERFACE
809 /* has ID 0x0013 when not in "Advanced Driver" mode */
810 USB_DEVICE(0x0582, 0x0012),
811 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
812 .vendor_name = "Roland",
813 .product_name = "XV-5050",
815 .type = QUIRK_MIDI_FIXED_ENDPOINT,
816 .data = & (const struct snd_usb_midi_endpoint_info) {
817 .out_cables = 0x0001,
823 /* has ID 0x0015 when not in "Advanced Driver" mode */
824 USB_DEVICE(0x0582, 0x0014),
825 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
826 .vendor_name = "EDIROL",
827 .product_name = "UM-880",
829 .type = QUIRK_MIDI_FIXED_ENDPOINT,
830 .data = & (const struct snd_usb_midi_endpoint_info) {
831 .out_cables = 0x01ff,
837 /* has ID 0x0017 when not in "Advanced Driver" mode */
838 USB_DEVICE(0x0582, 0x0016),
839 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
840 .vendor_name = "EDIROL",
841 .product_name = "SD-90",
842 .ifnum = QUIRK_ANY_INTERFACE,
843 .type = QUIRK_COMPOSITE,
844 .data = (const struct snd_usb_audio_quirk[]) {
847 .type = QUIRK_AUDIO_STANDARD_INTERFACE
851 .type = QUIRK_AUDIO_STANDARD_INTERFACE
855 .type = QUIRK_MIDI_FIXED_ENDPOINT,
856 .data = & (const struct snd_usb_midi_endpoint_info) {
857 .out_cables = 0x000f,
868 /* has ID 0x001c when not in "Advanced Driver" mode */
869 USB_DEVICE(0x0582, 0x001b),
870 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
871 .vendor_name = "Roland",
872 .product_name = "MMP-2",
873 .ifnum = QUIRK_ANY_INTERFACE,
874 .type = QUIRK_COMPOSITE,
875 .data = (const struct snd_usb_audio_quirk[]) {
878 .type = QUIRK_IGNORE_INTERFACE
882 .type = QUIRK_IGNORE_INTERFACE
886 .type = QUIRK_MIDI_FIXED_ENDPOINT,
887 .data = & (const struct snd_usb_midi_endpoint_info) {
888 .out_cables = 0x0001,
899 /* has ID 0x001e when not in "Advanced Driver" mode */
900 USB_DEVICE(0x0582, 0x001d),
901 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
902 .vendor_name = "Roland",
903 .product_name = "V-SYNTH",
905 .type = QUIRK_MIDI_FIXED_ENDPOINT,
906 .data = & (const struct snd_usb_midi_endpoint_info) {
907 .out_cables = 0x0001,
913 /* has ID 0x0024 when not in "Advanced Driver" mode */
914 USB_DEVICE(0x0582, 0x0023),
915 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
916 .vendor_name = "EDIROL",
917 .product_name = "UM-550",
919 .type = QUIRK_MIDI_FIXED_ENDPOINT,
920 .data = & (const struct snd_usb_midi_endpoint_info) {
921 .out_cables = 0x003f,
928 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
929 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
932 USB_DEVICE(0x0582, 0x0025),
933 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
934 .vendor_name = "EDIROL",
935 .product_name = "UA-20",
936 .ifnum = QUIRK_ANY_INTERFACE,
937 .type = QUIRK_COMPOSITE,
938 .data = (const struct snd_usb_audio_quirk[]) {
941 .type = QUIRK_IGNORE_INTERFACE
945 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
946 .data = & (const struct audioformat) {
947 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
955 .rates = SNDRV_PCM_RATE_CONTINUOUS,
962 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
963 .data = & (const struct audioformat) {
964 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
972 .rates = SNDRV_PCM_RATE_CONTINUOUS,
979 .type = QUIRK_MIDI_FIXED_ENDPOINT,
980 .data = & (const struct snd_usb_midi_endpoint_info) {
981 .out_cables = 0x0001,
992 /* has ID 0x0028 when not in "Advanced Driver" mode */
993 USB_DEVICE(0x0582, 0x0027),
994 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
995 .vendor_name = "EDIROL",
996 .product_name = "SD-20",
998 .type = QUIRK_MIDI_FIXED_ENDPOINT,
999 .data = & (const struct snd_usb_midi_endpoint_info) {
1000 .out_cables = 0x0003,
1006 /* has ID 0x002a when not in "Advanced Driver" mode */
1007 USB_DEVICE(0x0582, 0x0029),
1008 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1009 .vendor_name = "EDIROL",
1010 .product_name = "SD-80",
1012 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1013 .data = & (const struct snd_usb_midi_endpoint_info) {
1014 .out_cables = 0x000f,
1020 * This quirk is for the "Advanced" modes of the Edirol UA-700.
1021 * If the sample format switch is not in an advanced setting, the
1022 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
1023 * but offers only 16-bit PCM and no MIDI.
1025 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
1026 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1027 .vendor_name = "EDIROL",
1028 .product_name = "UA-700",
1029 .ifnum = QUIRK_ANY_INTERFACE,
1030 .type = QUIRK_COMPOSITE,
1031 .data = (const struct snd_usb_audio_quirk[]) {
1034 .type = QUIRK_AUDIO_EDIROL_UAXX
1038 .type = QUIRK_AUDIO_EDIROL_UAXX
1042 .type = QUIRK_AUDIO_EDIROL_UAXX
1051 /* has ID 0x002e when not in "Advanced Driver" mode */
1052 USB_DEVICE(0x0582, 0x002d),
1053 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1054 .vendor_name = "Roland",
1055 .product_name = "XV-2020",
1057 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1058 .data = & (const struct snd_usb_midi_endpoint_info) {
1059 .out_cables = 0x0001,
1065 /* has ID 0x0030 when not in "Advanced Driver" mode */
1066 USB_DEVICE(0x0582, 0x002f),
1067 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1068 .vendor_name = "Roland",
1069 .product_name = "VariOS",
1071 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1072 .data = & (const struct snd_usb_midi_endpoint_info) {
1073 .out_cables = 0x0007,
1079 /* has ID 0x0034 when not in "Advanced Driver" mode */
1080 USB_DEVICE(0x0582, 0x0033),
1081 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1082 .vendor_name = "EDIROL",
1083 .product_name = "PCR",
1085 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1086 .data = & (const struct snd_usb_midi_endpoint_info) {
1087 .out_cables = 0x0003,
1094 * Has ID 0x0038 when not in "Advanced Driver" mode;
1095 * later revisions use IDs 0x0054 and 0x00a2.
1097 USB_DEVICE(0x0582, 0x0037),
1098 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1099 .vendor_name = "Roland",
1100 .product_name = "Digital Piano",
1102 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1103 .data = & (const struct snd_usb_midi_endpoint_info) {
1104 .out_cables = 0x0001,
1111 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1112 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1115 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1116 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1117 .vendor_name = "BOSS",
1118 .product_name = "GS-10",
1119 .ifnum = QUIRK_ANY_INTERFACE,
1120 .type = QUIRK_COMPOSITE,
1121 .data = & (const struct snd_usb_audio_quirk[]) {
1124 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1128 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1132 .type = QUIRK_MIDI_STANDARD_INTERFACE
1141 /* has ID 0x0041 when not in "Advanced Driver" mode */
1142 USB_DEVICE(0x0582, 0x0040),
1143 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1144 .vendor_name = "Roland",
1145 .product_name = "GI-20",
1147 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1148 .data = & (const struct snd_usb_midi_endpoint_info) {
1149 .out_cables = 0x0001,
1155 /* has ID 0x0043 when not in "Advanced Driver" mode */
1156 USB_DEVICE(0x0582, 0x0042),
1157 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1158 .vendor_name = "Roland",
1159 .product_name = "RS-70",
1161 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1162 .data = & (const struct snd_usb_midi_endpoint_info) {
1163 .out_cables = 0x0001,
1169 /* has ID 0x0049 when not in "Advanced Driver" mode */
1170 USB_DEVICE(0x0582, 0x0047),
1171 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1172 /* .vendor_name = "EDIROL", */
1173 /* .product_name = "UR-80", */
1174 .ifnum = QUIRK_ANY_INTERFACE,
1175 .type = QUIRK_COMPOSITE,
1176 .data = (const struct snd_usb_audio_quirk[]) {
1177 /* in the 96 kHz modes, only interface 1 is there */
1180 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1184 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1193 /* has ID 0x004a when not in "Advanced Driver" mode */
1194 USB_DEVICE(0x0582, 0x0048),
1195 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1196 /* .vendor_name = "EDIROL", */
1197 /* .product_name = "UR-80", */
1199 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1200 .data = & (const struct snd_usb_midi_endpoint_info) {
1201 .out_cables = 0x0003,
1207 /* has ID 0x004e when not in "Advanced Driver" mode */
1208 USB_DEVICE(0x0582, 0x004c),
1209 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1210 .vendor_name = "EDIROL",
1211 .product_name = "PCR-A",
1212 .ifnum = QUIRK_ANY_INTERFACE,
1213 .type = QUIRK_COMPOSITE,
1214 .data = (const struct snd_usb_audio_quirk[]) {
1217 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1221 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1230 /* has ID 0x004f when not in "Advanced Driver" mode */
1231 USB_DEVICE(0x0582, 0x004d),
1232 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1233 .vendor_name = "EDIROL",
1234 .product_name = "PCR-A",
1236 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1237 .data = & (const struct snd_usb_midi_endpoint_info) {
1238 .out_cables = 0x0003,
1245 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1246 * is standard compliant, but has only 16-bit PCM.
1248 USB_DEVICE(0x0582, 0x0050),
1249 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1250 .vendor_name = "EDIROL",
1251 .product_name = "UA-3FX",
1252 .ifnum = QUIRK_ANY_INTERFACE,
1253 .type = QUIRK_COMPOSITE,
1254 .data = (const struct snd_usb_audio_quirk[]) {
1257 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1261 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1270 USB_DEVICE(0x0582, 0x0052),
1271 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1272 .vendor_name = "EDIROL",
1273 .product_name = "UM-1SX",
1275 .type = QUIRK_MIDI_STANDARD_INTERFACE
1279 USB_DEVICE(0x0582, 0x0060),
1280 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1281 .vendor_name = "Roland",
1282 .product_name = "EXR Series",
1284 .type = QUIRK_MIDI_STANDARD_INTERFACE
1288 /* has ID 0x0066 when not in "Advanced Driver" mode */
1289 USB_DEVICE(0x0582, 0x0064),
1290 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1291 /* .vendor_name = "EDIROL", */
1292 /* .product_name = "PCR-1", */
1293 .ifnum = QUIRK_ANY_INTERFACE,
1294 .type = QUIRK_COMPOSITE,
1295 .data = (const struct snd_usb_audio_quirk[]) {
1298 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1302 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1311 /* has ID 0x0067 when not in "Advanced Driver" mode */
1312 USB_DEVICE(0x0582, 0x0065),
1313 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1314 /* .vendor_name = "EDIROL", */
1315 /* .product_name = "PCR-1", */
1317 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1318 .data = & (const struct snd_usb_midi_endpoint_info) {
1319 .out_cables = 0x0001,
1325 /* has ID 0x006e when not in "Advanced Driver" mode */
1326 USB_DEVICE(0x0582, 0x006d),
1327 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1328 .vendor_name = "Roland",
1329 .product_name = "FANTOM-X",
1331 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1332 .data = & (const struct snd_usb_midi_endpoint_info) {
1333 .out_cables = 0x0001,
1339 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1340 * If the switch is not in an advanced setting, the UA-25 has
1341 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1342 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1344 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1345 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1346 .vendor_name = "EDIROL",
1347 .product_name = "UA-25",
1348 .ifnum = QUIRK_ANY_INTERFACE,
1349 .type = QUIRK_COMPOSITE,
1350 .data = (const struct snd_usb_audio_quirk[]) {
1353 .type = QUIRK_AUDIO_EDIROL_UAXX
1357 .type = QUIRK_AUDIO_EDIROL_UAXX
1361 .type = QUIRK_AUDIO_EDIROL_UAXX
1370 /* has ID 0x0076 when not in "Advanced Driver" mode */
1371 USB_DEVICE(0x0582, 0x0075),
1372 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1373 .vendor_name = "BOSS",
1374 .product_name = "DR-880",
1376 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1377 .data = & (const struct snd_usb_midi_endpoint_info) {
1378 .out_cables = 0x0001,
1384 /* has ID 0x007b when not in "Advanced Driver" mode */
1385 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1386 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1387 .vendor_name = "Roland",
1388 /* "RD" or "RD-700SX"? */
1390 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1391 .data = & (const struct snd_usb_midi_endpoint_info) {
1392 .out_cables = 0x0003,
1398 /* has ID 0x0081 when not in "Advanced Driver" mode */
1399 USB_DEVICE(0x0582, 0x0080),
1400 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1401 .vendor_name = "Roland",
1402 .product_name = "G-70",
1404 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1405 .data = & (const struct snd_usb_midi_endpoint_info) {
1406 .out_cables = 0x0001,
1412 /* has ID 0x008c when not in "Advanced Driver" mode */
1413 USB_DEVICE(0x0582, 0x008b),
1414 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1415 .vendor_name = "EDIROL",
1416 .product_name = "PC-50",
1418 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1419 .data = & (const struct snd_usb_midi_endpoint_info) {
1420 .out_cables = 0x0001,
1427 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1428 * is standard compliant, but has only 16-bit PCM and no MIDI.
1430 USB_DEVICE(0x0582, 0x00a3),
1431 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1432 .vendor_name = "EDIROL",
1433 .product_name = "UA-4FX",
1434 .ifnum = QUIRK_ANY_INTERFACE,
1435 .type = QUIRK_COMPOSITE,
1436 .data = (const struct snd_usb_audio_quirk[]) {
1439 .type = QUIRK_AUDIO_EDIROL_UAXX
1443 .type = QUIRK_AUDIO_EDIROL_UAXX
1447 .type = QUIRK_AUDIO_EDIROL_UAXX
1457 USB_DEVICE(0x0582, 0x00c4),
1458 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1459 .ifnum = QUIRK_ANY_INTERFACE,
1460 .type = QUIRK_COMPOSITE,
1461 .data = (const struct snd_usb_audio_quirk[]) {
1464 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1468 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1472 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1473 .data = & (const struct snd_usb_midi_endpoint_info) {
1474 .out_cables = 0x0001,
1485 /* Advanced modes of the Edirol UA-25EX.
1486 * For the standard mode, UA-25EX has ID 0582:00e7, which
1487 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1489 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1490 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1491 .vendor_name = "EDIROL",
1492 .product_name = "UA-25EX",
1493 .ifnum = QUIRK_ANY_INTERFACE,
1494 .type = QUIRK_COMPOSITE,
1495 .data = (const struct snd_usb_audio_quirk[]) {
1498 .type = QUIRK_AUDIO_EDIROL_UAXX
1502 .type = QUIRK_AUDIO_EDIROL_UAXX
1506 .type = QUIRK_AUDIO_EDIROL_UAXX
1516 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1517 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1519 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1520 .data = & (const struct snd_usb_midi_endpoint_info) {
1521 .out_cables = 0x0007,
1528 USB_DEVICE(0x0582, 0x0113),
1529 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1530 .ifnum = QUIRK_ANY_INTERFACE,
1531 .type = QUIRK_COMPOSITE,
1532 .data = (const struct snd_usb_audio_quirk[]) {
1535 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1539 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1543 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1544 .data = & (const struct snd_usb_midi_endpoint_info) {
1545 .out_cables = 0x0001,
1556 /* only 44.1 kHz works at the moment */
1557 USB_DEVICE(0x0582, 0x0120),
1558 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1559 /* .vendor_name = "Roland", */
1560 /* .product_name = "OCTO-CAPTURE", */
1561 .ifnum = QUIRK_ANY_INTERFACE,
1562 .type = QUIRK_COMPOSITE,
1563 .data = (const struct snd_usb_audio_quirk[]) {
1566 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1567 .data = & (const struct audioformat) {
1568 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1575 .rates = SNDRV_PCM_RATE_44100,
1579 .rate_table = (unsigned int[]) { 44100 }
1584 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1585 .data = & (const struct audioformat) {
1586 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1593 .rates = SNDRV_PCM_RATE_44100,
1597 .rate_table = (unsigned int[]) { 44100 }
1602 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1603 .data = & (const struct snd_usb_midi_endpoint_info) {
1604 .out_cables = 0x0001,
1610 .type = QUIRK_IGNORE_INTERFACE
1614 .type = QUIRK_IGNORE_INTERFACE
1623 /* only 44.1 kHz works at the moment */
1624 USB_DEVICE(0x0582, 0x012f),
1625 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1626 /* .vendor_name = "Roland", */
1627 /* .product_name = "QUAD-CAPTURE", */
1628 .ifnum = QUIRK_ANY_INTERFACE,
1629 .type = QUIRK_COMPOSITE,
1630 .data = (const struct snd_usb_audio_quirk[]) {
1633 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1634 .data = & (const struct audioformat) {
1635 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1642 .rates = SNDRV_PCM_RATE_44100,
1646 .rate_table = (unsigned int[]) { 44100 }
1651 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1652 .data = & (const struct audioformat) {
1653 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1660 .rates = SNDRV_PCM_RATE_44100,
1664 .rate_table = (unsigned int[]) { 44100 }
1669 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1670 .data = & (const struct snd_usb_midi_endpoint_info) {
1671 .out_cables = 0x0001,
1677 .type = QUIRK_IGNORE_INTERFACE
1681 .type = QUIRK_IGNORE_INTERFACE
1690 USB_DEVICE(0x0582, 0x0159),
1691 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1692 /* .vendor_name = "Roland", */
1693 /* .product_name = "UA-22", */
1694 .ifnum = QUIRK_ANY_INTERFACE,
1695 .type = QUIRK_COMPOSITE,
1696 .data = (const struct snd_usb_audio_quirk[]) {
1699 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1703 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1707 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1708 .data = & (const struct snd_usb_midi_endpoint_info) {
1709 .out_cables = 0x0001,
1720 /* UA101 and co are supported by another driver */
1722 USB_DEVICE(0x0582, 0x0044), /* UA-1000 high speed */
1723 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1724 .ifnum = QUIRK_NODEV_INTERFACE
1728 USB_DEVICE(0x0582, 0x007d), /* UA-101 high speed */
1729 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1730 .ifnum = QUIRK_NODEV_INTERFACE
1734 USB_DEVICE(0x0582, 0x008d), /* UA-101 full speed */
1735 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1736 .ifnum = QUIRK_NODEV_INTERFACE
1740 /* this catches most recent vendor-specific Roland devices */
1742 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1743 USB_DEVICE_ID_MATCH_INT_CLASS,
1745 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1746 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1747 .ifnum = QUIRK_ANY_INTERFACE,
1748 .type = QUIRK_AUTODETECT
1752 /* Guillemot devices */
1755 * This is for the "Windows Edition" where the external MIDI ports are
1756 * the only MIDI ports; the control data is reported through HID
1757 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1758 * compliant USB MIDI ports for external MIDI and controls.
1760 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1761 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1762 .vendor_name = "Hercules",
1763 .product_name = "DJ Console (WE)",
1765 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1766 .data = & (const struct snd_usb_midi_endpoint_info) {
1767 .out_cables = 0x0001,
1773 /* Midiman/M-Audio devices */
1775 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1776 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1777 .vendor_name = "M-Audio",
1778 .product_name = "MidiSport 2x2",
1779 .ifnum = QUIRK_ANY_INTERFACE,
1780 .type = QUIRK_MIDI_MIDIMAN,
1781 .data = & (const struct snd_usb_midi_endpoint_info) {
1782 .out_cables = 0x0003,
1788 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1789 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1790 .vendor_name = "M-Audio",
1791 .product_name = "MidiSport 1x1",
1792 .ifnum = QUIRK_ANY_INTERFACE,
1793 .type = QUIRK_MIDI_MIDIMAN,
1794 .data = & (const struct snd_usb_midi_endpoint_info) {
1795 .out_cables = 0x0001,
1801 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1802 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1803 .vendor_name = "M-Audio",
1804 .product_name = "Keystation",
1805 .ifnum = QUIRK_ANY_INTERFACE,
1806 .type = QUIRK_MIDI_MIDIMAN,
1807 .data = & (const struct snd_usb_midi_endpoint_info) {
1808 .out_cables = 0x0001,
1814 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1815 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1816 .vendor_name = "M-Audio",
1817 .product_name = "MidiSport 4x4",
1818 .ifnum = QUIRK_ANY_INTERFACE,
1819 .type = QUIRK_MIDI_MIDIMAN,
1820 .data = & (const struct snd_usb_midi_endpoint_info) {
1821 .out_cables = 0x000f,
1828 * For hardware revision 1.05; in the later revisions (1.10 and
1829 * 1.21), 0x1031 is the ID for the device without firmware.
1830 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1832 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1833 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1834 .vendor_name = "M-Audio",
1835 .product_name = "MidiSport 8x8",
1836 .ifnum = QUIRK_ANY_INTERFACE,
1837 .type = QUIRK_MIDI_MIDIMAN,
1838 .data = & (const struct snd_usb_midi_endpoint_info) {
1839 .out_cables = 0x01ff,
1845 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1846 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1847 .vendor_name = "M-Audio",
1848 .product_name = "MidiSport 8x8",
1849 .ifnum = QUIRK_ANY_INTERFACE,
1850 .type = QUIRK_MIDI_MIDIMAN,
1851 .data = & (const struct snd_usb_midi_endpoint_info) {
1852 .out_cables = 0x01ff,
1858 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1859 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1860 .vendor_name = "M-Audio",
1861 .product_name = "MidiSport 2x4",
1862 .ifnum = QUIRK_ANY_INTERFACE,
1863 .type = QUIRK_MIDI_MIDIMAN,
1864 .data = & (const struct snd_usb_midi_endpoint_info) {
1865 .out_cables = 0x000f,
1871 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1872 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1873 .vendor_name = "M-Audio",
1874 .product_name = "Quattro",
1875 .ifnum = QUIRK_ANY_INTERFACE,
1876 .type = QUIRK_COMPOSITE,
1877 .data = & (const struct snd_usb_audio_quirk[]) {
1879 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1880 * and share endpoints with the other interfaces.
1881 * Ignore them. The other interfaces can do 24 bits,
1882 * but captured samples are big-endian (see usbaudio.c).
1886 .type = QUIRK_IGNORE_INTERFACE
1890 .type = QUIRK_IGNORE_INTERFACE
1894 .type = QUIRK_IGNORE_INTERFACE
1898 .type = QUIRK_IGNORE_INTERFACE
1902 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1906 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1910 .type = QUIRK_IGNORE_INTERFACE
1914 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1918 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1922 .type = QUIRK_MIDI_MIDIMAN,
1923 .data = & (const struct snd_usb_midi_endpoint_info) {
1924 .out_cables = 0x0001,
1935 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1936 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1937 .vendor_name = "M-Audio",
1938 .product_name = "AudioPhile",
1940 .type = QUIRK_MIDI_MIDIMAN,
1941 .data = & (const struct snd_usb_midi_endpoint_info) {
1942 .out_cables = 0x0001,
1948 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1949 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1950 .vendor_name = "M-Audio",
1951 .product_name = "Ozone",
1953 .type = QUIRK_MIDI_MIDIMAN,
1954 .data = & (const struct snd_usb_midi_endpoint_info) {
1955 .out_cables = 0x0001,
1961 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1962 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1963 .vendor_name = "M-Audio",
1964 .product_name = "OmniStudio",
1965 .ifnum = QUIRK_ANY_INTERFACE,
1966 .type = QUIRK_COMPOSITE,
1967 .data = & (const struct snd_usb_audio_quirk[]) {
1970 .type = QUIRK_IGNORE_INTERFACE
1974 .type = QUIRK_IGNORE_INTERFACE
1978 .type = QUIRK_IGNORE_INTERFACE
1982 .type = QUIRK_IGNORE_INTERFACE
1986 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1990 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1994 .type = QUIRK_IGNORE_INTERFACE
1998 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2002 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2006 .type = QUIRK_MIDI_MIDIMAN,
2007 .data = & (const struct snd_usb_midi_endpoint_info) {
2008 .out_cables = 0x0001,
2019 USB_DEVICE(0x0763, 0x2019),
2020 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2021 /* .vendor_name = "M-Audio", */
2022 /* .product_name = "Ozone Academic", */
2023 .ifnum = QUIRK_ANY_INTERFACE,
2024 .type = QUIRK_COMPOSITE,
2025 .data = & (const struct snd_usb_audio_quirk[]) {
2028 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2032 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2036 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2040 .type = QUIRK_MIDI_MIDIMAN,
2041 .data = & (const struct snd_usb_midi_endpoint_info) {
2042 .out_cables = 0x0001,
2053 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2054 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2055 /* .vendor_name = "M-Audio", */
2056 /* .product_name = "Fast Track C400", */
2057 .ifnum = QUIRK_ANY_INTERFACE,
2058 .type = QUIRK_COMPOSITE,
2059 .data = &(const struct snd_usb_audio_quirk[]) {
2062 .type = QUIRK_AUDIO_STANDARD_MIXER,
2067 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2068 .data = &(const struct audioformat) {
2069 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2074 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2077 .rates = SNDRV_PCM_RATE_44100 |
2078 SNDRV_PCM_RATE_48000 |
2079 SNDRV_PCM_RATE_88200 |
2080 SNDRV_PCM_RATE_96000,
2084 .rate_table = (unsigned int[]) {
2085 44100, 48000, 88200, 96000
2093 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2094 .data = &(const struct audioformat) {
2095 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2100 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2103 .rates = SNDRV_PCM_RATE_44100 |
2104 SNDRV_PCM_RATE_48000 |
2105 SNDRV_PCM_RATE_88200 |
2106 SNDRV_PCM_RATE_96000,
2110 .rate_table = (unsigned int[]) {
2111 44100, 48000, 88200, 96000
2118 .ifnum = -1 /* Interface = 4 */
2124 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2125 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2126 /* .vendor_name = "M-Audio", */
2127 /* .product_name = "Fast Track C600", */
2128 .ifnum = QUIRK_ANY_INTERFACE,
2129 .type = QUIRK_COMPOSITE,
2130 .data = &(const struct snd_usb_audio_quirk[]) {
2133 .type = QUIRK_AUDIO_STANDARD_MIXER,
2138 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2139 .data = &(const struct audioformat) {
2140 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2145 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2148 .rates = SNDRV_PCM_RATE_44100 |
2149 SNDRV_PCM_RATE_48000 |
2150 SNDRV_PCM_RATE_88200 |
2151 SNDRV_PCM_RATE_96000,
2155 .rate_table = (unsigned int[]) {
2156 44100, 48000, 88200, 96000
2164 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2165 .data = &(const struct audioformat) {
2166 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2171 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2174 .rates = SNDRV_PCM_RATE_44100 |
2175 SNDRV_PCM_RATE_48000 |
2176 SNDRV_PCM_RATE_88200 |
2177 SNDRV_PCM_RATE_96000,
2181 .rate_table = (unsigned int[]) {
2182 44100, 48000, 88200, 96000
2189 .ifnum = -1 /* Interface = 4 */
2195 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2196 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2197 /* .vendor_name = "M-Audio", */
2198 /* .product_name = "Fast Track Ultra", */
2199 .ifnum = QUIRK_ANY_INTERFACE,
2200 .type = QUIRK_COMPOSITE,
2201 .data = & (const struct snd_usb_audio_quirk[]) {
2204 .type = QUIRK_AUDIO_STANDARD_MIXER,
2208 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2209 .data = & (const struct audioformat) {
2210 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2215 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2218 .rates = SNDRV_PCM_RATE_44100 |
2219 SNDRV_PCM_RATE_48000 |
2220 SNDRV_PCM_RATE_88200 |
2221 SNDRV_PCM_RATE_96000,
2225 .rate_table = (unsigned int[]) {
2226 44100, 48000, 88200, 96000
2232 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2233 .data = & (const struct audioformat) {
2234 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2239 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2242 .rates = SNDRV_PCM_RATE_44100 |
2243 SNDRV_PCM_RATE_48000 |
2244 SNDRV_PCM_RATE_88200 |
2245 SNDRV_PCM_RATE_96000,
2249 .rate_table = (unsigned int[]) {
2250 44100, 48000, 88200, 96000
2254 /* interface 3 (MIDI) is standard compliant */
2262 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2263 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2264 /* .vendor_name = "M-Audio", */
2265 /* .product_name = "Fast Track Ultra 8R", */
2266 .ifnum = QUIRK_ANY_INTERFACE,
2267 .type = QUIRK_COMPOSITE,
2268 .data = & (const struct snd_usb_audio_quirk[]) {
2271 .type = QUIRK_AUDIO_STANDARD_MIXER,
2275 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2276 .data = & (const struct audioformat) {
2277 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2282 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2285 .rates = SNDRV_PCM_RATE_44100 |
2286 SNDRV_PCM_RATE_48000 |
2287 SNDRV_PCM_RATE_88200 |
2288 SNDRV_PCM_RATE_96000,
2292 .rate_table = (unsigned int[]) {
2293 44100, 48000, 88200, 96000
2299 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2300 .data = & (const struct audioformat) {
2301 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2306 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2309 .rates = SNDRV_PCM_RATE_44100 |
2310 SNDRV_PCM_RATE_48000 |
2311 SNDRV_PCM_RATE_88200 |
2312 SNDRV_PCM_RATE_96000,
2316 .rate_table = (unsigned int[]) {
2317 44100, 48000, 88200, 96000
2321 /* interface 3 (MIDI) is standard compliant */
2331 USB_DEVICE(0x07cf, 0x6801),
2332 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2333 .vendor_name = "Casio",
2334 .product_name = "PL-40R",
2336 .type = QUIRK_MIDI_YAMAHA
2340 /* this ID is used by several devices without a product ID */
2341 USB_DEVICE(0x07cf, 0x6802),
2342 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2343 .vendor_name = "Casio",
2344 .product_name = "Keyboard",
2346 .type = QUIRK_MIDI_YAMAHA
2350 /* Mark of the Unicorn devices */
2352 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2353 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2354 USB_DEVICE_ID_MATCH_PRODUCT |
2355 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2357 .idProduct = 0x0001,
2358 .bDeviceSubClass = 2,
2359 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2360 .vendor_name = "MOTU",
2361 .product_name = "Fastlane",
2362 .ifnum = QUIRK_ANY_INTERFACE,
2363 .type = QUIRK_COMPOSITE,
2364 .data = & (const struct snd_usb_audio_quirk[]) {
2367 .type = QUIRK_MIDI_RAW_BYTES
2371 .type = QUIRK_IGNORE_INTERFACE
2380 /* Emagic devices */
2382 USB_DEVICE(0x086a, 0x0001),
2383 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2384 .vendor_name = "Emagic",
2385 .product_name = "Unitor8",
2387 .type = QUIRK_MIDI_EMAGIC,
2388 .data = & (const struct snd_usb_midi_endpoint_info) {
2389 .out_cables = 0x80ff,
2395 USB_DEVICE(0x086a, 0x0002),
2396 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2397 .vendor_name = "Emagic",
2398 /* .product_name = "AMT8", */
2400 .type = QUIRK_MIDI_EMAGIC,
2401 .data = & (const struct snd_usb_midi_endpoint_info) {
2402 .out_cables = 0x80ff,
2408 USB_DEVICE(0x086a, 0x0003),
2409 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2410 .vendor_name = "Emagic",
2411 /* .product_name = "MT4", */
2413 .type = QUIRK_MIDI_EMAGIC,
2414 .data = & (const struct snd_usb_midi_endpoint_info) {
2415 .out_cables = 0x800f,
2423 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2425 .vendor_name = "KORG, Inc.",
2426 /* .product_name = "PANDORA PX5D", */
2428 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2433 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2434 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2435 .vendor_name = "KORG, Inc.",
2436 /* .product_name = "ToneLab ST", */
2438 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2443 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0204),
2444 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2445 .vendor_name = "KORG, Inc.",
2446 /* .product_name = "ToneLab EX", */
2448 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2454 USB_DEVICE(0x09e8, 0x0062),
2455 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2456 .vendor_name = "AKAI",
2457 .product_name = "MPD16",
2459 .type = QUIRK_MIDI_AKAI,
2464 /* Akai MPC Element */
2465 USB_DEVICE(0x09e8, 0x0021),
2466 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2467 .ifnum = QUIRK_ANY_INTERFACE,
2468 .type = QUIRK_COMPOSITE,
2469 .data = & (const struct snd_usb_audio_quirk[]) {
2472 .type = QUIRK_IGNORE_INTERFACE
2476 .type = QUIRK_MIDI_STANDARD_INTERFACE
2485 /* Steinberg devices */
2488 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
2489 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2490 .ifnum = QUIRK_ANY_INTERFACE,
2491 .type = QUIRK_COMPOSITE,
2492 .data = & (const struct snd_usb_audio_quirk[]) {
2495 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2499 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2503 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2507 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2508 .data = &(const struct snd_usb_midi_endpoint_info) {
2509 .out_cables = 0x0001,
2521 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
2522 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2523 .ifnum = QUIRK_ANY_INTERFACE,
2524 .type = QUIRK_COMPOSITE,
2525 .data = & (const struct snd_usb_audio_quirk[]) {
2528 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2532 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2536 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2540 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2541 .data = &(const struct snd_usb_midi_endpoint_info) {
2542 .out_cables = 0x0001,
2553 /* TerraTec devices */
2555 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2556 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2557 .vendor_name = "TerraTec",
2558 .product_name = "PHASE 26",
2560 .type = QUIRK_MIDI_STANDARD_INTERFACE
2564 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2565 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2566 .vendor_name = "TerraTec",
2567 .product_name = "PHASE 26",
2569 .type = QUIRK_MIDI_STANDARD_INTERFACE
2573 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2574 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2575 .vendor_name = "TerraTec",
2576 .product_name = "PHASE 26",
2578 .type = QUIRK_MIDI_STANDARD_INTERFACE
2582 USB_DEVICE(0x0ccd, 0x0035),
2583 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2584 .vendor_name = "Miditech",
2585 .product_name = "Play'n Roll",
2587 .type = QUIRK_MIDI_CME
2591 /* Novation EMS devices */
2593 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2594 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2595 .vendor_name = "Novation",
2596 .product_name = "ReMOTE Audio/XStation",
2598 .type = QUIRK_MIDI_NOVATION
2602 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2603 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2604 .vendor_name = "Novation",
2605 .product_name = "Speedio",
2607 .type = QUIRK_MIDI_NOVATION
2611 USB_DEVICE(0x1235, 0x000a),
2612 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2613 /* .vendor_name = "Novation", */
2614 /* .product_name = "Nocturn", */
2616 .type = QUIRK_MIDI_RAW_BYTES
2620 USB_DEVICE(0x1235, 0x000e),
2621 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2622 /* .vendor_name = "Novation", */
2623 /* .product_name = "Launchpad", */
2625 .type = QUIRK_MIDI_RAW_BYTES
2629 USB_DEVICE(0x1235, 0x0010),
2630 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2631 .vendor_name = "Focusrite",
2632 .product_name = "Saffire 6 USB",
2633 .ifnum = QUIRK_ANY_INTERFACE,
2634 .type = QUIRK_COMPOSITE,
2635 .data = (const struct snd_usb_audio_quirk[]) {
2638 .type = QUIRK_AUDIO_STANDARD_MIXER,
2642 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2643 .data = &(const struct audioformat) {
2644 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2649 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2651 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2653 .maxpacksize = 0x024c,
2654 .rates = SNDRV_PCM_RATE_44100 |
2655 SNDRV_PCM_RATE_48000,
2659 .rate_table = (unsigned int[]) {
2664 .sync_altsetting = 1,
2671 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2672 .data = &(const struct audioformat) {
2673 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2681 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2683 .maxpacksize = 0x0126,
2684 .rates = SNDRV_PCM_RATE_44100 |
2685 SNDRV_PCM_RATE_48000,
2689 .rate_table = (unsigned int[]) {
2696 .type = QUIRK_MIDI_RAW_BYTES
2705 USB_DEVICE(0x1235, 0x0018),
2706 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2707 .vendor_name = "Novation",
2708 .product_name = "Twitch",
2709 .ifnum = QUIRK_ANY_INTERFACE,
2710 .type = QUIRK_COMPOSITE,
2711 .data = (const struct snd_usb_audio_quirk[]) {
2714 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2715 .data = & (const struct audioformat) {
2716 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2721 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2723 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2724 .rates = SNDRV_PCM_RATE_44100 |
2725 SNDRV_PCM_RATE_48000,
2729 .rate_table = (unsigned int[]) {
2736 .type = QUIRK_MIDI_RAW_BYTES
2745 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2746 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2747 .vendor_name = "Novation",
2748 .product_name = "ReMOTE25",
2750 .type = QUIRK_MIDI_NOVATION
2754 /* Access Music devices */
2756 /* VirusTI Desktop */
2757 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2758 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2759 .ifnum = QUIRK_ANY_INTERFACE,
2760 .type = QUIRK_COMPOSITE,
2761 .data = &(const struct snd_usb_audio_quirk[]) {
2764 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2765 .data = &(const struct snd_usb_midi_endpoint_info) {
2766 .out_cables = 0x0003,
2772 .type = QUIRK_IGNORE_INTERFACE
2781 /* Native Instruments MK2 series */
2783 /* Komplete Audio 6 */
2784 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2786 .idProduct = 0x1000,
2789 /* Traktor Audio 6 */
2790 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2792 .idProduct = 0x1010,
2795 /* Traktor Audio 10 */
2796 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2798 .idProduct = 0x1020,
2801 /* QinHeng devices */
2803 USB_DEVICE(0x1a86, 0x752d),
2804 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2805 .vendor_name = "QinHeng",
2806 .product_name = "CH345",
2808 .type = QUIRK_MIDI_CH345
2812 /* KeithMcMillen Stringport */
2813 { USB_DEVICE(0x1f38, 0x0001) }, /* FIXME: should be more restrictive matching */
2815 /* Miditech devices */
2817 USB_DEVICE(0x4752, 0x0011),
2818 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2819 .vendor_name = "Miditech",
2820 .product_name = "Midistart-2",
2822 .type = QUIRK_MIDI_CME
2826 /* Central Music devices */
2828 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2829 USB_DEVICE(0x7104, 0x2202),
2830 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2832 .type = QUIRK_MIDI_CME
2836 /* Digidesign Mbox */
2838 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2839 USB_DEVICE(0x0dba, 0x1000),
2840 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2841 .vendor_name = "Digidesign",
2842 .product_name = "MBox",
2843 .ifnum = QUIRK_ANY_INTERFACE,
2844 .type = QUIRK_COMPOSITE,
2845 .data = (const struct snd_usb_audio_quirk[]){
2848 .type = QUIRK_AUDIO_STANDARD_MIXER,
2852 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2853 .data = &(const struct audioformat) {
2854 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2861 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2862 USB_ENDPOINT_SYNC_SYNC,
2863 .maxpacksize = 0x130,
2864 .rates = SNDRV_PCM_RATE_48000,
2868 .rate_table = (unsigned int[]) {
2875 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2876 .data = &(const struct audioformat) {
2877 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2885 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2886 USB_ENDPOINT_SYNC_ASYNC,
2887 .maxpacksize = 0x130,
2888 .rates = SNDRV_PCM_RATE_48000,
2892 .rate_table = (unsigned int[]) {
2904 /* DIGIDESIGN MBOX 2 */
2906 USB_DEVICE(0x0dba, 0x3000),
2907 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2908 .vendor_name = "Digidesign",
2909 .product_name = "Mbox 2",
2910 .ifnum = QUIRK_ANY_INTERFACE,
2911 .type = QUIRK_COMPOSITE,
2912 .data = (const struct snd_usb_audio_quirk[]) {
2915 .type = QUIRK_IGNORE_INTERFACE
2919 .type = QUIRK_IGNORE_INTERFACE
2923 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2924 .data = &(const struct audioformat) {
2925 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2932 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2933 .rates = SNDRV_PCM_RATE_48000,
2937 .rate_table = (unsigned int[]) {
2944 .type = QUIRK_IGNORE_INTERFACE
2948 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2949 .data = &(const struct audioformat) {
2950 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2955 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2957 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2958 .rates = SNDRV_PCM_RATE_48000,
2962 .rate_table = (unsigned int[]) {
2969 .type = QUIRK_IGNORE_INTERFACE
2973 .type = QUIRK_MIDI_MIDIMAN,
2974 .data = &(const struct snd_usb_midi_endpoint_info) {
2976 .out_cables = 0x0001,
2978 .in_interval = 0x01,
2988 /* DIGIDESIGN MBOX 3 */
2990 USB_DEVICE(0x0dba, 0x5000),
2991 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2992 .vendor_name = "Digidesign",
2993 .product_name = "Mbox 3",
2994 .ifnum = QUIRK_ANY_INTERFACE,
2995 .type = QUIRK_COMPOSITE,
2996 .data = (const struct snd_usb_audio_quirk[]) {
2999 .type = QUIRK_IGNORE_INTERFACE
3003 .type = QUIRK_IGNORE_INTERFACE
3007 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3008 .data = &(const struct audioformat) {
3009 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3016 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3017 USB_ENDPOINT_SYNC_ASYNC,
3018 .rates = SNDRV_PCM_RATE_48000,
3022 .rate_table = (unsigned int[]) {
3029 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3030 .data = &(const struct audioformat) {
3031 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3038 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3039 USB_ENDPOINT_SYNC_ASYNC,
3040 .maxpacksize = 0x009c,
3041 .rates = SNDRV_PCM_RATE_48000,
3045 .rate_table = (unsigned int[]) {
3052 .type = QUIRK_MIDI_FIXED_ENDPOINT,
3053 .data = &(const struct snd_usb_midi_endpoint_info) {
3054 .out_cables = 0x0001,
3065 /* Tascam US122 MKII - playback-only support */
3066 USB_DEVICE_VENDOR_SPEC(0x0644, 0x8021),
3067 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3068 .vendor_name = "TASCAM",
3069 .product_name = "US122 MKII",
3070 .ifnum = QUIRK_ANY_INTERFACE,
3071 .type = QUIRK_COMPOSITE,
3072 .data = (const struct snd_usb_audio_quirk[]) {
3075 .type = QUIRK_IGNORE_INTERFACE
3079 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3080 .data = &(const struct audioformat) {
3081 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3086 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3088 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3089 .rates = SNDRV_PCM_RATE_44100 |
3090 SNDRV_PCM_RATE_48000 |
3091 SNDRV_PCM_RATE_88200 |
3092 SNDRV_PCM_RATE_96000,
3096 .rate_table = (unsigned int[]) {
3097 44100, 48000, 88200, 96000
3108 /* Denon DN-X1600 */
3110 USB_AUDIO_DEVICE(0x154e, 0x500e),
3111 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3112 .vendor_name = "Denon",
3113 .product_name = "DN-X1600",
3114 .ifnum = QUIRK_ANY_INTERFACE,
3115 .type = QUIRK_COMPOSITE,
3116 .data = (const struct snd_usb_audio_quirk[]){
3119 .type = QUIRK_IGNORE_INTERFACE,
3123 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3124 .data = &(const struct audioformat) {
3125 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3132 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3133 USB_ENDPOINT_SYNC_ADAPTIVE,
3134 .maxpacksize = 0x138,
3135 .rates = SNDRV_PCM_RATE_48000,
3139 .rate_table = (unsigned int[]) {
3146 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3147 .data = &(const struct audioformat) {
3148 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3155 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3156 USB_ENDPOINT_SYNC_ADAPTIVE,
3157 .maxpacksize = 0x138,
3158 .rates = SNDRV_PCM_RATE_48000,
3162 .rate_table = (unsigned int[]) {
3169 .type = QUIRK_MIDI_STANDARD_INTERFACE,
3178 /* Microsoft XboxLive Headset/Xbox Communicator */
3180 USB_DEVICE(0x045e, 0x0283),
3181 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3182 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3183 .vendor_name = "Microsoft",
3184 .product_name = "XboxLive Headset/Xbox Communicator",
3185 .ifnum = QUIRK_ANY_INTERFACE,
3186 .type = QUIRK_COMPOSITE,
3187 .data = &(const struct snd_usb_audio_quirk[]) {
3191 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3192 .data = &(const struct audioformat) {
3193 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3201 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3209 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3210 .data = &(const struct audioformat) {
3211 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3219 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3233 USB_DEVICE(0x200c, 0x100b),
3234 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3235 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3236 .ifnum = QUIRK_ANY_INTERFACE,
3237 .type = QUIRK_COMPOSITE,
3238 .data = &(const struct snd_usb_audio_quirk[]) {
3241 .type = QUIRK_AUDIO_STANDARD_MIXER,
3245 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3246 .data = &(const struct audioformat) {
3247 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3252 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3254 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3255 .rates = SNDRV_PCM_RATE_44100 |
3256 SNDRV_PCM_RATE_48000,
3260 .rate_table = (unsigned int[]) {
3274 * ZOOM R16/24 in audio interface mode.
3275 * Playback requires an extra four byte LE length indicator
3276 * at the start of each isochronous packet. This quirk is
3277 * enabled in create_standard_audio_quirk().
3279 USB_DEVICE(0x1686, 0x00dd),
3280 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3281 .ifnum = QUIRK_ANY_INTERFACE,
3282 .type = QUIRK_COMPOSITE,
3283 .data = (const struct snd_usb_audio_quirk[]) {
3287 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3292 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3297 .type = QUIRK_MIDI_STANDARD_INTERFACE
3308 * Some USB MIDI devices don't have an audio control interface,
3309 * so we have to grab MIDI streaming interfaces here.
3311 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3312 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3313 .bInterfaceClass = USB_CLASS_AUDIO,
3314 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3315 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3316 .ifnum = QUIRK_ANY_INTERFACE,
3317 .type = QUIRK_MIDI_STANDARD_INTERFACE
3323 USB_DEVICE(0x13e5, 0x0001),
3324 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3325 .ifnum = QUIRK_ANY_INTERFACE,
3326 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3330 /* disabled due to regression for other devices;
3331 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3336 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3337 * ID, but it looks like the product ID actually is only for Nura.
3338 * The capture interface does not work at all (even on Windows),
3339 * and only the 48 kHz sample rate works for the playback interface.
3341 USB_DEVICE(0x0a12, 0x1243),
3342 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3343 .ifnum = QUIRK_ANY_INTERFACE,
3344 .type = QUIRK_COMPOSITE,
3345 .data = (const struct snd_usb_audio_quirk[]) {
3348 .type = QUIRK_AUDIO_STANDARD_MIXER,
3353 .type = QUIRK_IGNORE_INTERFACE,
3358 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3359 .data = &(const struct audioformat) {
3360 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3365 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3366 UAC_EP_CS_ATTR_SAMPLE_RATE,
3368 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3369 .rates = SNDRV_PCM_RATE_48000,
3373 .rate_table = (unsigned int[]) {
3384 #endif /* disabled */
3388 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3389 * even though it advertises more. The capture interface doesn't work
3392 USB_DEVICE(0x19b5, 0x0021),
3393 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3394 .ifnum = QUIRK_ANY_INTERFACE,
3395 .type = QUIRK_COMPOSITE,
3396 .data = (const struct snd_usb_audio_quirk[]) {
3399 .type = QUIRK_AUDIO_STANDARD_MIXER,
3404 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3405 .data = &(const struct audioformat) {
3406 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3411 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3412 UAC_EP_CS_ATTR_SAMPLE_RATE,
3414 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3415 .rates = SNDRV_PCM_RATE_48000,
3419 .rate_table = (unsigned int[]) {
3430 /* MOTU Microbook II */
3432 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
3433 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3434 .vendor_name = "MOTU",
3435 .product_name = "MicroBookII",
3436 .ifnum = QUIRK_ANY_INTERFACE,
3437 .type = QUIRK_COMPOSITE,
3438 .data = (const struct snd_usb_audio_quirk[]) {
3441 .type = QUIRK_AUDIO_STANDARD_MIXER,
3445 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3446 .data = &(const struct audioformat) {
3447 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3454 .rates = SNDRV_PCM_RATE_96000,
3455 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3456 USB_ENDPOINT_SYNC_ASYNC,
3460 .maxpacksize = 0x00d8,
3461 .rate_table = (unsigned int[]) {
3468 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3469 .data = &(const struct audioformat) {
3470 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3478 .rates = SNDRV_PCM_RATE_96000,
3479 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3480 USB_ENDPOINT_SYNC_ASYNC,
3484 .maxpacksize = 0x0120,
3485 .rate_table = (unsigned int[]) {
3498 * PIONEER DJ DDJ-SX3
3499 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
3500 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
3501 * The feedback for the output is the input.
3503 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
3504 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3505 .ifnum = QUIRK_ANY_INTERFACE,
3506 .type = QUIRK_COMPOSITE,
3507 .data = (const struct snd_usb_audio_quirk[]) {
3510 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3511 .data = &(const struct audioformat) {
3512 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3518 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3519 USB_ENDPOINT_SYNC_ASYNC,
3520 .rates = SNDRV_PCM_RATE_44100,
3524 .rate_table = (unsigned int[]) { 44100 }
3529 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3530 .data = &(const struct audioformat) {
3531 .formats = SNDRV_PCM_FMTBIT_S32_LE,
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 }
3556 * Pioneer DJ DJM-250MK2
3557 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
3558 * and 8 channels in @ 48 fixed (endpoint 0x82).
3560 * Both playback and recording is working, even simultaneously.
3562 * Playback channels could be mapped to:
3567 * Recording channels could be mapped to:
3576 * There is remaining problem with recording directly from PHONO/LINE.
3577 * If we map a channel to:
3578 * - CH1 Control Tone PHONO
3579 * - CH1 Control Tone LINE
3580 * - CH2 Control Tone PHONO
3581 * - CH2 Control Tone LINE
3583 * There is no signal even on other operating systems with official drivers.
3584 * The signal appears only when a supported application is started.
3585 * This needs to be investigated yet...
3586 * (there is quite a lot communication on the USB in both directions)
3588 * In current version this mixer could be used for playback
3589 * and for recording from vinyls (through Post CH* Fader)
3590 * but not for DVS (Digital Vinyl Systems) like in Mixxx.
3592 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
3593 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3594 .ifnum = QUIRK_ANY_INTERFACE,
3595 .type = QUIRK_COMPOSITE,
3596 .data = (const struct snd_usb_audio_quirk[]) {
3599 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3600 .data = &(const struct audioformat) {
3601 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3602 .channels = 8, // outputs
3607 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3608 USB_ENDPOINT_SYNC_ASYNC,
3609 .rates = SNDRV_PCM_RATE_48000,
3613 .rate_table = (unsigned int[]) { 48000 }
3618 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3619 .data = &(const struct audioformat) {
3620 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3621 .channels = 8, // inputs
3627 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3628 USB_ENDPOINT_SYNC_ASYNC|
3629 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3630 .rates = SNDRV_PCM_RATE_48000,
3634 .rate_table = (unsigned int[]) { 48000 }
3646 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3647 * The feedback for the output is the dummy input.
3649 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3650 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3651 .ifnum = QUIRK_ANY_INTERFACE,
3652 .type = QUIRK_COMPOSITE,
3653 .data = (const struct snd_usb_audio_quirk[]) {
3656 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3657 .data = &(const struct audioformat) {
3658 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3664 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3665 USB_ENDPOINT_SYNC_ASYNC,
3666 .rates = SNDRV_PCM_RATE_44100,
3670 .rate_table = (unsigned int[]) { 44100 }
3675 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3676 .data = &(const struct audioformat) {
3677 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3684 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3685 USB_ENDPOINT_SYNC_ASYNC|
3686 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3687 .rates = SNDRV_PCM_RATE_44100,
3691 .rate_table = (unsigned int[]) { 44100 }
3704 * PCM is 6 channels out & 4 channels in @ 44.1 fixed
3706 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000d),
3707 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3708 .ifnum = QUIRK_ANY_INTERFACE,
3709 .type = QUIRK_COMPOSITE,
3710 .data = (const struct snd_usb_audio_quirk[]) {
3713 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3714 .data = &(const struct audioformat) {
3715 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3716 .channels = 6, //Master, Headphones & Booth
3721 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3722 USB_ENDPOINT_SYNC_ASYNC,
3723 .rates = SNDRV_PCM_RATE_44100,
3727 .rate_table = (unsigned int[]) { 44100 }
3732 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3733 .data = &(const struct audioformat) {
3734 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3735 .channels = 4, //2x RCA inputs (CH1 & CH2)
3741 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3742 USB_ENDPOINT_SYNC_ASYNC|
3743 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3744 .rates = SNDRV_PCM_RATE_44100,
3748 .rate_table = (unsigned int[]) { 44100 }
3760 * PIONEER DJ DDJ-SR2
3761 * PCM is 4 channels out, 6 channels in @ 44.1 fixed
3762 * The Feedback for the output is the input
3764 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001e),
3765 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3766 .ifnum = QUIRK_ANY_INTERFACE,
3767 .type = QUIRK_COMPOSITE,
3768 .data = (const struct snd_usb_audio_quirk[]) {
3771 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3772 .data = &(const struct audioformat) {
3773 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3779 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3780 USB_ENDPOINT_SYNC_ASYNC,
3781 .rates = SNDRV_PCM_RATE_44100,
3785 .rate_table = (unsigned int[]) { 44100 }
3790 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3791 .data = &(const struct audioformat) {
3792 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3799 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3800 USB_ENDPOINT_SYNC_ASYNC|
3801 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3802 .rates = SNDRV_PCM_RATE_44100,
3806 .rate_table = (unsigned int[]) { 44100 }
3818 * Pioneer DJ DJM-900NXS2
3819 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3821 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3822 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3823 .ifnum = QUIRK_ANY_INTERFACE,
3824 .type = QUIRK_COMPOSITE,
3825 .data = (const struct snd_usb_audio_quirk[]) {
3828 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3829 .data = &(const struct audioformat) {
3830 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3836 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3837 USB_ENDPOINT_SYNC_ASYNC,
3838 .rates = SNDRV_PCM_RATE_44100|
3839 SNDRV_PCM_RATE_48000|
3840 SNDRV_PCM_RATE_96000,
3844 .rate_table = (unsigned int[]) {
3851 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3852 .data = &(const struct audioformat) {
3853 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3860 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3861 USB_ENDPOINT_SYNC_ASYNC|
3862 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3863 .rates = SNDRV_PCM_RATE_44100|
3864 SNDRV_PCM_RATE_48000|
3865 SNDRV_PCM_RATE_96000,
3869 .rate_table = (unsigned int[]) {
3882 * MacroSilicon MS2100/MS2106 based AV capture cards
3884 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3885 * They also need QUIRK_FLAG_ALIGN_TRANSFER, which makes one wonder if
3886 * they pretend to be 96kHz mono as a workaround for stereo being broken
3889 * They also have an issue with initial stream alignment that causes the
3890 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3893 USB_AUDIO_DEVICE(0x534d, 0x0021),
3894 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3895 .vendor_name = "MacroSilicon",
3896 .product_name = "MS210x",
3897 .ifnum = QUIRK_ANY_INTERFACE,
3898 .type = QUIRK_COMPOSITE,
3899 .data = &(const struct snd_usb_audio_quirk[]) {
3902 .type = QUIRK_AUDIO_STANDARD_MIXER,
3906 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3907 .data = &(const struct audioformat) {
3908 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3915 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3916 USB_ENDPOINT_SYNC_ASYNC,
3917 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3930 * MacroSilicon MS2109 based HDMI capture cards
3932 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3933 * They also need QUIRK_FLAG_ALIGN_TRANSFER, which makes one wonder if
3934 * they pretend to be 96kHz mono as a workaround for stereo being broken
3937 * They also have an issue with initial stream alignment that causes the
3938 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3941 USB_AUDIO_DEVICE(0x534d, 0x2109),
3942 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3943 .vendor_name = "MacroSilicon",
3944 .product_name = "MS2109",
3945 .ifnum = QUIRK_ANY_INTERFACE,
3946 .type = QUIRK_COMPOSITE,
3947 .data = &(const struct snd_usb_audio_quirk[]) {
3950 .type = QUIRK_AUDIO_STANDARD_MIXER,
3954 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3955 .data = &(const struct audioformat) {
3956 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3963 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3964 USB_ENDPOINT_SYNC_ASYNC,
3965 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3978 * Pioneer DJ DJM-750
3979 * 8 channels playback & 8 channels capture @ 44.1/48/96kHz S24LE
3981 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x017f),
3982 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3983 .ifnum = QUIRK_ANY_INTERFACE,
3984 .type = QUIRK_COMPOSITE,
3985 .data = (const struct snd_usb_audio_quirk[]) {
3988 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3989 .data = &(const struct audioformat) {
3990 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3996 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3997 USB_ENDPOINT_SYNC_ASYNC,
3998 .rates = SNDRV_PCM_RATE_44100|
3999 SNDRV_PCM_RATE_48000|
4000 SNDRV_PCM_RATE_96000,
4004 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
4009 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4010 .data = &(const struct audioformat) {
4011 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4018 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4019 USB_ENDPOINT_SYNC_ASYNC|
4020 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4021 .rates = SNDRV_PCM_RATE_44100|
4022 SNDRV_PCM_RATE_48000|
4023 SNDRV_PCM_RATE_96000,
4027 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
4038 * Pioneer DJ DJM-750MK2
4039 * 10 channels playback & 12 channels capture @ 48kHz S24LE
4041 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x001b),
4042 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4043 .ifnum = QUIRK_ANY_INTERFACE,
4044 .type = QUIRK_COMPOSITE,
4045 .data = (const struct snd_usb_audio_quirk[]) {
4048 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4049 .data = &(const struct audioformat) {
4050 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4056 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4057 USB_ENDPOINT_SYNC_ASYNC,
4058 .rates = SNDRV_PCM_RATE_48000,
4062 .rate_table = (unsigned int[]) {
4069 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4070 .data = &(const struct audioformat) {
4071 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4078 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4079 USB_ENDPOINT_SYNC_ASYNC|
4080 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4081 .rates = SNDRV_PCM_RATE_48000,
4085 .rate_table = (unsigned int[]) { 48000 }
4096 * Pioneer DJ DJM-850
4097 * 8 channels playback and 8 channels capture @ 44.1/48/96kHz S24LE
4098 * Playback on EP 0x05
4099 * Capture on EP 0x86
4101 USB_DEVICE_VENDOR_SPEC(0x08e4, 0x0163),
4102 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4103 .ifnum = QUIRK_ANY_INTERFACE,
4104 .type = QUIRK_COMPOSITE,
4105 .data = (const struct snd_usb_audio_quirk[]) {
4108 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4109 .data = &(const struct audioformat) {
4110 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4116 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4117 USB_ENDPOINT_SYNC_ASYNC|
4118 USB_ENDPOINT_USAGE_DATA,
4119 .rates = SNDRV_PCM_RATE_44100|
4120 SNDRV_PCM_RATE_48000|
4121 SNDRV_PCM_RATE_96000,
4125 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
4130 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4131 .data = &(const struct audioformat) {
4132 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4139 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4140 USB_ENDPOINT_SYNC_ASYNC|
4141 USB_ENDPOINT_USAGE_DATA,
4142 .rates = SNDRV_PCM_RATE_44100|
4143 SNDRV_PCM_RATE_48000|
4144 SNDRV_PCM_RATE_96000,
4148 .rate_table = (unsigned int[]) { 44100, 48000, 96000 }
4159 * Pioneer DJ DJM-450
4160 * PCM is 8 channels out @ 48 fixed (endpoint 0x01)
4161 * and 8 channels in @ 48 fixed (endpoint 0x82).
4163 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0013),
4164 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4165 .ifnum = QUIRK_ANY_INTERFACE,
4166 .type = QUIRK_COMPOSITE,
4167 .data = (const struct snd_usb_audio_quirk[]) {
4170 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4171 .data = &(const struct audioformat) {
4172 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4173 .channels = 8, // outputs
4178 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4179 USB_ENDPOINT_SYNC_ASYNC,
4180 .rates = SNDRV_PCM_RATE_48000,
4184 .rate_table = (unsigned int[]) { 48000 }
4189 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4190 .data = &(const struct audioformat) {
4191 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
4192 .channels = 8, // inputs
4198 .ep_attr = USB_ENDPOINT_XFER_ISOC|
4199 USB_ENDPOINT_SYNC_ASYNC|
4200 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4201 .rates = SNDRV_PCM_RATE_48000,
4205 .rate_table = (unsigned int[]) { 48000 }
4217 * Change order of interfaces loaded
4219 USB_DEVICE(0x1395, 0x0300),
4220 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
4221 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4222 .ifnum = QUIRK_ANY_INTERFACE,
4223 .type = QUIRK_COMPOSITE,
4224 .data = &(const struct snd_usb_audio_quirk[]) {
4228 .type = QUIRK_AUDIO_STANDARD_INTERFACE
4233 .type = QUIRK_AUDIO_STANDARD_INTERFACE
4238 .type = QUIRK_AUDIO_STANDARD_INTERFACE
4248 * Fiero SC-01 (firmware v1.0.0 @ 48 kHz)
4250 USB_DEVICE(0x2b53, 0x0023),
4251 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4252 .vendor_name = "Fiero",
4253 .product_name = "SC-01",
4254 .ifnum = QUIRK_ANY_INTERFACE,
4255 .type = QUIRK_COMPOSITE,
4256 .data = &(const struct snd_usb_audio_quirk[]) {
4259 .type = QUIRK_AUDIO_STANDARD_INTERFACE
4264 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4265 .data = &(const struct audioformat) {
4266 .formats = SNDRV_PCM_FMTBIT_S32_LE,
4273 .ep_attr = USB_ENDPOINT_XFER_ISOC |
4274 USB_ENDPOINT_SYNC_ASYNC,
4275 .rates = SNDRV_PCM_RATE_48000,
4279 .rate_table = (unsigned int[]) { 48000 },
4286 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4287 .data = &(const struct audioformat) {
4288 .formats = SNDRV_PCM_FMTBIT_S32_LE,
4295 .ep_attr = USB_ENDPOINT_XFER_ISOC |
4296 USB_ENDPOINT_SYNC_ASYNC |
4297 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4298 .rates = SNDRV_PCM_RATE_48000,
4302 .rate_table = (unsigned int[]) { 48000 },
4314 * Fiero SC-01 (firmware v1.0.0 @ 96 kHz)
4316 USB_DEVICE(0x2b53, 0x0024),
4317 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4318 .vendor_name = "Fiero",
4319 .product_name = "SC-01",
4320 .ifnum = QUIRK_ANY_INTERFACE,
4321 .type = QUIRK_COMPOSITE,
4322 .data = &(const struct snd_usb_audio_quirk[]) {
4325 .type = QUIRK_AUDIO_STANDARD_INTERFACE
4330 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4331 .data = &(const struct audioformat) {
4332 .formats = SNDRV_PCM_FMTBIT_S32_LE,
4339 .ep_attr = USB_ENDPOINT_XFER_ISOC |
4340 USB_ENDPOINT_SYNC_ASYNC,
4341 .rates = SNDRV_PCM_RATE_96000,
4345 .rate_table = (unsigned int[]) { 96000 },
4352 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4353 .data = &(const struct audioformat) {
4354 .formats = SNDRV_PCM_FMTBIT_S32_LE,
4361 .ep_attr = USB_ENDPOINT_XFER_ISOC |
4362 USB_ENDPOINT_SYNC_ASYNC |
4363 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4364 .rates = SNDRV_PCM_RATE_96000,
4368 .rate_table = (unsigned int[]) { 96000 },
4380 * Fiero SC-01 (firmware v1.1.0)
4382 USB_DEVICE(0x2b53, 0x0031),
4383 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
4384 .vendor_name = "Fiero",
4385 .product_name = "SC-01",
4386 .ifnum = QUIRK_ANY_INTERFACE,
4387 .type = QUIRK_COMPOSITE,
4388 .data = &(const struct snd_usb_audio_quirk[]) {
4391 .type = QUIRK_AUDIO_STANDARD_INTERFACE
4396 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4397 .data = &(const struct audioformat) {
4398 .formats = SNDRV_PCM_FMTBIT_S32_LE,
4405 .ep_attr = USB_ENDPOINT_XFER_ISOC |
4406 USB_ENDPOINT_SYNC_ASYNC,
4407 .rates = SNDRV_PCM_RATE_48000 |
4408 SNDRV_PCM_RATE_96000,
4412 .rate_table = (unsigned int[]) { 48000, 96000 },
4419 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
4420 .data = &(const struct audioformat) {
4421 .formats = SNDRV_PCM_FMTBIT_S32_LE,
4428 .ep_attr = USB_ENDPOINT_XFER_ISOC |
4429 USB_ENDPOINT_SYNC_ASYNC |
4430 USB_ENDPOINT_USAGE_IMPLICIT_FB,
4431 .rates = SNDRV_PCM_RATE_48000 |
4432 SNDRV_PCM_RATE_96000,
4436 .rate_table = (unsigned int[]) { 48000, 96000 },
4447 #undef USB_DEVICE_VENDOR_SPEC
4448 #undef USB_AUDIO_DEVICE