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
55 USB_DEVICE(0x041e, 0x0005),
56 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
58 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
59 .data = &(const struct audioformat) {
60 .formats = SNDRV_PCM_FMTBIT_S16_LE,
66 .ep_attr = USB_ENDPOINT_XFER_ISOC,
68 .rates = SNDRV_PCM_RATE_CONTINUOUS,
75 /* Creative/E-Mu devices */
77 USB_DEVICE(0x041e, 0x3010),
78 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
79 .vendor_name = "Creative Labs",
80 .product_name = "Sound Blaster MP3+",
81 .ifnum = QUIRK_NO_INTERFACE
84 /* Creative/Toshiba Multimedia Center SB-0500 */
86 USB_DEVICE(0x041e, 0x3048),
87 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
88 .vendor_name = "Toshiba",
89 .product_name = "SB-0500",
90 .ifnum = QUIRK_NO_INTERFACE
95 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
98 .bInterfaceClass = USB_CLASS_AUDIO,
102 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
105 .bInterfaceClass = USB_CLASS_AUDIO,
108 /* E-Mu Tracker Pre */
109 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
112 .bInterfaceClass = USB_CLASS_AUDIO,
116 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
119 .bInterfaceClass = USB_CLASS_AUDIO,
124 * When not ignored, causes instability issues for some users, forcing them to
125 * blacklist the entire module.
128 USB_DEVICE(0x0424, 0xb832),
129 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
130 .vendor_name = "Standard Microsystems Corp.",
131 .product_name = "HP Wireless Audio",
132 .ifnum = QUIRK_ANY_INTERFACE,
133 .type = QUIRK_COMPOSITE,
134 .data = (const struct snd_usb_audio_quirk[]) {
138 .type = QUIRK_IGNORE_INTERFACE,
143 .type = QUIRK_IGNORE_INTERFACE,
148 .type = QUIRK_IGNORE_INTERFACE,
150 /* HID Device, .ifnum = 3 */
159 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
160 * class matches do not take effect without an explicit ID match.
163 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
164 USB_DEVICE_ID_MATCH_INT_CLASS |
165 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
168 .bInterfaceClass = USB_CLASS_AUDIO,
169 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
172 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
173 USB_DEVICE_ID_MATCH_INT_CLASS |
174 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
177 .bInterfaceClass = USB_CLASS_AUDIO,
178 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
181 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
182 USB_DEVICE_ID_MATCH_INT_CLASS |
183 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
186 .bInterfaceClass = USB_CLASS_AUDIO,
187 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
190 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
191 USB_DEVICE_ID_MATCH_INT_CLASS |
192 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
195 .bInterfaceClass = USB_CLASS_AUDIO,
196 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
199 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
200 USB_DEVICE_ID_MATCH_INT_CLASS |
201 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
204 .bInterfaceClass = USB_CLASS_AUDIO,
205 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
208 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
209 USB_DEVICE_ID_MATCH_INT_CLASS |
210 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
213 .bInterfaceClass = USB_CLASS_AUDIO,
214 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
217 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
218 USB_DEVICE_ID_MATCH_INT_CLASS |
219 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
222 .bInterfaceClass = USB_CLASS_AUDIO,
223 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
224 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
225 .vendor_name = "Logitech, Inc.",
226 .product_name = "QuickCam Pro 9000",
227 .ifnum = QUIRK_NO_INTERFACE
235 #define YAMAHA_DEVICE(id, name) { \
236 USB_DEVICE(0x0499, id), \
237 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
238 .vendor_name = "Yamaha", \
239 .product_name = name, \
240 .ifnum = QUIRK_ANY_INTERFACE, \
241 .type = QUIRK_MIDI_YAMAHA \
244 #define YAMAHA_INTERFACE(id, intf, name) { \
245 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
246 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
247 .vendor_name = "Yamaha", \
248 .product_name = name, \
250 .type = QUIRK_MIDI_YAMAHA \
253 YAMAHA_DEVICE(0x1000, "UX256"),
254 YAMAHA_DEVICE(0x1001, "MU1000"),
255 YAMAHA_DEVICE(0x1002, "MU2000"),
256 YAMAHA_DEVICE(0x1003, "MU500"),
257 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
258 YAMAHA_DEVICE(0x1005, "MOTIF6"),
259 YAMAHA_DEVICE(0x1006, "MOTIF7"),
260 YAMAHA_DEVICE(0x1007, "MOTIF8"),
261 YAMAHA_DEVICE(0x1008, "UX96"),
262 YAMAHA_DEVICE(0x1009, "UX16"),
263 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
264 YAMAHA_DEVICE(0x100c, "UC-MX"),
265 YAMAHA_DEVICE(0x100d, "UC-KX"),
266 YAMAHA_DEVICE(0x100e, "S08"),
267 YAMAHA_DEVICE(0x100f, "CLP-150"),
268 YAMAHA_DEVICE(0x1010, "CLP-170"),
269 YAMAHA_DEVICE(0x1011, "P-250"),
270 YAMAHA_DEVICE(0x1012, "TYROS"),
271 YAMAHA_DEVICE(0x1013, "PF-500"),
272 YAMAHA_DEVICE(0x1014, "S90"),
273 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
274 YAMAHA_DEVICE(0x1016, "MDP-5"),
275 YAMAHA_DEVICE(0x1017, "CVP-204"),
276 YAMAHA_DEVICE(0x1018, "CVP-206"),
277 YAMAHA_DEVICE(0x1019, "CVP-208"),
278 YAMAHA_DEVICE(0x101a, "CVP-210"),
279 YAMAHA_DEVICE(0x101b, "PSR-1100"),
280 YAMAHA_DEVICE(0x101c, "PSR-2100"),
281 YAMAHA_DEVICE(0x101d, "CLP-175"),
282 YAMAHA_DEVICE(0x101e, "PSR-K1"),
283 YAMAHA_DEVICE(0x101f, "EZ-J24"),
284 YAMAHA_DEVICE(0x1020, "EZ-250i"),
285 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
286 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
287 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
288 YAMAHA_DEVICE(0x1024, "CVP-301"),
289 YAMAHA_DEVICE(0x1025, "CVP-303"),
290 YAMAHA_DEVICE(0x1026, "CVP-305"),
291 YAMAHA_DEVICE(0x1027, "CVP-307"),
292 YAMAHA_DEVICE(0x1028, "CVP-309"),
293 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
294 YAMAHA_DEVICE(0x102a, "PSR-1500"),
295 YAMAHA_DEVICE(0x102b, "PSR-3000"),
296 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
297 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
298 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
299 YAMAHA_DEVICE(0x1032, "DGX-305"),
300 YAMAHA_DEVICE(0x1033, "DGX-505"),
301 YAMAHA_DEVICE(0x1034, NULL),
302 YAMAHA_DEVICE(0x1035, NULL),
303 YAMAHA_DEVICE(0x1036, NULL),
304 YAMAHA_DEVICE(0x1037, NULL),
305 YAMAHA_DEVICE(0x1038, NULL),
306 YAMAHA_DEVICE(0x1039, NULL),
307 YAMAHA_DEVICE(0x103a, NULL),
308 YAMAHA_DEVICE(0x103b, NULL),
309 YAMAHA_DEVICE(0x103c, NULL),
310 YAMAHA_DEVICE(0x103d, NULL),
311 YAMAHA_DEVICE(0x103e, NULL),
312 YAMAHA_DEVICE(0x103f, NULL),
313 YAMAHA_DEVICE(0x1040, NULL),
314 YAMAHA_DEVICE(0x1041, NULL),
315 YAMAHA_DEVICE(0x1042, NULL),
316 YAMAHA_DEVICE(0x1043, NULL),
317 YAMAHA_DEVICE(0x1044, NULL),
318 YAMAHA_DEVICE(0x1045, NULL),
319 YAMAHA_INTERFACE(0x104e, 0, NULL),
320 YAMAHA_DEVICE(0x104f, NULL),
321 YAMAHA_DEVICE(0x1050, NULL),
322 YAMAHA_DEVICE(0x1051, NULL),
323 YAMAHA_DEVICE(0x1052, NULL),
324 YAMAHA_INTERFACE(0x1053, 0, NULL),
325 YAMAHA_INTERFACE(0x1054, 0, NULL),
326 YAMAHA_DEVICE(0x1055, NULL),
327 YAMAHA_DEVICE(0x1056, NULL),
328 YAMAHA_DEVICE(0x1057, NULL),
329 YAMAHA_DEVICE(0x1058, NULL),
330 YAMAHA_DEVICE(0x1059, NULL),
331 YAMAHA_DEVICE(0x105a, NULL),
332 YAMAHA_DEVICE(0x105b, NULL),
333 YAMAHA_DEVICE(0x105c, NULL),
334 YAMAHA_DEVICE(0x105d, NULL),
336 USB_DEVICE(0x0499, 0x1503),
337 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
338 /* .vendor_name = "Yamaha", */
339 /* .product_name = "MOX6/MOX8", */
340 .ifnum = QUIRK_ANY_INTERFACE,
341 .type = QUIRK_COMPOSITE,
342 .data = (const struct snd_usb_audio_quirk[]) {
345 .type = QUIRK_AUDIO_STANDARD_INTERFACE
349 .type = QUIRK_AUDIO_STANDARD_INTERFACE
353 .type = QUIRK_MIDI_YAMAHA
362 USB_DEVICE(0x0499, 0x1507),
363 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
364 /* .vendor_name = "Yamaha", */
365 /* .product_name = "THR10", */
366 .ifnum = QUIRK_ANY_INTERFACE,
367 .type = QUIRK_COMPOSITE,
368 .data = (const struct snd_usb_audio_quirk[]) {
371 .type = QUIRK_AUDIO_STANDARD_INTERFACE
375 .type = QUIRK_AUDIO_STANDARD_INTERFACE
379 .type = QUIRK_MIDI_YAMAHA
388 USB_DEVICE(0x0499, 0x150a),
389 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
390 /* .vendor_name = "Yamaha", */
391 /* .product_name = "THR5A", */
392 .ifnum = QUIRK_ANY_INTERFACE,
393 .type = QUIRK_COMPOSITE,
394 .data = (const struct snd_usb_audio_quirk[]) {
397 .type = QUIRK_AUDIO_STANDARD_INTERFACE
401 .type = QUIRK_AUDIO_STANDARD_INTERFACE
405 .type = QUIRK_MIDI_YAMAHA
414 USB_DEVICE(0x0499, 0x150c),
415 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
416 /* .vendor_name = "Yamaha", */
417 /* .product_name = "THR10C", */
418 .ifnum = QUIRK_ANY_INTERFACE,
419 .type = QUIRK_COMPOSITE,
420 .data = (const struct snd_usb_audio_quirk[]) {
423 .type = QUIRK_AUDIO_STANDARD_INTERFACE
427 .type = QUIRK_AUDIO_STANDARD_INTERFACE
431 .type = QUIRK_MIDI_YAMAHA
439 YAMAHA_DEVICE(0x2000, "DGP-7"),
440 YAMAHA_DEVICE(0x2001, "DGP-5"),
441 YAMAHA_DEVICE(0x2002, NULL),
442 YAMAHA_DEVICE(0x2003, NULL),
443 YAMAHA_DEVICE(0x5000, "CS1D"),
444 YAMAHA_DEVICE(0x5001, "DSP1D"),
445 YAMAHA_DEVICE(0x5002, "DME32"),
446 YAMAHA_DEVICE(0x5003, "DM2000"),
447 YAMAHA_DEVICE(0x5004, "02R96"),
448 YAMAHA_DEVICE(0x5005, "ACU16-C"),
449 YAMAHA_DEVICE(0x5006, "NHB32-C"),
450 YAMAHA_DEVICE(0x5007, "DM1000"),
451 YAMAHA_DEVICE(0x5008, "01V96"),
452 YAMAHA_DEVICE(0x5009, "SPX2000"),
453 YAMAHA_DEVICE(0x500a, "PM5D"),
454 YAMAHA_DEVICE(0x500b, "DME64N"),
455 YAMAHA_DEVICE(0x500c, "DME24N"),
456 YAMAHA_DEVICE(0x500d, NULL),
457 YAMAHA_DEVICE(0x500e, NULL),
458 YAMAHA_DEVICE(0x500f, NULL),
459 YAMAHA_DEVICE(0x7000, "DTX"),
460 YAMAHA_DEVICE(0x7010, "UB99"),
462 #undef YAMAHA_INTERFACE
463 /* this catches most recent vendor-specific Yamaha devices */
465 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
466 USB_DEVICE_ID_MATCH_INT_CLASS,
468 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
469 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
470 .ifnum = QUIRK_ANY_INTERFACE,
471 .type = QUIRK_AUTODETECT
476 * Roland/RolandED/Edirol/BOSS devices
479 USB_DEVICE(0x0582, 0x0000),
480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
481 .vendor_name = "Roland",
482 .product_name = "UA-100",
483 .ifnum = QUIRK_ANY_INTERFACE,
484 .type = QUIRK_COMPOSITE,
485 .data = (const struct snd_usb_audio_quirk[]) {
488 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
489 .data = & (const struct audioformat) {
490 .formats = SNDRV_PCM_FMTBIT_S16_LE,
498 .rates = SNDRV_PCM_RATE_CONTINUOUS,
505 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
506 .data = & (const struct audioformat) {
507 .formats = SNDRV_PCM_FMTBIT_S16_LE,
512 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
515 .rates = SNDRV_PCM_RATE_CONTINUOUS,
522 .type = QUIRK_MIDI_FIXED_ENDPOINT,
523 .data = & (const struct snd_usb_midi_endpoint_info) {
524 .out_cables = 0x0007,
535 USB_DEVICE(0x0582, 0x0002),
536 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
537 .vendor_name = "EDIROL",
538 .product_name = "UM-4",
539 .ifnum = QUIRK_ANY_INTERFACE,
540 .type = QUIRK_COMPOSITE,
541 .data = (const struct snd_usb_audio_quirk[]) {
544 .type = QUIRK_IGNORE_INTERFACE
548 .type = QUIRK_IGNORE_INTERFACE
552 .type = QUIRK_MIDI_FIXED_ENDPOINT,
553 .data = & (const struct snd_usb_midi_endpoint_info) {
554 .out_cables = 0x000f,
565 USB_DEVICE(0x0582, 0x0003),
566 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
567 .vendor_name = "Roland",
568 .product_name = "SC-8850",
569 .ifnum = QUIRK_ANY_INTERFACE,
570 .type = QUIRK_COMPOSITE,
571 .data = (const struct snd_usb_audio_quirk[]) {
574 .type = QUIRK_IGNORE_INTERFACE
578 .type = QUIRK_IGNORE_INTERFACE
582 .type = QUIRK_MIDI_FIXED_ENDPOINT,
583 .data = & (const struct snd_usb_midi_endpoint_info) {
584 .out_cables = 0x003f,
595 USB_DEVICE(0x0582, 0x0004),
596 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
597 .vendor_name = "Roland",
598 .product_name = "U-8",
599 .ifnum = QUIRK_ANY_INTERFACE,
600 .type = QUIRK_COMPOSITE,
601 .data = (const struct snd_usb_audio_quirk[]) {
604 .type = QUIRK_IGNORE_INTERFACE
608 .type = QUIRK_IGNORE_INTERFACE
612 .type = QUIRK_MIDI_FIXED_ENDPOINT,
613 .data = & (const struct snd_usb_midi_endpoint_info) {
614 .out_cables = 0x0005,
625 /* Has ID 0x0099 when not in "Advanced Driver" mode.
626 * The UM-2EX has only one input, but we cannot detect this. */
627 USB_DEVICE(0x0582, 0x0005),
628 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
629 .vendor_name = "EDIROL",
630 .product_name = "UM-2",
631 .ifnum = QUIRK_ANY_INTERFACE,
632 .type = QUIRK_COMPOSITE,
633 .data = (const struct snd_usb_audio_quirk[]) {
636 .type = QUIRK_IGNORE_INTERFACE
640 .type = QUIRK_IGNORE_INTERFACE
644 .type = QUIRK_MIDI_FIXED_ENDPOINT,
645 .data = & (const struct snd_usb_midi_endpoint_info) {
646 .out_cables = 0x0003,
657 USB_DEVICE(0x0582, 0x0007),
658 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
659 .vendor_name = "Roland",
660 .product_name = "SC-8820",
661 .ifnum = QUIRK_ANY_INTERFACE,
662 .type = QUIRK_COMPOSITE,
663 .data = (const struct snd_usb_audio_quirk[]) {
666 .type = QUIRK_IGNORE_INTERFACE
670 .type = QUIRK_IGNORE_INTERFACE
674 .type = QUIRK_MIDI_FIXED_ENDPOINT,
675 .data = & (const struct snd_usb_midi_endpoint_info) {
676 .out_cables = 0x0013,
687 USB_DEVICE(0x0582, 0x0008),
688 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
689 .vendor_name = "Roland",
690 .product_name = "PC-300",
691 .ifnum = QUIRK_ANY_INTERFACE,
692 .type = QUIRK_COMPOSITE,
693 .data = (const struct snd_usb_audio_quirk[]) {
696 .type = QUIRK_IGNORE_INTERFACE
700 .type = QUIRK_IGNORE_INTERFACE
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
705 .data = & (const struct snd_usb_midi_endpoint_info) {
706 .out_cables = 0x0001,
717 /* has ID 0x009d when not in "Advanced Driver" mode */
718 USB_DEVICE(0x0582, 0x0009),
719 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
720 .vendor_name = "EDIROL",
721 .product_name = "UM-1",
722 .ifnum = QUIRK_ANY_INTERFACE,
723 .type = QUIRK_COMPOSITE,
724 .data = (const struct snd_usb_audio_quirk[]) {
727 .type = QUIRK_IGNORE_INTERFACE
731 .type = QUIRK_IGNORE_INTERFACE
735 .type = QUIRK_MIDI_FIXED_ENDPOINT,
736 .data = & (const struct snd_usb_midi_endpoint_info) {
737 .out_cables = 0x0001,
748 USB_DEVICE(0x0582, 0x000b),
749 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
750 .vendor_name = "Roland",
751 .product_name = "SK-500",
752 .ifnum = QUIRK_ANY_INTERFACE,
753 .type = QUIRK_COMPOSITE,
754 .data = (const struct snd_usb_audio_quirk[]) {
757 .type = QUIRK_IGNORE_INTERFACE
761 .type = QUIRK_IGNORE_INTERFACE
765 .type = QUIRK_MIDI_FIXED_ENDPOINT,
766 .data = & (const struct snd_usb_midi_endpoint_info) {
767 .out_cables = 0x0013,
778 /* thanks to Emiliano Grilli <emillo@libero.it>
779 * for helping researching this data */
780 USB_DEVICE(0x0582, 0x000c),
781 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
782 .vendor_name = "Roland",
783 .product_name = "SC-D70",
784 .ifnum = QUIRK_ANY_INTERFACE,
785 .type = QUIRK_COMPOSITE,
786 .data = (const struct snd_usb_audio_quirk[]) {
789 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
790 .data = & (const struct audioformat) {
791 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
799 .rates = SNDRV_PCM_RATE_CONTINUOUS,
806 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
807 .data = & (const struct audioformat) {
808 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
816 .rates = SNDRV_PCM_RATE_CONTINUOUS,
823 .type = QUIRK_MIDI_FIXED_ENDPOINT,
824 .data = & (const struct snd_usb_midi_endpoint_info) {
825 .out_cables = 0x0007,
836 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
837 * If the advanced mode switch at the back of the unit is off, the
838 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
839 * but offers only 16-bit PCM.
840 * In advanced mode, the UA-5 will output S24_3LE samples (two
841 * channels) at the rate indicated on the front switch, including
842 * the 96kHz sample rate.
844 USB_DEVICE(0x0582, 0x0010),
845 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
846 .vendor_name = "EDIROL",
847 .product_name = "UA-5",
848 .ifnum = QUIRK_ANY_INTERFACE,
849 .type = QUIRK_COMPOSITE,
850 .data = (const struct snd_usb_audio_quirk[]) {
853 .type = QUIRK_AUDIO_STANDARD_INTERFACE
857 .type = QUIRK_AUDIO_STANDARD_INTERFACE
866 /* has ID 0x0013 when not in "Advanced Driver" mode */
867 USB_DEVICE(0x0582, 0x0012),
868 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
869 .vendor_name = "Roland",
870 .product_name = "XV-5050",
872 .type = QUIRK_MIDI_FIXED_ENDPOINT,
873 .data = & (const struct snd_usb_midi_endpoint_info) {
874 .out_cables = 0x0001,
880 /* has ID 0x0015 when not in "Advanced Driver" mode */
881 USB_DEVICE(0x0582, 0x0014),
882 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
883 .vendor_name = "EDIROL",
884 .product_name = "UM-880",
886 .type = QUIRK_MIDI_FIXED_ENDPOINT,
887 .data = & (const struct snd_usb_midi_endpoint_info) {
888 .out_cables = 0x01ff,
894 /* has ID 0x0017 when not in "Advanced Driver" mode */
895 USB_DEVICE(0x0582, 0x0016),
896 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
897 .vendor_name = "EDIROL",
898 .product_name = "SD-90",
899 .ifnum = QUIRK_ANY_INTERFACE,
900 .type = QUIRK_COMPOSITE,
901 .data = (const struct snd_usb_audio_quirk[]) {
904 .type = QUIRK_AUDIO_STANDARD_INTERFACE
908 .type = QUIRK_AUDIO_STANDARD_INTERFACE
912 .type = QUIRK_MIDI_FIXED_ENDPOINT,
913 .data = & (const struct snd_usb_midi_endpoint_info) {
914 .out_cables = 0x000f,
925 /* has ID 0x001c when not in "Advanced Driver" mode */
926 USB_DEVICE(0x0582, 0x001b),
927 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
928 .vendor_name = "Roland",
929 .product_name = "MMP-2",
930 .ifnum = QUIRK_ANY_INTERFACE,
931 .type = QUIRK_COMPOSITE,
932 .data = (const struct snd_usb_audio_quirk[]) {
935 .type = QUIRK_IGNORE_INTERFACE
939 .type = QUIRK_IGNORE_INTERFACE
943 .type = QUIRK_MIDI_FIXED_ENDPOINT,
944 .data = & (const struct snd_usb_midi_endpoint_info) {
945 .out_cables = 0x0001,
956 /* has ID 0x001e when not in "Advanced Driver" mode */
957 USB_DEVICE(0x0582, 0x001d),
958 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
959 .vendor_name = "Roland",
960 .product_name = "V-SYNTH",
962 .type = QUIRK_MIDI_FIXED_ENDPOINT,
963 .data = & (const struct snd_usb_midi_endpoint_info) {
964 .out_cables = 0x0001,
970 /* has ID 0x0024 when not in "Advanced Driver" mode */
971 USB_DEVICE(0x0582, 0x0023),
972 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
973 .vendor_name = "EDIROL",
974 .product_name = "UM-550",
976 .type = QUIRK_MIDI_FIXED_ENDPOINT,
977 .data = & (const struct snd_usb_midi_endpoint_info) {
978 .out_cables = 0x003f,
985 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
986 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
989 USB_DEVICE(0x0582, 0x0025),
990 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
991 .vendor_name = "EDIROL",
992 .product_name = "UA-20",
993 .ifnum = QUIRK_ANY_INTERFACE,
994 .type = QUIRK_COMPOSITE,
995 .data = (const struct snd_usb_audio_quirk[]) {
998 .type = QUIRK_IGNORE_INTERFACE
1002 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1003 .data = & (const struct audioformat) {
1004 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1012 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1019 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1020 .data = & (const struct audioformat) {
1021 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1029 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1036 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1037 .data = & (const struct snd_usb_midi_endpoint_info) {
1038 .out_cables = 0x0001,
1049 /* has ID 0x0028 when not in "Advanced Driver" mode */
1050 USB_DEVICE(0x0582, 0x0027),
1051 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1052 .vendor_name = "EDIROL",
1053 .product_name = "SD-20",
1055 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1056 .data = & (const struct snd_usb_midi_endpoint_info) {
1057 .out_cables = 0x0003,
1063 /* has ID 0x002a when not in "Advanced Driver" mode */
1064 USB_DEVICE(0x0582, 0x0029),
1065 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1066 .vendor_name = "EDIROL",
1067 .product_name = "SD-80",
1069 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1070 .data = & (const struct snd_usb_midi_endpoint_info) {
1071 .out_cables = 0x000f,
1077 * This quirk is for the "Advanced" modes of the Edirol UA-700.
1078 * If the sample format switch is not in an advanced setting, the
1079 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
1080 * but offers only 16-bit PCM and no MIDI.
1082 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
1083 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1084 .vendor_name = "EDIROL",
1085 .product_name = "UA-700",
1086 .ifnum = QUIRK_ANY_INTERFACE,
1087 .type = QUIRK_COMPOSITE,
1088 .data = (const struct snd_usb_audio_quirk[]) {
1091 .type = QUIRK_AUDIO_EDIROL_UAXX
1095 .type = QUIRK_AUDIO_EDIROL_UAXX
1099 .type = QUIRK_AUDIO_EDIROL_UAXX
1108 /* has ID 0x002e when not in "Advanced Driver" mode */
1109 USB_DEVICE(0x0582, 0x002d),
1110 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1111 .vendor_name = "Roland",
1112 .product_name = "XV-2020",
1114 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1115 .data = & (const struct snd_usb_midi_endpoint_info) {
1116 .out_cables = 0x0001,
1122 /* has ID 0x0030 when not in "Advanced Driver" mode */
1123 USB_DEVICE(0x0582, 0x002f),
1124 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1125 .vendor_name = "Roland",
1126 .product_name = "VariOS",
1128 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1129 .data = & (const struct snd_usb_midi_endpoint_info) {
1130 .out_cables = 0x0007,
1136 /* has ID 0x0034 when not in "Advanced Driver" mode */
1137 USB_DEVICE(0x0582, 0x0033),
1138 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1139 .vendor_name = "EDIROL",
1140 .product_name = "PCR",
1142 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1143 .data = & (const struct snd_usb_midi_endpoint_info) {
1144 .out_cables = 0x0003,
1151 * Has ID 0x0038 when not in "Advanced Driver" mode;
1152 * later revisions use IDs 0x0054 and 0x00a2.
1154 USB_DEVICE(0x0582, 0x0037),
1155 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1156 .vendor_name = "Roland",
1157 .product_name = "Digital Piano",
1159 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1160 .data = & (const struct snd_usb_midi_endpoint_info) {
1161 .out_cables = 0x0001,
1168 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1169 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1172 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1173 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1174 .vendor_name = "BOSS",
1175 .product_name = "GS-10",
1176 .ifnum = QUIRK_ANY_INTERFACE,
1177 .type = QUIRK_COMPOSITE,
1178 .data = & (const struct snd_usb_audio_quirk[]) {
1181 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1185 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1189 .type = QUIRK_MIDI_STANDARD_INTERFACE
1198 /* has ID 0x0041 when not in "Advanced Driver" mode */
1199 USB_DEVICE(0x0582, 0x0040),
1200 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1201 .vendor_name = "Roland",
1202 .product_name = "GI-20",
1204 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1205 .data = & (const struct snd_usb_midi_endpoint_info) {
1206 .out_cables = 0x0001,
1212 /* has ID 0x0043 when not in "Advanced Driver" mode */
1213 USB_DEVICE(0x0582, 0x0042),
1214 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1215 .vendor_name = "Roland",
1216 .product_name = "RS-70",
1218 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1219 .data = & (const struct snd_usb_midi_endpoint_info) {
1220 .out_cables = 0x0001,
1226 /* has ID 0x0049 when not in "Advanced Driver" mode */
1227 USB_DEVICE(0x0582, 0x0047),
1228 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1229 /* .vendor_name = "EDIROL", */
1230 /* .product_name = "UR-80", */
1231 .ifnum = QUIRK_ANY_INTERFACE,
1232 .type = QUIRK_COMPOSITE,
1233 .data = (const struct snd_usb_audio_quirk[]) {
1234 /* in the 96 kHz modes, only interface 1 is there */
1237 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1241 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1250 /* has ID 0x004a when not in "Advanced Driver" mode */
1251 USB_DEVICE(0x0582, 0x0048),
1252 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1253 /* .vendor_name = "EDIROL", */
1254 /* .product_name = "UR-80", */
1256 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1257 .data = & (const struct snd_usb_midi_endpoint_info) {
1258 .out_cables = 0x0003,
1264 /* has ID 0x004e when not in "Advanced Driver" mode */
1265 USB_DEVICE(0x0582, 0x004c),
1266 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1267 .vendor_name = "EDIROL",
1268 .product_name = "PCR-A",
1269 .ifnum = QUIRK_ANY_INTERFACE,
1270 .type = QUIRK_COMPOSITE,
1271 .data = (const struct snd_usb_audio_quirk[]) {
1274 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1278 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1287 /* has ID 0x004f when not in "Advanced Driver" mode */
1288 USB_DEVICE(0x0582, 0x004d),
1289 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1290 .vendor_name = "EDIROL",
1291 .product_name = "PCR-A",
1293 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1294 .data = & (const struct snd_usb_midi_endpoint_info) {
1295 .out_cables = 0x0003,
1302 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1303 * is standard compliant, but has only 16-bit PCM.
1305 USB_DEVICE(0x0582, 0x0050),
1306 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1307 .vendor_name = "EDIROL",
1308 .product_name = "UA-3FX",
1309 .ifnum = QUIRK_ANY_INTERFACE,
1310 .type = QUIRK_COMPOSITE,
1311 .data = (const struct snd_usb_audio_quirk[]) {
1314 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1318 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1327 USB_DEVICE(0x0582, 0x0052),
1328 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1329 .vendor_name = "EDIROL",
1330 .product_name = "UM-1SX",
1332 .type = QUIRK_MIDI_STANDARD_INTERFACE
1336 USB_DEVICE(0x0582, 0x0060),
1337 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1338 .vendor_name = "Roland",
1339 .product_name = "EXR Series",
1341 .type = QUIRK_MIDI_STANDARD_INTERFACE
1345 /* has ID 0x0066 when not in "Advanced Driver" mode */
1346 USB_DEVICE(0x0582, 0x0064),
1347 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1348 /* .vendor_name = "EDIROL", */
1349 /* .product_name = "PCR-1", */
1350 .ifnum = QUIRK_ANY_INTERFACE,
1351 .type = QUIRK_COMPOSITE,
1352 .data = (const struct snd_usb_audio_quirk[]) {
1355 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1359 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1368 /* has ID 0x0067 when not in "Advanced Driver" mode */
1369 USB_DEVICE(0x0582, 0x0065),
1370 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1371 /* .vendor_name = "EDIROL", */
1372 /* .product_name = "PCR-1", */
1374 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1375 .data = & (const struct snd_usb_midi_endpoint_info) {
1376 .out_cables = 0x0001,
1382 /* has ID 0x006e when not in "Advanced Driver" mode */
1383 USB_DEVICE(0x0582, 0x006d),
1384 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1385 .vendor_name = "Roland",
1386 .product_name = "FANTOM-X",
1388 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1389 .data = & (const struct snd_usb_midi_endpoint_info) {
1390 .out_cables = 0x0001,
1396 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1397 * If the switch is not in an advanced setting, the UA-25 has
1398 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1399 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1401 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1402 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1403 .vendor_name = "EDIROL",
1404 .product_name = "UA-25",
1405 .ifnum = QUIRK_ANY_INTERFACE,
1406 .type = QUIRK_COMPOSITE,
1407 .data = (const struct snd_usb_audio_quirk[]) {
1410 .type = QUIRK_AUDIO_EDIROL_UAXX
1414 .type = QUIRK_AUDIO_EDIROL_UAXX
1418 .type = QUIRK_AUDIO_EDIROL_UAXX
1427 /* has ID 0x0076 when not in "Advanced Driver" mode */
1428 USB_DEVICE(0x0582, 0x0075),
1429 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1430 .vendor_name = "BOSS",
1431 .product_name = "DR-880",
1433 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1434 .data = & (const struct snd_usb_midi_endpoint_info) {
1435 .out_cables = 0x0001,
1441 /* has ID 0x007b when not in "Advanced Driver" mode */
1442 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1443 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1444 .vendor_name = "Roland",
1445 /* "RD" or "RD-700SX"? */
1447 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1448 .data = & (const struct snd_usb_midi_endpoint_info) {
1449 .out_cables = 0x0003,
1455 /* has ID 0x0081 when not in "Advanced Driver" mode */
1456 USB_DEVICE(0x0582, 0x0080),
1457 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1458 .vendor_name = "Roland",
1459 .product_name = "G-70",
1461 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1462 .data = & (const struct snd_usb_midi_endpoint_info) {
1463 .out_cables = 0x0001,
1469 /* has ID 0x008c when not in "Advanced Driver" mode */
1470 USB_DEVICE(0x0582, 0x008b),
1471 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1472 .vendor_name = "EDIROL",
1473 .product_name = "PC-50",
1475 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1476 .data = & (const struct snd_usb_midi_endpoint_info) {
1477 .out_cables = 0x0001,
1484 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1485 * is standard compliant, but has only 16-bit PCM and no MIDI.
1487 USB_DEVICE(0x0582, 0x00a3),
1488 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1489 .vendor_name = "EDIROL",
1490 .product_name = "UA-4FX",
1491 .ifnum = QUIRK_ANY_INTERFACE,
1492 .type = QUIRK_COMPOSITE,
1493 .data = (const struct snd_usb_audio_quirk[]) {
1496 .type = QUIRK_AUDIO_EDIROL_UAXX
1500 .type = QUIRK_AUDIO_EDIROL_UAXX
1504 .type = QUIRK_AUDIO_EDIROL_UAXX
1514 USB_DEVICE(0x0582, 0x00c4),
1515 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1516 .ifnum = QUIRK_ANY_INTERFACE,
1517 .type = QUIRK_COMPOSITE,
1518 .data = (const struct snd_usb_audio_quirk[]) {
1521 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1525 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1529 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1530 .data = & (const struct snd_usb_midi_endpoint_info) {
1531 .out_cables = 0x0001,
1542 /* Advanced modes of the Edirol UA-25EX.
1543 * For the standard mode, UA-25EX has ID 0582:00e7, which
1544 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1546 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1547 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1548 .vendor_name = "EDIROL",
1549 .product_name = "UA-25EX",
1550 .ifnum = QUIRK_ANY_INTERFACE,
1551 .type = QUIRK_COMPOSITE,
1552 .data = (const struct snd_usb_audio_quirk[]) {
1555 .type = QUIRK_AUDIO_EDIROL_UAXX
1559 .type = QUIRK_AUDIO_EDIROL_UAXX
1563 .type = QUIRK_AUDIO_EDIROL_UAXX
1573 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1574 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1576 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1577 .data = & (const struct snd_usb_midi_endpoint_info) {
1578 .out_cables = 0x0007,
1585 USB_DEVICE(0x0582, 0x0113),
1586 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1587 .ifnum = QUIRK_ANY_INTERFACE,
1588 .type = QUIRK_COMPOSITE,
1589 .data = (const struct snd_usb_audio_quirk[]) {
1592 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1596 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1600 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1601 .data = & (const struct snd_usb_midi_endpoint_info) {
1602 .out_cables = 0x0001,
1613 /* only 44.1 kHz works at the moment */
1614 USB_DEVICE(0x0582, 0x0120),
1615 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1616 /* .vendor_name = "Roland", */
1617 /* .product_name = "OCTO-CAPTURE", */
1618 .ifnum = QUIRK_ANY_INTERFACE,
1619 .type = QUIRK_COMPOSITE,
1620 .data = (const struct snd_usb_audio_quirk[]) {
1623 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1624 .data = & (const struct audioformat) {
1625 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1632 .rates = SNDRV_PCM_RATE_44100,
1636 .rate_table = (unsigned int[]) { 44100 }
1641 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1642 .data = & (const struct audioformat) {
1643 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1650 .rates = SNDRV_PCM_RATE_44100,
1654 .rate_table = (unsigned int[]) { 44100 }
1659 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1660 .data = & (const struct snd_usb_midi_endpoint_info) {
1661 .out_cables = 0x0001,
1667 .type = QUIRK_IGNORE_INTERFACE
1671 .type = QUIRK_IGNORE_INTERFACE
1680 /* only 44.1 kHz works at the moment */
1681 USB_DEVICE(0x0582, 0x012f),
1682 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1683 /* .vendor_name = "Roland", */
1684 /* .product_name = "QUAD-CAPTURE", */
1685 .ifnum = QUIRK_ANY_INTERFACE,
1686 .type = QUIRK_COMPOSITE,
1687 .data = (const struct snd_usb_audio_quirk[]) {
1690 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1691 .data = & (const struct audioformat) {
1692 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1699 .rates = SNDRV_PCM_RATE_44100,
1703 .rate_table = (unsigned int[]) { 44100 }
1708 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1709 .data = & (const struct audioformat) {
1710 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1717 .rates = SNDRV_PCM_RATE_44100,
1721 .rate_table = (unsigned int[]) { 44100 }
1726 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1727 .data = & (const struct snd_usb_midi_endpoint_info) {
1728 .out_cables = 0x0001,
1734 .type = QUIRK_IGNORE_INTERFACE
1738 .type = QUIRK_IGNORE_INTERFACE
1746 /* this catches most recent vendor-specific Roland devices */
1748 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1749 USB_DEVICE_ID_MATCH_INT_CLASS,
1751 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1752 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1753 .ifnum = QUIRK_ANY_INTERFACE,
1754 .type = QUIRK_AUTODETECT
1758 /* Guillemot devices */
1761 * This is for the "Windows Edition" where the external MIDI ports are
1762 * the only MIDI ports; the control data is reported through HID
1763 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1764 * compliant USB MIDI ports for external MIDI and controls.
1766 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1767 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1768 .vendor_name = "Hercules",
1769 .product_name = "DJ Console (WE)",
1771 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1772 .data = & (const struct snd_usb_midi_endpoint_info) {
1773 .out_cables = 0x0001,
1779 /* Midiman/M-Audio devices */
1781 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1782 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1783 .vendor_name = "M-Audio",
1784 .product_name = "MidiSport 2x2",
1785 .ifnum = QUIRK_ANY_INTERFACE,
1786 .type = QUIRK_MIDI_MIDIMAN,
1787 .data = & (const struct snd_usb_midi_endpoint_info) {
1788 .out_cables = 0x0003,
1794 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1795 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1796 .vendor_name = "M-Audio",
1797 .product_name = "MidiSport 1x1",
1798 .ifnum = QUIRK_ANY_INTERFACE,
1799 .type = QUIRK_MIDI_MIDIMAN,
1800 .data = & (const struct snd_usb_midi_endpoint_info) {
1801 .out_cables = 0x0001,
1807 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1808 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1809 .vendor_name = "M-Audio",
1810 .product_name = "Keystation",
1811 .ifnum = QUIRK_ANY_INTERFACE,
1812 .type = QUIRK_MIDI_MIDIMAN,
1813 .data = & (const struct snd_usb_midi_endpoint_info) {
1814 .out_cables = 0x0001,
1820 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1821 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1822 .vendor_name = "M-Audio",
1823 .product_name = "MidiSport 4x4",
1824 .ifnum = QUIRK_ANY_INTERFACE,
1825 .type = QUIRK_MIDI_MIDIMAN,
1826 .data = & (const struct snd_usb_midi_endpoint_info) {
1827 .out_cables = 0x000f,
1834 * For hardware revision 1.05; in the later revisions (1.10 and
1835 * 1.21), 0x1031 is the ID for the device without firmware.
1836 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1838 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1839 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1840 .vendor_name = "M-Audio",
1841 .product_name = "MidiSport 8x8",
1842 .ifnum = QUIRK_ANY_INTERFACE,
1843 .type = QUIRK_MIDI_MIDIMAN,
1844 .data = & (const struct snd_usb_midi_endpoint_info) {
1845 .out_cables = 0x01ff,
1851 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1852 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1853 .vendor_name = "M-Audio",
1854 .product_name = "MidiSport 8x8",
1855 .ifnum = QUIRK_ANY_INTERFACE,
1856 .type = QUIRK_MIDI_MIDIMAN,
1857 .data = & (const struct snd_usb_midi_endpoint_info) {
1858 .out_cables = 0x01ff,
1864 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1865 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1866 .vendor_name = "M-Audio",
1867 .product_name = "MidiSport 2x4",
1868 .ifnum = QUIRK_ANY_INTERFACE,
1869 .type = QUIRK_MIDI_MIDIMAN,
1870 .data = & (const struct snd_usb_midi_endpoint_info) {
1871 .out_cables = 0x000f,
1877 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1878 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1879 .vendor_name = "M-Audio",
1880 .product_name = "Quattro",
1881 .ifnum = QUIRK_ANY_INTERFACE,
1882 .type = QUIRK_COMPOSITE,
1883 .data = & (const struct snd_usb_audio_quirk[]) {
1885 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1886 * and share endpoints with the other interfaces.
1887 * Ignore them. The other interfaces can do 24 bits,
1888 * but captured samples are big-endian (see usbaudio.c).
1892 .type = QUIRK_IGNORE_INTERFACE
1896 .type = QUIRK_IGNORE_INTERFACE
1900 .type = QUIRK_IGNORE_INTERFACE
1904 .type = QUIRK_IGNORE_INTERFACE
1908 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1912 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1916 .type = QUIRK_IGNORE_INTERFACE
1920 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1924 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1928 .type = QUIRK_MIDI_MIDIMAN,
1929 .data = & (const struct snd_usb_midi_endpoint_info) {
1930 .out_cables = 0x0001,
1941 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1942 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1943 .vendor_name = "M-Audio",
1944 .product_name = "AudioPhile",
1946 .type = QUIRK_MIDI_MIDIMAN,
1947 .data = & (const struct snd_usb_midi_endpoint_info) {
1948 .out_cables = 0x0001,
1954 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1955 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1956 .vendor_name = "M-Audio",
1957 .product_name = "Ozone",
1959 .type = QUIRK_MIDI_MIDIMAN,
1960 .data = & (const struct snd_usb_midi_endpoint_info) {
1961 .out_cables = 0x0001,
1967 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1968 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1969 .vendor_name = "M-Audio",
1970 .product_name = "OmniStudio",
1971 .ifnum = QUIRK_ANY_INTERFACE,
1972 .type = QUIRK_COMPOSITE,
1973 .data = & (const struct snd_usb_audio_quirk[]) {
1976 .type = QUIRK_IGNORE_INTERFACE
1980 .type = QUIRK_IGNORE_INTERFACE
1984 .type = QUIRK_IGNORE_INTERFACE
1988 .type = QUIRK_IGNORE_INTERFACE
1992 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1996 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2000 .type = QUIRK_IGNORE_INTERFACE
2004 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2008 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2012 .type = QUIRK_MIDI_MIDIMAN,
2013 .data = & (const struct snd_usb_midi_endpoint_info) {
2014 .out_cables = 0x0001,
2025 USB_DEVICE(0x0763, 0x2019),
2026 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2027 /* .vendor_name = "M-Audio", */
2028 /* .product_name = "Ozone Academic", */
2029 .ifnum = QUIRK_ANY_INTERFACE,
2030 .type = QUIRK_COMPOSITE,
2031 .data = & (const struct snd_usb_audio_quirk[]) {
2034 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2038 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2042 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2046 .type = QUIRK_MIDI_MIDIMAN,
2047 .data = & (const struct snd_usb_midi_endpoint_info) {
2048 .out_cables = 0x0001,
2059 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2060 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2061 /* .vendor_name = "M-Audio", */
2062 /* .product_name = "Fast Track C400", */
2063 .ifnum = QUIRK_ANY_INTERFACE,
2064 .type = QUIRK_COMPOSITE,
2065 .data = &(const struct snd_usb_audio_quirk[]) {
2068 .type = QUIRK_AUDIO_STANDARD_MIXER,
2073 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2074 .data = &(const struct audioformat) {
2075 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2080 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2083 .rates = SNDRV_PCM_RATE_44100 |
2084 SNDRV_PCM_RATE_48000 |
2085 SNDRV_PCM_RATE_88200 |
2086 SNDRV_PCM_RATE_96000,
2090 .rate_table = (unsigned int[]) {
2091 44100, 48000, 88200, 96000
2099 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2100 .data = &(const struct audioformat) {
2101 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2106 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2109 .rates = SNDRV_PCM_RATE_44100 |
2110 SNDRV_PCM_RATE_48000 |
2111 SNDRV_PCM_RATE_88200 |
2112 SNDRV_PCM_RATE_96000,
2116 .rate_table = (unsigned int[]) {
2117 44100, 48000, 88200, 96000
2124 .ifnum = -1 /* Interface = 4 */
2130 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2131 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2132 /* .vendor_name = "M-Audio", */
2133 /* .product_name = "Fast Track C600", */
2134 .ifnum = QUIRK_ANY_INTERFACE,
2135 .type = QUIRK_COMPOSITE,
2136 .data = &(const struct snd_usb_audio_quirk[]) {
2139 .type = QUIRK_AUDIO_STANDARD_MIXER,
2144 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2145 .data = &(const struct audioformat) {
2146 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2151 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2154 .rates = SNDRV_PCM_RATE_44100 |
2155 SNDRV_PCM_RATE_48000 |
2156 SNDRV_PCM_RATE_88200 |
2157 SNDRV_PCM_RATE_96000,
2161 .rate_table = (unsigned int[]) {
2162 44100, 48000, 88200, 96000
2170 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2171 .data = &(const struct audioformat) {
2172 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2177 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2180 .rates = SNDRV_PCM_RATE_44100 |
2181 SNDRV_PCM_RATE_48000 |
2182 SNDRV_PCM_RATE_88200 |
2183 SNDRV_PCM_RATE_96000,
2187 .rate_table = (unsigned int[]) {
2188 44100, 48000, 88200, 96000
2195 .ifnum = -1 /* Interface = 4 */
2201 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2202 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2203 /* .vendor_name = "M-Audio", */
2204 /* .product_name = "Fast Track Ultra", */
2205 .ifnum = QUIRK_ANY_INTERFACE,
2206 .type = QUIRK_COMPOSITE,
2207 .data = & (const struct snd_usb_audio_quirk[]) {
2210 .type = QUIRK_AUDIO_STANDARD_MIXER,
2214 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2215 .data = & (const struct audioformat) {
2216 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2221 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2224 .rates = SNDRV_PCM_RATE_44100 |
2225 SNDRV_PCM_RATE_48000 |
2226 SNDRV_PCM_RATE_88200 |
2227 SNDRV_PCM_RATE_96000,
2231 .rate_table = (unsigned int[]) {
2232 44100, 48000, 88200, 96000
2238 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2239 .data = & (const struct audioformat) {
2240 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2245 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2248 .rates = SNDRV_PCM_RATE_44100 |
2249 SNDRV_PCM_RATE_48000 |
2250 SNDRV_PCM_RATE_88200 |
2251 SNDRV_PCM_RATE_96000,
2255 .rate_table = (unsigned int[]) {
2256 44100, 48000, 88200, 96000
2260 /* interface 3 (MIDI) is standard compliant */
2268 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2269 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2270 /* .vendor_name = "M-Audio", */
2271 /* .product_name = "Fast Track Ultra 8R", */
2272 .ifnum = QUIRK_ANY_INTERFACE,
2273 .type = QUIRK_COMPOSITE,
2274 .data = & (const struct snd_usb_audio_quirk[]) {
2277 .type = QUIRK_AUDIO_STANDARD_MIXER,
2281 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2282 .data = & (const struct audioformat) {
2283 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2288 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2291 .rates = SNDRV_PCM_RATE_44100 |
2292 SNDRV_PCM_RATE_48000 |
2293 SNDRV_PCM_RATE_88200 |
2294 SNDRV_PCM_RATE_96000,
2298 .rate_table = (unsigned int[]) {
2299 44100, 48000, 88200, 96000
2305 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2306 .data = & (const struct audioformat) {
2307 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2312 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2315 .rates = SNDRV_PCM_RATE_44100 |
2316 SNDRV_PCM_RATE_48000 |
2317 SNDRV_PCM_RATE_88200 |
2318 SNDRV_PCM_RATE_96000,
2322 .rate_table = (unsigned int[]) {
2323 44100, 48000, 88200, 96000
2327 /* interface 3 (MIDI) is standard compliant */
2337 USB_DEVICE(0x07cf, 0x6801),
2338 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2339 .vendor_name = "Casio",
2340 .product_name = "PL-40R",
2342 .type = QUIRK_MIDI_YAMAHA
2346 /* this ID is used by several devices without a product ID */
2347 USB_DEVICE(0x07cf, 0x6802),
2348 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2349 .vendor_name = "Casio",
2350 .product_name = "Keyboard",
2352 .type = QUIRK_MIDI_YAMAHA
2356 /* Mark of the Unicorn devices */
2358 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2359 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2360 USB_DEVICE_ID_MATCH_PRODUCT |
2361 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2363 .idProduct = 0x0001,
2364 .bDeviceSubClass = 2,
2365 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2366 .vendor_name = "MOTU",
2367 .product_name = "Fastlane",
2368 .ifnum = QUIRK_ANY_INTERFACE,
2369 .type = QUIRK_COMPOSITE,
2370 .data = & (const struct snd_usb_audio_quirk[]) {
2373 .type = QUIRK_MIDI_RAW_BYTES
2377 .type = QUIRK_IGNORE_INTERFACE
2386 /* Emagic devices */
2388 USB_DEVICE(0x086a, 0x0001),
2389 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2390 .vendor_name = "Emagic",
2391 /* .product_name = "Unitor8", */
2393 .type = QUIRK_MIDI_EMAGIC,
2394 .data = & (const struct snd_usb_midi_endpoint_info) {
2395 .out_cables = 0x80ff,
2401 USB_DEVICE(0x086a, 0x0002),
2402 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2403 .vendor_name = "Emagic",
2404 /* .product_name = "AMT8", */
2406 .type = QUIRK_MIDI_EMAGIC,
2407 .data = & (const struct snd_usb_midi_endpoint_info) {
2408 .out_cables = 0x80ff,
2414 USB_DEVICE(0x086a, 0x0003),
2415 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2416 .vendor_name = "Emagic",
2417 /* .product_name = "MT4", */
2419 .type = QUIRK_MIDI_EMAGIC,
2420 .data = & (const struct snd_usb_midi_endpoint_info) {
2421 .out_cables = 0x800f,
2429 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2430 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2431 .vendor_name = "KORG, Inc.",
2432 /* .product_name = "PANDORA PX5D", */
2434 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2439 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2440 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2441 .vendor_name = "KORG, Inc.",
2442 /* .product_name = "ToneLab ST", */
2444 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2450 USB_DEVICE(0x09e8, 0x0062),
2451 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2452 .vendor_name = "AKAI",
2453 .product_name = "MPD16",
2455 .type = QUIRK_MIDI_AKAI,
2459 /* TerraTec devices */
2461 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2462 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2463 .vendor_name = "TerraTec",
2464 .product_name = "PHASE 26",
2466 .type = QUIRK_MIDI_STANDARD_INTERFACE
2470 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2471 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2472 .vendor_name = "TerraTec",
2473 .product_name = "PHASE 26",
2475 .type = QUIRK_MIDI_STANDARD_INTERFACE
2479 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2481 .vendor_name = "TerraTec",
2482 .product_name = "PHASE 26",
2484 .type = QUIRK_MIDI_STANDARD_INTERFACE
2488 USB_DEVICE(0x0ccd, 0x0028),
2489 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2490 .vendor_name = "TerraTec",
2491 .product_name = "Aureon5.1MkII",
2492 .ifnum = QUIRK_NO_INTERFACE
2496 USB_DEVICE(0x0ccd, 0x0035),
2497 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2498 .vendor_name = "Miditech",
2499 .product_name = "Play'n Roll",
2501 .type = QUIRK_MIDI_CME
2505 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2507 USB_DEVICE(0x103d, 0x0100),
2508 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2509 .vendor_name = "Stanton",
2510 .product_name = "ScratchAmp",
2511 .ifnum = QUIRK_NO_INTERFACE
2515 USB_DEVICE(0x103d, 0x0101),
2516 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2517 .vendor_name = "Stanton",
2518 .product_name = "ScratchAmp",
2519 .ifnum = QUIRK_NO_INTERFACE
2523 /* Novation EMS devices */
2525 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2526 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2527 .vendor_name = "Novation",
2528 .product_name = "ReMOTE Audio/XStation",
2530 .type = QUIRK_MIDI_NOVATION
2534 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2535 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2536 .vendor_name = "Novation",
2537 .product_name = "Speedio",
2539 .type = QUIRK_MIDI_NOVATION
2543 USB_DEVICE(0x1235, 0x000e),
2544 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2545 /* .vendor_name = "Novation", */
2546 /* .product_name = "Launchpad", */
2548 .type = QUIRK_MIDI_RAW_BYTES
2552 USB_DEVICE(0x1235, 0x0010),
2553 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2554 .vendor_name = "Focusrite",
2555 .product_name = "Saffire 6 USB",
2556 .ifnum = QUIRK_ANY_INTERFACE,
2557 .type = QUIRK_COMPOSITE,
2558 .data = (const struct snd_usb_audio_quirk[]) {
2561 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2562 .data = &(const struct audioformat) {
2563 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2568 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2570 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2571 .rates = SNDRV_PCM_RATE_44100 |
2572 SNDRV_PCM_RATE_48000,
2576 .rate_table = (unsigned int[]) {
2583 .type = QUIRK_MIDI_RAW_BYTES
2592 USB_DEVICE(0x1235, 0x0018),
2593 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2594 .vendor_name = "Novation",
2595 .product_name = "Twitch",
2596 .ifnum = QUIRK_ANY_INTERFACE,
2597 .type = QUIRK_COMPOSITE,
2598 .data = (const struct snd_usb_audio_quirk[]) {
2601 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2602 .data = & (const struct audioformat) {
2603 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2608 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2610 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2611 .rates = SNDRV_PCM_RATE_44100 |
2612 SNDRV_PCM_RATE_48000,
2616 .rate_table = (unsigned int[]) {
2623 .type = QUIRK_MIDI_RAW_BYTES
2632 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2633 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2634 .vendor_name = "Novation",
2635 .product_name = "ReMOTE25",
2637 .type = QUIRK_MIDI_NOVATION
2642 * Focusrite Scarlett 18i6
2644 * Avoid mixer creation, which otherwise fails because some of
2645 * the interface descriptor subtypes for interface 0 are
2646 * unknown. That should be fixed or worked-around but this at
2647 * least allows the device to be used successfully with a DAW
2648 * and an external mixer. See comments below about other
2649 * ignored interfaces.
2651 USB_DEVICE(0x1235, 0x8004),
2652 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2653 .vendor_name = "Focusrite",
2654 .product_name = "Scarlett 18i6",
2655 .ifnum = QUIRK_ANY_INTERFACE,
2656 .type = QUIRK_COMPOSITE,
2657 .data = & (const struct snd_usb_audio_quirk[]) {
2659 /* InterfaceSubClass 1 (Control Device) */
2661 .type = QUIRK_IGNORE_INTERFACE
2665 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2669 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2672 /* InterfaceSubClass 1 (Control Device) */
2674 .type = QUIRK_IGNORE_INTERFACE
2678 .type = QUIRK_MIDI_STANDARD_INTERFACE
2681 /* InterfaceSubClass 1 (Device Firmware Update) */
2683 .type = QUIRK_IGNORE_INTERFACE
2692 /* Access Music devices */
2694 /* VirusTI Desktop */
2695 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2696 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2697 .ifnum = QUIRK_ANY_INTERFACE,
2698 .type = QUIRK_COMPOSITE,
2699 .data = &(const struct snd_usb_audio_quirk[]) {
2702 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2703 .data = &(const struct snd_usb_midi_endpoint_info) {
2704 .out_cables = 0x0003,
2710 .type = QUIRK_IGNORE_INTERFACE
2721 /* aka. Serato Scratch Live DJ Box */
2722 USB_DEVICE(0x13e5, 0x0001),
2723 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2724 .vendor_name = "Rane",
2725 .product_name = "SL-1",
2726 .ifnum = QUIRK_NO_INTERFACE
2730 /* Native Instruments MK2 series */
2732 /* Komplete Audio 6 */
2733 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2735 .idProduct = 0x1000,
2738 /* Traktor Audio 6 */
2739 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2741 .idProduct = 0x1010,
2744 /* Traktor Audio 10 */
2745 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2747 .idProduct = 0x1020,
2750 /* KeithMcMillen Stringport */
2752 USB_DEVICE(0x1f38, 0x0001),
2753 .bInterfaceClass = USB_CLASS_AUDIO,
2756 /* Miditech devices */
2758 USB_DEVICE(0x4752, 0x0011),
2759 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2760 .vendor_name = "Miditech",
2761 .product_name = "Midistart-2",
2763 .type = QUIRK_MIDI_CME
2767 /* Central Music devices */
2769 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2770 USB_DEVICE(0x7104, 0x2202),
2771 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2773 .type = QUIRK_MIDI_CME
2777 /* Hauppauge HVR-950Q and HVR-850 */
2779 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2780 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2781 USB_DEVICE_ID_MATCH_INT_CLASS |
2782 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2783 .bInterfaceClass = USB_CLASS_AUDIO,
2784 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2785 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2786 .vendor_name = "Hauppauge",
2787 .product_name = "HVR-950Q",
2788 .ifnum = QUIRK_ANY_INTERFACE,
2789 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2793 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2794 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2795 USB_DEVICE_ID_MATCH_INT_CLASS |
2796 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2797 .bInterfaceClass = USB_CLASS_AUDIO,
2798 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2799 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2800 .vendor_name = "Hauppauge",
2801 .product_name = "HVR-950Q",
2802 .ifnum = QUIRK_ANY_INTERFACE,
2803 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2807 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2808 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2809 USB_DEVICE_ID_MATCH_INT_CLASS |
2810 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2811 .bInterfaceClass = USB_CLASS_AUDIO,
2812 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2813 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2814 .vendor_name = "Hauppauge",
2815 .product_name = "HVR-950Q",
2816 .ifnum = QUIRK_ANY_INTERFACE,
2817 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2821 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2822 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2823 USB_DEVICE_ID_MATCH_INT_CLASS |
2824 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2825 .bInterfaceClass = USB_CLASS_AUDIO,
2826 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2827 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2828 .vendor_name = "Hauppauge",
2829 .product_name = "HVR-950Q",
2830 .ifnum = QUIRK_ANY_INTERFACE,
2831 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2835 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2836 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2837 USB_DEVICE_ID_MATCH_INT_CLASS |
2838 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2839 .bInterfaceClass = USB_CLASS_AUDIO,
2840 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2841 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2842 .vendor_name = "Hauppauge",
2843 .product_name = "HVR-950Q",
2844 .ifnum = QUIRK_ANY_INTERFACE,
2845 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2849 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2850 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2851 USB_DEVICE_ID_MATCH_INT_CLASS |
2852 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2853 .bInterfaceClass = USB_CLASS_AUDIO,
2854 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2855 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2856 .vendor_name = "Hauppauge",
2857 .product_name = "HVR-950Q",
2858 .ifnum = QUIRK_ANY_INTERFACE,
2859 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2863 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2864 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2865 USB_DEVICE_ID_MATCH_INT_CLASS |
2866 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2867 .bInterfaceClass = USB_CLASS_AUDIO,
2868 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2869 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2870 .vendor_name = "Hauppauge",
2871 .product_name = "HVR-850",
2872 .ifnum = QUIRK_ANY_INTERFACE,
2873 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2877 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2878 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2879 USB_DEVICE_ID_MATCH_INT_CLASS |
2880 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2881 .bInterfaceClass = USB_CLASS_AUDIO,
2882 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2883 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2884 .vendor_name = "Hauppauge",
2885 .product_name = "HVR-950Q",
2886 .ifnum = QUIRK_ANY_INTERFACE,
2887 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2891 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2892 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2893 USB_DEVICE_ID_MATCH_INT_CLASS |
2894 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2895 .bInterfaceClass = USB_CLASS_AUDIO,
2896 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2897 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2898 .vendor_name = "Hauppauge",
2899 .product_name = "HVR-950Q",
2900 .ifnum = QUIRK_ANY_INTERFACE,
2901 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2905 /* Digidesign Mbox */
2907 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2908 USB_DEVICE(0x0dba, 0x1000),
2909 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2910 .vendor_name = "Digidesign",
2911 .product_name = "MBox",
2912 .ifnum = QUIRK_ANY_INTERFACE,
2913 .type = QUIRK_COMPOSITE,
2914 .data = (const struct snd_usb_audio_quirk[]){
2917 .type = QUIRK_IGNORE_INTERFACE,
2921 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2922 .data = &(const struct audioformat) {
2923 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2928 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2931 .rates = SNDRV_PCM_RATE_44100 |
2932 SNDRV_PCM_RATE_48000,
2936 .rate_table = (unsigned int[]) {
2949 /* DIGIDESIGN MBOX 2 */
2951 USB_DEVICE(0x0dba, 0x3000),
2952 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2953 .vendor_name = "Digidesign",
2954 .product_name = "Mbox 2",
2955 .ifnum = QUIRK_ANY_INTERFACE,
2956 .type = QUIRK_COMPOSITE,
2957 .data = (const struct snd_usb_audio_quirk[]) {
2960 .type = QUIRK_IGNORE_INTERFACE
2964 .type = QUIRK_IGNORE_INTERFACE
2968 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2969 .data = &(const struct audioformat) {
2970 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2977 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2978 .rates = SNDRV_PCM_RATE_48000,
2982 .rate_table = (unsigned int[]) {
2989 .type = QUIRK_IGNORE_INTERFACE
2993 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2994 .data = &(const struct audioformat) {
2995 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3000 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3002 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
3003 .rates = SNDRV_PCM_RATE_48000,
3007 .rate_table = (unsigned int[]) {
3014 .type = QUIRK_IGNORE_INTERFACE
3018 .type = QUIRK_MIDI_MIDIMAN,
3019 .data = &(const struct snd_usb_midi_endpoint_info) {
3021 .out_cables = 0x0001,
3023 .in_interval = 0x01,
3034 /* Tascam US122 MKII - playback-only support */
3035 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
3037 .idProduct = 0x8021,
3038 .bInterfaceClass = USB_CLASS_AUDIO,
3039 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3040 .vendor_name = "TASCAM",
3041 .product_name = "US122 MKII",
3042 .ifnum = QUIRK_ANY_INTERFACE,
3043 .type = QUIRK_COMPOSITE,
3044 .data = (const struct snd_usb_audio_quirk[]) {
3047 .type = QUIRK_IGNORE_INTERFACE
3051 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3052 .data = &(const struct audioformat) {
3053 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3058 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3060 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3061 .rates = SNDRV_PCM_RATE_44100 |
3062 SNDRV_PCM_RATE_48000 |
3063 SNDRV_PCM_RATE_88200 |
3064 SNDRV_PCM_RATE_96000,
3068 .rate_table = (unsigned int[]) {
3069 44100, 48000, 88200, 96000
3080 /* Microsoft XboxLive Headset/Xbox Communicator */
3082 USB_DEVICE(0x045e, 0x0283),
3083 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3084 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3085 .vendor_name = "Microsoft",
3086 .product_name = "XboxLive Headset/Xbox Communicator",
3087 .ifnum = QUIRK_ANY_INTERFACE,
3088 .type = QUIRK_COMPOSITE,
3089 .data = &(const struct snd_usb_audio_quirk[]) {
3093 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3094 .data = &(const struct audioformat) {
3095 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3103 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3111 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3112 .data = &(const struct audioformat) {
3113 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3121 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3135 USB_DEVICE(0x200c, 0x100b),
3136 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3137 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3138 .ifnum = QUIRK_ANY_INTERFACE,
3139 .type = QUIRK_COMPOSITE,
3140 .data = &(const struct snd_usb_audio_quirk[]) {
3143 .type = QUIRK_AUDIO_STANDARD_MIXER,
3147 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3148 .data = &(const struct audioformat) {
3149 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3154 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3156 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3157 .rates = SNDRV_PCM_RATE_44100 |
3158 SNDRV_PCM_RATE_48000,
3162 .rate_table = (unsigned int[]) {
3176 * Some USB MIDI devices don't have an audio control interface,
3177 * so we have to grab MIDI streaming interfaces here.
3179 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3180 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3181 .bInterfaceClass = USB_CLASS_AUDIO,
3182 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3183 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3184 .ifnum = QUIRK_ANY_INTERFACE,
3185 .type = QUIRK_MIDI_STANDARD_INTERFACE
3191 * The original product_name is "USB Sound Device", however this name
3192 * is also used by the CM106 based cards, so make it unique.
3194 USB_DEVICE(0x0d8c, 0x0103),
3195 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3196 .product_name = "Audio Advantage MicroII",
3197 .ifnum = QUIRK_NO_INTERFACE
3201 #undef USB_DEVICE_VENDOR_SPEC