2 * ALSA USB Audio Driver
4 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
5 * Clemens Ladisch <clemens@ladisch.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * The contents of this file are part of the driver's id_table.
26 * In a perfect world, this file would be empty.
30 * Use this for devices where other interfaces are standard compliant,
31 * to prevent the quirk being applied to those interfaces. (To work with
32 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
34 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
35 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
36 USB_DEVICE_ID_MATCH_PRODUCT | \
37 USB_DEVICE_ID_MATCH_INT_CLASS, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
44 USB_DEVICE(0x0403, 0xb8d8),
45 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
46 /* .vendor_name = "STARR LABS", */
47 /* .product_name = "Starr Labs MIDI USB device", */
49 .type = QUIRK_MIDI_FTDI
53 /* Creative/Toshiba Multimedia Center SB-0500 */
55 USB_DEVICE(0x041e, 0x3048),
56 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
57 .vendor_name = "Toshiba",
58 .product_name = "SB-0500",
59 .ifnum = QUIRK_NO_INTERFACE
63 /* Creative/E-Mu devices */
65 USB_DEVICE(0x041e, 0x3010),
66 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
67 .vendor_name = "Creative Labs",
68 .product_name = "Sound Blaster MP3+",
69 .ifnum = QUIRK_NO_INTERFACE
74 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
77 .bInterfaceClass = USB_CLASS_AUDIO,
81 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
84 .bInterfaceClass = USB_CLASS_AUDIO,
87 /* E-Mu Tracker Pre */
88 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
91 .bInterfaceClass = USB_CLASS_AUDIO,
95 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
98 .bInterfaceClass = USB_CLASS_AUDIO,
103 * When not ignored, causes instability issues for some users, forcing them to
104 * blacklist the entire module.
107 USB_DEVICE(0x0424, 0xb832),
108 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
109 .vendor_name = "Standard Microsystems Corp.",
110 .product_name = "HP Wireless Audio",
111 .ifnum = QUIRK_ANY_INTERFACE,
112 .type = QUIRK_COMPOSITE,
113 .data = (const struct snd_usb_audio_quirk[]) {
117 .type = QUIRK_IGNORE_INTERFACE,
122 .type = QUIRK_IGNORE_INTERFACE,
127 .type = QUIRK_IGNORE_INTERFACE,
129 /* HID Device, .ifnum = 3 */
138 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
139 * class matches do not take effect without an explicit ID match.
142 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
143 USB_DEVICE_ID_MATCH_INT_CLASS |
144 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
147 .bInterfaceClass = USB_CLASS_AUDIO,
148 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
151 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
152 USB_DEVICE_ID_MATCH_INT_CLASS |
153 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
156 .bInterfaceClass = USB_CLASS_AUDIO,
157 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
160 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
161 USB_DEVICE_ID_MATCH_INT_CLASS |
162 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
165 .bInterfaceClass = USB_CLASS_AUDIO,
166 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
169 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
170 USB_DEVICE_ID_MATCH_INT_CLASS |
171 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
174 .bInterfaceClass = USB_CLASS_AUDIO,
175 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
178 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
179 USB_DEVICE_ID_MATCH_INT_CLASS |
180 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
183 .bInterfaceClass = USB_CLASS_AUDIO,
184 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
187 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
188 USB_DEVICE_ID_MATCH_INT_CLASS |
189 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
192 .bInterfaceClass = USB_CLASS_AUDIO,
193 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
196 USB_DEVICE(0x046d, 0x0990),
197 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
198 .vendor_name = "Logitech, Inc.",
199 .product_name = "QuickCam Pro 9000",
200 .ifnum = QUIRK_NO_INTERFACE
208 #define YAMAHA_DEVICE(id, name) { \
209 USB_DEVICE(0x0499, id), \
210 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
211 .vendor_name = "Yamaha", \
212 .product_name = name, \
213 .ifnum = QUIRK_ANY_INTERFACE, \
214 .type = QUIRK_MIDI_YAMAHA \
217 #define YAMAHA_INTERFACE(id, intf, name) { \
218 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
219 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
220 .vendor_name = "Yamaha", \
221 .product_name = name, \
223 .type = QUIRK_MIDI_YAMAHA \
226 YAMAHA_DEVICE(0x1000, "UX256"),
227 YAMAHA_DEVICE(0x1001, "MU1000"),
228 YAMAHA_DEVICE(0x1002, "MU2000"),
229 YAMAHA_DEVICE(0x1003, "MU500"),
230 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
231 YAMAHA_DEVICE(0x1005, "MOTIF6"),
232 YAMAHA_DEVICE(0x1006, "MOTIF7"),
233 YAMAHA_DEVICE(0x1007, "MOTIF8"),
234 YAMAHA_DEVICE(0x1008, "UX96"),
235 YAMAHA_DEVICE(0x1009, "UX16"),
236 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
237 YAMAHA_DEVICE(0x100c, "UC-MX"),
238 YAMAHA_DEVICE(0x100d, "UC-KX"),
239 YAMAHA_DEVICE(0x100e, "S08"),
240 YAMAHA_DEVICE(0x100f, "CLP-150"),
241 YAMAHA_DEVICE(0x1010, "CLP-170"),
242 YAMAHA_DEVICE(0x1011, "P-250"),
243 YAMAHA_DEVICE(0x1012, "TYROS"),
244 YAMAHA_DEVICE(0x1013, "PF-500"),
245 YAMAHA_DEVICE(0x1014, "S90"),
246 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
247 YAMAHA_DEVICE(0x1016, "MDP-5"),
248 YAMAHA_DEVICE(0x1017, "CVP-204"),
249 YAMAHA_DEVICE(0x1018, "CVP-206"),
250 YAMAHA_DEVICE(0x1019, "CVP-208"),
251 YAMAHA_DEVICE(0x101a, "CVP-210"),
252 YAMAHA_DEVICE(0x101b, "PSR-1100"),
253 YAMAHA_DEVICE(0x101c, "PSR-2100"),
254 YAMAHA_DEVICE(0x101d, "CLP-175"),
255 YAMAHA_DEVICE(0x101e, "PSR-K1"),
256 YAMAHA_DEVICE(0x101f, "EZ-J24"),
257 YAMAHA_DEVICE(0x1020, "EZ-250i"),
258 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
259 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
260 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
261 YAMAHA_DEVICE(0x1024, "CVP-301"),
262 YAMAHA_DEVICE(0x1025, "CVP-303"),
263 YAMAHA_DEVICE(0x1026, "CVP-305"),
264 YAMAHA_DEVICE(0x1027, "CVP-307"),
265 YAMAHA_DEVICE(0x1028, "CVP-309"),
266 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
267 YAMAHA_DEVICE(0x102a, "PSR-1500"),
268 YAMAHA_DEVICE(0x102b, "PSR-3000"),
269 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
270 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
271 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
272 YAMAHA_DEVICE(0x1032, "DGX-305"),
273 YAMAHA_DEVICE(0x1033, "DGX-505"),
274 YAMAHA_DEVICE(0x1034, NULL),
275 YAMAHA_DEVICE(0x1035, NULL),
276 YAMAHA_DEVICE(0x1036, NULL),
277 YAMAHA_DEVICE(0x1037, NULL),
278 YAMAHA_DEVICE(0x1038, NULL),
279 YAMAHA_DEVICE(0x1039, NULL),
280 YAMAHA_DEVICE(0x103a, NULL),
281 YAMAHA_DEVICE(0x103b, NULL),
282 YAMAHA_DEVICE(0x103c, NULL),
283 YAMAHA_DEVICE(0x103d, NULL),
284 YAMAHA_DEVICE(0x103e, NULL),
285 YAMAHA_DEVICE(0x103f, NULL),
286 YAMAHA_DEVICE(0x1040, NULL),
287 YAMAHA_DEVICE(0x1041, NULL),
288 YAMAHA_DEVICE(0x1042, NULL),
289 YAMAHA_DEVICE(0x1043, NULL),
290 YAMAHA_DEVICE(0x1044, NULL),
291 YAMAHA_DEVICE(0x1045, NULL),
292 YAMAHA_INTERFACE(0x104e, 0, NULL),
293 YAMAHA_DEVICE(0x104f, NULL),
294 YAMAHA_DEVICE(0x1050, NULL),
295 YAMAHA_DEVICE(0x1051, NULL),
296 YAMAHA_DEVICE(0x1052, NULL),
297 YAMAHA_INTERFACE(0x1053, 0, NULL),
298 YAMAHA_INTERFACE(0x1054, 0, NULL),
299 YAMAHA_DEVICE(0x1055, NULL),
300 YAMAHA_DEVICE(0x1056, NULL),
301 YAMAHA_DEVICE(0x1057, NULL),
302 YAMAHA_DEVICE(0x1058, NULL),
303 YAMAHA_DEVICE(0x1059, NULL),
304 YAMAHA_DEVICE(0x105a, NULL),
305 YAMAHA_DEVICE(0x105b, NULL),
306 YAMAHA_DEVICE(0x105c, NULL),
307 YAMAHA_DEVICE(0x105d, NULL),
309 USB_DEVICE(0x0499, 0x1503),
310 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
311 /* .vendor_name = "Yamaha", */
312 /* .product_name = "MOX6/MOX8", */
313 .ifnum = QUIRK_ANY_INTERFACE,
314 .type = QUIRK_COMPOSITE,
315 .data = (const struct snd_usb_audio_quirk[]) {
318 .type = QUIRK_AUDIO_STANDARD_INTERFACE
322 .type = QUIRK_AUDIO_STANDARD_INTERFACE
326 .type = QUIRK_MIDI_YAMAHA
334 YAMAHA_DEVICE(0x2000, "DGP-7"),
335 YAMAHA_DEVICE(0x2001, "DGP-5"),
336 YAMAHA_DEVICE(0x2002, NULL),
337 YAMAHA_DEVICE(0x2003, NULL),
338 YAMAHA_DEVICE(0x5000, "CS1D"),
339 YAMAHA_DEVICE(0x5001, "DSP1D"),
340 YAMAHA_DEVICE(0x5002, "DME32"),
341 YAMAHA_DEVICE(0x5003, "DM2000"),
342 YAMAHA_DEVICE(0x5004, "02R96"),
343 YAMAHA_DEVICE(0x5005, "ACU16-C"),
344 YAMAHA_DEVICE(0x5006, "NHB32-C"),
345 YAMAHA_DEVICE(0x5007, "DM1000"),
346 YAMAHA_DEVICE(0x5008, "01V96"),
347 YAMAHA_DEVICE(0x5009, "SPX2000"),
348 YAMAHA_DEVICE(0x500a, "PM5D"),
349 YAMAHA_DEVICE(0x500b, "DME64N"),
350 YAMAHA_DEVICE(0x500c, "DME24N"),
351 YAMAHA_DEVICE(0x500d, NULL),
352 YAMAHA_DEVICE(0x500e, NULL),
353 YAMAHA_DEVICE(0x500f, NULL),
354 YAMAHA_DEVICE(0x7000, "DTX"),
355 YAMAHA_DEVICE(0x7010, "UB99"),
357 #undef YAMAHA_INTERFACE
360 * Roland/RolandED/Edirol/BOSS devices
363 USB_DEVICE(0x0582, 0x0000),
364 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
365 .vendor_name = "Roland",
366 .product_name = "UA-100",
367 .ifnum = QUIRK_ANY_INTERFACE,
368 .type = QUIRK_COMPOSITE,
369 .data = (const struct snd_usb_audio_quirk[]) {
372 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
373 .data = & (const struct audioformat) {
374 .formats = SNDRV_PCM_FMTBIT_S16_LE,
382 .rates = SNDRV_PCM_RATE_CONTINUOUS,
389 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
390 .data = & (const struct audioformat) {
391 .formats = SNDRV_PCM_FMTBIT_S16_LE,
396 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
399 .rates = SNDRV_PCM_RATE_CONTINUOUS,
406 .type = QUIRK_MIDI_FIXED_ENDPOINT,
407 .data = & (const struct snd_usb_midi_endpoint_info) {
408 .out_cables = 0x0007,
419 USB_DEVICE(0x0582, 0x0002),
420 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
421 .vendor_name = "EDIROL",
422 .product_name = "UM-4",
423 .ifnum = QUIRK_ANY_INTERFACE,
424 .type = QUIRK_COMPOSITE,
425 .data = (const struct snd_usb_audio_quirk[]) {
428 .type = QUIRK_IGNORE_INTERFACE
432 .type = QUIRK_IGNORE_INTERFACE
436 .type = QUIRK_MIDI_FIXED_ENDPOINT,
437 .data = & (const struct snd_usb_midi_endpoint_info) {
438 .out_cables = 0x000f,
449 USB_DEVICE(0x0582, 0x0003),
450 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
451 .vendor_name = "Roland",
452 .product_name = "SC-8850",
453 .ifnum = QUIRK_ANY_INTERFACE,
454 .type = QUIRK_COMPOSITE,
455 .data = (const struct snd_usb_audio_quirk[]) {
458 .type = QUIRK_IGNORE_INTERFACE
462 .type = QUIRK_IGNORE_INTERFACE
466 .type = QUIRK_MIDI_FIXED_ENDPOINT,
467 .data = & (const struct snd_usb_midi_endpoint_info) {
468 .out_cables = 0x003f,
479 USB_DEVICE(0x0582, 0x0004),
480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
481 .vendor_name = "Roland",
482 .product_name = "U-8",
483 .ifnum = QUIRK_ANY_INTERFACE,
484 .type = QUIRK_COMPOSITE,
485 .data = (const struct snd_usb_audio_quirk[]) {
488 .type = QUIRK_IGNORE_INTERFACE
492 .type = QUIRK_IGNORE_INTERFACE
496 .type = QUIRK_MIDI_FIXED_ENDPOINT,
497 .data = & (const struct snd_usb_midi_endpoint_info) {
498 .out_cables = 0x0005,
509 /* Has ID 0x0099 when not in "Advanced Driver" mode.
510 * The UM-2EX has only one input, but we cannot detect this. */
511 USB_DEVICE(0x0582, 0x0005),
512 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
513 .vendor_name = "EDIROL",
514 .product_name = "UM-2",
515 .ifnum = QUIRK_ANY_INTERFACE,
516 .type = QUIRK_COMPOSITE,
517 .data = (const struct snd_usb_audio_quirk[]) {
520 .type = QUIRK_IGNORE_INTERFACE
524 .type = QUIRK_IGNORE_INTERFACE
528 .type = QUIRK_MIDI_FIXED_ENDPOINT,
529 .data = & (const struct snd_usb_midi_endpoint_info) {
530 .out_cables = 0x0003,
541 USB_DEVICE(0x0582, 0x0007),
542 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
543 .vendor_name = "Roland",
544 .product_name = "SC-8820",
545 .ifnum = QUIRK_ANY_INTERFACE,
546 .type = QUIRK_COMPOSITE,
547 .data = (const struct snd_usb_audio_quirk[]) {
550 .type = QUIRK_IGNORE_INTERFACE
554 .type = QUIRK_IGNORE_INTERFACE
558 .type = QUIRK_MIDI_FIXED_ENDPOINT,
559 .data = & (const struct snd_usb_midi_endpoint_info) {
560 .out_cables = 0x0013,
571 USB_DEVICE(0x0582, 0x0008),
572 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
573 .vendor_name = "Roland",
574 .product_name = "PC-300",
575 .ifnum = QUIRK_ANY_INTERFACE,
576 .type = QUIRK_COMPOSITE,
577 .data = (const struct snd_usb_audio_quirk[]) {
580 .type = QUIRK_IGNORE_INTERFACE
584 .type = QUIRK_IGNORE_INTERFACE
588 .type = QUIRK_MIDI_FIXED_ENDPOINT,
589 .data = & (const struct snd_usb_midi_endpoint_info) {
590 .out_cables = 0x0001,
601 /* has ID 0x009d when not in "Advanced Driver" mode */
602 USB_DEVICE(0x0582, 0x0009),
603 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
604 .vendor_name = "EDIROL",
605 .product_name = "UM-1",
606 .ifnum = QUIRK_ANY_INTERFACE,
607 .type = QUIRK_COMPOSITE,
608 .data = (const struct snd_usb_audio_quirk[]) {
611 .type = QUIRK_IGNORE_INTERFACE
615 .type = QUIRK_IGNORE_INTERFACE
619 .type = QUIRK_MIDI_FIXED_ENDPOINT,
620 .data = & (const struct snd_usb_midi_endpoint_info) {
621 .out_cables = 0x0001,
632 USB_DEVICE(0x0582, 0x000b),
633 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
634 .vendor_name = "Roland",
635 .product_name = "SK-500",
636 .ifnum = QUIRK_ANY_INTERFACE,
637 .type = QUIRK_COMPOSITE,
638 .data = (const struct snd_usb_audio_quirk[]) {
641 .type = QUIRK_IGNORE_INTERFACE
645 .type = QUIRK_IGNORE_INTERFACE
649 .type = QUIRK_MIDI_FIXED_ENDPOINT,
650 .data = & (const struct snd_usb_midi_endpoint_info) {
651 .out_cables = 0x0013,
662 /* thanks to Emiliano Grilli <emillo@libero.it>
663 * for helping researching this data */
664 USB_DEVICE(0x0582, 0x000c),
665 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
666 .vendor_name = "Roland",
667 .product_name = "SC-D70",
668 .ifnum = QUIRK_ANY_INTERFACE,
669 .type = QUIRK_COMPOSITE,
670 .data = (const struct snd_usb_audio_quirk[]) {
673 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
674 .data = & (const struct audioformat) {
675 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
683 .rates = SNDRV_PCM_RATE_CONTINUOUS,
690 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
691 .data = & (const struct audioformat) {
692 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
700 .rates = SNDRV_PCM_RATE_CONTINUOUS,
707 .type = QUIRK_MIDI_FIXED_ENDPOINT,
708 .data = & (const struct snd_usb_midi_endpoint_info) {
709 .out_cables = 0x0007,
720 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
721 * If the advanced mode switch at the back of the unit is off, the
722 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
723 * but offers only 16-bit PCM.
724 * In advanced mode, the UA-5 will output S24_3LE samples (two
725 * channels) at the rate indicated on the front switch, including
726 * the 96kHz sample rate.
728 USB_DEVICE(0x0582, 0x0010),
729 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
730 .vendor_name = "EDIROL",
731 .product_name = "UA-5",
732 .ifnum = QUIRK_ANY_INTERFACE,
733 .type = QUIRK_COMPOSITE,
734 .data = (const struct snd_usb_audio_quirk[]) {
737 .type = QUIRK_AUDIO_STANDARD_INTERFACE
741 .type = QUIRK_AUDIO_STANDARD_INTERFACE
750 /* has ID 0x0013 when not in "Advanced Driver" mode */
751 USB_DEVICE(0x0582, 0x0012),
752 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
753 .vendor_name = "Roland",
754 .product_name = "XV-5050",
756 .type = QUIRK_MIDI_FIXED_ENDPOINT,
757 .data = & (const struct snd_usb_midi_endpoint_info) {
758 .out_cables = 0x0001,
764 /* has ID 0x0015 when not in "Advanced Driver" mode */
765 USB_DEVICE(0x0582, 0x0014),
766 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
767 .vendor_name = "EDIROL",
768 .product_name = "UM-880",
770 .type = QUIRK_MIDI_FIXED_ENDPOINT,
771 .data = & (const struct snd_usb_midi_endpoint_info) {
772 .out_cables = 0x01ff,
778 /* has ID 0x0017 when not in "Advanced Driver" mode */
779 USB_DEVICE(0x0582, 0x0016),
780 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
781 .vendor_name = "EDIROL",
782 .product_name = "SD-90",
783 .ifnum = QUIRK_ANY_INTERFACE,
784 .type = QUIRK_COMPOSITE,
785 .data = (const struct snd_usb_audio_quirk[]) {
788 .type = QUIRK_AUDIO_STANDARD_INTERFACE
792 .type = QUIRK_AUDIO_STANDARD_INTERFACE
796 .type = QUIRK_MIDI_FIXED_ENDPOINT,
797 .data = & (const struct snd_usb_midi_endpoint_info) {
798 .out_cables = 0x000f,
809 /* has ID 0x001c when not in "Advanced Driver" mode */
810 USB_DEVICE(0x0582, 0x001b),
811 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
812 .vendor_name = "Roland",
813 .product_name = "MMP-2",
814 .ifnum = QUIRK_ANY_INTERFACE,
815 .type = QUIRK_COMPOSITE,
816 .data = (const struct snd_usb_audio_quirk[]) {
819 .type = QUIRK_IGNORE_INTERFACE
823 .type = QUIRK_IGNORE_INTERFACE
827 .type = QUIRK_MIDI_FIXED_ENDPOINT,
828 .data = & (const struct snd_usb_midi_endpoint_info) {
829 .out_cables = 0x0001,
840 /* has ID 0x001e when not in "Advanced Driver" mode */
841 USB_DEVICE(0x0582, 0x001d),
842 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
843 .vendor_name = "Roland",
844 .product_name = "V-SYNTH",
846 .type = QUIRK_MIDI_FIXED_ENDPOINT,
847 .data = & (const struct snd_usb_midi_endpoint_info) {
848 .out_cables = 0x0001,
854 /* has ID 0x0024 when not in "Advanced Driver" mode */
855 USB_DEVICE(0x0582, 0x0023),
856 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
857 .vendor_name = "EDIROL",
858 .product_name = "UM-550",
860 .type = QUIRK_MIDI_FIXED_ENDPOINT,
861 .data = & (const struct snd_usb_midi_endpoint_info) {
862 .out_cables = 0x003f,
869 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
870 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
873 USB_DEVICE(0x0582, 0x0025),
874 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
875 .vendor_name = "EDIROL",
876 .product_name = "UA-20",
877 .ifnum = QUIRK_ANY_INTERFACE,
878 .type = QUIRK_COMPOSITE,
879 .data = (const struct snd_usb_audio_quirk[]) {
882 .type = QUIRK_IGNORE_INTERFACE
886 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
887 .data = & (const struct audioformat) {
888 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
896 .rates = SNDRV_PCM_RATE_CONTINUOUS,
903 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
904 .data = & (const struct audioformat) {
905 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
913 .rates = SNDRV_PCM_RATE_CONTINUOUS,
920 .type = QUIRK_MIDI_FIXED_ENDPOINT,
921 .data = & (const struct snd_usb_midi_endpoint_info) {
922 .out_cables = 0x0001,
933 /* has ID 0x0028 when not in "Advanced Driver" mode */
934 USB_DEVICE(0x0582, 0x0027),
935 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
936 .vendor_name = "EDIROL",
937 .product_name = "SD-20",
939 .type = QUIRK_MIDI_FIXED_ENDPOINT,
940 .data = & (const struct snd_usb_midi_endpoint_info) {
941 .out_cables = 0x0003,
947 /* has ID 0x002a when not in "Advanced Driver" mode */
948 USB_DEVICE(0x0582, 0x0029),
949 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
950 .vendor_name = "EDIROL",
951 .product_name = "SD-80",
953 .type = QUIRK_MIDI_FIXED_ENDPOINT,
954 .data = & (const struct snd_usb_midi_endpoint_info) {
955 .out_cables = 0x000f,
961 * This quirk is for the "Advanced" modes of the Edirol UA-700.
962 * If the sample format switch is not in an advanced setting, the
963 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
964 * but offers only 16-bit PCM and no MIDI.
966 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
967 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
968 .vendor_name = "EDIROL",
969 .product_name = "UA-700",
970 .ifnum = QUIRK_ANY_INTERFACE,
971 .type = QUIRK_COMPOSITE,
972 .data = (const struct snd_usb_audio_quirk[]) {
975 .type = QUIRK_AUDIO_EDIROL_UAXX
979 .type = QUIRK_AUDIO_EDIROL_UAXX
983 .type = QUIRK_AUDIO_EDIROL_UAXX
992 /* has ID 0x002e when not in "Advanced Driver" mode */
993 USB_DEVICE(0x0582, 0x002d),
994 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
995 .vendor_name = "Roland",
996 .product_name = "XV-2020",
998 .type = QUIRK_MIDI_FIXED_ENDPOINT,
999 .data = & (const struct snd_usb_midi_endpoint_info) {
1000 .out_cables = 0x0001,
1006 /* has ID 0x0030 when not in "Advanced Driver" mode */
1007 USB_DEVICE(0x0582, 0x002f),
1008 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1009 .vendor_name = "Roland",
1010 .product_name = "VariOS",
1012 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1013 .data = & (const struct snd_usb_midi_endpoint_info) {
1014 .out_cables = 0x0007,
1020 /* has ID 0x0034 when not in "Advanced Driver" mode */
1021 USB_DEVICE(0x0582, 0x0033),
1022 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1023 .vendor_name = "EDIROL",
1024 .product_name = "PCR",
1026 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1027 .data = & (const struct snd_usb_midi_endpoint_info) {
1028 .out_cables = 0x0003,
1033 /* TODO: add Roland M-1000 support */
1036 * Has ID 0x0038 when not in "Advanced Driver" mode;
1037 * later revisions use IDs 0x0054 and 0x00a2.
1039 USB_DEVICE(0x0582, 0x0037),
1040 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1041 .vendor_name = "Roland",
1042 .product_name = "Digital Piano",
1044 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1045 .data = & (const struct snd_usb_midi_endpoint_info) {
1046 .out_cables = 0x0001,
1053 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1054 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1057 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1058 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1059 .vendor_name = "BOSS",
1060 .product_name = "GS-10",
1061 .ifnum = QUIRK_ANY_INTERFACE,
1062 .type = QUIRK_COMPOSITE,
1063 .data = & (const struct snd_usb_audio_quirk[]) {
1066 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1070 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1074 .type = QUIRK_MIDI_STANDARD_INTERFACE
1083 /* has ID 0x0041 when not in "Advanced Driver" mode */
1084 USB_DEVICE(0x0582, 0x0040),
1085 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1086 .vendor_name = "Roland",
1087 .product_name = "GI-20",
1089 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1090 .data = & (const struct snd_usb_midi_endpoint_info) {
1091 .out_cables = 0x0001,
1097 /* has ID 0x0043 when not in "Advanced Driver" mode */
1098 USB_DEVICE(0x0582, 0x0042),
1099 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1100 .vendor_name = "Roland",
1101 .product_name = "RS-70",
1103 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1104 .data = & (const struct snd_usb_midi_endpoint_info) {
1105 .out_cables = 0x0001,
1111 /* has ID 0x0049 when not in "Advanced Driver" mode */
1112 USB_DEVICE(0x0582, 0x0047),
1113 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1114 /* .vendor_name = "EDIROL", */
1115 /* .product_name = "UR-80", */
1116 .ifnum = QUIRK_ANY_INTERFACE,
1117 .type = QUIRK_COMPOSITE,
1118 .data = (const struct snd_usb_audio_quirk[]) {
1119 /* in the 96 kHz modes, only interface 1 is there */
1122 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1126 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1135 /* has ID 0x004a when not in "Advanced Driver" mode */
1136 USB_DEVICE(0x0582, 0x0048),
1137 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1138 /* .vendor_name = "EDIROL", */
1139 /* .product_name = "UR-80", */
1141 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1142 .data = & (const struct snd_usb_midi_endpoint_info) {
1143 .out_cables = 0x0003,
1148 /* TODO: add Edirol M-100FX support */
1150 /* has ID 0x004e when not in "Advanced Driver" mode */
1151 USB_DEVICE(0x0582, 0x004c),
1152 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1153 .vendor_name = "EDIROL",
1154 .product_name = "PCR-A",
1155 .ifnum = QUIRK_ANY_INTERFACE,
1156 .type = QUIRK_COMPOSITE,
1157 .data = (const struct snd_usb_audio_quirk[]) {
1160 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1164 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1173 /* has ID 0x004f when not in "Advanced Driver" mode */
1174 USB_DEVICE(0x0582, 0x004d),
1175 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1176 .vendor_name = "EDIROL",
1177 .product_name = "PCR-A",
1179 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1180 .data = & (const struct snd_usb_midi_endpoint_info) {
1181 .out_cables = 0x0003,
1188 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1189 * is standard compliant, but has only 16-bit PCM.
1191 USB_DEVICE(0x0582, 0x0050),
1192 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1193 .vendor_name = "EDIROL",
1194 .product_name = "UA-3FX",
1195 .ifnum = QUIRK_ANY_INTERFACE,
1196 .type = QUIRK_COMPOSITE,
1197 .data = (const struct snd_usb_audio_quirk[]) {
1200 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1204 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1213 USB_DEVICE(0x0582, 0x0052),
1214 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1215 .vendor_name = "EDIROL",
1216 .product_name = "UM-1SX",
1218 .type = QUIRK_MIDI_STANDARD_INTERFACE
1222 USB_DEVICE(0x0582, 0x0060),
1223 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1224 .vendor_name = "Roland",
1225 .product_name = "EXR Series",
1227 .type = QUIRK_MIDI_STANDARD_INTERFACE
1231 /* has ID 0x0066 when not in "Advanced Driver" mode */
1232 USB_DEVICE(0x0582, 0x0064),
1233 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1234 /* .vendor_name = "EDIROL", */
1235 /* .product_name = "PCR-1", */
1236 .ifnum = QUIRK_ANY_INTERFACE,
1237 .type = QUIRK_COMPOSITE,
1238 .data = (const struct snd_usb_audio_quirk[]) {
1241 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1245 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1254 /* has ID 0x0067 when not in "Advanced Driver" mode */
1255 USB_DEVICE(0x0582, 0x0065),
1256 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1257 /* .vendor_name = "EDIROL", */
1258 /* .product_name = "PCR-1", */
1260 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1261 .data = & (const struct snd_usb_midi_endpoint_info) {
1262 .out_cables = 0x0001,
1268 /* has ID 0x006b when not in "Advanced Driver" mode */
1269 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1270 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1271 .vendor_name = "Roland",
1272 .product_name = "SP-606",
1274 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1275 .data = & (const struct snd_usb_midi_endpoint_info) {
1276 .out_cables = 0x0001,
1282 /* has ID 0x006e when not in "Advanced Driver" mode */
1283 USB_DEVICE(0x0582, 0x006d),
1284 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1285 .vendor_name = "Roland",
1286 .product_name = "FANTOM-X",
1288 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1289 .data = & (const struct snd_usb_midi_endpoint_info) {
1290 .out_cables = 0x0001,
1296 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1297 * If the switch is not in an advanced setting, the UA-25 has
1298 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1299 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1301 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1302 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1303 .vendor_name = "EDIROL",
1304 .product_name = "UA-25",
1305 .ifnum = QUIRK_ANY_INTERFACE,
1306 .type = QUIRK_COMPOSITE,
1307 .data = (const struct snd_usb_audio_quirk[]) {
1310 .type = QUIRK_AUDIO_EDIROL_UAXX
1314 .type = QUIRK_AUDIO_EDIROL_UAXX
1318 .type = QUIRK_AUDIO_EDIROL_UAXX
1327 /* has ID 0x0076 when not in "Advanced Driver" mode */
1328 USB_DEVICE(0x0582, 0x0075),
1329 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1330 .vendor_name = "BOSS",
1331 .product_name = "DR-880",
1333 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1334 .data = & (const struct snd_usb_midi_endpoint_info) {
1335 .out_cables = 0x0001,
1341 /* has ID 0x007b when not in "Advanced Driver" mode */
1342 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1343 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1344 .vendor_name = "Roland",
1345 /* "RD" or "RD-700SX"? */
1347 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1348 .data = & (const struct snd_usb_midi_endpoint_info) {
1349 .out_cables = 0x0003,
1355 /* has ID 0x0081 when not in "Advanced Driver" mode */
1356 USB_DEVICE(0x0582, 0x0080),
1357 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1358 .vendor_name = "Roland",
1359 .product_name = "G-70",
1361 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1362 .data = & (const struct snd_usb_midi_endpoint_info) {
1363 .out_cables = 0x0001,
1368 /* TODO: add Roland V-SYNTH XT support */
1369 /* TODO: add BOSS GT-PRO support */
1371 /* has ID 0x008c when not in "Advanced Driver" mode */
1372 USB_DEVICE(0x0582, 0x008b),
1373 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1374 .vendor_name = "EDIROL",
1375 .product_name = "PC-50",
1377 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1378 .data = & (const struct snd_usb_midi_endpoint_info) {
1379 .out_cables = 0x0001,
1384 /* TODO: add Edirol PC-80 support */
1386 USB_DEVICE(0x0582, 0x0096),
1387 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1388 .vendor_name = "EDIROL",
1389 .product_name = "UA-1EX",
1390 .ifnum = QUIRK_ANY_INTERFACE,
1391 .type = QUIRK_COMPOSITE,
1392 .data = (const struct snd_usb_audio_quirk[]) {
1395 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1399 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1408 USB_DEVICE(0x0582, 0x009a),
1409 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1410 .vendor_name = "EDIROL",
1411 .product_name = "UM-3EX",
1413 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1414 .data = & (const struct snd_usb_midi_endpoint_info) {
1415 .out_cables = 0x000f,
1422 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1423 * is standard compliant, but has only 16-bit PCM and no MIDI.
1425 USB_DEVICE(0x0582, 0x00a3),
1426 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1427 .vendor_name = "EDIROL",
1428 .product_name = "UA-4FX",
1429 .ifnum = QUIRK_ANY_INTERFACE,
1430 .type = QUIRK_COMPOSITE,
1431 .data = (const struct snd_usb_audio_quirk[]) {
1434 .type = QUIRK_AUDIO_EDIROL_UAXX
1438 .type = QUIRK_AUDIO_EDIROL_UAXX
1442 .type = QUIRK_AUDIO_EDIROL_UAXX
1450 /* TODO: add Edirol MD-P1 support */
1452 USB_DEVICE(0x582, 0x00a6),
1453 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1454 .vendor_name = "Roland",
1455 .product_name = "Juno-G",
1457 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1458 .data = & (const struct snd_usb_midi_endpoint_info) {
1459 .out_cables = 0x0001,
1466 USB_DEVICE(0x0582, 0x00ad),
1467 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1468 .vendor_name = "Roland",
1469 .product_name = "SH-201",
1470 .ifnum = QUIRK_ANY_INTERFACE,
1471 .type = QUIRK_COMPOSITE,
1472 .data = (const struct snd_usb_audio_quirk[]) {
1475 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1479 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1483 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1484 .data = & (const struct snd_usb_midi_endpoint_info) {
1485 .out_cables = 0x0001,
1496 /* Advanced mode of the Roland VG-99, with MIDI and 24-bit PCM at 44.1
1497 * kHz. In standard mode, the device has ID 0582:00b3, and offers
1498 * 16-bit PCM at 44.1 kHz with no MIDI.
1500 USB_DEVICE(0x0582, 0x00b2),
1501 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1502 .vendor_name = "Roland",
1503 .product_name = "VG-99",
1504 .ifnum = QUIRK_ANY_INTERFACE,
1505 .type = QUIRK_COMPOSITE,
1506 .data = (const struct snd_usb_audio_quirk[]) {
1509 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1513 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1517 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1518 .data = & (const struct snd_usb_midi_endpoint_info) {
1519 .out_cables = 0x0003,
1530 /* Roland SonicCell */
1531 USB_DEVICE(0x0582, 0x00c2),
1532 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1533 .vendor_name = "Roland",
1534 .product_name = "SonicCell",
1535 .ifnum = QUIRK_ANY_INTERFACE,
1536 .type = QUIRK_COMPOSITE,
1537 .data = (const struct snd_usb_audio_quirk[]) {
1540 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1544 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1548 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1549 .data = & (const struct snd_usb_midi_endpoint_info) {
1550 .out_cables = 0x0001,
1562 /* FIXME: This quirk gives a good-working capture stream but the
1563 * playback seems problematic because of lacking of sync
1564 * with capture stream. It needs to sync with the capture
1565 * clock. As now, you'll get frequent sound distortions
1568 USB_DEVICE(0x0582, 0x00c4),
1569 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1570 .ifnum = QUIRK_ANY_INTERFACE,
1571 .type = QUIRK_COMPOSITE,
1572 .data = (const struct snd_usb_audio_quirk[]) {
1575 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1579 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1583 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1584 .data = & (const struct snd_usb_midi_endpoint_info) {
1585 .out_cables = 0x0001,
1597 USB_DEVICE(0x0582, 0x00da),
1598 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1599 .ifnum = QUIRK_ANY_INTERFACE,
1600 .type = QUIRK_COMPOSITE,
1601 .data = (const struct snd_usb_audio_quirk[]) {
1604 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1608 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1612 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1613 .data = & (const struct snd_usb_midi_endpoint_info) {
1614 .out_cables = 0x0001,
1625 /* Advanced modes of the Edirol UA-25EX.
1626 * For the standard mode, UA-25EX has ID 0582:00e7, which
1627 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1629 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1630 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1631 .vendor_name = "EDIROL",
1632 .product_name = "UA-25EX",
1633 .ifnum = QUIRK_ANY_INTERFACE,
1634 .type = QUIRK_COMPOSITE,
1635 .data = (const struct snd_usb_audio_quirk[]) {
1638 .type = QUIRK_AUDIO_EDIROL_UAXX
1642 .type = QUIRK_AUDIO_EDIROL_UAXX
1646 .type = QUIRK_AUDIO_EDIROL_UAXX
1655 /* has ID 0x00ea when not in Advanced Driver mode */
1656 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
1657 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1658 /* .vendor_name = "Roland", */
1659 /* .product_name = "UA-1G", */
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
1678 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0104),
1679 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1680 /* .vendor_name = "Roland", */
1681 /* .product_name = "UM-1G", */
1683 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1684 .data = & (const struct snd_usb_midi_endpoint_info) {
1685 .out_cables = 0x0001,
1692 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1695 .type = QUIRK_MIDI_STANDARD_INTERFACE
1699 /* Boss JS-8 Jam Station */
1700 USB_DEVICE(0x0582, 0x0109),
1701 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1702 /* .vendor_name = "BOSS", */
1703 /* .product_name = "JS-8", */
1704 .ifnum = QUIRK_ANY_INTERFACE,
1705 .type = QUIRK_COMPOSITE,
1706 .data = (const struct snd_usb_audio_quirk[]) {
1709 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1713 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1717 .type = QUIRK_MIDI_STANDARD_INTERFACE
1726 /* has ID 0x0110 when not in Advanced Driver mode */
1727 USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
1728 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1729 /* .vendor_name = "Roland", */
1730 /* .product_name = "A-PRO", */
1732 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1733 .data = & (const struct snd_usb_midi_endpoint_info) {
1734 .out_cables = 0x0003,
1740 /* Roland GAIA SH-01 */
1741 USB_DEVICE(0x0582, 0x0111),
1742 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1743 .vendor_name = "Roland",
1744 .product_name = "GAIA",
1745 .ifnum = QUIRK_ANY_INTERFACE,
1746 .type = QUIRK_COMPOSITE,
1747 .data = (const struct snd_usb_audio_quirk[]) {
1750 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1754 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1758 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1759 .data = &(const struct snd_usb_midi_endpoint_info) {
1760 .out_cables = 0x0003,
1771 USB_DEVICE(0x0582, 0x0113),
1772 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1773 /* .vendor_name = "BOSS", */
1774 /* .product_name = "ME-25", */
1775 .ifnum = QUIRK_ANY_INTERFACE,
1776 .type = QUIRK_COMPOSITE,
1777 .data = (const struct snd_usb_audio_quirk[]) {
1780 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1784 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1788 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1789 .data = & (const struct snd_usb_midi_endpoint_info) {
1790 .out_cables = 0x0001,
1801 USB_DEVICE(0x0582, 0x0127),
1802 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1803 /* .vendor_name = "Roland", */
1804 /* .product_name = "GR-55", */
1805 .ifnum = QUIRK_ANY_INTERFACE,
1806 .type = QUIRK_COMPOSITE,
1807 .data = (const struct snd_usb_audio_quirk[]) {
1810 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1814 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1818 .type = QUIRK_MIDI_STANDARD_INTERFACE
1827 /* Added support for Roland UM-ONE which differs from UM-1 */
1828 USB_DEVICE(0x0582, 0x012a),
1829 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1830 /* .vendor_name = "ROLAND", */
1831 /* .product_name = "UM-ONE", */
1833 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1834 .data = & (const struct snd_usb_midi_endpoint_info) {
1835 .out_cables = 0x0001,
1841 USB_DEVICE(0x0582, 0x011e),
1842 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1843 /* .vendor_name = "BOSS", */
1844 /* .product_name = "BR-800", */
1845 .ifnum = QUIRK_ANY_INTERFACE,
1846 .type = QUIRK_COMPOSITE,
1847 .data = (const struct snd_usb_audio_quirk[]) {
1850 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1854 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1858 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1859 .data = & (const struct snd_usb_midi_endpoint_info) {
1860 .out_cables = 0x0001,
1871 USB_DEVICE(0x0582, 0x0130),
1872 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1873 /* .vendor_name = "BOSS", */
1874 /* .product_name = "MICRO BR-80", */
1875 .ifnum = QUIRK_ANY_INTERFACE,
1876 .type = QUIRK_COMPOSITE,
1877 .data = (const struct snd_usb_audio_quirk[]) {
1880 .type = QUIRK_IGNORE_INTERFACE
1884 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1888 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1892 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1893 .data = & (const struct snd_usb_midi_endpoint_info) {
1894 .out_cables = 0x0001,
1905 USB_DEVICE(0x0582, 0x014d),
1906 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1907 /* .vendor_name = "BOSS", */
1908 /* .product_name = "GT-100", */
1909 .ifnum = QUIRK_ANY_INTERFACE,
1910 .type = QUIRK_COMPOSITE,
1911 .data = (const struct snd_usb_audio_quirk[]) {
1914 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1918 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1922 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1923 .data = & (const struct snd_usb_midi_endpoint_info) {
1924 .out_cables = 0x0001,
1935 /* Guillemot devices */
1938 * This is for the "Windows Edition" where the external MIDI ports are
1939 * the only MIDI ports; the control data is reported through HID
1940 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1941 * compliant USB MIDI ports for external MIDI and controls.
1943 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1944 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1945 .vendor_name = "Hercules",
1946 .product_name = "DJ Console (WE)",
1948 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1949 .data = & (const struct snd_usb_midi_endpoint_info) {
1950 .out_cables = 0x0001,
1956 /* Midiman/M-Audio devices */
1958 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1959 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1960 .vendor_name = "M-Audio",
1961 .product_name = "MidiSport 2x2",
1962 .ifnum = QUIRK_ANY_INTERFACE,
1963 .type = QUIRK_MIDI_MIDIMAN,
1964 .data = & (const struct snd_usb_midi_endpoint_info) {
1965 .out_cables = 0x0003,
1971 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1972 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1973 .vendor_name = "M-Audio",
1974 .product_name = "MidiSport 1x1",
1975 .ifnum = QUIRK_ANY_INTERFACE,
1976 .type = QUIRK_MIDI_MIDIMAN,
1977 .data = & (const struct snd_usb_midi_endpoint_info) {
1978 .out_cables = 0x0001,
1984 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1985 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1986 .vendor_name = "M-Audio",
1987 .product_name = "Keystation",
1988 .ifnum = QUIRK_ANY_INTERFACE,
1989 .type = QUIRK_MIDI_MIDIMAN,
1990 .data = & (const struct snd_usb_midi_endpoint_info) {
1991 .out_cables = 0x0001,
1997 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1998 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1999 .vendor_name = "M-Audio",
2000 .product_name = "MidiSport 4x4",
2001 .ifnum = QUIRK_ANY_INTERFACE,
2002 .type = QUIRK_MIDI_MIDIMAN,
2003 .data = & (const struct snd_usb_midi_endpoint_info) {
2004 .out_cables = 0x000f,
2011 * For hardware revision 1.05; in the later revisions (1.10 and
2012 * 1.21), 0x1031 is the ID for the device without firmware.
2013 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
2015 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
2016 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2017 .vendor_name = "M-Audio",
2018 .product_name = "MidiSport 8x8",
2019 .ifnum = QUIRK_ANY_INTERFACE,
2020 .type = QUIRK_MIDI_MIDIMAN,
2021 .data = & (const struct snd_usb_midi_endpoint_info) {
2022 .out_cables = 0x01ff,
2028 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
2029 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2030 .vendor_name = "M-Audio",
2031 .product_name = "MidiSport 8x8",
2032 .ifnum = QUIRK_ANY_INTERFACE,
2033 .type = QUIRK_MIDI_MIDIMAN,
2034 .data = & (const struct snd_usb_midi_endpoint_info) {
2035 .out_cables = 0x01ff,
2041 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
2042 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2043 .vendor_name = "M-Audio",
2044 .product_name = "MidiSport 2x4",
2045 .ifnum = QUIRK_ANY_INTERFACE,
2046 .type = QUIRK_MIDI_MIDIMAN,
2047 .data = & (const struct snd_usb_midi_endpoint_info) {
2048 .out_cables = 0x000f,
2054 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
2055 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2056 .vendor_name = "M-Audio",
2057 .product_name = "Quattro",
2058 .ifnum = QUIRK_ANY_INTERFACE,
2059 .type = QUIRK_COMPOSITE,
2060 .data = & (const struct snd_usb_audio_quirk[]) {
2062 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
2063 * and share endpoints with the other interfaces.
2064 * Ignore them. The other interfaces can do 24 bits,
2065 * but captured samples are big-endian (see usbaudio.c).
2069 .type = QUIRK_IGNORE_INTERFACE
2073 .type = QUIRK_IGNORE_INTERFACE
2077 .type = QUIRK_IGNORE_INTERFACE
2081 .type = QUIRK_IGNORE_INTERFACE
2085 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2089 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2093 .type = QUIRK_IGNORE_INTERFACE
2097 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2101 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2105 .type = QUIRK_MIDI_MIDIMAN,
2106 .data = & (const struct snd_usb_midi_endpoint_info) {
2107 .out_cables = 0x0001,
2118 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
2119 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2120 .vendor_name = "M-Audio",
2121 .product_name = "AudioPhile",
2123 .type = QUIRK_MIDI_MIDIMAN,
2124 .data = & (const struct snd_usb_midi_endpoint_info) {
2125 .out_cables = 0x0001,
2131 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
2132 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2133 .vendor_name = "M-Audio",
2134 .product_name = "Ozone",
2136 .type = QUIRK_MIDI_MIDIMAN,
2137 .data = & (const struct snd_usb_midi_endpoint_info) {
2138 .out_cables = 0x0001,
2144 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
2145 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2146 .vendor_name = "M-Audio",
2147 .product_name = "OmniStudio",
2148 .ifnum = QUIRK_ANY_INTERFACE,
2149 .type = QUIRK_COMPOSITE,
2150 .data = & (const struct snd_usb_audio_quirk[]) {
2153 .type = QUIRK_IGNORE_INTERFACE
2157 .type = QUIRK_IGNORE_INTERFACE
2161 .type = QUIRK_IGNORE_INTERFACE
2165 .type = QUIRK_IGNORE_INTERFACE
2169 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2173 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2177 .type = QUIRK_IGNORE_INTERFACE
2181 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2185 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2189 .type = QUIRK_MIDI_MIDIMAN,
2190 .data = & (const struct snd_usb_midi_endpoint_info) {
2191 .out_cables = 0x0001,
2202 USB_DEVICE(0x0763, 0x2019),
2203 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2204 /* .vendor_name = "M-Audio", */
2205 /* .product_name = "Ozone Academic", */
2206 .ifnum = QUIRK_ANY_INTERFACE,
2207 .type = QUIRK_COMPOSITE,
2208 .data = & (const struct snd_usb_audio_quirk[]) {
2211 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2215 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2219 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2223 .type = QUIRK_MIDI_MIDIMAN,
2224 .data = & (const struct snd_usb_midi_endpoint_info) {
2225 .out_cables = 0x0001,
2236 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2237 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2238 /* .vendor_name = "M-Audio", */
2239 /* .product_name = "Fast Track C400", */
2240 .ifnum = QUIRK_ANY_INTERFACE,
2241 .type = QUIRK_COMPOSITE,
2242 .data = &(const struct snd_usb_audio_quirk[]) {
2245 .type = QUIRK_AUDIO_STANDARD_MIXER,
2250 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2251 .data = &(const struct audioformat) {
2252 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2257 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2260 .rates = SNDRV_PCM_RATE_44100 |
2261 SNDRV_PCM_RATE_48000 |
2262 SNDRV_PCM_RATE_88200 |
2263 SNDRV_PCM_RATE_96000,
2267 .rate_table = (unsigned int[]) {
2268 44100, 48000, 88200, 96000
2276 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2277 .data = &(const struct audioformat) {
2278 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2283 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2286 .rates = SNDRV_PCM_RATE_44100 |
2287 SNDRV_PCM_RATE_48000 |
2288 SNDRV_PCM_RATE_88200 |
2289 SNDRV_PCM_RATE_96000,
2293 .rate_table = (unsigned int[]) {
2294 44100, 48000, 88200, 96000
2301 .ifnum = -1 /* Interface = 4 */
2307 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2308 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2309 /* .vendor_name = "M-Audio", */
2310 /* .product_name = "Fast Track Ultra", */
2311 .ifnum = QUIRK_ANY_INTERFACE,
2312 .type = QUIRK_COMPOSITE,
2313 .data = & (const struct snd_usb_audio_quirk[]) {
2316 .type = QUIRK_AUDIO_STANDARD_MIXER,
2320 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2321 .data = & (const struct audioformat) {
2322 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2327 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2330 .rates = SNDRV_PCM_RATE_44100 |
2331 SNDRV_PCM_RATE_48000 |
2332 SNDRV_PCM_RATE_88200 |
2333 SNDRV_PCM_RATE_96000,
2337 .rate_table = (unsigned int[]) {
2338 44100, 48000, 88200, 96000
2344 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2345 .data = & (const struct audioformat) {
2346 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2351 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2354 .rates = SNDRV_PCM_RATE_44100 |
2355 SNDRV_PCM_RATE_48000 |
2356 SNDRV_PCM_RATE_88200 |
2357 SNDRV_PCM_RATE_96000,
2361 .rate_table = (unsigned int[]) {
2362 44100, 48000, 88200, 96000
2366 /* interface 3 (MIDI) is standard compliant */
2374 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2375 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2376 /* .vendor_name = "M-Audio", */
2377 /* .product_name = "Fast Track Ultra 8R", */
2378 .ifnum = QUIRK_ANY_INTERFACE,
2379 .type = QUIRK_COMPOSITE,
2380 .data = & (const struct snd_usb_audio_quirk[]) {
2383 .type = QUIRK_AUDIO_STANDARD_MIXER,
2387 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2388 .data = & (const struct audioformat) {
2389 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2394 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2397 .rates = SNDRV_PCM_RATE_44100 |
2398 SNDRV_PCM_RATE_48000 |
2399 SNDRV_PCM_RATE_88200 |
2400 SNDRV_PCM_RATE_96000,
2404 .rate_table = (unsigned int[]) {
2405 44100, 48000, 88200, 96000
2411 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2412 .data = & (const struct audioformat) {
2413 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2418 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2421 .rates = SNDRV_PCM_RATE_44100 |
2422 SNDRV_PCM_RATE_48000 |
2423 SNDRV_PCM_RATE_88200 |
2424 SNDRV_PCM_RATE_96000,
2428 .rate_table = (unsigned int[]) {
2429 44100, 48000, 88200, 96000
2433 /* interface 3 (MIDI) is standard compliant */
2443 USB_DEVICE(0x07cf, 0x6801),
2444 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2445 .vendor_name = "Casio",
2446 .product_name = "PL-40R",
2448 .type = QUIRK_MIDI_YAMAHA
2452 /* this ID is used by several devices without a product ID */
2453 USB_DEVICE(0x07cf, 0x6802),
2454 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2455 .vendor_name = "Casio",
2456 .product_name = "Keyboard",
2458 .type = QUIRK_MIDI_YAMAHA
2462 /* Mark of the Unicorn devices */
2464 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2465 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2466 USB_DEVICE_ID_MATCH_PRODUCT |
2467 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2469 .idProduct = 0x0001,
2470 .bDeviceSubClass = 2,
2471 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2472 .vendor_name = "MOTU",
2473 .product_name = "Fastlane",
2474 .ifnum = QUIRK_ANY_INTERFACE,
2475 .type = QUIRK_COMPOSITE,
2476 .data = & (const struct snd_usb_audio_quirk[]) {
2479 .type = QUIRK_MIDI_RAW_BYTES
2483 .type = QUIRK_IGNORE_INTERFACE
2492 /* Emagic devices */
2494 USB_DEVICE(0x086a, 0x0001),
2495 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2496 .vendor_name = "Emagic",
2497 /* .product_name = "Unitor8", */
2499 .type = QUIRK_MIDI_EMAGIC,
2500 .data = & (const struct snd_usb_midi_endpoint_info) {
2501 .out_cables = 0x80ff,
2507 USB_DEVICE(0x086a, 0x0002),
2508 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2509 .vendor_name = "Emagic",
2510 /* .product_name = "AMT8", */
2512 .type = QUIRK_MIDI_EMAGIC,
2513 .data = & (const struct snd_usb_midi_endpoint_info) {
2514 .out_cables = 0x80ff,
2520 USB_DEVICE(0x086a, 0x0003),
2521 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2522 .vendor_name = "Emagic",
2523 /* .product_name = "MT4", */
2525 .type = QUIRK_MIDI_EMAGIC,
2526 .data = & (const struct snd_usb_midi_endpoint_info) {
2527 .out_cables = 0x800f,
2535 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2536 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2537 .vendor_name = "KORG, Inc.",
2538 /* .product_name = "PANDORA PX5D", */
2540 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2545 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2546 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2547 .vendor_name = "KORG, Inc.",
2548 /* .product_name = "ToneLab ST", */
2550 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2556 USB_DEVICE(0x09e8, 0x0062),
2557 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2558 .vendor_name = "AKAI",
2559 .product_name = "MPD16",
2561 .type = QUIRK_MIDI_AKAI,
2565 /* TerraTec devices */
2567 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2568 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2569 .vendor_name = "TerraTec",
2570 .product_name = "PHASE 26",
2572 .type = QUIRK_MIDI_STANDARD_INTERFACE
2576 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2577 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2578 .vendor_name = "TerraTec",
2579 .product_name = "PHASE 26",
2581 .type = QUIRK_MIDI_STANDARD_INTERFACE
2585 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2586 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2587 .vendor_name = "TerraTec",
2588 .product_name = "PHASE 26",
2590 .type = QUIRK_MIDI_STANDARD_INTERFACE
2594 USB_DEVICE(0x0ccd, 0x0028),
2595 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2596 .vendor_name = "TerraTec",
2597 .product_name = "Aureon5.1MkII",
2598 .ifnum = QUIRK_NO_INTERFACE
2602 USB_DEVICE(0x0ccd, 0x0035),
2603 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2604 .vendor_name = "Miditech",
2605 .product_name = "Play'n Roll",
2607 .type = QUIRK_MIDI_CME
2611 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2613 USB_DEVICE(0x103d, 0x0100),
2614 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2615 .vendor_name = "Stanton",
2616 .product_name = "ScratchAmp",
2617 .ifnum = QUIRK_NO_INTERFACE
2621 USB_DEVICE(0x103d, 0x0101),
2622 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2623 .vendor_name = "Stanton",
2624 .product_name = "ScratchAmp",
2625 .ifnum = QUIRK_NO_INTERFACE
2629 /* Novation EMS devices */
2631 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2632 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2633 .vendor_name = "Novation",
2634 .product_name = "ReMOTE Audio/XStation",
2636 .type = QUIRK_MIDI_NOVATION
2640 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2641 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2642 .vendor_name = "Novation",
2643 .product_name = "Speedio",
2645 .type = QUIRK_MIDI_NOVATION
2649 USB_DEVICE(0x1235, 0x000e),
2650 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2651 /* .vendor_name = "Novation", */
2652 /* .product_name = "Launchpad", */
2654 .type = QUIRK_MIDI_RAW_BYTES
2658 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2659 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2660 .vendor_name = "Novation",
2661 .product_name = "ReMOTE25",
2663 .type = QUIRK_MIDI_NOVATION
2667 /* Access Music devices */
2669 /* VirusTI Desktop */
2670 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2671 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2672 .ifnum = QUIRK_ANY_INTERFACE,
2673 .type = QUIRK_COMPOSITE,
2674 .data = &(const struct snd_usb_audio_quirk[]) {
2677 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2678 .data = &(const struct snd_usb_midi_endpoint_info) {
2679 .out_cables = 0x0003,
2685 .type = QUIRK_IGNORE_INTERFACE
2696 /* aka. Serato Scratch Live DJ Box */
2697 USB_DEVICE(0x13e5, 0x0001),
2698 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2699 .vendor_name = "Rane",
2700 .product_name = "SL-1",
2701 .ifnum = QUIRK_NO_INTERFACE
2705 /* Native Instruments MK2 series */
2707 /* Komplete Audio 6 */
2708 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2710 .idProduct = 0x1000,
2713 /* Traktor Audio 6 */
2714 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2716 .idProduct = 0x1010,
2719 /* Traktor Audio 10 */
2720 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2722 .idProduct = 0x1020,
2725 /* KeithMcMillen Stringport */
2727 USB_DEVICE(0x1f38, 0x0001),
2728 .bInterfaceClass = USB_CLASS_AUDIO,
2731 /* Miditech devices */
2733 USB_DEVICE(0x4752, 0x0011),
2734 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2735 .vendor_name = "Miditech",
2736 .product_name = "Midistart-2",
2738 .type = QUIRK_MIDI_CME
2742 /* Central Music devices */
2744 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2745 USB_DEVICE(0x7104, 0x2202),
2746 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2748 .type = QUIRK_MIDI_CME
2752 /* Hauppauge HVR-950Q and HVR-850 */
2754 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2755 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2756 USB_DEVICE_ID_MATCH_INT_CLASS |
2757 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2758 .bInterfaceClass = USB_CLASS_AUDIO,
2759 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2760 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2761 .vendor_name = "Hauppauge",
2762 .product_name = "HVR-950Q",
2763 .ifnum = QUIRK_ANY_INTERFACE,
2764 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2768 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2769 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2770 USB_DEVICE_ID_MATCH_INT_CLASS |
2771 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2772 .bInterfaceClass = USB_CLASS_AUDIO,
2773 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2774 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2775 .vendor_name = "Hauppauge",
2776 .product_name = "HVR-850",
2777 .ifnum = QUIRK_ANY_INTERFACE,
2778 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2782 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2783 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2784 USB_DEVICE_ID_MATCH_INT_CLASS |
2785 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2786 .bInterfaceClass = USB_CLASS_AUDIO,
2787 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2788 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2789 .vendor_name = "Hauppauge",
2790 .product_name = "HVR-950Q",
2791 .ifnum = QUIRK_ANY_INTERFACE,
2792 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2796 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2797 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2798 USB_DEVICE_ID_MATCH_INT_CLASS |
2799 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2800 .bInterfaceClass = USB_CLASS_AUDIO,
2801 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2802 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2803 .vendor_name = "Hauppauge",
2804 .product_name = "HVR-950Q",
2805 .ifnum = QUIRK_ANY_INTERFACE,
2806 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2810 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2811 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2812 USB_DEVICE_ID_MATCH_INT_CLASS |
2813 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2814 .bInterfaceClass = USB_CLASS_AUDIO,
2815 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2816 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2817 .vendor_name = "Hauppauge",
2818 .product_name = "HVR-950Q",
2819 .ifnum = QUIRK_ANY_INTERFACE,
2820 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2824 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2825 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2826 USB_DEVICE_ID_MATCH_INT_CLASS |
2827 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2828 .bInterfaceClass = USB_CLASS_AUDIO,
2829 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2830 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2831 .vendor_name = "Hauppauge",
2832 .product_name = "HVR-950Q",
2833 .ifnum = QUIRK_ANY_INTERFACE,
2834 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2838 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2839 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2840 USB_DEVICE_ID_MATCH_INT_CLASS |
2841 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2842 .bInterfaceClass = USB_CLASS_AUDIO,
2843 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2844 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2845 .vendor_name = "Hauppauge",
2846 .product_name = "HVR-950Q",
2847 .ifnum = QUIRK_ANY_INTERFACE,
2848 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2852 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2853 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2854 USB_DEVICE_ID_MATCH_INT_CLASS |
2855 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2856 .bInterfaceClass = USB_CLASS_AUDIO,
2857 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2858 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2859 .vendor_name = "Hauppauge",
2860 .product_name = "HVR-950Q",
2861 .ifnum = QUIRK_ANY_INTERFACE,
2862 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2866 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2867 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2868 USB_DEVICE_ID_MATCH_INT_CLASS |
2869 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2870 .bInterfaceClass = USB_CLASS_AUDIO,
2871 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2872 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2873 .vendor_name = "Hauppauge",
2874 .product_name = "HVR-950Q",
2875 .ifnum = QUIRK_ANY_INTERFACE,
2876 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2880 /* Digidesign Mbox */
2882 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2883 USB_DEVICE(0x0dba, 0x1000),
2884 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2885 .vendor_name = "Digidesign",
2886 .product_name = "MBox",
2887 .ifnum = QUIRK_ANY_INTERFACE,
2888 .type = QUIRK_COMPOSITE,
2889 .data = (const struct snd_usb_audio_quirk[]){
2892 .type = QUIRK_IGNORE_INTERFACE,
2896 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2897 .data = &(const struct audioformat) {
2898 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2903 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2906 .maxpacksize = 0x130,
2907 .rates = SNDRV_PCM_RATE_44100 |
2908 SNDRV_PCM_RATE_48000,
2912 .rate_table = (unsigned int[]) {
2925 /* DIGIDESIGN MBOX 2 */
2927 USB_DEVICE(0x0dba, 0x3000),
2928 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2929 .vendor_name = "Digidesign",
2930 .product_name = "Mbox 2",
2931 .ifnum = QUIRK_ANY_INTERFACE,
2932 .type = QUIRK_COMPOSITE,
2933 .data = (const struct snd_usb_audio_quirk[]) {
2936 .type = QUIRK_IGNORE_INTERFACE
2940 .type = QUIRK_IGNORE_INTERFACE
2944 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2945 .data = &(const struct audioformat) {
2946 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2953 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2954 .maxpacksize = 0x128,
2955 .rates = SNDRV_PCM_RATE_48000,
2959 .rate_table = (unsigned int[]) {
2966 .type = QUIRK_IGNORE_INTERFACE
2970 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2971 .data = &(const struct audioformat) {
2972 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2977 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2979 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2980 .maxpacksize = 0x128,
2981 .rates = SNDRV_PCM_RATE_48000,
2985 .rate_table = (unsigned int[]) {
2992 .type = QUIRK_IGNORE_INTERFACE
2996 .type = QUIRK_MIDI_MBOX2,
2997 .data = &(const struct snd_usb_midi_endpoint_info) {
2999 .out_cables = 0x0001,
3001 .in_interval = 0x01,
3012 /* Tascam US122 MKII - playback-only support */
3013 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
3015 .idProduct = 0x8021,
3016 .bInterfaceClass = USB_CLASS_AUDIO,
3017 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3018 .vendor_name = "TASCAM",
3019 .product_name = "US122 MKII",
3020 .ifnum = QUIRK_ANY_INTERFACE,
3021 .type = QUIRK_COMPOSITE,
3022 .data = (const struct snd_usb_audio_quirk[]) {
3025 .type = QUIRK_IGNORE_INTERFACE
3029 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3030 .data = &(const struct audioformat) {
3031 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3036 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3038 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3039 .rates = SNDRV_PCM_RATE_44100 |
3040 SNDRV_PCM_RATE_48000 |
3041 SNDRV_PCM_RATE_88200 |
3042 SNDRV_PCM_RATE_96000,
3046 .rate_table = (unsigned int[]) {
3047 44100, 48000, 88200, 96000
3058 /* Microsoft XboxLive Headset/Xbox Communicator */
3060 USB_DEVICE(0x045e, 0x0283),
3061 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3062 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3063 .vendor_name = "Microsoft",
3064 .product_name = "XboxLive Headset/Xbox Communicator",
3065 .ifnum = QUIRK_ANY_INTERFACE,
3066 .type = QUIRK_COMPOSITE,
3067 .data = &(const struct snd_usb_audio_quirk[]) {
3071 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3072 .data = &(const struct audioformat) {
3073 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3081 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3089 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3090 .data = &(const struct audioformat) {
3091 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3099 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3113 USB_DEVICE(0x200c, 0x100b),
3114 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3115 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3116 .ifnum = QUIRK_ANY_INTERFACE,
3117 .type = QUIRK_COMPOSITE,
3118 .data = &(const struct snd_usb_audio_quirk[]) {
3121 .type = QUIRK_AUDIO_STANDARD_MIXER,
3125 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3126 .data = &(const struct audioformat) {
3127 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3132 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3134 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3135 .rates = SNDRV_PCM_RATE_44100 |
3136 SNDRV_PCM_RATE_48000,
3140 .rate_table = (unsigned int[]) {
3154 * Focusrite Scarlett 18i6
3156 * Avoid mixer creation, which otherwise fails because some of
3157 * the interface descriptor subtypes for interface 0 are
3158 * unknown. That should be fixed or worked-around but this at
3159 * least allows the device to be used successfully with a DAW
3160 * and an external mixer. See comments below about other
3161 * ignored interfaces.
3163 USB_DEVICE(0x1235, 0x8004),
3164 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3165 .vendor_name = "Focusrite",
3166 .product_name = "Scarlett 18i6",
3167 .ifnum = QUIRK_ANY_INTERFACE,
3168 .type = QUIRK_COMPOSITE,
3169 .data = & (const struct snd_usb_audio_quirk[]) {
3171 /* InterfaceSubClass 1 (Control Device) */
3173 .type = QUIRK_IGNORE_INTERFACE
3177 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3181 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3184 /* InterfaceSubClass 1 (Control Device) */
3186 .type = QUIRK_IGNORE_INTERFACE
3190 .type = QUIRK_MIDI_STANDARD_INTERFACE
3193 /* InterfaceSubClass 1 (Device Firmware Update) */
3195 .type = QUIRK_IGNORE_INTERFACE
3206 * Some USB MIDI devices don't have an audio control interface,
3207 * so we have to grab MIDI streaming interfaces here.
3209 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3210 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3211 .bInterfaceClass = USB_CLASS_AUDIO,
3212 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3213 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3214 .ifnum = QUIRK_ANY_INTERFACE,
3215 .type = QUIRK_MIDI_STANDARD_INTERFACE
3219 #undef USB_DEVICE_VENDOR_SPEC