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, 0x1509),
389 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
390 /* .vendor_name = "Yamaha", */
391 /* .product_name = "Steinberg UR22", */
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
409 .type = QUIRK_IGNORE_INTERFACE
418 USB_DEVICE(0x0499, 0x150a),
419 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
420 /* .vendor_name = "Yamaha", */
421 /* .product_name = "THR5A", */
422 .ifnum = QUIRK_ANY_INTERFACE,
423 .type = QUIRK_COMPOSITE,
424 .data = (const struct snd_usb_audio_quirk[]) {
427 .type = QUIRK_AUDIO_STANDARD_INTERFACE
431 .type = QUIRK_AUDIO_STANDARD_INTERFACE
435 .type = QUIRK_MIDI_YAMAHA
444 USB_DEVICE(0x0499, 0x150c),
445 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
446 /* .vendor_name = "Yamaha", */
447 /* .product_name = "THR10C", */
448 .ifnum = QUIRK_ANY_INTERFACE,
449 .type = QUIRK_COMPOSITE,
450 .data = (const struct snd_usb_audio_quirk[]) {
453 .type = QUIRK_AUDIO_STANDARD_INTERFACE
457 .type = QUIRK_AUDIO_STANDARD_INTERFACE
461 .type = QUIRK_MIDI_YAMAHA
469 YAMAHA_DEVICE(0x2000, "DGP-7"),
470 YAMAHA_DEVICE(0x2001, "DGP-5"),
471 YAMAHA_DEVICE(0x2002, NULL),
472 YAMAHA_DEVICE(0x2003, NULL),
473 YAMAHA_DEVICE(0x5000, "CS1D"),
474 YAMAHA_DEVICE(0x5001, "DSP1D"),
475 YAMAHA_DEVICE(0x5002, "DME32"),
476 YAMAHA_DEVICE(0x5003, "DM2000"),
477 YAMAHA_DEVICE(0x5004, "02R96"),
478 YAMAHA_DEVICE(0x5005, "ACU16-C"),
479 YAMAHA_DEVICE(0x5006, "NHB32-C"),
480 YAMAHA_DEVICE(0x5007, "DM1000"),
481 YAMAHA_DEVICE(0x5008, "01V96"),
482 YAMAHA_DEVICE(0x5009, "SPX2000"),
483 YAMAHA_DEVICE(0x500a, "PM5D"),
484 YAMAHA_DEVICE(0x500b, "DME64N"),
485 YAMAHA_DEVICE(0x500c, "DME24N"),
486 YAMAHA_DEVICE(0x500d, NULL),
487 YAMAHA_DEVICE(0x500e, NULL),
488 YAMAHA_DEVICE(0x500f, NULL),
489 YAMAHA_DEVICE(0x7000, "DTX"),
490 YAMAHA_DEVICE(0x7010, "UB99"),
492 #undef YAMAHA_INTERFACE
493 /* this catches most recent vendor-specific Yamaha devices */
495 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
496 USB_DEVICE_ID_MATCH_INT_CLASS,
498 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
499 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
500 .ifnum = QUIRK_ANY_INTERFACE,
501 .type = QUIRK_AUTODETECT
506 * Roland/RolandED/Edirol/BOSS devices
509 USB_DEVICE(0x0582, 0x0000),
510 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
511 .vendor_name = "Roland",
512 .product_name = "UA-100",
513 .ifnum = QUIRK_ANY_INTERFACE,
514 .type = QUIRK_COMPOSITE,
515 .data = (const struct snd_usb_audio_quirk[]) {
518 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
519 .data = & (const struct audioformat) {
520 .formats = SNDRV_PCM_FMTBIT_S16_LE,
528 .rates = SNDRV_PCM_RATE_CONTINUOUS,
535 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
536 .data = & (const struct audioformat) {
537 .formats = SNDRV_PCM_FMTBIT_S16_LE,
542 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
545 .rates = SNDRV_PCM_RATE_CONTINUOUS,
552 .type = QUIRK_MIDI_FIXED_ENDPOINT,
553 .data = & (const struct snd_usb_midi_endpoint_info) {
554 .out_cables = 0x0007,
565 USB_DEVICE(0x0582, 0x0002),
566 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
567 .vendor_name = "EDIROL",
568 .product_name = "UM-4",
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 = 0x000f,
595 USB_DEVICE(0x0582, 0x0003),
596 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
597 .vendor_name = "Roland",
598 .product_name = "SC-8850",
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 = 0x003f,
625 USB_DEVICE(0x0582, 0x0004),
626 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
627 .vendor_name = "Roland",
628 .product_name = "U-8",
629 .ifnum = QUIRK_ANY_INTERFACE,
630 .type = QUIRK_COMPOSITE,
631 .data = (const struct snd_usb_audio_quirk[]) {
634 .type = QUIRK_IGNORE_INTERFACE
638 .type = QUIRK_IGNORE_INTERFACE
642 .type = QUIRK_MIDI_FIXED_ENDPOINT,
643 .data = & (const struct snd_usb_midi_endpoint_info) {
644 .out_cables = 0x0005,
655 /* Has ID 0x0099 when not in "Advanced Driver" mode.
656 * The UM-2EX has only one input, but we cannot detect this. */
657 USB_DEVICE(0x0582, 0x0005),
658 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
659 .vendor_name = "EDIROL",
660 .product_name = "UM-2",
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 = 0x0003,
687 USB_DEVICE(0x0582, 0x0007),
688 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
689 .vendor_name = "Roland",
690 .product_name = "SC-8820",
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 = 0x0013,
717 USB_DEVICE(0x0582, 0x0008),
718 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
719 .vendor_name = "Roland",
720 .product_name = "PC-300",
721 .ifnum = QUIRK_ANY_INTERFACE,
722 .type = QUIRK_COMPOSITE,
723 .data = (const struct snd_usb_audio_quirk[]) {
726 .type = QUIRK_IGNORE_INTERFACE
730 .type = QUIRK_IGNORE_INTERFACE
734 .type = QUIRK_MIDI_FIXED_ENDPOINT,
735 .data = & (const struct snd_usb_midi_endpoint_info) {
736 .out_cables = 0x0001,
747 /* has ID 0x009d when not in "Advanced Driver" mode */
748 USB_DEVICE(0x0582, 0x0009),
749 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
750 .vendor_name = "EDIROL",
751 .product_name = "UM-1",
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 = 0x0001,
778 USB_DEVICE(0x0582, 0x000b),
779 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
780 .vendor_name = "Roland",
781 .product_name = "SK-500",
782 .ifnum = QUIRK_ANY_INTERFACE,
783 .type = QUIRK_COMPOSITE,
784 .data = (const struct snd_usb_audio_quirk[]) {
787 .type = QUIRK_IGNORE_INTERFACE
791 .type = QUIRK_IGNORE_INTERFACE
795 .type = QUIRK_MIDI_FIXED_ENDPOINT,
796 .data = & (const struct snd_usb_midi_endpoint_info) {
797 .out_cables = 0x0013,
808 /* thanks to Emiliano Grilli <emillo@libero.it>
809 * for helping researching this data */
810 USB_DEVICE(0x0582, 0x000c),
811 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
812 .vendor_name = "Roland",
813 .product_name = "SC-D70",
814 .ifnum = QUIRK_ANY_INTERFACE,
815 .type = QUIRK_COMPOSITE,
816 .data = (const struct snd_usb_audio_quirk[]) {
819 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
820 .data = & (const struct audioformat) {
821 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
829 .rates = SNDRV_PCM_RATE_CONTINUOUS,
836 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
837 .data = & (const struct audioformat) {
838 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
846 .rates = SNDRV_PCM_RATE_CONTINUOUS,
853 .type = QUIRK_MIDI_FIXED_ENDPOINT,
854 .data = & (const struct snd_usb_midi_endpoint_info) {
855 .out_cables = 0x0007,
866 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
867 * If the advanced mode switch at the back of the unit is off, the
868 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
869 * but offers only 16-bit PCM.
870 * In advanced mode, the UA-5 will output S24_3LE samples (two
871 * channels) at the rate indicated on the front switch, including
872 * the 96kHz sample rate.
874 USB_DEVICE(0x0582, 0x0010),
875 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
876 .vendor_name = "EDIROL",
877 .product_name = "UA-5",
878 .ifnum = QUIRK_ANY_INTERFACE,
879 .type = QUIRK_COMPOSITE,
880 .data = (const struct snd_usb_audio_quirk[]) {
883 .type = QUIRK_AUDIO_STANDARD_INTERFACE
887 .type = QUIRK_AUDIO_STANDARD_INTERFACE
896 /* has ID 0x0013 when not in "Advanced Driver" mode */
897 USB_DEVICE(0x0582, 0x0012),
898 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
899 .vendor_name = "Roland",
900 .product_name = "XV-5050",
902 .type = QUIRK_MIDI_FIXED_ENDPOINT,
903 .data = & (const struct snd_usb_midi_endpoint_info) {
904 .out_cables = 0x0001,
910 /* has ID 0x0015 when not in "Advanced Driver" mode */
911 USB_DEVICE(0x0582, 0x0014),
912 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
913 .vendor_name = "EDIROL",
914 .product_name = "UM-880",
916 .type = QUIRK_MIDI_FIXED_ENDPOINT,
917 .data = & (const struct snd_usb_midi_endpoint_info) {
918 .out_cables = 0x01ff,
924 /* has ID 0x0017 when not in "Advanced Driver" mode */
925 USB_DEVICE(0x0582, 0x0016),
926 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
927 .vendor_name = "EDIROL",
928 .product_name = "SD-90",
929 .ifnum = QUIRK_ANY_INTERFACE,
930 .type = QUIRK_COMPOSITE,
931 .data = (const struct snd_usb_audio_quirk[]) {
934 .type = QUIRK_AUDIO_STANDARD_INTERFACE
938 .type = QUIRK_AUDIO_STANDARD_INTERFACE
942 .type = QUIRK_MIDI_FIXED_ENDPOINT,
943 .data = & (const struct snd_usb_midi_endpoint_info) {
944 .out_cables = 0x000f,
955 /* has ID 0x001c when not in "Advanced Driver" mode */
956 USB_DEVICE(0x0582, 0x001b),
957 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
958 .vendor_name = "Roland",
959 .product_name = "MMP-2",
960 .ifnum = QUIRK_ANY_INTERFACE,
961 .type = QUIRK_COMPOSITE,
962 .data = (const struct snd_usb_audio_quirk[]) {
965 .type = QUIRK_IGNORE_INTERFACE
969 .type = QUIRK_IGNORE_INTERFACE
973 .type = QUIRK_MIDI_FIXED_ENDPOINT,
974 .data = & (const struct snd_usb_midi_endpoint_info) {
975 .out_cables = 0x0001,
986 /* has ID 0x001e when not in "Advanced Driver" mode */
987 USB_DEVICE(0x0582, 0x001d),
988 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
989 .vendor_name = "Roland",
990 .product_name = "V-SYNTH",
992 .type = QUIRK_MIDI_FIXED_ENDPOINT,
993 .data = & (const struct snd_usb_midi_endpoint_info) {
994 .out_cables = 0x0001,
1000 /* has ID 0x0024 when not in "Advanced Driver" mode */
1001 USB_DEVICE(0x0582, 0x0023),
1002 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1003 .vendor_name = "EDIROL",
1004 .product_name = "UM-550",
1006 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1007 .data = & (const struct snd_usb_midi_endpoint_info) {
1008 .out_cables = 0x003f,
1015 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
1016 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
1019 USB_DEVICE(0x0582, 0x0025),
1020 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1021 .vendor_name = "EDIROL",
1022 .product_name = "UA-20",
1023 .ifnum = QUIRK_ANY_INTERFACE,
1024 .type = QUIRK_COMPOSITE,
1025 .data = (const struct snd_usb_audio_quirk[]) {
1028 .type = QUIRK_IGNORE_INTERFACE
1032 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1033 .data = & (const struct audioformat) {
1034 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1042 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1049 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1050 .data = & (const struct audioformat) {
1051 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1059 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1066 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1067 .data = & (const struct snd_usb_midi_endpoint_info) {
1068 .out_cables = 0x0001,
1079 /* has ID 0x0028 when not in "Advanced Driver" mode */
1080 USB_DEVICE(0x0582, 0x0027),
1081 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1082 .vendor_name = "EDIROL",
1083 .product_name = "SD-20",
1085 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1086 .data = & (const struct snd_usb_midi_endpoint_info) {
1087 .out_cables = 0x0003,
1093 /* has ID 0x002a when not in "Advanced Driver" mode */
1094 USB_DEVICE(0x0582, 0x0029),
1095 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1096 .vendor_name = "EDIROL",
1097 .product_name = "SD-80",
1099 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1100 .data = & (const struct snd_usb_midi_endpoint_info) {
1101 .out_cables = 0x000f,
1107 * This quirk is for the "Advanced" modes of the Edirol UA-700.
1108 * If the sample format switch is not in an advanced setting, the
1109 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
1110 * but offers only 16-bit PCM and no MIDI.
1112 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
1113 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1114 .vendor_name = "EDIROL",
1115 .product_name = "UA-700",
1116 .ifnum = QUIRK_ANY_INTERFACE,
1117 .type = QUIRK_COMPOSITE,
1118 .data = (const struct snd_usb_audio_quirk[]) {
1121 .type = QUIRK_AUDIO_EDIROL_UAXX
1125 .type = QUIRK_AUDIO_EDIROL_UAXX
1129 .type = QUIRK_AUDIO_EDIROL_UAXX
1138 /* has ID 0x002e when not in "Advanced Driver" mode */
1139 USB_DEVICE(0x0582, 0x002d),
1140 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1141 .vendor_name = "Roland",
1142 .product_name = "XV-2020",
1144 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1145 .data = & (const struct snd_usb_midi_endpoint_info) {
1146 .out_cables = 0x0001,
1152 /* has ID 0x0030 when not in "Advanced Driver" mode */
1153 USB_DEVICE(0x0582, 0x002f),
1154 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1155 .vendor_name = "Roland",
1156 .product_name = "VariOS",
1158 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1159 .data = & (const struct snd_usb_midi_endpoint_info) {
1160 .out_cables = 0x0007,
1166 /* has ID 0x0034 when not in "Advanced Driver" mode */
1167 USB_DEVICE(0x0582, 0x0033),
1168 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1169 .vendor_name = "EDIROL",
1170 .product_name = "PCR",
1172 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1173 .data = & (const struct snd_usb_midi_endpoint_info) {
1174 .out_cables = 0x0003,
1181 * Has ID 0x0038 when not in "Advanced Driver" mode;
1182 * later revisions use IDs 0x0054 and 0x00a2.
1184 USB_DEVICE(0x0582, 0x0037),
1185 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1186 .vendor_name = "Roland",
1187 .product_name = "Digital Piano",
1189 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1190 .data = & (const struct snd_usb_midi_endpoint_info) {
1191 .out_cables = 0x0001,
1198 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1199 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1202 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1203 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1204 .vendor_name = "BOSS",
1205 .product_name = "GS-10",
1206 .ifnum = QUIRK_ANY_INTERFACE,
1207 .type = QUIRK_COMPOSITE,
1208 .data = & (const struct snd_usb_audio_quirk[]) {
1211 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1215 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1219 .type = QUIRK_MIDI_STANDARD_INTERFACE
1228 /* has ID 0x0041 when not in "Advanced Driver" mode */
1229 USB_DEVICE(0x0582, 0x0040),
1230 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1231 .vendor_name = "Roland",
1232 .product_name = "GI-20",
1234 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1235 .data = & (const struct snd_usb_midi_endpoint_info) {
1236 .out_cables = 0x0001,
1242 /* has ID 0x0043 when not in "Advanced Driver" mode */
1243 USB_DEVICE(0x0582, 0x0042),
1244 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1245 .vendor_name = "Roland",
1246 .product_name = "RS-70",
1248 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1249 .data = & (const struct snd_usb_midi_endpoint_info) {
1250 .out_cables = 0x0001,
1256 /* has ID 0x0049 when not in "Advanced Driver" mode */
1257 USB_DEVICE(0x0582, 0x0047),
1258 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1259 /* .vendor_name = "EDIROL", */
1260 /* .product_name = "UR-80", */
1261 .ifnum = QUIRK_ANY_INTERFACE,
1262 .type = QUIRK_COMPOSITE,
1263 .data = (const struct snd_usb_audio_quirk[]) {
1264 /* in the 96 kHz modes, only interface 1 is there */
1267 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1271 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1280 /* has ID 0x004a when not in "Advanced Driver" mode */
1281 USB_DEVICE(0x0582, 0x0048),
1282 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1283 /* .vendor_name = "EDIROL", */
1284 /* .product_name = "UR-80", */
1286 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1287 .data = & (const struct snd_usb_midi_endpoint_info) {
1288 .out_cables = 0x0003,
1294 /* has ID 0x004e when not in "Advanced Driver" mode */
1295 USB_DEVICE(0x0582, 0x004c),
1296 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1297 .vendor_name = "EDIROL",
1298 .product_name = "PCR-A",
1299 .ifnum = QUIRK_ANY_INTERFACE,
1300 .type = QUIRK_COMPOSITE,
1301 .data = (const struct snd_usb_audio_quirk[]) {
1304 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1308 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1317 /* has ID 0x004f when not in "Advanced Driver" mode */
1318 USB_DEVICE(0x0582, 0x004d),
1319 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1320 .vendor_name = "EDIROL",
1321 .product_name = "PCR-A",
1323 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1324 .data = & (const struct snd_usb_midi_endpoint_info) {
1325 .out_cables = 0x0003,
1332 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1333 * is standard compliant, but has only 16-bit PCM.
1335 USB_DEVICE(0x0582, 0x0050),
1336 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1337 .vendor_name = "EDIROL",
1338 .product_name = "UA-3FX",
1339 .ifnum = QUIRK_ANY_INTERFACE,
1340 .type = QUIRK_COMPOSITE,
1341 .data = (const struct snd_usb_audio_quirk[]) {
1344 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1348 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1357 USB_DEVICE(0x0582, 0x0052),
1358 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1359 .vendor_name = "EDIROL",
1360 .product_name = "UM-1SX",
1362 .type = QUIRK_MIDI_STANDARD_INTERFACE
1366 USB_DEVICE(0x0582, 0x0060),
1367 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1368 .vendor_name = "Roland",
1369 .product_name = "EXR Series",
1371 .type = QUIRK_MIDI_STANDARD_INTERFACE
1375 /* has ID 0x0066 when not in "Advanced Driver" mode */
1376 USB_DEVICE(0x0582, 0x0064),
1377 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1378 /* .vendor_name = "EDIROL", */
1379 /* .product_name = "PCR-1", */
1380 .ifnum = QUIRK_ANY_INTERFACE,
1381 .type = QUIRK_COMPOSITE,
1382 .data = (const struct snd_usb_audio_quirk[]) {
1385 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1389 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1398 /* has ID 0x0067 when not in "Advanced Driver" mode */
1399 USB_DEVICE(0x0582, 0x0065),
1400 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1401 /* .vendor_name = "EDIROL", */
1402 /* .product_name = "PCR-1", */
1404 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1405 .data = & (const struct snd_usb_midi_endpoint_info) {
1406 .out_cables = 0x0001,
1412 /* has ID 0x006e when not in "Advanced Driver" mode */
1413 USB_DEVICE(0x0582, 0x006d),
1414 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1415 .vendor_name = "Roland",
1416 .product_name = "FANTOM-X",
1418 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1419 .data = & (const struct snd_usb_midi_endpoint_info) {
1420 .out_cables = 0x0001,
1426 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1427 * If the switch is not in an advanced setting, the UA-25 has
1428 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1429 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1431 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1432 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1433 .vendor_name = "EDIROL",
1434 .product_name = "UA-25",
1435 .ifnum = QUIRK_ANY_INTERFACE,
1436 .type = QUIRK_COMPOSITE,
1437 .data = (const struct snd_usb_audio_quirk[]) {
1440 .type = QUIRK_AUDIO_EDIROL_UAXX
1444 .type = QUIRK_AUDIO_EDIROL_UAXX
1448 .type = QUIRK_AUDIO_EDIROL_UAXX
1457 /* has ID 0x0076 when not in "Advanced Driver" mode */
1458 USB_DEVICE(0x0582, 0x0075),
1459 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1460 .vendor_name = "BOSS",
1461 .product_name = "DR-880",
1463 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1464 .data = & (const struct snd_usb_midi_endpoint_info) {
1465 .out_cables = 0x0001,
1471 /* has ID 0x007b when not in "Advanced Driver" mode */
1472 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1473 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1474 .vendor_name = "Roland",
1475 /* "RD" or "RD-700SX"? */
1477 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1478 .data = & (const struct snd_usb_midi_endpoint_info) {
1479 .out_cables = 0x0003,
1485 /* has ID 0x0081 when not in "Advanced Driver" mode */
1486 USB_DEVICE(0x0582, 0x0080),
1487 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1488 .vendor_name = "Roland",
1489 .product_name = "G-70",
1491 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1492 .data = & (const struct snd_usb_midi_endpoint_info) {
1493 .out_cables = 0x0001,
1499 /* has ID 0x008c when not in "Advanced Driver" mode */
1500 USB_DEVICE(0x0582, 0x008b),
1501 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1502 .vendor_name = "EDIROL",
1503 .product_name = "PC-50",
1505 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1506 .data = & (const struct snd_usb_midi_endpoint_info) {
1507 .out_cables = 0x0001,
1514 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1515 * is standard compliant, but has only 16-bit PCM and no MIDI.
1517 USB_DEVICE(0x0582, 0x00a3),
1518 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1519 .vendor_name = "EDIROL",
1520 .product_name = "UA-4FX",
1521 .ifnum = QUIRK_ANY_INTERFACE,
1522 .type = QUIRK_COMPOSITE,
1523 .data = (const struct snd_usb_audio_quirk[]) {
1526 .type = QUIRK_AUDIO_EDIROL_UAXX
1530 .type = QUIRK_AUDIO_EDIROL_UAXX
1534 .type = QUIRK_AUDIO_EDIROL_UAXX
1544 USB_DEVICE(0x0582, 0x00c4),
1545 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1546 .ifnum = QUIRK_ANY_INTERFACE,
1547 .type = QUIRK_COMPOSITE,
1548 .data = (const struct snd_usb_audio_quirk[]) {
1551 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1555 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1559 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1560 .data = & (const struct snd_usb_midi_endpoint_info) {
1561 .out_cables = 0x0001,
1572 /* Advanced modes of the Edirol UA-25EX.
1573 * For the standard mode, UA-25EX has ID 0582:00e7, which
1574 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1576 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1577 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1578 .vendor_name = "EDIROL",
1579 .product_name = "UA-25EX",
1580 .ifnum = QUIRK_ANY_INTERFACE,
1581 .type = QUIRK_COMPOSITE,
1582 .data = (const struct snd_usb_audio_quirk[]) {
1585 .type = QUIRK_AUDIO_EDIROL_UAXX
1589 .type = QUIRK_AUDIO_EDIROL_UAXX
1593 .type = QUIRK_AUDIO_EDIROL_UAXX
1603 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1604 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1606 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1607 .data = & (const struct snd_usb_midi_endpoint_info) {
1608 .out_cables = 0x0007,
1615 USB_DEVICE(0x0582, 0x0113),
1616 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1617 .ifnum = QUIRK_ANY_INTERFACE,
1618 .type = QUIRK_COMPOSITE,
1619 .data = (const struct snd_usb_audio_quirk[]) {
1622 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1626 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1630 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1631 .data = & (const struct snd_usb_midi_endpoint_info) {
1632 .out_cables = 0x0001,
1643 /* only 44.1 kHz works at the moment */
1644 USB_DEVICE(0x0582, 0x0120),
1645 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1646 /* .vendor_name = "Roland", */
1647 /* .product_name = "OCTO-CAPTURE", */
1648 .ifnum = QUIRK_ANY_INTERFACE,
1649 .type = QUIRK_COMPOSITE,
1650 .data = (const struct snd_usb_audio_quirk[]) {
1653 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1654 .data = & (const struct audioformat) {
1655 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1662 .rates = SNDRV_PCM_RATE_44100,
1666 .rate_table = (unsigned int[]) { 44100 }
1671 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1672 .data = & (const struct audioformat) {
1673 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1680 .rates = SNDRV_PCM_RATE_44100,
1684 .rate_table = (unsigned int[]) { 44100 }
1689 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1690 .data = & (const struct snd_usb_midi_endpoint_info) {
1691 .out_cables = 0x0001,
1697 .type = QUIRK_IGNORE_INTERFACE
1701 .type = QUIRK_IGNORE_INTERFACE
1710 /* only 44.1 kHz works at the moment */
1711 USB_DEVICE(0x0582, 0x012f),
1712 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1713 /* .vendor_name = "Roland", */
1714 /* .product_name = "QUAD-CAPTURE", */
1715 .ifnum = QUIRK_ANY_INTERFACE,
1716 .type = QUIRK_COMPOSITE,
1717 .data = (const struct snd_usb_audio_quirk[]) {
1720 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1721 .data = & (const struct audioformat) {
1722 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1729 .rates = SNDRV_PCM_RATE_44100,
1733 .rate_table = (unsigned int[]) { 44100 }
1738 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1739 .data = & (const struct audioformat) {
1740 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1747 .rates = SNDRV_PCM_RATE_44100,
1751 .rate_table = (unsigned int[]) { 44100 }
1756 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1757 .data = & (const struct snd_usb_midi_endpoint_info) {
1758 .out_cables = 0x0001,
1764 .type = QUIRK_IGNORE_INTERFACE
1768 .type = QUIRK_IGNORE_INTERFACE
1776 /* this catches most recent vendor-specific Roland devices */
1778 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1779 USB_DEVICE_ID_MATCH_INT_CLASS,
1781 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1782 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1783 .ifnum = QUIRK_ANY_INTERFACE,
1784 .type = QUIRK_AUTODETECT
1788 /* Guillemot devices */
1791 * This is for the "Windows Edition" where the external MIDI ports are
1792 * the only MIDI ports; the control data is reported through HID
1793 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1794 * compliant USB MIDI ports for external MIDI and controls.
1796 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1797 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1798 .vendor_name = "Hercules",
1799 .product_name = "DJ Console (WE)",
1801 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1802 .data = & (const struct snd_usb_midi_endpoint_info) {
1803 .out_cables = 0x0001,
1809 /* Midiman/M-Audio devices */
1811 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1812 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1813 .vendor_name = "M-Audio",
1814 .product_name = "MidiSport 2x2",
1815 .ifnum = QUIRK_ANY_INTERFACE,
1816 .type = QUIRK_MIDI_MIDIMAN,
1817 .data = & (const struct snd_usb_midi_endpoint_info) {
1818 .out_cables = 0x0003,
1824 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1825 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1826 .vendor_name = "M-Audio",
1827 .product_name = "MidiSport 1x1",
1828 .ifnum = QUIRK_ANY_INTERFACE,
1829 .type = QUIRK_MIDI_MIDIMAN,
1830 .data = & (const struct snd_usb_midi_endpoint_info) {
1831 .out_cables = 0x0001,
1837 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1838 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1839 .vendor_name = "M-Audio",
1840 .product_name = "Keystation",
1841 .ifnum = QUIRK_ANY_INTERFACE,
1842 .type = QUIRK_MIDI_MIDIMAN,
1843 .data = & (const struct snd_usb_midi_endpoint_info) {
1844 .out_cables = 0x0001,
1850 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1851 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1852 .vendor_name = "M-Audio",
1853 .product_name = "MidiSport 4x4",
1854 .ifnum = QUIRK_ANY_INTERFACE,
1855 .type = QUIRK_MIDI_MIDIMAN,
1856 .data = & (const struct snd_usb_midi_endpoint_info) {
1857 .out_cables = 0x000f,
1864 * For hardware revision 1.05; in the later revisions (1.10 and
1865 * 1.21), 0x1031 is the ID for the device without firmware.
1866 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1868 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1869 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1870 .vendor_name = "M-Audio",
1871 .product_name = "MidiSport 8x8",
1872 .ifnum = QUIRK_ANY_INTERFACE,
1873 .type = QUIRK_MIDI_MIDIMAN,
1874 .data = & (const struct snd_usb_midi_endpoint_info) {
1875 .out_cables = 0x01ff,
1881 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1882 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1883 .vendor_name = "M-Audio",
1884 .product_name = "MidiSport 8x8",
1885 .ifnum = QUIRK_ANY_INTERFACE,
1886 .type = QUIRK_MIDI_MIDIMAN,
1887 .data = & (const struct snd_usb_midi_endpoint_info) {
1888 .out_cables = 0x01ff,
1894 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1895 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1896 .vendor_name = "M-Audio",
1897 .product_name = "MidiSport 2x4",
1898 .ifnum = QUIRK_ANY_INTERFACE,
1899 .type = QUIRK_MIDI_MIDIMAN,
1900 .data = & (const struct snd_usb_midi_endpoint_info) {
1901 .out_cables = 0x000f,
1907 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1908 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1909 .vendor_name = "M-Audio",
1910 .product_name = "Quattro",
1911 .ifnum = QUIRK_ANY_INTERFACE,
1912 .type = QUIRK_COMPOSITE,
1913 .data = & (const struct snd_usb_audio_quirk[]) {
1915 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1916 * and share endpoints with the other interfaces.
1917 * Ignore them. The other interfaces can do 24 bits,
1918 * but captured samples are big-endian (see usbaudio.c).
1922 .type = QUIRK_IGNORE_INTERFACE
1926 .type = QUIRK_IGNORE_INTERFACE
1930 .type = QUIRK_IGNORE_INTERFACE
1934 .type = QUIRK_IGNORE_INTERFACE
1938 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1942 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1946 .type = QUIRK_IGNORE_INTERFACE
1950 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1954 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1958 .type = QUIRK_MIDI_MIDIMAN,
1959 .data = & (const struct snd_usb_midi_endpoint_info) {
1960 .out_cables = 0x0001,
1971 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1972 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1973 .vendor_name = "M-Audio",
1974 .product_name = "AudioPhile",
1976 .type = QUIRK_MIDI_MIDIMAN,
1977 .data = & (const struct snd_usb_midi_endpoint_info) {
1978 .out_cables = 0x0001,
1984 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1985 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1986 .vendor_name = "M-Audio",
1987 .product_name = "Ozone",
1989 .type = QUIRK_MIDI_MIDIMAN,
1990 .data = & (const struct snd_usb_midi_endpoint_info) {
1991 .out_cables = 0x0001,
1997 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1998 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1999 .vendor_name = "M-Audio",
2000 .product_name = "OmniStudio",
2001 .ifnum = QUIRK_ANY_INTERFACE,
2002 .type = QUIRK_COMPOSITE,
2003 .data = & (const struct snd_usb_audio_quirk[]) {
2006 .type = QUIRK_IGNORE_INTERFACE
2010 .type = QUIRK_IGNORE_INTERFACE
2014 .type = QUIRK_IGNORE_INTERFACE
2018 .type = QUIRK_IGNORE_INTERFACE
2022 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2026 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2030 .type = QUIRK_IGNORE_INTERFACE
2034 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2038 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2042 .type = QUIRK_MIDI_MIDIMAN,
2043 .data = & (const struct snd_usb_midi_endpoint_info) {
2044 .out_cables = 0x0001,
2055 USB_DEVICE(0x0763, 0x2019),
2056 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2057 /* .vendor_name = "M-Audio", */
2058 /* .product_name = "Ozone Academic", */
2059 .ifnum = QUIRK_ANY_INTERFACE,
2060 .type = QUIRK_COMPOSITE,
2061 .data = & (const struct snd_usb_audio_quirk[]) {
2064 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2068 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2072 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2076 .type = QUIRK_MIDI_MIDIMAN,
2077 .data = & (const struct snd_usb_midi_endpoint_info) {
2078 .out_cables = 0x0001,
2089 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2090 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2091 /* .vendor_name = "M-Audio", */
2092 /* .product_name = "Fast Track C400", */
2093 .ifnum = QUIRK_ANY_INTERFACE,
2094 .type = QUIRK_COMPOSITE,
2095 .data = &(const struct snd_usb_audio_quirk[]) {
2098 .type = QUIRK_AUDIO_STANDARD_MIXER,
2103 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2104 .data = &(const struct audioformat) {
2105 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2110 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2113 .rates = SNDRV_PCM_RATE_44100 |
2114 SNDRV_PCM_RATE_48000 |
2115 SNDRV_PCM_RATE_88200 |
2116 SNDRV_PCM_RATE_96000,
2120 .rate_table = (unsigned int[]) {
2121 44100, 48000, 88200, 96000
2129 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2130 .data = &(const struct audioformat) {
2131 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2136 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2139 .rates = SNDRV_PCM_RATE_44100 |
2140 SNDRV_PCM_RATE_48000 |
2141 SNDRV_PCM_RATE_88200 |
2142 SNDRV_PCM_RATE_96000,
2146 .rate_table = (unsigned int[]) {
2147 44100, 48000, 88200, 96000
2154 .ifnum = -1 /* Interface = 4 */
2160 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2161 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2162 /* .vendor_name = "M-Audio", */
2163 /* .product_name = "Fast Track C600", */
2164 .ifnum = QUIRK_ANY_INTERFACE,
2165 .type = QUIRK_COMPOSITE,
2166 .data = &(const struct snd_usb_audio_quirk[]) {
2169 .type = QUIRK_AUDIO_STANDARD_MIXER,
2174 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2175 .data = &(const struct audioformat) {
2176 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2181 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2184 .rates = SNDRV_PCM_RATE_44100 |
2185 SNDRV_PCM_RATE_48000 |
2186 SNDRV_PCM_RATE_88200 |
2187 SNDRV_PCM_RATE_96000,
2191 .rate_table = (unsigned int[]) {
2192 44100, 48000, 88200, 96000
2200 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2201 .data = &(const struct audioformat) {
2202 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2207 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2210 .rates = SNDRV_PCM_RATE_44100 |
2211 SNDRV_PCM_RATE_48000 |
2212 SNDRV_PCM_RATE_88200 |
2213 SNDRV_PCM_RATE_96000,
2217 .rate_table = (unsigned int[]) {
2218 44100, 48000, 88200, 96000
2225 .ifnum = -1 /* Interface = 4 */
2231 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2232 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2233 /* .vendor_name = "M-Audio", */
2234 /* .product_name = "Fast Track Ultra", */
2235 .ifnum = QUIRK_ANY_INTERFACE,
2236 .type = QUIRK_COMPOSITE,
2237 .data = & (const struct snd_usb_audio_quirk[]) {
2240 .type = QUIRK_AUDIO_STANDARD_MIXER,
2244 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2245 .data = & (const struct audioformat) {
2246 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2251 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2254 .rates = SNDRV_PCM_RATE_44100 |
2255 SNDRV_PCM_RATE_48000 |
2256 SNDRV_PCM_RATE_88200 |
2257 SNDRV_PCM_RATE_96000,
2261 .rate_table = (unsigned int[]) {
2262 44100, 48000, 88200, 96000
2268 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2269 .data = & (const struct audioformat) {
2270 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2275 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2278 .rates = SNDRV_PCM_RATE_44100 |
2279 SNDRV_PCM_RATE_48000 |
2280 SNDRV_PCM_RATE_88200 |
2281 SNDRV_PCM_RATE_96000,
2285 .rate_table = (unsigned int[]) {
2286 44100, 48000, 88200, 96000
2290 /* interface 3 (MIDI) is standard compliant */
2298 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2299 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2300 /* .vendor_name = "M-Audio", */
2301 /* .product_name = "Fast Track Ultra 8R", */
2302 .ifnum = QUIRK_ANY_INTERFACE,
2303 .type = QUIRK_COMPOSITE,
2304 .data = & (const struct snd_usb_audio_quirk[]) {
2307 .type = QUIRK_AUDIO_STANDARD_MIXER,
2311 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2312 .data = & (const struct audioformat) {
2313 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2318 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2321 .rates = SNDRV_PCM_RATE_44100 |
2322 SNDRV_PCM_RATE_48000 |
2323 SNDRV_PCM_RATE_88200 |
2324 SNDRV_PCM_RATE_96000,
2328 .rate_table = (unsigned int[]) {
2329 44100, 48000, 88200, 96000
2335 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2336 .data = & (const struct audioformat) {
2337 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2342 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2345 .rates = SNDRV_PCM_RATE_44100 |
2346 SNDRV_PCM_RATE_48000 |
2347 SNDRV_PCM_RATE_88200 |
2348 SNDRV_PCM_RATE_96000,
2352 .rate_table = (unsigned int[]) {
2353 44100, 48000, 88200, 96000
2357 /* interface 3 (MIDI) is standard compliant */
2367 USB_DEVICE(0x07cf, 0x6801),
2368 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2369 .vendor_name = "Casio",
2370 .product_name = "PL-40R",
2372 .type = QUIRK_MIDI_YAMAHA
2376 /* this ID is used by several devices without a product ID */
2377 USB_DEVICE(0x07cf, 0x6802),
2378 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2379 .vendor_name = "Casio",
2380 .product_name = "Keyboard",
2382 .type = QUIRK_MIDI_YAMAHA
2386 /* Mark of the Unicorn devices */
2388 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2389 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2390 USB_DEVICE_ID_MATCH_PRODUCT |
2391 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2393 .idProduct = 0x0001,
2394 .bDeviceSubClass = 2,
2395 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2396 .vendor_name = "MOTU",
2397 .product_name = "Fastlane",
2398 .ifnum = QUIRK_ANY_INTERFACE,
2399 .type = QUIRK_COMPOSITE,
2400 .data = & (const struct snd_usb_audio_quirk[]) {
2403 .type = QUIRK_MIDI_RAW_BYTES
2407 .type = QUIRK_IGNORE_INTERFACE
2416 /* Emagic devices */
2418 USB_DEVICE(0x086a, 0x0001),
2419 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2420 .vendor_name = "Emagic",
2421 /* .product_name = "Unitor8", */
2423 .type = QUIRK_MIDI_EMAGIC,
2424 .data = & (const struct snd_usb_midi_endpoint_info) {
2425 .out_cables = 0x80ff,
2431 USB_DEVICE(0x086a, 0x0002),
2432 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2433 .vendor_name = "Emagic",
2434 /* .product_name = "AMT8", */
2436 .type = QUIRK_MIDI_EMAGIC,
2437 .data = & (const struct snd_usb_midi_endpoint_info) {
2438 .out_cables = 0x80ff,
2444 USB_DEVICE(0x086a, 0x0003),
2445 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2446 .vendor_name = "Emagic",
2447 /* .product_name = "MT4", */
2449 .type = QUIRK_MIDI_EMAGIC,
2450 .data = & (const struct snd_usb_midi_endpoint_info) {
2451 .out_cables = 0x800f,
2459 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2460 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2461 .vendor_name = "KORG, Inc.",
2462 /* .product_name = "PANDORA PX5D", */
2464 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2469 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2470 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2471 .vendor_name = "KORG, Inc.",
2472 /* .product_name = "ToneLab ST", */
2474 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2480 USB_DEVICE(0x09e8, 0x0062),
2481 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2482 .vendor_name = "AKAI",
2483 .product_name = "MPD16",
2485 .type = QUIRK_MIDI_AKAI,
2490 /* Akai MPC Element */
2491 USB_DEVICE(0x09e8, 0x0021),
2492 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2493 .ifnum = QUIRK_ANY_INTERFACE,
2494 .type = QUIRK_COMPOSITE,
2495 .data = & (const struct snd_usb_audio_quirk[]) {
2498 .type = QUIRK_IGNORE_INTERFACE
2502 .type = QUIRK_MIDI_STANDARD_INTERFACE
2511 /* TerraTec devices */
2513 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2514 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2515 .vendor_name = "TerraTec",
2516 .product_name = "PHASE 26",
2518 .type = QUIRK_MIDI_STANDARD_INTERFACE
2522 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2524 .vendor_name = "TerraTec",
2525 .product_name = "PHASE 26",
2527 .type = QUIRK_MIDI_STANDARD_INTERFACE
2531 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2532 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2533 .vendor_name = "TerraTec",
2534 .product_name = "PHASE 26",
2536 .type = QUIRK_MIDI_STANDARD_INTERFACE
2540 USB_DEVICE(0x0ccd, 0x0028),
2541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2542 .vendor_name = "TerraTec",
2543 .product_name = "Aureon5.1MkII",
2544 .ifnum = QUIRK_NO_INTERFACE
2548 USB_DEVICE(0x0ccd, 0x0035),
2549 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2550 .vendor_name = "Miditech",
2551 .product_name = "Play'n Roll",
2553 .type = QUIRK_MIDI_CME
2557 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2559 USB_DEVICE(0x103d, 0x0100),
2560 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2561 .vendor_name = "Stanton",
2562 .product_name = "ScratchAmp",
2563 .ifnum = QUIRK_NO_INTERFACE
2567 USB_DEVICE(0x103d, 0x0101),
2568 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2569 .vendor_name = "Stanton",
2570 .product_name = "ScratchAmp",
2571 .ifnum = QUIRK_NO_INTERFACE
2575 /* Novation EMS devices */
2577 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2578 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2579 .vendor_name = "Novation",
2580 .product_name = "ReMOTE Audio/XStation",
2582 .type = QUIRK_MIDI_NOVATION
2586 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2587 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2588 .vendor_name = "Novation",
2589 .product_name = "Speedio",
2591 .type = QUIRK_MIDI_NOVATION
2595 USB_DEVICE(0x1235, 0x000e),
2596 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2597 /* .vendor_name = "Novation", */
2598 /* .product_name = "Launchpad", */
2600 .type = QUIRK_MIDI_RAW_BYTES
2604 USB_DEVICE(0x1235, 0x0010),
2605 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2606 .vendor_name = "Focusrite",
2607 .product_name = "Saffire 6 USB",
2608 .ifnum = QUIRK_ANY_INTERFACE,
2609 .type = QUIRK_COMPOSITE,
2610 .data = (const struct snd_usb_audio_quirk[]) {
2613 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2614 .data = &(const struct audioformat) {
2615 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2620 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2622 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2623 .rates = SNDRV_PCM_RATE_44100 |
2624 SNDRV_PCM_RATE_48000,
2628 .rate_table = (unsigned int[]) {
2635 .type = QUIRK_MIDI_RAW_BYTES
2644 USB_DEVICE(0x1235, 0x0018),
2645 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2646 .vendor_name = "Novation",
2647 .product_name = "Twitch",
2648 .ifnum = QUIRK_ANY_INTERFACE,
2649 .type = QUIRK_COMPOSITE,
2650 .data = (const struct snd_usb_audio_quirk[]) {
2653 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2654 .data = & (const struct audioformat) {
2655 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2660 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2662 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2663 .rates = SNDRV_PCM_RATE_44100 |
2664 SNDRV_PCM_RATE_48000,
2668 .rate_table = (unsigned int[]) {
2675 .type = QUIRK_MIDI_RAW_BYTES
2684 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2685 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2686 .vendor_name = "Novation",
2687 .product_name = "ReMOTE25",
2689 .type = QUIRK_MIDI_NOVATION
2693 /* Access Music devices */
2695 /* VirusTI Desktop */
2696 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2697 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2698 .ifnum = QUIRK_ANY_INTERFACE,
2699 .type = QUIRK_COMPOSITE,
2700 .data = &(const struct snd_usb_audio_quirk[]) {
2703 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2704 .data = &(const struct snd_usb_midi_endpoint_info) {
2705 .out_cables = 0x0003,
2711 .type = QUIRK_IGNORE_INTERFACE
2722 /* aka. Serato Scratch Live DJ Box */
2723 USB_DEVICE(0x13e5, 0x0001),
2724 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2725 .vendor_name = "Rane",
2726 .product_name = "SL-1",
2727 .ifnum = QUIRK_NO_INTERFACE
2731 /* Native Instruments MK2 series */
2733 /* Komplete Audio 6 */
2734 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2736 .idProduct = 0x1000,
2739 /* Traktor Audio 6 */
2740 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2742 .idProduct = 0x1010,
2745 /* Traktor Audio 10 */
2746 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2748 .idProduct = 0x1020,
2751 /* KeithMcMillen Stringport */
2753 USB_DEVICE(0x1f38, 0x0001),
2754 .bInterfaceClass = USB_CLASS_AUDIO,
2757 /* Miditech devices */
2759 USB_DEVICE(0x4752, 0x0011),
2760 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2761 .vendor_name = "Miditech",
2762 .product_name = "Midistart-2",
2764 .type = QUIRK_MIDI_CME
2768 /* Central Music devices */
2770 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2771 USB_DEVICE(0x7104, 0x2202),
2772 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2774 .type = QUIRK_MIDI_CME
2779 * Auvitek au0828 devices with audio interface.
2780 * This should be kept in sync with drivers/media/usb/au0828/au0828-cards.c
2781 * Please notice that some drivers are DVB only, and don't need to be
2782 * here. That's the case, for example, of DVICO_FUSIONHDTV7.
2785 #define AU0828_DEVICE(vid, pid, vname, pname) { \
2786 USB_DEVICE_VENDOR_SPEC(vid, pid), \
2787 .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
2788 USB_DEVICE_ID_MATCH_INT_CLASS | \
2789 USB_DEVICE_ID_MATCH_INT_SUBCLASS, \
2790 .bInterfaceClass = USB_CLASS_AUDIO, \
2791 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL, \
2792 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { \
2793 .vendor_name = vname, \
2794 .product_name = pname, \
2795 .ifnum = QUIRK_ANY_INTERFACE, \
2796 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2800 AU0828_DEVICE(0x2040, 0x7200, "Hauppauge", "HVR-950Q"),
2801 AU0828_DEVICE(0x2040, 0x7240, "Hauppauge", "HVR-850"),
2802 AU0828_DEVICE(0x2040, 0x7210, "Hauppauge", "HVR-950Q"),
2803 AU0828_DEVICE(0x2040, 0x7217, "Hauppauge", "HVR-950Q"),
2804 AU0828_DEVICE(0x2040, 0x721b, "Hauppauge", "HVR-950Q"),
2805 AU0828_DEVICE(0x2040, 0x721e, "Hauppauge", "HVR-950Q"),
2806 AU0828_DEVICE(0x2040, 0x721f, "Hauppauge", "HVR-950Q"),
2807 AU0828_DEVICE(0x2040, 0x7280, "Hauppauge", "HVR-950Q"),
2808 AU0828_DEVICE(0x0fd9, 0x0008, "Hauppauge", "HVR-950Q"),
2809 AU0828_DEVICE(0x2040, 0x7201, "Hauppauge", "HVR-950Q-MXL"),
2810 AU0828_DEVICE(0x2040, 0x7211, "Hauppauge", "HVR-950Q-MXL"),
2811 AU0828_DEVICE(0x2040, 0x7281, "Hauppauge", "HVR-950Q-MXL"),
2812 AU0828_DEVICE(0x05e1, 0x0480, "Hauppauge", "Woodbury"),
2813 AU0828_DEVICE(0x2040, 0x8200, "Hauppauge", "Woodbury"),
2814 AU0828_DEVICE(0x2040, 0x7260, "Hauppauge", "HVR-950Q"),
2815 AU0828_DEVICE(0x2040, 0x7213, "Hauppauge", "HVR-950Q"),
2816 AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
2818 /* Digidesign Mbox */
2820 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2821 USB_DEVICE(0x0dba, 0x1000),
2822 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2823 .vendor_name = "Digidesign",
2824 .product_name = "MBox",
2825 .ifnum = QUIRK_ANY_INTERFACE,
2826 .type = QUIRK_COMPOSITE,
2827 .data = (const struct snd_usb_audio_quirk[]){
2830 .type = QUIRK_AUDIO_STANDARD_MIXER,
2834 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2835 .data = &(const struct audioformat) {
2836 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2843 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2844 USB_ENDPOINT_SYNC_SYNC,
2845 .maxpacksize = 0x130,
2846 .rates = SNDRV_PCM_RATE_48000,
2850 .rate_table = (unsigned int[]) {
2857 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2858 .data = &(const struct audioformat) {
2859 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2866 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2867 USB_ENDPOINT_SYNC_ASYNC,
2868 .maxpacksize = 0x130,
2869 .rates = SNDRV_PCM_RATE_48000,
2873 .rate_table = (unsigned int[]) {
2885 /* DIGIDESIGN MBOX 2 */
2887 USB_DEVICE(0x0dba, 0x3000),
2888 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2889 .vendor_name = "Digidesign",
2890 .product_name = "Mbox 2",
2891 .ifnum = QUIRK_ANY_INTERFACE,
2892 .type = QUIRK_COMPOSITE,
2893 .data = (const struct snd_usb_audio_quirk[]) {
2896 .type = QUIRK_IGNORE_INTERFACE
2900 .type = QUIRK_IGNORE_INTERFACE
2904 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2905 .data = &(const struct audioformat) {
2906 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2913 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2914 .rates = SNDRV_PCM_RATE_48000,
2918 .rate_table = (unsigned int[]) {
2925 .type = QUIRK_IGNORE_INTERFACE
2929 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2930 .data = &(const struct audioformat) {
2931 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2936 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2938 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2939 .rates = SNDRV_PCM_RATE_48000,
2943 .rate_table = (unsigned int[]) {
2950 .type = QUIRK_IGNORE_INTERFACE
2954 .type = QUIRK_MIDI_MIDIMAN,
2955 .data = &(const struct snd_usb_midi_endpoint_info) {
2957 .out_cables = 0x0001,
2959 .in_interval = 0x01,
2970 /* Tascam US122 MKII - playback-only support */
2971 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2973 .idProduct = 0x8021,
2974 .bInterfaceClass = USB_CLASS_AUDIO,
2975 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2976 .vendor_name = "TASCAM",
2977 .product_name = "US122 MKII",
2978 .ifnum = QUIRK_ANY_INTERFACE,
2979 .type = QUIRK_COMPOSITE,
2980 .data = (const struct snd_usb_audio_quirk[]) {
2983 .type = QUIRK_IGNORE_INTERFACE
2987 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2988 .data = &(const struct audioformat) {
2989 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2994 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2996 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2997 .rates = SNDRV_PCM_RATE_44100 |
2998 SNDRV_PCM_RATE_48000 |
2999 SNDRV_PCM_RATE_88200 |
3000 SNDRV_PCM_RATE_96000,
3004 .rate_table = (unsigned int[]) {
3005 44100, 48000, 88200, 96000
3016 /* Microsoft XboxLive Headset/Xbox Communicator */
3018 USB_DEVICE(0x045e, 0x0283),
3019 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3020 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3021 .vendor_name = "Microsoft",
3022 .product_name = "XboxLive Headset/Xbox Communicator",
3023 .ifnum = QUIRK_ANY_INTERFACE,
3024 .type = QUIRK_COMPOSITE,
3025 .data = &(const struct snd_usb_audio_quirk[]) {
3029 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3030 .data = &(const struct audioformat) {
3031 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3039 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3047 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3048 .data = &(const struct audioformat) {
3049 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3057 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3071 USB_DEVICE(0x200c, 0x100b),
3072 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3073 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3074 .ifnum = QUIRK_ANY_INTERFACE,
3075 .type = QUIRK_COMPOSITE,
3076 .data = &(const struct snd_usb_audio_quirk[]) {
3079 .type = QUIRK_AUDIO_STANDARD_MIXER,
3083 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3084 .data = &(const struct audioformat) {
3085 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3090 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3092 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3093 .rates = SNDRV_PCM_RATE_44100 |
3094 SNDRV_PCM_RATE_48000,
3098 .rate_table = (unsigned int[]) {
3112 * ZOOM R16/24 in audio interface mode.
3113 * Mixer descriptors are garbage, further quirks will be needed
3114 * to make any of it functional, thus disabled for now.
3115 * Playback stream appears to start and run fine but no sound
3116 * is produced, so also disabled for now.
3118 USB_DEVICE(0x1686, 0x00dd),
3119 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3120 .ifnum = QUIRK_ANY_INTERFACE,
3121 .type = QUIRK_COMPOSITE,
3122 .data = (const struct snd_usb_audio_quirk[]) {
3126 .type = QUIRK_IGNORE_INTERFACE,
3131 .type = QUIRK_IGNORE_INTERFACE,
3136 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3141 .type = QUIRK_MIDI_STANDARD_INTERFACE
3152 * Some USB MIDI devices don't have an audio control interface,
3153 * so we have to grab MIDI streaming interfaces here.
3155 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3156 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3157 .bInterfaceClass = USB_CLASS_AUDIO,
3158 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3159 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3160 .ifnum = QUIRK_ANY_INTERFACE,
3161 .type = QUIRK_MIDI_STANDARD_INTERFACE
3167 * The original product_name is "USB Sound Device", however this name
3168 * is also used by the CM106 based cards, so make it unique.
3170 USB_DEVICE(0x0d8c, 0x0103),
3171 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3172 .product_name = "Audio Advantage MicroII",
3173 .ifnum = QUIRK_NO_INTERFACE
3177 #undef USB_DEVICE_VENDOR_SPEC