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
38 /* Another standard entry matching with vid/pid and the audio class */
39 #define USB_AUDIO_CLASS(vend, prod) \
40 .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
41 USB_DEVICE_ID_MATCH_INT_CLASS, \
44 .bInterfaceClass = USB_CLASS_AUDIO
48 USB_DEVICE(0x0403, 0xb8d8),
49 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
50 /* .vendor_name = "STARR LABS", */
51 /* .product_name = "Starr Labs MIDI USB device", */
53 .type = QUIRK_MIDI_FTDI
59 USB_DEVICE(0x041e, 0x0005),
60 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
62 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
63 .data = &(const struct audioformat) {
64 .formats = SNDRV_PCM_FMTBIT_S16_LE,
70 .ep_attr = USB_ENDPOINT_XFER_ISOC,
72 .rates = SNDRV_PCM_RATE_CONTINUOUS,
80 { USB_AUDIO_CLASS(0x041e, 0x3f02) },
82 { USB_AUDIO_CLASS(0x041e, 0x3f04) },
83 /* E-Mu Tracker Pre */
84 { USB_AUDIO_CLASS(0x041e, 0x3f0a) },
86 { USB_AUDIO_CLASS(0x041e, 0x3f19) },
90 * When not ignored, causes instability issues for some users, forcing them to
91 * skip the entire module.
94 USB_DEVICE(0x0424, 0xb832),
95 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
96 .vendor_name = "Standard Microsystems Corp.",
97 .product_name = "HP Wireless Audio",
98 .ifnum = QUIRK_ANY_INTERFACE,
99 .type = QUIRK_COMPOSITE,
100 .data = (const struct snd_usb_audio_quirk[]) {
104 .type = QUIRK_IGNORE_INTERFACE,
109 .type = QUIRK_IGNORE_INTERFACE,
114 .type = QUIRK_IGNORE_INTERFACE,
116 /* HID Device, .ifnum = 3 */
125 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
126 * class matches do not take effect without an explicit ID match.
128 { USB_AUDIO_DEVICE(0x046d, 0x0850) },
129 { USB_AUDIO_DEVICE(0x046d, 0x08ae) },
130 { USB_AUDIO_DEVICE(0x046d, 0x08c6) },
131 { USB_AUDIO_DEVICE(0x046d, 0x08f0) },
132 { USB_AUDIO_DEVICE(0x046d, 0x08f5) },
133 { USB_AUDIO_DEVICE(0x046d, 0x08f6) },
134 { USB_AUDIO_DEVICE(0x046d, 0x0990) },
140 #define YAMAHA_DEVICE(id, name) { \
141 USB_DEVICE(0x0499, id), \
142 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
143 .vendor_name = "Yamaha", \
144 .product_name = name, \
145 .ifnum = QUIRK_ANY_INTERFACE, \
146 .type = QUIRK_MIDI_YAMAHA \
149 #define YAMAHA_INTERFACE(id, intf, name) { \
150 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
151 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
152 .vendor_name = "Yamaha", \
153 .product_name = name, \
155 .type = QUIRK_MIDI_YAMAHA \
158 YAMAHA_DEVICE(0x1000, "UX256"),
159 YAMAHA_DEVICE(0x1001, "MU1000"),
160 YAMAHA_DEVICE(0x1002, "MU2000"),
161 YAMAHA_DEVICE(0x1003, "MU500"),
162 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
163 YAMAHA_DEVICE(0x1005, "MOTIF6"),
164 YAMAHA_DEVICE(0x1006, "MOTIF7"),
165 YAMAHA_DEVICE(0x1007, "MOTIF8"),
166 YAMAHA_DEVICE(0x1008, "UX96"),
167 YAMAHA_DEVICE(0x1009, "UX16"),
168 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
169 YAMAHA_DEVICE(0x100c, "UC-MX"),
170 YAMAHA_DEVICE(0x100d, "UC-KX"),
171 YAMAHA_DEVICE(0x100e, "S08"),
172 YAMAHA_DEVICE(0x100f, "CLP-150"),
173 YAMAHA_DEVICE(0x1010, "CLP-170"),
174 YAMAHA_DEVICE(0x1011, "P-250"),
175 YAMAHA_DEVICE(0x1012, "TYROS"),
176 YAMAHA_DEVICE(0x1013, "PF-500"),
177 YAMAHA_DEVICE(0x1014, "S90"),
178 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
179 YAMAHA_DEVICE(0x1016, "MDP-5"),
180 YAMAHA_DEVICE(0x1017, "CVP-204"),
181 YAMAHA_DEVICE(0x1018, "CVP-206"),
182 YAMAHA_DEVICE(0x1019, "CVP-208"),
183 YAMAHA_DEVICE(0x101a, "CVP-210"),
184 YAMAHA_DEVICE(0x101b, "PSR-1100"),
185 YAMAHA_DEVICE(0x101c, "PSR-2100"),
186 YAMAHA_DEVICE(0x101d, "CLP-175"),
187 YAMAHA_DEVICE(0x101e, "PSR-K1"),
188 YAMAHA_DEVICE(0x101f, "EZ-J24"),
189 YAMAHA_DEVICE(0x1020, "EZ-250i"),
190 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
191 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
192 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
193 YAMAHA_DEVICE(0x1024, "CVP-301"),
194 YAMAHA_DEVICE(0x1025, "CVP-303"),
195 YAMAHA_DEVICE(0x1026, "CVP-305"),
196 YAMAHA_DEVICE(0x1027, "CVP-307"),
197 YAMAHA_DEVICE(0x1028, "CVP-309"),
198 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
199 YAMAHA_DEVICE(0x102a, "PSR-1500"),
200 YAMAHA_DEVICE(0x102b, "PSR-3000"),
201 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
202 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
203 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
204 YAMAHA_DEVICE(0x1032, "DGX-305"),
205 YAMAHA_DEVICE(0x1033, "DGX-505"),
206 YAMAHA_DEVICE(0x1034, NULL),
207 YAMAHA_DEVICE(0x1035, NULL),
208 YAMAHA_DEVICE(0x1036, NULL),
209 YAMAHA_DEVICE(0x1037, NULL),
210 YAMAHA_DEVICE(0x1038, NULL),
211 YAMAHA_DEVICE(0x1039, NULL),
212 YAMAHA_DEVICE(0x103a, NULL),
213 YAMAHA_DEVICE(0x103b, NULL),
214 YAMAHA_DEVICE(0x103c, NULL),
215 YAMAHA_DEVICE(0x103d, NULL),
216 YAMAHA_DEVICE(0x103e, NULL),
217 YAMAHA_DEVICE(0x103f, NULL),
218 YAMAHA_DEVICE(0x1040, NULL),
219 YAMAHA_DEVICE(0x1041, NULL),
220 YAMAHA_DEVICE(0x1042, NULL),
221 YAMAHA_DEVICE(0x1043, NULL),
222 YAMAHA_DEVICE(0x1044, NULL),
223 YAMAHA_DEVICE(0x1045, NULL),
224 YAMAHA_INTERFACE(0x104e, 0, NULL),
225 YAMAHA_DEVICE(0x104f, NULL),
226 YAMAHA_DEVICE(0x1050, NULL),
227 YAMAHA_DEVICE(0x1051, NULL),
228 YAMAHA_DEVICE(0x1052, NULL),
229 YAMAHA_INTERFACE(0x1053, 0, NULL),
230 YAMAHA_INTERFACE(0x1054, 0, NULL),
231 YAMAHA_DEVICE(0x1055, NULL),
232 YAMAHA_DEVICE(0x1056, NULL),
233 YAMAHA_DEVICE(0x1057, NULL),
234 YAMAHA_DEVICE(0x1058, NULL),
235 YAMAHA_DEVICE(0x1059, NULL),
236 YAMAHA_DEVICE(0x105a, NULL),
237 YAMAHA_DEVICE(0x105b, NULL),
238 YAMAHA_DEVICE(0x105c, NULL),
239 YAMAHA_DEVICE(0x105d, NULL),
241 USB_DEVICE(0x0499, 0x1503),
242 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
243 /* .vendor_name = "Yamaha", */
244 /* .product_name = "MOX6/MOX8", */
245 .ifnum = QUIRK_ANY_INTERFACE,
246 .type = QUIRK_COMPOSITE,
247 .data = (const struct snd_usb_audio_quirk[]) {
250 .type = QUIRK_AUDIO_STANDARD_INTERFACE
254 .type = QUIRK_AUDIO_STANDARD_INTERFACE
258 .type = QUIRK_MIDI_YAMAHA
267 USB_DEVICE(0x0499, 0x1507),
268 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
269 /* .vendor_name = "Yamaha", */
270 /* .product_name = "THR10", */
271 .ifnum = QUIRK_ANY_INTERFACE,
272 .type = QUIRK_COMPOSITE,
273 .data = (const struct snd_usb_audio_quirk[]) {
276 .type = QUIRK_AUDIO_STANDARD_INTERFACE
280 .type = QUIRK_AUDIO_STANDARD_INTERFACE
284 .type = QUIRK_MIDI_YAMAHA
293 USB_DEVICE(0x0499, 0x1509),
294 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
295 /* .vendor_name = "Yamaha", */
296 /* .product_name = "Steinberg UR22", */
297 .ifnum = QUIRK_ANY_INTERFACE,
298 .type = QUIRK_COMPOSITE,
299 .data = (const struct snd_usb_audio_quirk[]) {
302 .type = QUIRK_AUDIO_STANDARD_INTERFACE
306 .type = QUIRK_AUDIO_STANDARD_INTERFACE
310 .type = QUIRK_MIDI_YAMAHA
314 .type = QUIRK_IGNORE_INTERFACE
323 USB_DEVICE(0x0499, 0x150a),
324 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
325 /* .vendor_name = "Yamaha", */
326 /* .product_name = "THR5A", */
327 .ifnum = QUIRK_ANY_INTERFACE,
328 .type = QUIRK_COMPOSITE,
329 .data = (const struct snd_usb_audio_quirk[]) {
332 .type = QUIRK_AUDIO_STANDARD_INTERFACE
336 .type = QUIRK_AUDIO_STANDARD_INTERFACE
340 .type = QUIRK_MIDI_YAMAHA
349 USB_DEVICE(0x0499, 0x150c),
350 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
351 /* .vendor_name = "Yamaha", */
352 /* .product_name = "THR10C", */
353 .ifnum = QUIRK_ANY_INTERFACE,
354 .type = QUIRK_COMPOSITE,
355 .data = (const struct snd_usb_audio_quirk[]) {
358 .type = QUIRK_AUDIO_STANDARD_INTERFACE
362 .type = QUIRK_AUDIO_STANDARD_INTERFACE
366 .type = QUIRK_MIDI_YAMAHA
374 YAMAHA_DEVICE(0x2000, "DGP-7"),
375 YAMAHA_DEVICE(0x2001, "DGP-5"),
376 YAMAHA_DEVICE(0x2002, NULL),
377 YAMAHA_DEVICE(0x2003, NULL),
378 YAMAHA_DEVICE(0x5000, "CS1D"),
379 YAMAHA_DEVICE(0x5001, "DSP1D"),
380 YAMAHA_DEVICE(0x5002, "DME32"),
381 YAMAHA_DEVICE(0x5003, "DM2000"),
382 YAMAHA_DEVICE(0x5004, "02R96"),
383 YAMAHA_DEVICE(0x5005, "ACU16-C"),
384 YAMAHA_DEVICE(0x5006, "NHB32-C"),
385 YAMAHA_DEVICE(0x5007, "DM1000"),
386 YAMAHA_DEVICE(0x5008, "01V96"),
387 YAMAHA_DEVICE(0x5009, "SPX2000"),
388 YAMAHA_DEVICE(0x500a, "PM5D"),
389 YAMAHA_DEVICE(0x500b, "DME64N"),
390 YAMAHA_DEVICE(0x500c, "DME24N"),
391 YAMAHA_DEVICE(0x500d, NULL),
392 YAMAHA_DEVICE(0x500e, NULL),
393 YAMAHA_DEVICE(0x500f, NULL),
394 YAMAHA_DEVICE(0x7000, "DTX"),
395 YAMAHA_DEVICE(0x7010, "UB99"),
397 #undef YAMAHA_INTERFACE
398 /* this catches most recent vendor-specific Yamaha devices */
400 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
401 USB_DEVICE_ID_MATCH_INT_CLASS,
403 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
404 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
405 .ifnum = QUIRK_ANY_INTERFACE,
406 .type = QUIRK_AUTODETECT
411 * Roland/RolandED/Edirol/BOSS devices
414 USB_DEVICE(0x0582, 0x0000),
415 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
416 .vendor_name = "Roland",
417 .product_name = "UA-100",
418 .ifnum = QUIRK_ANY_INTERFACE,
419 .type = QUIRK_COMPOSITE,
420 .data = (const struct snd_usb_audio_quirk[]) {
423 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
424 .data = & (const struct audioformat) {
425 .formats = SNDRV_PCM_FMTBIT_S16_LE,
433 .rates = SNDRV_PCM_RATE_CONTINUOUS,
440 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
441 .data = & (const struct audioformat) {
442 .formats = SNDRV_PCM_FMTBIT_S16_LE,
447 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
450 .rates = SNDRV_PCM_RATE_CONTINUOUS,
457 .type = QUIRK_MIDI_FIXED_ENDPOINT,
458 .data = & (const struct snd_usb_midi_endpoint_info) {
459 .out_cables = 0x0007,
470 USB_DEVICE(0x0582, 0x0002),
471 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
472 .vendor_name = "EDIROL",
473 .product_name = "UM-4",
474 .ifnum = QUIRK_ANY_INTERFACE,
475 .type = QUIRK_COMPOSITE,
476 .data = (const struct snd_usb_audio_quirk[]) {
479 .type = QUIRK_IGNORE_INTERFACE
483 .type = QUIRK_IGNORE_INTERFACE
487 .type = QUIRK_MIDI_FIXED_ENDPOINT,
488 .data = & (const struct snd_usb_midi_endpoint_info) {
489 .out_cables = 0x000f,
500 USB_DEVICE(0x0582, 0x0003),
501 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
502 .vendor_name = "Roland",
503 .product_name = "SC-8850",
504 .ifnum = QUIRK_ANY_INTERFACE,
505 .type = QUIRK_COMPOSITE,
506 .data = (const struct snd_usb_audio_quirk[]) {
509 .type = QUIRK_IGNORE_INTERFACE
513 .type = QUIRK_IGNORE_INTERFACE
517 .type = QUIRK_MIDI_FIXED_ENDPOINT,
518 .data = & (const struct snd_usb_midi_endpoint_info) {
519 .out_cables = 0x003f,
530 USB_DEVICE(0x0582, 0x0004),
531 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
532 .vendor_name = "Roland",
533 .product_name = "U-8",
534 .ifnum = QUIRK_ANY_INTERFACE,
535 .type = QUIRK_COMPOSITE,
536 .data = (const struct snd_usb_audio_quirk[]) {
539 .type = QUIRK_IGNORE_INTERFACE
543 .type = QUIRK_IGNORE_INTERFACE
547 .type = QUIRK_MIDI_FIXED_ENDPOINT,
548 .data = & (const struct snd_usb_midi_endpoint_info) {
549 .out_cables = 0x0005,
560 /* Has ID 0x0099 when not in "Advanced Driver" mode.
561 * The UM-2EX has only one input, but we cannot detect this. */
562 USB_DEVICE(0x0582, 0x0005),
563 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
564 .vendor_name = "EDIROL",
565 .product_name = "UM-2",
566 .ifnum = QUIRK_ANY_INTERFACE,
567 .type = QUIRK_COMPOSITE,
568 .data = (const struct snd_usb_audio_quirk[]) {
571 .type = QUIRK_IGNORE_INTERFACE
575 .type = QUIRK_IGNORE_INTERFACE
579 .type = QUIRK_MIDI_FIXED_ENDPOINT,
580 .data = & (const struct snd_usb_midi_endpoint_info) {
581 .out_cables = 0x0003,
592 USB_DEVICE(0x0582, 0x0007),
593 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
594 .vendor_name = "Roland",
595 .product_name = "SC-8820",
596 .ifnum = QUIRK_ANY_INTERFACE,
597 .type = QUIRK_COMPOSITE,
598 .data = (const struct snd_usb_audio_quirk[]) {
601 .type = QUIRK_IGNORE_INTERFACE
605 .type = QUIRK_IGNORE_INTERFACE
609 .type = QUIRK_MIDI_FIXED_ENDPOINT,
610 .data = & (const struct snd_usb_midi_endpoint_info) {
611 .out_cables = 0x0013,
622 USB_DEVICE(0x0582, 0x0008),
623 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
624 .vendor_name = "Roland",
625 .product_name = "PC-300",
626 .ifnum = QUIRK_ANY_INTERFACE,
627 .type = QUIRK_COMPOSITE,
628 .data = (const struct snd_usb_audio_quirk[]) {
631 .type = QUIRK_IGNORE_INTERFACE
635 .type = QUIRK_IGNORE_INTERFACE
639 .type = QUIRK_MIDI_FIXED_ENDPOINT,
640 .data = & (const struct snd_usb_midi_endpoint_info) {
641 .out_cables = 0x0001,
652 /* has ID 0x009d when not in "Advanced Driver" mode */
653 USB_DEVICE(0x0582, 0x0009),
654 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
655 .vendor_name = "EDIROL",
656 .product_name = "UM-1",
657 .ifnum = QUIRK_ANY_INTERFACE,
658 .type = QUIRK_COMPOSITE,
659 .data = (const struct snd_usb_audio_quirk[]) {
662 .type = QUIRK_IGNORE_INTERFACE
666 .type = QUIRK_IGNORE_INTERFACE
670 .type = QUIRK_MIDI_FIXED_ENDPOINT,
671 .data = & (const struct snd_usb_midi_endpoint_info) {
672 .out_cables = 0x0001,
683 USB_DEVICE(0x0582, 0x000b),
684 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
685 .vendor_name = "Roland",
686 .product_name = "SK-500",
687 .ifnum = QUIRK_ANY_INTERFACE,
688 .type = QUIRK_COMPOSITE,
689 .data = (const struct snd_usb_audio_quirk[]) {
692 .type = QUIRK_IGNORE_INTERFACE
696 .type = QUIRK_IGNORE_INTERFACE
700 .type = QUIRK_MIDI_FIXED_ENDPOINT,
701 .data = & (const struct snd_usb_midi_endpoint_info) {
702 .out_cables = 0x0013,
713 /* thanks to Emiliano Grilli <emillo@libero.it>
714 * for helping researching this data */
715 USB_DEVICE(0x0582, 0x000c),
716 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
717 .vendor_name = "Roland",
718 .product_name = "SC-D70",
719 .ifnum = QUIRK_ANY_INTERFACE,
720 .type = QUIRK_COMPOSITE,
721 .data = (const struct snd_usb_audio_quirk[]) {
724 .type = QUIRK_AUDIO_STANDARD_INTERFACE
728 .type = QUIRK_AUDIO_STANDARD_INTERFACE
732 .type = QUIRK_MIDI_FIXED_ENDPOINT,
733 .data = & (const struct snd_usb_midi_endpoint_info) {
734 .out_cables = 0x0007,
745 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
746 * If the advanced mode switch at the back of the unit is off, the
747 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
748 * but offers only 16-bit PCM.
749 * In advanced mode, the UA-5 will output S24_3LE samples (two
750 * channels) at the rate indicated on the front switch, including
751 * the 96kHz sample rate.
753 USB_DEVICE(0x0582, 0x0010),
754 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
755 .vendor_name = "EDIROL",
756 .product_name = "UA-5",
757 .ifnum = QUIRK_ANY_INTERFACE,
758 .type = QUIRK_COMPOSITE,
759 .data = (const struct snd_usb_audio_quirk[]) {
762 .type = QUIRK_AUDIO_STANDARD_INTERFACE
766 .type = QUIRK_AUDIO_STANDARD_INTERFACE
775 /* has ID 0x0013 when not in "Advanced Driver" mode */
776 USB_DEVICE(0x0582, 0x0012),
777 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
778 .vendor_name = "Roland",
779 .product_name = "XV-5050",
781 .type = QUIRK_MIDI_FIXED_ENDPOINT,
782 .data = & (const struct snd_usb_midi_endpoint_info) {
783 .out_cables = 0x0001,
789 /* has ID 0x0015 when not in "Advanced Driver" mode */
790 USB_DEVICE(0x0582, 0x0014),
791 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
792 .vendor_name = "EDIROL",
793 .product_name = "UM-880",
795 .type = QUIRK_MIDI_FIXED_ENDPOINT,
796 .data = & (const struct snd_usb_midi_endpoint_info) {
797 .out_cables = 0x01ff,
803 /* has ID 0x0017 when not in "Advanced Driver" mode */
804 USB_DEVICE(0x0582, 0x0016),
805 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
806 .vendor_name = "EDIROL",
807 .product_name = "SD-90",
808 .ifnum = QUIRK_ANY_INTERFACE,
809 .type = QUIRK_COMPOSITE,
810 .data = (const struct snd_usb_audio_quirk[]) {
813 .type = QUIRK_AUDIO_STANDARD_INTERFACE
817 .type = QUIRK_AUDIO_STANDARD_INTERFACE
821 .type = QUIRK_MIDI_FIXED_ENDPOINT,
822 .data = & (const struct snd_usb_midi_endpoint_info) {
823 .out_cables = 0x000f,
834 /* has ID 0x001c when not in "Advanced Driver" mode */
835 USB_DEVICE(0x0582, 0x001b),
836 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
837 .vendor_name = "Roland",
838 .product_name = "MMP-2",
839 .ifnum = QUIRK_ANY_INTERFACE,
840 .type = QUIRK_COMPOSITE,
841 .data = (const struct snd_usb_audio_quirk[]) {
844 .type = QUIRK_IGNORE_INTERFACE
848 .type = QUIRK_IGNORE_INTERFACE
852 .type = QUIRK_MIDI_FIXED_ENDPOINT,
853 .data = & (const struct snd_usb_midi_endpoint_info) {
854 .out_cables = 0x0001,
865 /* has ID 0x001e when not in "Advanced Driver" mode */
866 USB_DEVICE(0x0582, 0x001d),
867 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
868 .vendor_name = "Roland",
869 .product_name = "V-SYNTH",
871 .type = QUIRK_MIDI_FIXED_ENDPOINT,
872 .data = & (const struct snd_usb_midi_endpoint_info) {
873 .out_cables = 0x0001,
879 /* has ID 0x0024 when not in "Advanced Driver" mode */
880 USB_DEVICE(0x0582, 0x0023),
881 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
882 .vendor_name = "EDIROL",
883 .product_name = "UM-550",
885 .type = QUIRK_MIDI_FIXED_ENDPOINT,
886 .data = & (const struct snd_usb_midi_endpoint_info) {
887 .out_cables = 0x003f,
894 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
895 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
898 USB_DEVICE(0x0582, 0x0025),
899 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
900 .vendor_name = "EDIROL",
901 .product_name = "UA-20",
902 .ifnum = QUIRK_ANY_INTERFACE,
903 .type = QUIRK_COMPOSITE,
904 .data = (const struct snd_usb_audio_quirk[]) {
907 .type = QUIRK_IGNORE_INTERFACE
911 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
912 .data = & (const struct audioformat) {
913 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
921 .rates = SNDRV_PCM_RATE_CONTINUOUS,
928 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
929 .data = & (const struct audioformat) {
930 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
938 .rates = SNDRV_PCM_RATE_CONTINUOUS,
945 .type = QUIRK_MIDI_FIXED_ENDPOINT,
946 .data = & (const struct snd_usb_midi_endpoint_info) {
947 .out_cables = 0x0001,
958 /* has ID 0x0028 when not in "Advanced Driver" mode */
959 USB_DEVICE(0x0582, 0x0027),
960 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
961 .vendor_name = "EDIROL",
962 .product_name = "SD-20",
964 .type = QUIRK_MIDI_FIXED_ENDPOINT,
965 .data = & (const struct snd_usb_midi_endpoint_info) {
966 .out_cables = 0x0003,
972 /* has ID 0x002a when not in "Advanced Driver" mode */
973 USB_DEVICE(0x0582, 0x0029),
974 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
975 .vendor_name = "EDIROL",
976 .product_name = "SD-80",
978 .type = QUIRK_MIDI_FIXED_ENDPOINT,
979 .data = & (const struct snd_usb_midi_endpoint_info) {
980 .out_cables = 0x000f,
986 * This quirk is for the "Advanced" modes of the Edirol UA-700.
987 * If the sample format switch is not in an advanced setting, the
988 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
989 * but offers only 16-bit PCM and no MIDI.
991 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
992 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
993 .vendor_name = "EDIROL",
994 .product_name = "UA-700",
995 .ifnum = QUIRK_ANY_INTERFACE,
996 .type = QUIRK_COMPOSITE,
997 .data = (const struct snd_usb_audio_quirk[]) {
1000 .type = QUIRK_AUDIO_EDIROL_UAXX
1004 .type = QUIRK_AUDIO_EDIROL_UAXX
1008 .type = QUIRK_AUDIO_EDIROL_UAXX
1017 /* has ID 0x002e when not in "Advanced Driver" mode */
1018 USB_DEVICE(0x0582, 0x002d),
1019 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1020 .vendor_name = "Roland",
1021 .product_name = "XV-2020",
1023 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1024 .data = & (const struct snd_usb_midi_endpoint_info) {
1025 .out_cables = 0x0001,
1031 /* has ID 0x0030 when not in "Advanced Driver" mode */
1032 USB_DEVICE(0x0582, 0x002f),
1033 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1034 .vendor_name = "Roland",
1035 .product_name = "VariOS",
1037 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1038 .data = & (const struct snd_usb_midi_endpoint_info) {
1039 .out_cables = 0x0007,
1045 /* has ID 0x0034 when not in "Advanced Driver" mode */
1046 USB_DEVICE(0x0582, 0x0033),
1047 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1048 .vendor_name = "EDIROL",
1049 .product_name = "PCR",
1051 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1052 .data = & (const struct snd_usb_midi_endpoint_info) {
1053 .out_cables = 0x0003,
1060 * Has ID 0x0038 when not in "Advanced Driver" mode;
1061 * later revisions use IDs 0x0054 and 0x00a2.
1063 USB_DEVICE(0x0582, 0x0037),
1064 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1065 .vendor_name = "Roland",
1066 .product_name = "Digital Piano",
1068 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1069 .data = & (const struct snd_usb_midi_endpoint_info) {
1070 .out_cables = 0x0001,
1077 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1078 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1081 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1082 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1083 .vendor_name = "BOSS",
1084 .product_name = "GS-10",
1085 .ifnum = QUIRK_ANY_INTERFACE,
1086 .type = QUIRK_COMPOSITE,
1087 .data = & (const struct snd_usb_audio_quirk[]) {
1090 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1094 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1098 .type = QUIRK_MIDI_STANDARD_INTERFACE
1107 /* has ID 0x0041 when not in "Advanced Driver" mode */
1108 USB_DEVICE(0x0582, 0x0040),
1109 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1110 .vendor_name = "Roland",
1111 .product_name = "GI-20",
1113 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1114 .data = & (const struct snd_usb_midi_endpoint_info) {
1115 .out_cables = 0x0001,
1121 /* has ID 0x0043 when not in "Advanced Driver" mode */
1122 USB_DEVICE(0x0582, 0x0042),
1123 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1124 .vendor_name = "Roland",
1125 .product_name = "RS-70",
1127 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1128 .data = & (const struct snd_usb_midi_endpoint_info) {
1129 .out_cables = 0x0001,
1135 /* has ID 0x0049 when not in "Advanced Driver" mode */
1136 USB_DEVICE(0x0582, 0x0047),
1137 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1138 /* .vendor_name = "EDIROL", */
1139 /* .product_name = "UR-80", */
1140 .ifnum = QUIRK_ANY_INTERFACE,
1141 .type = QUIRK_COMPOSITE,
1142 .data = (const struct snd_usb_audio_quirk[]) {
1143 /* in the 96 kHz modes, only interface 1 is there */
1146 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1150 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1159 /* has ID 0x004a when not in "Advanced Driver" mode */
1160 USB_DEVICE(0x0582, 0x0048),
1161 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1162 /* .vendor_name = "EDIROL", */
1163 /* .product_name = "UR-80", */
1165 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1166 .data = & (const struct snd_usb_midi_endpoint_info) {
1167 .out_cables = 0x0003,
1173 /* has ID 0x004e when not in "Advanced Driver" mode */
1174 USB_DEVICE(0x0582, 0x004c),
1175 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1176 .vendor_name = "EDIROL",
1177 .product_name = "PCR-A",
1178 .ifnum = QUIRK_ANY_INTERFACE,
1179 .type = QUIRK_COMPOSITE,
1180 .data = (const struct snd_usb_audio_quirk[]) {
1183 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1187 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1196 /* has ID 0x004f when not in "Advanced Driver" mode */
1197 USB_DEVICE(0x0582, 0x004d),
1198 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1199 .vendor_name = "EDIROL",
1200 .product_name = "PCR-A",
1202 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1203 .data = & (const struct snd_usb_midi_endpoint_info) {
1204 .out_cables = 0x0003,
1211 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1212 * is standard compliant, but has only 16-bit PCM.
1214 USB_DEVICE(0x0582, 0x0050),
1215 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1216 .vendor_name = "EDIROL",
1217 .product_name = "UA-3FX",
1218 .ifnum = QUIRK_ANY_INTERFACE,
1219 .type = QUIRK_COMPOSITE,
1220 .data = (const struct snd_usb_audio_quirk[]) {
1223 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1227 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1236 USB_DEVICE(0x0582, 0x0052),
1237 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1238 .vendor_name = "EDIROL",
1239 .product_name = "UM-1SX",
1241 .type = QUIRK_MIDI_STANDARD_INTERFACE
1245 USB_DEVICE(0x0582, 0x0060),
1246 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1247 .vendor_name = "Roland",
1248 .product_name = "EXR Series",
1250 .type = QUIRK_MIDI_STANDARD_INTERFACE
1254 /* has ID 0x0066 when not in "Advanced Driver" mode */
1255 USB_DEVICE(0x0582, 0x0064),
1256 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1257 /* .vendor_name = "EDIROL", */
1258 /* .product_name = "PCR-1", */
1259 .ifnum = QUIRK_ANY_INTERFACE,
1260 .type = QUIRK_COMPOSITE,
1261 .data = (const struct snd_usb_audio_quirk[]) {
1264 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1268 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1277 /* has ID 0x0067 when not in "Advanced Driver" mode */
1278 USB_DEVICE(0x0582, 0x0065),
1279 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1280 /* .vendor_name = "EDIROL", */
1281 /* .product_name = "PCR-1", */
1283 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1284 .data = & (const struct snd_usb_midi_endpoint_info) {
1285 .out_cables = 0x0001,
1291 /* has ID 0x006e when not in "Advanced Driver" mode */
1292 USB_DEVICE(0x0582, 0x006d),
1293 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1294 .vendor_name = "Roland",
1295 .product_name = "FANTOM-X",
1297 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1298 .data = & (const struct snd_usb_midi_endpoint_info) {
1299 .out_cables = 0x0001,
1305 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1306 * If the switch is not in an advanced setting, the UA-25 has
1307 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1308 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1310 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1311 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1312 .vendor_name = "EDIROL",
1313 .product_name = "UA-25",
1314 .ifnum = QUIRK_ANY_INTERFACE,
1315 .type = QUIRK_COMPOSITE,
1316 .data = (const struct snd_usb_audio_quirk[]) {
1319 .type = QUIRK_AUDIO_EDIROL_UAXX
1323 .type = QUIRK_AUDIO_EDIROL_UAXX
1327 .type = QUIRK_AUDIO_EDIROL_UAXX
1336 /* has ID 0x0076 when not in "Advanced Driver" mode */
1337 USB_DEVICE(0x0582, 0x0075),
1338 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1339 .vendor_name = "BOSS",
1340 .product_name = "DR-880",
1342 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1343 .data = & (const struct snd_usb_midi_endpoint_info) {
1344 .out_cables = 0x0001,
1350 /* has ID 0x007b when not in "Advanced Driver" mode */
1351 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1352 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1353 .vendor_name = "Roland",
1354 /* "RD" or "RD-700SX"? */
1356 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1357 .data = & (const struct snd_usb_midi_endpoint_info) {
1358 .out_cables = 0x0003,
1364 /* has ID 0x0081 when not in "Advanced Driver" mode */
1365 USB_DEVICE(0x0582, 0x0080),
1366 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1367 .vendor_name = "Roland",
1368 .product_name = "G-70",
1370 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1371 .data = & (const struct snd_usb_midi_endpoint_info) {
1372 .out_cables = 0x0001,
1378 /* has ID 0x008c when not in "Advanced Driver" mode */
1379 USB_DEVICE(0x0582, 0x008b),
1380 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1381 .vendor_name = "EDIROL",
1382 .product_name = "PC-50",
1384 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1385 .data = & (const struct snd_usb_midi_endpoint_info) {
1386 .out_cables = 0x0001,
1393 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1394 * is standard compliant, but has only 16-bit PCM and no MIDI.
1396 USB_DEVICE(0x0582, 0x00a3),
1397 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1398 .vendor_name = "EDIROL",
1399 .product_name = "UA-4FX",
1400 .ifnum = QUIRK_ANY_INTERFACE,
1401 .type = QUIRK_COMPOSITE,
1402 .data = (const struct snd_usb_audio_quirk[]) {
1405 .type = QUIRK_AUDIO_EDIROL_UAXX
1409 .type = QUIRK_AUDIO_EDIROL_UAXX
1413 .type = QUIRK_AUDIO_EDIROL_UAXX
1423 USB_DEVICE(0x0582, 0x00c4),
1424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1425 .ifnum = QUIRK_ANY_INTERFACE,
1426 .type = QUIRK_COMPOSITE,
1427 .data = (const struct snd_usb_audio_quirk[]) {
1430 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1434 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1438 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1439 .data = & (const struct snd_usb_midi_endpoint_info) {
1440 .out_cables = 0x0001,
1451 /* Advanced modes of the Edirol UA-25EX.
1452 * For the standard mode, UA-25EX has ID 0582:00e7, which
1453 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1455 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1456 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1457 .vendor_name = "EDIROL",
1458 .product_name = "UA-25EX",
1459 .ifnum = QUIRK_ANY_INTERFACE,
1460 .type = QUIRK_COMPOSITE,
1461 .data = (const struct snd_usb_audio_quirk[]) {
1464 .type = QUIRK_AUDIO_EDIROL_UAXX
1468 .type = QUIRK_AUDIO_EDIROL_UAXX
1472 .type = QUIRK_AUDIO_EDIROL_UAXX
1482 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1483 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1485 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1486 .data = & (const struct snd_usb_midi_endpoint_info) {
1487 .out_cables = 0x0007,
1494 USB_DEVICE(0x0582, 0x0113),
1495 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1496 .ifnum = QUIRK_ANY_INTERFACE,
1497 .type = QUIRK_COMPOSITE,
1498 .data = (const struct snd_usb_audio_quirk[]) {
1501 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1505 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1509 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1510 .data = & (const struct snd_usb_midi_endpoint_info) {
1511 .out_cables = 0x0001,
1522 /* only 44.1 kHz works at the moment */
1523 USB_DEVICE(0x0582, 0x0120),
1524 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1525 /* .vendor_name = "Roland", */
1526 /* .product_name = "OCTO-CAPTURE", */
1527 .ifnum = QUIRK_ANY_INTERFACE,
1528 .type = QUIRK_COMPOSITE,
1529 .data = (const struct snd_usb_audio_quirk[]) {
1532 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1533 .data = & (const struct audioformat) {
1534 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1541 .rates = SNDRV_PCM_RATE_44100,
1545 .rate_table = (unsigned int[]) { 44100 }
1550 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1551 .data = & (const struct audioformat) {
1552 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1559 .rates = SNDRV_PCM_RATE_44100,
1563 .rate_table = (unsigned int[]) { 44100 }
1568 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1569 .data = & (const struct snd_usb_midi_endpoint_info) {
1570 .out_cables = 0x0001,
1576 .type = QUIRK_IGNORE_INTERFACE
1580 .type = QUIRK_IGNORE_INTERFACE
1589 /* only 44.1 kHz works at the moment */
1590 USB_DEVICE(0x0582, 0x012f),
1591 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1592 /* .vendor_name = "Roland", */
1593 /* .product_name = "QUAD-CAPTURE", */
1594 .ifnum = QUIRK_ANY_INTERFACE,
1595 .type = QUIRK_COMPOSITE,
1596 .data = (const struct snd_usb_audio_quirk[]) {
1599 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1600 .data = & (const struct audioformat) {
1601 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1608 .rates = SNDRV_PCM_RATE_44100,
1612 .rate_table = (unsigned int[]) { 44100 }
1617 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1618 .data = & (const struct audioformat) {
1619 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1626 .rates = SNDRV_PCM_RATE_44100,
1630 .rate_table = (unsigned int[]) { 44100 }
1635 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1636 .data = & (const struct snd_usb_midi_endpoint_info) {
1637 .out_cables = 0x0001,
1643 .type = QUIRK_IGNORE_INTERFACE
1647 .type = QUIRK_IGNORE_INTERFACE
1656 USB_DEVICE(0x0582, 0x0159),
1657 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1658 /* .vendor_name = "Roland", */
1659 /* .product_name = "UA-22", */
1660 .ifnum = QUIRK_ANY_INTERFACE,
1661 .type = QUIRK_COMPOSITE,
1662 .data = (const struct snd_usb_audio_quirk[]) {
1665 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1669 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1673 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1674 .data = & (const struct snd_usb_midi_endpoint_info) {
1675 .out_cables = 0x0001,
1685 /* this catches most recent vendor-specific Roland devices */
1687 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1688 USB_DEVICE_ID_MATCH_INT_CLASS,
1690 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1691 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1692 .ifnum = QUIRK_ANY_INTERFACE,
1693 .type = QUIRK_AUTODETECT
1697 /* Guillemot devices */
1700 * This is for the "Windows Edition" where the external MIDI ports are
1701 * the only MIDI ports; the control data is reported through HID
1702 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1703 * compliant USB MIDI ports for external MIDI and controls.
1705 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1706 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1707 .vendor_name = "Hercules",
1708 .product_name = "DJ Console (WE)",
1710 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1711 .data = & (const struct snd_usb_midi_endpoint_info) {
1712 .out_cables = 0x0001,
1718 /* Midiman/M-Audio devices */
1720 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1721 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1722 .vendor_name = "M-Audio",
1723 .product_name = "MidiSport 2x2",
1724 .ifnum = QUIRK_ANY_INTERFACE,
1725 .type = QUIRK_MIDI_MIDIMAN,
1726 .data = & (const struct snd_usb_midi_endpoint_info) {
1727 .out_cables = 0x0003,
1733 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1734 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1735 .vendor_name = "M-Audio",
1736 .product_name = "MidiSport 1x1",
1737 .ifnum = QUIRK_ANY_INTERFACE,
1738 .type = QUIRK_MIDI_MIDIMAN,
1739 .data = & (const struct snd_usb_midi_endpoint_info) {
1740 .out_cables = 0x0001,
1746 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1747 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1748 .vendor_name = "M-Audio",
1749 .product_name = "Keystation",
1750 .ifnum = QUIRK_ANY_INTERFACE,
1751 .type = QUIRK_MIDI_MIDIMAN,
1752 .data = & (const struct snd_usb_midi_endpoint_info) {
1753 .out_cables = 0x0001,
1759 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1760 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1761 .vendor_name = "M-Audio",
1762 .product_name = "MidiSport 4x4",
1763 .ifnum = QUIRK_ANY_INTERFACE,
1764 .type = QUIRK_MIDI_MIDIMAN,
1765 .data = & (const struct snd_usb_midi_endpoint_info) {
1766 .out_cables = 0x000f,
1773 * For hardware revision 1.05; in the later revisions (1.10 and
1774 * 1.21), 0x1031 is the ID for the device without firmware.
1775 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1777 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1778 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1779 .vendor_name = "M-Audio",
1780 .product_name = "MidiSport 8x8",
1781 .ifnum = QUIRK_ANY_INTERFACE,
1782 .type = QUIRK_MIDI_MIDIMAN,
1783 .data = & (const struct snd_usb_midi_endpoint_info) {
1784 .out_cables = 0x01ff,
1790 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1791 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1792 .vendor_name = "M-Audio",
1793 .product_name = "MidiSport 8x8",
1794 .ifnum = QUIRK_ANY_INTERFACE,
1795 .type = QUIRK_MIDI_MIDIMAN,
1796 .data = & (const struct snd_usb_midi_endpoint_info) {
1797 .out_cables = 0x01ff,
1803 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1804 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1805 .vendor_name = "M-Audio",
1806 .product_name = "MidiSport 2x4",
1807 .ifnum = QUIRK_ANY_INTERFACE,
1808 .type = QUIRK_MIDI_MIDIMAN,
1809 .data = & (const struct snd_usb_midi_endpoint_info) {
1810 .out_cables = 0x000f,
1816 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1817 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1818 .vendor_name = "M-Audio",
1819 .product_name = "Quattro",
1820 .ifnum = QUIRK_ANY_INTERFACE,
1821 .type = QUIRK_COMPOSITE,
1822 .data = & (const struct snd_usb_audio_quirk[]) {
1824 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1825 * and share endpoints with the other interfaces.
1826 * Ignore them. The other interfaces can do 24 bits,
1827 * but captured samples are big-endian (see usbaudio.c).
1831 .type = QUIRK_IGNORE_INTERFACE
1835 .type = QUIRK_IGNORE_INTERFACE
1839 .type = QUIRK_IGNORE_INTERFACE
1843 .type = QUIRK_IGNORE_INTERFACE
1847 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1851 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1855 .type = QUIRK_IGNORE_INTERFACE
1859 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1863 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1867 .type = QUIRK_MIDI_MIDIMAN,
1868 .data = & (const struct snd_usb_midi_endpoint_info) {
1869 .out_cables = 0x0001,
1880 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1881 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1882 .vendor_name = "M-Audio",
1883 .product_name = "AudioPhile",
1885 .type = QUIRK_MIDI_MIDIMAN,
1886 .data = & (const struct snd_usb_midi_endpoint_info) {
1887 .out_cables = 0x0001,
1893 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1894 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1895 .vendor_name = "M-Audio",
1896 .product_name = "Ozone",
1898 .type = QUIRK_MIDI_MIDIMAN,
1899 .data = & (const struct snd_usb_midi_endpoint_info) {
1900 .out_cables = 0x0001,
1906 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1907 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1908 .vendor_name = "M-Audio",
1909 .product_name = "OmniStudio",
1910 .ifnum = QUIRK_ANY_INTERFACE,
1911 .type = QUIRK_COMPOSITE,
1912 .data = & (const struct snd_usb_audio_quirk[]) {
1915 .type = QUIRK_IGNORE_INTERFACE
1919 .type = QUIRK_IGNORE_INTERFACE
1923 .type = QUIRK_IGNORE_INTERFACE
1927 .type = QUIRK_IGNORE_INTERFACE
1931 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1935 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1939 .type = QUIRK_IGNORE_INTERFACE
1943 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1947 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1951 .type = QUIRK_MIDI_MIDIMAN,
1952 .data = & (const struct snd_usb_midi_endpoint_info) {
1953 .out_cables = 0x0001,
1964 USB_DEVICE(0x0763, 0x2019),
1965 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1966 /* .vendor_name = "M-Audio", */
1967 /* .product_name = "Ozone Academic", */
1968 .ifnum = QUIRK_ANY_INTERFACE,
1969 .type = QUIRK_COMPOSITE,
1970 .data = & (const struct snd_usb_audio_quirk[]) {
1973 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1977 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1981 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1985 .type = QUIRK_MIDI_MIDIMAN,
1986 .data = & (const struct snd_usb_midi_endpoint_info) {
1987 .out_cables = 0x0001,
1998 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
1999 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2000 /* .vendor_name = "M-Audio", */
2001 /* .product_name = "Fast Track C400", */
2002 .ifnum = QUIRK_ANY_INTERFACE,
2003 .type = QUIRK_COMPOSITE,
2004 .data = &(const struct snd_usb_audio_quirk[]) {
2007 .type = QUIRK_AUDIO_STANDARD_MIXER,
2012 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2013 .data = &(const struct audioformat) {
2014 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2019 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2022 .rates = SNDRV_PCM_RATE_44100 |
2023 SNDRV_PCM_RATE_48000 |
2024 SNDRV_PCM_RATE_88200 |
2025 SNDRV_PCM_RATE_96000,
2029 .rate_table = (unsigned int[]) {
2030 44100, 48000, 88200, 96000
2038 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2039 .data = &(const struct audioformat) {
2040 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2045 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2048 .rates = SNDRV_PCM_RATE_44100 |
2049 SNDRV_PCM_RATE_48000 |
2050 SNDRV_PCM_RATE_88200 |
2051 SNDRV_PCM_RATE_96000,
2055 .rate_table = (unsigned int[]) {
2056 44100, 48000, 88200, 96000
2063 .ifnum = -1 /* Interface = 4 */
2069 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2070 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2071 /* .vendor_name = "M-Audio", */
2072 /* .product_name = "Fast Track C600", */
2073 .ifnum = QUIRK_ANY_INTERFACE,
2074 .type = QUIRK_COMPOSITE,
2075 .data = &(const struct snd_usb_audio_quirk[]) {
2078 .type = QUIRK_AUDIO_STANDARD_MIXER,
2083 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2084 .data = &(const struct audioformat) {
2085 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2090 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2093 .rates = SNDRV_PCM_RATE_44100 |
2094 SNDRV_PCM_RATE_48000 |
2095 SNDRV_PCM_RATE_88200 |
2096 SNDRV_PCM_RATE_96000,
2100 .rate_table = (unsigned int[]) {
2101 44100, 48000, 88200, 96000
2109 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2110 .data = &(const struct audioformat) {
2111 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2116 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2119 .rates = SNDRV_PCM_RATE_44100 |
2120 SNDRV_PCM_RATE_48000 |
2121 SNDRV_PCM_RATE_88200 |
2122 SNDRV_PCM_RATE_96000,
2126 .rate_table = (unsigned int[]) {
2127 44100, 48000, 88200, 96000
2134 .ifnum = -1 /* Interface = 4 */
2140 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2141 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2142 /* .vendor_name = "M-Audio", */
2143 /* .product_name = "Fast Track Ultra", */
2144 .ifnum = QUIRK_ANY_INTERFACE,
2145 .type = QUIRK_COMPOSITE,
2146 .data = & (const struct snd_usb_audio_quirk[]) {
2149 .type = QUIRK_AUDIO_STANDARD_MIXER,
2153 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2154 .data = & (const struct audioformat) {
2155 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2160 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2163 .rates = SNDRV_PCM_RATE_44100 |
2164 SNDRV_PCM_RATE_48000 |
2165 SNDRV_PCM_RATE_88200 |
2166 SNDRV_PCM_RATE_96000,
2170 .rate_table = (unsigned int[]) {
2171 44100, 48000, 88200, 96000
2177 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2178 .data = & (const struct audioformat) {
2179 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2184 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2187 .rates = SNDRV_PCM_RATE_44100 |
2188 SNDRV_PCM_RATE_48000 |
2189 SNDRV_PCM_RATE_88200 |
2190 SNDRV_PCM_RATE_96000,
2194 .rate_table = (unsigned int[]) {
2195 44100, 48000, 88200, 96000
2199 /* interface 3 (MIDI) is standard compliant */
2207 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2208 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2209 /* .vendor_name = "M-Audio", */
2210 /* .product_name = "Fast Track Ultra 8R", */
2211 .ifnum = QUIRK_ANY_INTERFACE,
2212 .type = QUIRK_COMPOSITE,
2213 .data = & (const struct snd_usb_audio_quirk[]) {
2216 .type = QUIRK_AUDIO_STANDARD_MIXER,
2220 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2221 .data = & (const struct audioformat) {
2222 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2227 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2230 .rates = SNDRV_PCM_RATE_44100 |
2231 SNDRV_PCM_RATE_48000 |
2232 SNDRV_PCM_RATE_88200 |
2233 SNDRV_PCM_RATE_96000,
2237 .rate_table = (unsigned int[]) {
2238 44100, 48000, 88200, 96000
2244 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2245 .data = & (const struct audioformat) {
2246 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2251 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2254 .rates = SNDRV_PCM_RATE_44100 |
2255 SNDRV_PCM_RATE_48000 |
2256 SNDRV_PCM_RATE_88200 |
2257 SNDRV_PCM_RATE_96000,
2261 .rate_table = (unsigned int[]) {
2262 44100, 48000, 88200, 96000
2266 /* interface 3 (MIDI) is standard compliant */
2276 USB_DEVICE(0x07cf, 0x6801),
2277 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2278 .vendor_name = "Casio",
2279 .product_name = "PL-40R",
2281 .type = QUIRK_MIDI_YAMAHA
2285 /* this ID is used by several devices without a product ID */
2286 USB_DEVICE(0x07cf, 0x6802),
2287 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2288 .vendor_name = "Casio",
2289 .product_name = "Keyboard",
2291 .type = QUIRK_MIDI_YAMAHA
2295 /* Mark of the Unicorn devices */
2297 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2298 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2299 USB_DEVICE_ID_MATCH_PRODUCT |
2300 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2302 .idProduct = 0x0001,
2303 .bDeviceSubClass = 2,
2304 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2305 .vendor_name = "MOTU",
2306 .product_name = "Fastlane",
2307 .ifnum = QUIRK_ANY_INTERFACE,
2308 .type = QUIRK_COMPOSITE,
2309 .data = & (const struct snd_usb_audio_quirk[]) {
2312 .type = QUIRK_MIDI_RAW_BYTES
2316 .type = QUIRK_IGNORE_INTERFACE
2325 /* Emagic devices */
2327 USB_DEVICE(0x086a, 0x0001),
2328 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2329 .vendor_name = "Emagic",
2330 .product_name = "Unitor8",
2332 .type = QUIRK_MIDI_EMAGIC,
2333 .data = & (const struct snd_usb_midi_endpoint_info) {
2334 .out_cables = 0x80ff,
2340 USB_DEVICE(0x086a, 0x0002),
2341 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2342 .vendor_name = "Emagic",
2343 /* .product_name = "AMT8", */
2345 .type = QUIRK_MIDI_EMAGIC,
2346 .data = & (const struct snd_usb_midi_endpoint_info) {
2347 .out_cables = 0x80ff,
2353 USB_DEVICE(0x086a, 0x0003),
2354 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2355 .vendor_name = "Emagic",
2356 /* .product_name = "MT4", */
2358 .type = QUIRK_MIDI_EMAGIC,
2359 .data = & (const struct snd_usb_midi_endpoint_info) {
2360 .out_cables = 0x800f,
2368 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2369 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2370 .vendor_name = "KORG, Inc.",
2371 /* .product_name = "PANDORA PX5D", */
2373 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2378 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2379 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2380 .vendor_name = "KORG, Inc.",
2381 /* .product_name = "ToneLab ST", */
2383 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2389 USB_DEVICE(0x09e8, 0x0062),
2390 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2391 .vendor_name = "AKAI",
2392 .product_name = "MPD16",
2394 .type = QUIRK_MIDI_AKAI,
2399 /* Akai MPC Element */
2400 USB_DEVICE(0x09e8, 0x0021),
2401 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2402 .ifnum = QUIRK_ANY_INTERFACE,
2403 .type = QUIRK_COMPOSITE,
2404 .data = & (const struct snd_usb_audio_quirk[]) {
2407 .type = QUIRK_IGNORE_INTERFACE
2411 .type = QUIRK_MIDI_STANDARD_INTERFACE
2420 /* Steinberg devices */
2423 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
2424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2425 .ifnum = QUIRK_ANY_INTERFACE,
2426 .type = QUIRK_COMPOSITE,
2427 .data = & (const struct snd_usb_audio_quirk[]) {
2430 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2434 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2438 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2442 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2443 .data = &(const struct snd_usb_midi_endpoint_info) {
2444 .out_cables = 0x0001,
2456 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
2457 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2458 .ifnum = QUIRK_ANY_INTERFACE,
2459 .type = QUIRK_COMPOSITE,
2460 .data = & (const struct snd_usb_audio_quirk[]) {
2463 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2467 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2471 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2475 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2476 .data = &(const struct snd_usb_midi_endpoint_info) {
2477 .out_cables = 0x0001,
2488 /* TerraTec devices */
2490 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2491 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2492 .vendor_name = "TerraTec",
2493 .product_name = "PHASE 26",
2495 .type = QUIRK_MIDI_STANDARD_INTERFACE
2499 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2500 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2501 .vendor_name = "TerraTec",
2502 .product_name = "PHASE 26",
2504 .type = QUIRK_MIDI_STANDARD_INTERFACE
2508 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2509 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2510 .vendor_name = "TerraTec",
2511 .product_name = "PHASE 26",
2513 .type = QUIRK_MIDI_STANDARD_INTERFACE
2517 USB_DEVICE(0x0ccd, 0x0035),
2518 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2519 .vendor_name = "Miditech",
2520 .product_name = "Play'n Roll",
2522 .type = QUIRK_MIDI_CME
2526 /* Novation EMS devices */
2528 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2529 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2530 .vendor_name = "Novation",
2531 .product_name = "ReMOTE Audio/XStation",
2533 .type = QUIRK_MIDI_NOVATION
2537 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2538 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2539 .vendor_name = "Novation",
2540 .product_name = "Speedio",
2542 .type = QUIRK_MIDI_NOVATION
2546 USB_DEVICE(0x1235, 0x000a),
2547 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2548 /* .vendor_name = "Novation", */
2549 /* .product_name = "Nocturn", */
2551 .type = QUIRK_MIDI_RAW_BYTES
2555 USB_DEVICE(0x1235, 0x000e),
2556 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2557 /* .vendor_name = "Novation", */
2558 /* .product_name = "Launchpad", */
2560 .type = QUIRK_MIDI_RAW_BYTES
2564 USB_DEVICE(0x1235, 0x0010),
2565 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2566 .vendor_name = "Focusrite",
2567 .product_name = "Saffire 6 USB",
2568 .ifnum = QUIRK_ANY_INTERFACE,
2569 .type = QUIRK_COMPOSITE,
2570 .data = (const struct snd_usb_audio_quirk[]) {
2573 .type = QUIRK_AUDIO_STANDARD_MIXER,
2577 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2578 .data = &(const struct audioformat) {
2579 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2584 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2586 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2588 .maxpacksize = 0x024c,
2589 .rates = SNDRV_PCM_RATE_44100 |
2590 SNDRV_PCM_RATE_48000,
2594 .rate_table = (unsigned int[]) {
2601 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2602 .data = &(const struct audioformat) {
2603 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2610 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2612 .maxpacksize = 0x0126,
2613 .rates = SNDRV_PCM_RATE_44100 |
2614 SNDRV_PCM_RATE_48000,
2618 .rate_table = (unsigned int[]) {
2625 .type = QUIRK_MIDI_RAW_BYTES
2634 USB_DEVICE(0x1235, 0x0018),
2635 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2636 .vendor_name = "Novation",
2637 .product_name = "Twitch",
2638 .ifnum = QUIRK_ANY_INTERFACE,
2639 .type = QUIRK_COMPOSITE,
2640 .data = (const struct snd_usb_audio_quirk[]) {
2643 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2644 .data = & (const struct audioformat) {
2645 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2650 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2652 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2653 .rates = SNDRV_PCM_RATE_44100 |
2654 SNDRV_PCM_RATE_48000,
2658 .rate_table = (unsigned int[]) {
2665 .type = QUIRK_MIDI_RAW_BYTES
2674 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2675 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2676 .vendor_name = "Novation",
2677 .product_name = "ReMOTE25",
2679 .type = QUIRK_MIDI_NOVATION
2683 /* Access Music devices */
2685 /* VirusTI Desktop */
2686 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2687 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2688 .ifnum = QUIRK_ANY_INTERFACE,
2689 .type = QUIRK_COMPOSITE,
2690 .data = &(const struct snd_usb_audio_quirk[]) {
2693 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2694 .data = &(const struct snd_usb_midi_endpoint_info) {
2695 .out_cables = 0x0003,
2701 .type = QUIRK_IGNORE_INTERFACE
2710 /* Native Instruments MK2 series */
2712 /* Komplete Audio 6 */
2713 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2715 .idProduct = 0x1000,
2718 /* Traktor Audio 6 */
2719 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2721 .idProduct = 0x1010,
2724 /* Traktor Audio 10 */
2725 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2727 .idProduct = 0x1020,
2730 /* QinHeng devices */
2732 USB_DEVICE(0x1a86, 0x752d),
2733 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2734 .vendor_name = "QinHeng",
2735 .product_name = "CH345",
2737 .type = QUIRK_MIDI_CH345
2741 /* KeithMcMillen Stringport */
2742 { USB_AUDIO_CLASS(0x1f38, 0x0001) },
2744 /* Miditech devices */
2746 USB_DEVICE(0x4752, 0x0011),
2747 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2748 .vendor_name = "Miditech",
2749 .product_name = "Midistart-2",
2751 .type = QUIRK_MIDI_CME
2755 /* Central Music devices */
2757 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2758 USB_DEVICE(0x7104, 0x2202),
2759 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2761 .type = QUIRK_MIDI_CME
2766 * Auvitek au0828 devices with audio interface.
2767 * This should be kept in sync with drivers/media/usb/au0828/au0828-cards.c
2768 * Please notice that some drivers are DVB only, and don't need to be
2769 * here. That's the case, for example, of DVICO_FUSIONHDTV7.
2772 #define AU0828_DEVICE(vid, pid, vname, pname) { \
2773 USB_AUDIO_DEVICE(vid, pid), \
2774 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { \
2775 .vendor_name = vname, \
2776 .product_name = pname, \
2777 .ifnum = QUIRK_ANY_INTERFACE, \
2778 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2779 .shares_media_device = 1, \
2783 AU0828_DEVICE(0x2040, 0x7200, "Hauppauge", "HVR-950Q"),
2784 AU0828_DEVICE(0x2040, 0x7240, "Hauppauge", "HVR-850"),
2785 AU0828_DEVICE(0x2040, 0x7210, "Hauppauge", "HVR-950Q"),
2786 AU0828_DEVICE(0x2040, 0x7217, "Hauppauge", "HVR-950Q"),
2787 AU0828_DEVICE(0x2040, 0x721b, "Hauppauge", "HVR-950Q"),
2788 AU0828_DEVICE(0x2040, 0x721e, "Hauppauge", "HVR-950Q"),
2789 AU0828_DEVICE(0x2040, 0x721f, "Hauppauge", "HVR-950Q"),
2790 AU0828_DEVICE(0x2040, 0x7280, "Hauppauge", "HVR-950Q"),
2791 AU0828_DEVICE(0x0fd9, 0x0008, "Hauppauge", "HVR-950Q"),
2792 AU0828_DEVICE(0x2040, 0x7201, "Hauppauge", "HVR-950Q-MXL"),
2793 AU0828_DEVICE(0x2040, 0x7211, "Hauppauge", "HVR-950Q-MXL"),
2794 AU0828_DEVICE(0x2040, 0x7281, "Hauppauge", "HVR-950Q-MXL"),
2795 AU0828_DEVICE(0x05e1, 0x0480, "Hauppauge", "Woodbury"),
2796 AU0828_DEVICE(0x2040, 0x8200, "Hauppauge", "Woodbury"),
2797 AU0828_DEVICE(0x2040, 0x7260, "Hauppauge", "HVR-950Q"),
2798 AU0828_DEVICE(0x2040, 0x7213, "Hauppauge", "HVR-950Q"),
2799 AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
2801 /* Syntek STK1160 */
2803 USB_AUDIO_DEVICE(0x05e1, 0x0408),
2804 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2805 .vendor_name = "Syntek",
2806 .product_name = "STK1160",
2807 .ifnum = QUIRK_ANY_INTERFACE,
2808 .type = QUIRK_AUDIO_ALIGN_TRANSFER
2812 /* Digidesign Mbox */
2814 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2815 USB_DEVICE(0x0dba, 0x1000),
2816 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2817 .vendor_name = "Digidesign",
2818 .product_name = "MBox",
2819 .ifnum = QUIRK_ANY_INTERFACE,
2820 .type = QUIRK_COMPOSITE,
2821 .data = (const struct snd_usb_audio_quirk[]){
2824 .type = QUIRK_AUDIO_STANDARD_MIXER,
2828 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2829 .data = &(const struct audioformat) {
2830 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2837 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2838 USB_ENDPOINT_SYNC_SYNC,
2839 .maxpacksize = 0x130,
2840 .rates = SNDRV_PCM_RATE_48000,
2844 .rate_table = (unsigned int[]) {
2851 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2852 .data = &(const struct audioformat) {
2853 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2860 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2861 USB_ENDPOINT_SYNC_ASYNC,
2862 .maxpacksize = 0x130,
2863 .rates = SNDRV_PCM_RATE_48000,
2867 .rate_table = (unsigned int[]) {
2879 /* DIGIDESIGN MBOX 2 */
2881 USB_DEVICE(0x0dba, 0x3000),
2882 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2883 .vendor_name = "Digidesign",
2884 .product_name = "Mbox 2",
2885 .ifnum = QUIRK_ANY_INTERFACE,
2886 .type = QUIRK_COMPOSITE,
2887 .data = (const struct snd_usb_audio_quirk[]) {
2890 .type = QUIRK_IGNORE_INTERFACE
2894 .type = QUIRK_IGNORE_INTERFACE
2898 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2899 .data = &(const struct audioformat) {
2900 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2907 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2908 .rates = SNDRV_PCM_RATE_48000,
2912 .rate_table = (unsigned int[]) {
2919 .type = QUIRK_IGNORE_INTERFACE
2923 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2924 .data = &(const struct audioformat) {
2925 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2930 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2932 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2933 .rates = SNDRV_PCM_RATE_48000,
2937 .rate_table = (unsigned int[]) {
2944 .type = QUIRK_IGNORE_INTERFACE
2948 .type = QUIRK_MIDI_MIDIMAN,
2949 .data = &(const struct snd_usb_midi_endpoint_info) {
2951 .out_cables = 0x0001,
2953 .in_interval = 0x01,
2964 /* Tascam US122 MKII - playback-only support */
2965 USB_AUDIO_CLASS(0x0644, 0x8021),
2966 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2967 .vendor_name = "TASCAM",
2968 .product_name = "US122 MKII",
2969 .ifnum = QUIRK_ANY_INTERFACE,
2970 .type = QUIRK_COMPOSITE,
2971 .data = (const struct snd_usb_audio_quirk[]) {
2974 .type = QUIRK_IGNORE_INTERFACE
2978 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2979 .data = &(const struct audioformat) {
2980 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2985 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2987 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2988 .rates = SNDRV_PCM_RATE_44100 |
2989 SNDRV_PCM_RATE_48000 |
2990 SNDRV_PCM_RATE_88200 |
2991 SNDRV_PCM_RATE_96000,
2995 .rate_table = (unsigned int[]) {
2996 44100, 48000, 88200, 96000
3007 /* Microsoft XboxLive Headset/Xbox Communicator */
3009 USB_DEVICE(0x045e, 0x0283),
3010 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3011 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3012 .vendor_name = "Microsoft",
3013 .product_name = "XboxLive Headset/Xbox Communicator",
3014 .ifnum = QUIRK_ANY_INTERFACE,
3015 .type = QUIRK_COMPOSITE,
3016 .data = &(const struct snd_usb_audio_quirk[]) {
3020 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3021 .data = &(const struct audioformat) {
3022 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3030 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3038 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3039 .data = &(const struct audioformat) {
3040 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3048 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3062 USB_DEVICE(0x200c, 0x100b),
3063 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3064 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3065 .ifnum = QUIRK_ANY_INTERFACE,
3066 .type = QUIRK_COMPOSITE,
3067 .data = &(const struct snd_usb_audio_quirk[]) {
3070 .type = QUIRK_AUDIO_STANDARD_MIXER,
3074 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3075 .data = &(const struct audioformat) {
3076 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3081 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3083 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3084 .rates = SNDRV_PCM_RATE_44100 |
3085 SNDRV_PCM_RATE_48000,
3089 .rate_table = (unsigned int[]) {
3103 * ZOOM R16/24 in audio interface mode.
3104 * Playback requires an extra four byte LE length indicator
3105 * at the start of each isochronous packet. This quirk is
3106 * enabled in create_standard_audio_quirk().
3108 USB_DEVICE(0x1686, 0x00dd),
3109 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3110 .ifnum = QUIRK_ANY_INTERFACE,
3111 .type = QUIRK_COMPOSITE,
3112 .data = (const struct snd_usb_audio_quirk[]) {
3116 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3121 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3126 .type = QUIRK_MIDI_STANDARD_INTERFACE
3137 * Some USB MIDI devices don't have an audio control interface,
3138 * so we have to grab MIDI streaming interfaces here.
3140 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3141 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3142 .bInterfaceClass = USB_CLASS_AUDIO,
3143 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3144 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3145 .ifnum = QUIRK_ANY_INTERFACE,
3146 .type = QUIRK_MIDI_STANDARD_INTERFACE
3150 /* disabled due to regression for other devices;
3151 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3156 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3157 * ID, but it looks like the product ID actually is only for Nura.
3158 * The capture interface does not work at all (even on Windows),
3159 * and only the 48 kHz sample rate works for the playback interface.
3161 USB_DEVICE(0x0a12, 0x1243),
3162 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3163 .ifnum = QUIRK_ANY_INTERFACE,
3164 .type = QUIRK_COMPOSITE,
3165 .data = (const struct snd_usb_audio_quirk[]) {
3168 .type = QUIRK_AUDIO_STANDARD_MIXER,
3173 .type = QUIRK_IGNORE_INTERFACE,
3178 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3179 .data = &(const struct audioformat) {
3180 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3185 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3186 UAC_EP_CS_ATTR_SAMPLE_RATE,
3188 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3189 .rates = SNDRV_PCM_RATE_48000,
3193 .rate_table = (unsigned int[]) {
3204 #endif /* disabled */
3208 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3209 * even though it advertises more. The capture interface doesn't work
3212 USB_DEVICE(0x19b5, 0x0021),
3213 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3214 .ifnum = QUIRK_ANY_INTERFACE,
3215 .type = QUIRK_COMPOSITE,
3216 .data = (const struct snd_usb_audio_quirk[]) {
3219 .type = QUIRK_AUDIO_STANDARD_MIXER,
3224 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3225 .data = &(const struct audioformat) {
3226 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3231 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3232 UAC_EP_CS_ATTR_SAMPLE_RATE,
3234 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3235 .rates = SNDRV_PCM_RATE_48000,
3239 .rate_table = (unsigned int[]) {
3250 /* Dell WD19 Dock */
3252 USB_DEVICE(0x0bda, 0x402e),
3253 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3254 .ifnum = QUIRK_ANY_INTERFACE,
3255 .type = QUIRK_SETUP_FMT_AFTER_RESUME
3258 /* MOTU Microbook II */
3260 USB_DEVICE_VENDOR_SPEC(0x07fd, 0x0004),
3261 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3262 .vendor_name = "MOTU",
3263 .product_name = "MicroBookII",
3264 .ifnum = QUIRK_ANY_INTERFACE,
3265 .type = QUIRK_COMPOSITE,
3266 .data = (const struct snd_usb_audio_quirk[]) {
3269 .type = QUIRK_AUDIO_STANDARD_MIXER,
3273 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3274 .data = &(const struct audioformat) {
3275 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3282 .rates = SNDRV_PCM_RATE_96000,
3283 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3284 USB_ENDPOINT_SYNC_ASYNC,
3288 .maxpacksize = 0x00d8,
3289 .rate_table = (unsigned int[]) {
3296 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3297 .data = &(const struct audioformat) {
3298 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3305 .rates = SNDRV_PCM_RATE_96000,
3306 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3307 USB_ENDPOINT_SYNC_ASYNC,
3311 .maxpacksize = 0x0120,
3312 .rate_table = (unsigned int[]) {
3325 * PIONEER DJ DDJ-SX3
3326 * PCM is 12 channels out, 10 channels in @ 44.1 fixed
3327 * interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
3328 * The feedback for the output is the input.
3330 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
3331 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3332 .ifnum = QUIRK_ANY_INTERFACE,
3333 .type = QUIRK_COMPOSITE,
3334 .data = (const struct snd_usb_audio_quirk[]) {
3337 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3338 .data = &(const struct audioformat) {
3339 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3345 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3346 USB_ENDPOINT_SYNC_ASYNC,
3347 .rates = SNDRV_PCM_RATE_44100,
3351 .rate_table = (unsigned int[]) { 44100 }
3356 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3357 .data = &(const struct audioformat) {
3358 .formats = SNDRV_PCM_FMTBIT_S32_LE,
3364 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3365 USB_ENDPOINT_SYNC_ASYNC|
3366 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3367 .rates = SNDRV_PCM_RATE_44100,
3371 .rate_table = (unsigned int[]) { 44100 }
3382 * Pioneer DJ DJM-250MK2
3383 * PCM is 8 channels out @ 48 fixed (endpoints 0x01).
3384 * The output from computer to the mixer is usable.
3386 * The input (phono or line to computer) is not working.
3387 * It should be at endpoint 0x82 and probably also 8 channels,
3388 * but it seems that it works only with Pioneer proprietary software.
3389 * Even on officially supported OS, the Audacity was unable to record
3390 * and Mixxx to recognize the control vinyls.
3392 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0017),
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_FIXED_ENDPOINT,
3400 .data = &(const struct audioformat) {
3401 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3402 .channels = 8, // outputs
3407 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3408 USB_ENDPOINT_SYNC_ASYNC,
3409 .rates = SNDRV_PCM_RATE_48000,
3413 .rate_table = (unsigned int[]) { 48000 }
3425 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3426 * The feedback for the output is the dummy input.
3428 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3429 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3430 .ifnum = QUIRK_ANY_INTERFACE,
3431 .type = QUIRK_COMPOSITE,
3432 .data = (const struct snd_usb_audio_quirk[]) {
3435 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3436 .data = &(const struct audioformat) {
3437 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3443 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3444 USB_ENDPOINT_SYNC_ASYNC,
3445 .rates = SNDRV_PCM_RATE_44100,
3449 .rate_table = (unsigned int[]) { 44100 }
3454 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3455 .data = &(const struct audioformat) {
3456 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3462 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3463 USB_ENDPOINT_SYNC_ASYNC|
3464 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3465 .rates = SNDRV_PCM_RATE_44100,
3469 .rate_table = (unsigned int[]) { 44100 }
3481 * Pioneer DJ DJM-900NXS2
3482 * 10 channels playback & 12 channels capture @ 44.1/48/96kHz S24LE
3484 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000a),
3485 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3486 .ifnum = QUIRK_ANY_INTERFACE,
3487 .type = QUIRK_COMPOSITE,
3488 .data = (const struct snd_usb_audio_quirk[]) {
3491 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3492 .data = &(const struct audioformat) {
3493 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3499 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3500 USB_ENDPOINT_SYNC_ASYNC,
3501 .rates = SNDRV_PCM_RATE_44100|
3502 SNDRV_PCM_RATE_48000|
3503 SNDRV_PCM_RATE_96000,
3507 .rate_table = (unsigned int[]) {
3514 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3515 .data = &(const struct audioformat) {
3516 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3522 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3523 USB_ENDPOINT_SYNC_ASYNC|
3524 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3525 .rates = SNDRV_PCM_RATE_44100|
3526 SNDRV_PCM_RATE_48000|
3527 SNDRV_PCM_RATE_96000,
3531 .rate_table = (unsigned int[]) {
3544 * MacroSilicon MS2109 based HDMI capture cards
3546 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3547 * They also need QUIRK_AUDIO_ALIGN_TRANSFER, which makes one wonder if
3548 * they pretend to be 96kHz mono as a workaround for stereo being broken
3551 * They also have an issue with initial stream alignment that causes the
3552 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3555 USB_AUDIO_DEVICE(0x534d, 0x2109),
3556 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3557 .vendor_name = "MacroSilicon",
3558 .product_name = "MS2109",
3559 .ifnum = QUIRK_ANY_INTERFACE,
3560 .type = QUIRK_COMPOSITE,
3561 .data = &(const struct snd_usb_audio_quirk[]) {
3564 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
3568 .type = QUIRK_AUDIO_STANDARD_MIXER,
3572 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3573 .data = &(const struct audioformat) {
3574 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3581 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3582 USB_ENDPOINT_SYNC_ASYNC,
3583 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3595 #undef USB_DEVICE_VENDOR_SPEC
3596 #undef USB_AUDIO_DEVICE
3597 #undef USB_AUDIO_CLASS