x86/xen: resume timer irqs early
[linux/fpc-iii.git] / sound / usb / quirks-table.h
blob0a81a51dd997431de73df9e00e9fe27e0475c6f3
1 /*
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, \
38 .idVendor = vend, \
39 .idProduct = prod, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
42 /* FTDI devices */
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", */
48 .ifnum = 0,
49 .type = QUIRK_MIDI_FTDI
54 /* Creative BT-D1 */
55 USB_DEVICE(0x041e, 0x0005),
56 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
57 .ifnum = 1,
58 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
59 .data = &(const struct audioformat) {
60 .formats = SNDRV_PCM_FMTBIT_S16_LE,
61 .channels = 2,
62 .iface = 1,
63 .altsetting = 1,
64 .altset_idx = 1,
65 .endpoint = 0x03,
66 .ep_attr = USB_ENDPOINT_XFER_ISOC,
67 .attributes = 0,
68 .rates = SNDRV_PCM_RATE_CONTINUOUS,
69 .rate_min = 48000,
70 .rate_max = 48000,
75 /* Creative/Toshiba Multimedia Center SB-0500 */
77 USB_DEVICE(0x041e, 0x3048),
78 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
79 .vendor_name = "Toshiba",
80 .product_name = "SB-0500",
81 .ifnum = QUIRK_NO_INTERFACE
85 /* Creative/E-Mu devices */
87 USB_DEVICE(0x041e, 0x3010),
88 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
89 .vendor_name = "Creative Labs",
90 .product_name = "Sound Blaster MP3+",
91 .ifnum = QUIRK_NO_INTERFACE
95 /* E-Mu 0202 USB */
96 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
97 .idVendor = 0x041e,
98 .idProduct = 0x3f02,
99 .bInterfaceClass = USB_CLASS_AUDIO,
102 /* E-Mu 0404 USB */
103 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
104 .idVendor = 0x041e,
105 .idProduct = 0x3f04,
106 .bInterfaceClass = USB_CLASS_AUDIO,
109 /* E-Mu Tracker Pre */
110 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
111 .idVendor = 0x041e,
112 .idProduct = 0x3f0a,
113 .bInterfaceClass = USB_CLASS_AUDIO,
116 /* E-Mu 0204 USB */
117 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
118 .idVendor = 0x041e,
119 .idProduct = 0x3f19,
120 .bInterfaceClass = USB_CLASS_AUDIO,
124 * HP Wireless Audio
125 * When not ignored, causes instability issues for some users, forcing them to
126 * blacklist the entire module.
129 USB_DEVICE(0x0424, 0xb832),
130 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
131 .vendor_name = "Standard Microsystems Corp.",
132 .product_name = "HP Wireless Audio",
133 .ifnum = QUIRK_ANY_INTERFACE,
134 .type = QUIRK_COMPOSITE,
135 .data = (const struct snd_usb_audio_quirk[]) {
136 /* Mixer */
138 .ifnum = 0,
139 .type = QUIRK_IGNORE_INTERFACE,
141 /* Playback */
143 .ifnum = 1,
144 .type = QUIRK_IGNORE_INTERFACE,
146 /* Capture */
148 .ifnum = 2,
149 .type = QUIRK_IGNORE_INTERFACE,
151 /* HID Device, .ifnum = 3 */
153 .ifnum = -1,
160 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
161 * class matches do not take effect without an explicit ID match.
164 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
165 USB_DEVICE_ID_MATCH_INT_CLASS |
166 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
167 .idVendor = 0x046d,
168 .idProduct = 0x0850,
169 .bInterfaceClass = USB_CLASS_AUDIO,
170 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
173 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
174 USB_DEVICE_ID_MATCH_INT_CLASS |
175 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
176 .idVendor = 0x046d,
177 .idProduct = 0x08ae,
178 .bInterfaceClass = USB_CLASS_AUDIO,
179 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
182 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
183 USB_DEVICE_ID_MATCH_INT_CLASS |
184 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
185 .idVendor = 0x046d,
186 .idProduct = 0x08c6,
187 .bInterfaceClass = USB_CLASS_AUDIO,
188 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
191 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
192 USB_DEVICE_ID_MATCH_INT_CLASS |
193 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
194 .idVendor = 0x046d,
195 .idProduct = 0x08f0,
196 .bInterfaceClass = USB_CLASS_AUDIO,
197 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
200 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
201 USB_DEVICE_ID_MATCH_INT_CLASS |
202 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
203 .idVendor = 0x046d,
204 .idProduct = 0x08f5,
205 .bInterfaceClass = USB_CLASS_AUDIO,
206 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
209 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
210 USB_DEVICE_ID_MATCH_INT_CLASS |
211 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
212 .idVendor = 0x046d,
213 .idProduct = 0x08f6,
214 .bInterfaceClass = USB_CLASS_AUDIO,
215 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
218 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
219 USB_DEVICE_ID_MATCH_INT_CLASS |
220 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
221 .idVendor = 0x046d,
222 .idProduct = 0x0990,
223 .bInterfaceClass = USB_CLASS_AUDIO,
224 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
225 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
226 .vendor_name = "Logitech, Inc.",
227 .product_name = "QuickCam Pro 9000",
228 .ifnum = QUIRK_NO_INTERFACE
233 * Yamaha devices
236 #define YAMAHA_DEVICE(id, name) { \
237 USB_DEVICE(0x0499, id), \
238 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
239 .vendor_name = "Yamaha", \
240 .product_name = name, \
241 .ifnum = QUIRK_ANY_INTERFACE, \
242 .type = QUIRK_MIDI_YAMAHA \
245 #define YAMAHA_INTERFACE(id, intf, name) { \
246 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
247 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
248 .vendor_name = "Yamaha", \
249 .product_name = name, \
250 .ifnum = intf, \
251 .type = QUIRK_MIDI_YAMAHA \
254 YAMAHA_DEVICE(0x1000, "UX256"),
255 YAMAHA_DEVICE(0x1001, "MU1000"),
256 YAMAHA_DEVICE(0x1002, "MU2000"),
257 YAMAHA_DEVICE(0x1003, "MU500"),
258 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
259 YAMAHA_DEVICE(0x1005, "MOTIF6"),
260 YAMAHA_DEVICE(0x1006, "MOTIF7"),
261 YAMAHA_DEVICE(0x1007, "MOTIF8"),
262 YAMAHA_DEVICE(0x1008, "UX96"),
263 YAMAHA_DEVICE(0x1009, "UX16"),
264 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
265 YAMAHA_DEVICE(0x100c, "UC-MX"),
266 YAMAHA_DEVICE(0x100d, "UC-KX"),
267 YAMAHA_DEVICE(0x100e, "S08"),
268 YAMAHA_DEVICE(0x100f, "CLP-150"),
269 YAMAHA_DEVICE(0x1010, "CLP-170"),
270 YAMAHA_DEVICE(0x1011, "P-250"),
271 YAMAHA_DEVICE(0x1012, "TYROS"),
272 YAMAHA_DEVICE(0x1013, "PF-500"),
273 YAMAHA_DEVICE(0x1014, "S90"),
274 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
275 YAMAHA_DEVICE(0x1016, "MDP-5"),
276 YAMAHA_DEVICE(0x1017, "CVP-204"),
277 YAMAHA_DEVICE(0x1018, "CVP-206"),
278 YAMAHA_DEVICE(0x1019, "CVP-208"),
279 YAMAHA_DEVICE(0x101a, "CVP-210"),
280 YAMAHA_DEVICE(0x101b, "PSR-1100"),
281 YAMAHA_DEVICE(0x101c, "PSR-2100"),
282 YAMAHA_DEVICE(0x101d, "CLP-175"),
283 YAMAHA_DEVICE(0x101e, "PSR-K1"),
284 YAMAHA_DEVICE(0x101f, "EZ-J24"),
285 YAMAHA_DEVICE(0x1020, "EZ-250i"),
286 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
287 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
288 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
289 YAMAHA_DEVICE(0x1024, "CVP-301"),
290 YAMAHA_DEVICE(0x1025, "CVP-303"),
291 YAMAHA_DEVICE(0x1026, "CVP-305"),
292 YAMAHA_DEVICE(0x1027, "CVP-307"),
293 YAMAHA_DEVICE(0x1028, "CVP-309"),
294 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
295 YAMAHA_DEVICE(0x102a, "PSR-1500"),
296 YAMAHA_DEVICE(0x102b, "PSR-3000"),
297 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
298 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
299 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
300 YAMAHA_DEVICE(0x1032, "DGX-305"),
301 YAMAHA_DEVICE(0x1033, "DGX-505"),
302 YAMAHA_DEVICE(0x1034, NULL),
303 YAMAHA_DEVICE(0x1035, NULL),
304 YAMAHA_DEVICE(0x1036, NULL),
305 YAMAHA_DEVICE(0x1037, NULL),
306 YAMAHA_DEVICE(0x1038, NULL),
307 YAMAHA_DEVICE(0x1039, NULL),
308 YAMAHA_DEVICE(0x103a, NULL),
309 YAMAHA_DEVICE(0x103b, NULL),
310 YAMAHA_DEVICE(0x103c, NULL),
311 YAMAHA_DEVICE(0x103d, NULL),
312 YAMAHA_DEVICE(0x103e, NULL),
313 YAMAHA_DEVICE(0x103f, NULL),
314 YAMAHA_DEVICE(0x1040, NULL),
315 YAMAHA_DEVICE(0x1041, NULL),
316 YAMAHA_DEVICE(0x1042, NULL),
317 YAMAHA_DEVICE(0x1043, NULL),
318 YAMAHA_DEVICE(0x1044, NULL),
319 YAMAHA_DEVICE(0x1045, NULL),
320 YAMAHA_INTERFACE(0x104e, 0, NULL),
321 YAMAHA_DEVICE(0x104f, NULL),
322 YAMAHA_DEVICE(0x1050, NULL),
323 YAMAHA_DEVICE(0x1051, NULL),
324 YAMAHA_DEVICE(0x1052, NULL),
325 YAMAHA_INTERFACE(0x1053, 0, NULL),
326 YAMAHA_INTERFACE(0x1054, 0, NULL),
327 YAMAHA_DEVICE(0x1055, NULL),
328 YAMAHA_DEVICE(0x1056, NULL),
329 YAMAHA_DEVICE(0x1057, NULL),
330 YAMAHA_DEVICE(0x1058, NULL),
331 YAMAHA_DEVICE(0x1059, NULL),
332 YAMAHA_DEVICE(0x105a, NULL),
333 YAMAHA_DEVICE(0x105b, NULL),
334 YAMAHA_DEVICE(0x105c, NULL),
335 YAMAHA_DEVICE(0x105d, NULL),
337 USB_DEVICE(0x0499, 0x1503),
338 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
339 /* .vendor_name = "Yamaha", */
340 /* .product_name = "MOX6/MOX8", */
341 .ifnum = QUIRK_ANY_INTERFACE,
342 .type = QUIRK_COMPOSITE,
343 .data = (const struct snd_usb_audio_quirk[]) {
345 .ifnum = 1,
346 .type = QUIRK_AUDIO_STANDARD_INTERFACE
349 .ifnum = 2,
350 .type = QUIRK_AUDIO_STANDARD_INTERFACE
353 .ifnum = 3,
354 .type = QUIRK_MIDI_YAMAHA
357 .ifnum = -1
363 USB_DEVICE(0x0499, 0x1507),
364 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
365 /* .vendor_name = "Yamaha", */
366 /* .product_name = "THR10", */
367 .ifnum = QUIRK_ANY_INTERFACE,
368 .type = QUIRK_COMPOSITE,
369 .data = (const struct snd_usb_audio_quirk[]) {
371 .ifnum = 1,
372 .type = QUIRK_AUDIO_STANDARD_INTERFACE
375 .ifnum = 2,
376 .type = QUIRK_AUDIO_STANDARD_INTERFACE
379 .ifnum = 3,
380 .type = QUIRK_MIDI_YAMAHA
383 .ifnum = -1
389 USB_DEVICE(0x0499, 0x150a),
390 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
391 /* .vendor_name = "Yamaha", */
392 /* .product_name = "THR5A", */
393 .ifnum = QUIRK_ANY_INTERFACE,
394 .type = QUIRK_COMPOSITE,
395 .data = (const struct snd_usb_audio_quirk[]) {
397 .ifnum = 1,
398 .type = QUIRK_AUDIO_STANDARD_INTERFACE
401 .ifnum = 2,
402 .type = QUIRK_AUDIO_STANDARD_INTERFACE
405 .ifnum = 3,
406 .type = QUIRK_MIDI_YAMAHA
409 .ifnum = -1
415 USB_DEVICE(0x0499, 0x150c),
416 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
417 /* .vendor_name = "Yamaha", */
418 /* .product_name = "THR10C", */
419 .ifnum = QUIRK_ANY_INTERFACE,
420 .type = QUIRK_COMPOSITE,
421 .data = (const struct snd_usb_audio_quirk[]) {
423 .ifnum = 1,
424 .type = QUIRK_AUDIO_STANDARD_INTERFACE
427 .ifnum = 2,
428 .type = QUIRK_AUDIO_STANDARD_INTERFACE
431 .ifnum = 3,
432 .type = QUIRK_MIDI_YAMAHA
435 .ifnum = -1
440 YAMAHA_DEVICE(0x2000, "DGP-7"),
441 YAMAHA_DEVICE(0x2001, "DGP-5"),
442 YAMAHA_DEVICE(0x2002, NULL),
443 YAMAHA_DEVICE(0x2003, NULL),
444 YAMAHA_DEVICE(0x5000, "CS1D"),
445 YAMAHA_DEVICE(0x5001, "DSP1D"),
446 YAMAHA_DEVICE(0x5002, "DME32"),
447 YAMAHA_DEVICE(0x5003, "DM2000"),
448 YAMAHA_DEVICE(0x5004, "02R96"),
449 YAMAHA_DEVICE(0x5005, "ACU16-C"),
450 YAMAHA_DEVICE(0x5006, "NHB32-C"),
451 YAMAHA_DEVICE(0x5007, "DM1000"),
452 YAMAHA_DEVICE(0x5008, "01V96"),
453 YAMAHA_DEVICE(0x5009, "SPX2000"),
454 YAMAHA_DEVICE(0x500a, "PM5D"),
455 YAMAHA_DEVICE(0x500b, "DME64N"),
456 YAMAHA_DEVICE(0x500c, "DME24N"),
457 YAMAHA_DEVICE(0x500d, NULL),
458 YAMAHA_DEVICE(0x500e, NULL),
459 YAMAHA_DEVICE(0x500f, NULL),
460 YAMAHA_DEVICE(0x7000, "DTX"),
461 YAMAHA_DEVICE(0x7010, "UB99"),
462 #undef YAMAHA_DEVICE
463 #undef YAMAHA_INTERFACE
464 /* this catches most recent vendor-specific Yamaha devices */
466 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
467 USB_DEVICE_ID_MATCH_INT_CLASS,
468 .idVendor = 0x0499,
469 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
470 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
471 .ifnum = QUIRK_ANY_INTERFACE,
472 .type = QUIRK_AUTODETECT
477 * Roland/RolandED/Edirol/BOSS devices
480 USB_DEVICE(0x0582, 0x0000),
481 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
482 .vendor_name = "Roland",
483 .product_name = "UA-100",
484 .ifnum = QUIRK_ANY_INTERFACE,
485 .type = QUIRK_COMPOSITE,
486 .data = (const struct snd_usb_audio_quirk[]) {
488 .ifnum = 0,
489 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
490 .data = & (const struct audioformat) {
491 .formats = SNDRV_PCM_FMTBIT_S16_LE,
492 .channels = 4,
493 .iface = 0,
494 .altsetting = 1,
495 .altset_idx = 1,
496 .attributes = 0,
497 .endpoint = 0x01,
498 .ep_attr = 0x09,
499 .rates = SNDRV_PCM_RATE_CONTINUOUS,
500 .rate_min = 44100,
501 .rate_max = 44100,
505 .ifnum = 1,
506 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
507 .data = & (const struct audioformat) {
508 .formats = SNDRV_PCM_FMTBIT_S16_LE,
509 .channels = 2,
510 .iface = 1,
511 .altsetting = 1,
512 .altset_idx = 1,
513 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
514 .endpoint = 0x81,
515 .ep_attr = 0x05,
516 .rates = SNDRV_PCM_RATE_CONTINUOUS,
517 .rate_min = 44100,
518 .rate_max = 44100,
522 .ifnum = 2,
523 .type = QUIRK_MIDI_FIXED_ENDPOINT,
524 .data = & (const struct snd_usb_midi_endpoint_info) {
525 .out_cables = 0x0007,
526 .in_cables = 0x0007
530 .ifnum = -1
536 USB_DEVICE(0x0582, 0x0002),
537 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
538 .vendor_name = "EDIROL",
539 .product_name = "UM-4",
540 .ifnum = QUIRK_ANY_INTERFACE,
541 .type = QUIRK_COMPOSITE,
542 .data = (const struct snd_usb_audio_quirk[]) {
544 .ifnum = 0,
545 .type = QUIRK_IGNORE_INTERFACE
548 .ifnum = 1,
549 .type = QUIRK_IGNORE_INTERFACE
552 .ifnum = 2,
553 .type = QUIRK_MIDI_FIXED_ENDPOINT,
554 .data = & (const struct snd_usb_midi_endpoint_info) {
555 .out_cables = 0x000f,
556 .in_cables = 0x000f
560 .ifnum = -1
566 USB_DEVICE(0x0582, 0x0003),
567 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
568 .vendor_name = "Roland",
569 .product_name = "SC-8850",
570 .ifnum = QUIRK_ANY_INTERFACE,
571 .type = QUIRK_COMPOSITE,
572 .data = (const struct snd_usb_audio_quirk[]) {
574 .ifnum = 0,
575 .type = QUIRK_IGNORE_INTERFACE
578 .ifnum = 1,
579 .type = QUIRK_IGNORE_INTERFACE
582 .ifnum = 2,
583 .type = QUIRK_MIDI_FIXED_ENDPOINT,
584 .data = & (const struct snd_usb_midi_endpoint_info) {
585 .out_cables = 0x003f,
586 .in_cables = 0x003f
590 .ifnum = -1
596 USB_DEVICE(0x0582, 0x0004),
597 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
598 .vendor_name = "Roland",
599 .product_name = "U-8",
600 .ifnum = QUIRK_ANY_INTERFACE,
601 .type = QUIRK_COMPOSITE,
602 .data = (const struct snd_usb_audio_quirk[]) {
604 .ifnum = 0,
605 .type = QUIRK_IGNORE_INTERFACE
608 .ifnum = 1,
609 .type = QUIRK_IGNORE_INTERFACE
612 .ifnum = 2,
613 .type = QUIRK_MIDI_FIXED_ENDPOINT,
614 .data = & (const struct snd_usb_midi_endpoint_info) {
615 .out_cables = 0x0005,
616 .in_cables = 0x0005
620 .ifnum = -1
626 /* Has ID 0x0099 when not in "Advanced Driver" mode.
627 * The UM-2EX has only one input, but we cannot detect this. */
628 USB_DEVICE(0x0582, 0x0005),
629 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
630 .vendor_name = "EDIROL",
631 .product_name = "UM-2",
632 .ifnum = QUIRK_ANY_INTERFACE,
633 .type = QUIRK_COMPOSITE,
634 .data = (const struct snd_usb_audio_quirk[]) {
636 .ifnum = 0,
637 .type = QUIRK_IGNORE_INTERFACE
640 .ifnum = 1,
641 .type = QUIRK_IGNORE_INTERFACE
644 .ifnum = 2,
645 .type = QUIRK_MIDI_FIXED_ENDPOINT,
646 .data = & (const struct snd_usb_midi_endpoint_info) {
647 .out_cables = 0x0003,
648 .in_cables = 0x0003
652 .ifnum = -1
658 USB_DEVICE(0x0582, 0x0007),
659 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
660 .vendor_name = "Roland",
661 .product_name = "SC-8820",
662 .ifnum = QUIRK_ANY_INTERFACE,
663 .type = QUIRK_COMPOSITE,
664 .data = (const struct snd_usb_audio_quirk[]) {
666 .ifnum = 0,
667 .type = QUIRK_IGNORE_INTERFACE
670 .ifnum = 1,
671 .type = QUIRK_IGNORE_INTERFACE
674 .ifnum = 2,
675 .type = QUIRK_MIDI_FIXED_ENDPOINT,
676 .data = & (const struct snd_usb_midi_endpoint_info) {
677 .out_cables = 0x0013,
678 .in_cables = 0x0013
682 .ifnum = -1
688 USB_DEVICE(0x0582, 0x0008),
689 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
690 .vendor_name = "Roland",
691 .product_name = "PC-300",
692 .ifnum = QUIRK_ANY_INTERFACE,
693 .type = QUIRK_COMPOSITE,
694 .data = (const struct snd_usb_audio_quirk[]) {
696 .ifnum = 0,
697 .type = QUIRK_IGNORE_INTERFACE
700 .ifnum = 1,
701 .type = QUIRK_IGNORE_INTERFACE
704 .ifnum = 2,
705 .type = QUIRK_MIDI_FIXED_ENDPOINT,
706 .data = & (const struct snd_usb_midi_endpoint_info) {
707 .out_cables = 0x0001,
708 .in_cables = 0x0001
712 .ifnum = -1
718 /* has ID 0x009d when not in "Advanced Driver" mode */
719 USB_DEVICE(0x0582, 0x0009),
720 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
721 .vendor_name = "EDIROL",
722 .product_name = "UM-1",
723 .ifnum = QUIRK_ANY_INTERFACE,
724 .type = QUIRK_COMPOSITE,
725 .data = (const struct snd_usb_audio_quirk[]) {
727 .ifnum = 0,
728 .type = QUIRK_IGNORE_INTERFACE
731 .ifnum = 1,
732 .type = QUIRK_IGNORE_INTERFACE
735 .ifnum = 2,
736 .type = QUIRK_MIDI_FIXED_ENDPOINT,
737 .data = & (const struct snd_usb_midi_endpoint_info) {
738 .out_cables = 0x0001,
739 .in_cables = 0x0001
743 .ifnum = -1
749 USB_DEVICE(0x0582, 0x000b),
750 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
751 .vendor_name = "Roland",
752 .product_name = "SK-500",
753 .ifnum = QUIRK_ANY_INTERFACE,
754 .type = QUIRK_COMPOSITE,
755 .data = (const struct snd_usb_audio_quirk[]) {
757 .ifnum = 0,
758 .type = QUIRK_IGNORE_INTERFACE
761 .ifnum = 1,
762 .type = QUIRK_IGNORE_INTERFACE
765 .ifnum = 2,
766 .type = QUIRK_MIDI_FIXED_ENDPOINT,
767 .data = & (const struct snd_usb_midi_endpoint_info) {
768 .out_cables = 0x0013,
769 .in_cables = 0x0013
773 .ifnum = -1
779 /* thanks to Emiliano Grilli <emillo@libero.it>
780 * for helping researching this data */
781 USB_DEVICE(0x0582, 0x000c),
782 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
783 .vendor_name = "Roland",
784 .product_name = "SC-D70",
785 .ifnum = QUIRK_ANY_INTERFACE,
786 .type = QUIRK_COMPOSITE,
787 .data = (const struct snd_usb_audio_quirk[]) {
789 .ifnum = 0,
790 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
791 .data = & (const struct audioformat) {
792 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
793 .channels = 2,
794 .iface = 0,
795 .altsetting = 1,
796 .altset_idx = 1,
797 .attributes = 0,
798 .endpoint = 0x01,
799 .ep_attr = 0x01,
800 .rates = SNDRV_PCM_RATE_CONTINUOUS,
801 .rate_min = 44100,
802 .rate_max = 44100,
806 .ifnum = 1,
807 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
808 .data = & (const struct audioformat) {
809 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
810 .channels = 2,
811 .iface = 1,
812 .altsetting = 1,
813 .altset_idx = 1,
814 .attributes = 0,
815 .endpoint = 0x81,
816 .ep_attr = 0x01,
817 .rates = SNDRV_PCM_RATE_CONTINUOUS,
818 .rate_min = 44100,
819 .rate_max = 44100,
823 .ifnum = 2,
824 .type = QUIRK_MIDI_FIXED_ENDPOINT,
825 .data = & (const struct snd_usb_midi_endpoint_info) {
826 .out_cables = 0x0007,
827 .in_cables = 0x0007
831 .ifnum = -1
836 { /*
837 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
838 * If the advanced mode switch at the back of the unit is off, the
839 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
840 * but offers only 16-bit PCM.
841 * In advanced mode, the UA-5 will output S24_3LE samples (two
842 * channels) at the rate indicated on the front switch, including
843 * the 96kHz sample rate.
845 USB_DEVICE(0x0582, 0x0010),
846 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
847 .vendor_name = "EDIROL",
848 .product_name = "UA-5",
849 .ifnum = QUIRK_ANY_INTERFACE,
850 .type = QUIRK_COMPOSITE,
851 .data = (const struct snd_usb_audio_quirk[]) {
853 .ifnum = 1,
854 .type = QUIRK_AUDIO_STANDARD_INTERFACE
857 .ifnum = 2,
858 .type = QUIRK_AUDIO_STANDARD_INTERFACE
861 .ifnum = -1
867 /* has ID 0x0013 when not in "Advanced Driver" mode */
868 USB_DEVICE(0x0582, 0x0012),
869 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
870 .vendor_name = "Roland",
871 .product_name = "XV-5050",
872 .ifnum = 0,
873 .type = QUIRK_MIDI_FIXED_ENDPOINT,
874 .data = & (const struct snd_usb_midi_endpoint_info) {
875 .out_cables = 0x0001,
876 .in_cables = 0x0001
881 /* has ID 0x0015 when not in "Advanced Driver" mode */
882 USB_DEVICE(0x0582, 0x0014),
883 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
884 .vendor_name = "EDIROL",
885 .product_name = "UM-880",
886 .ifnum = 0,
887 .type = QUIRK_MIDI_FIXED_ENDPOINT,
888 .data = & (const struct snd_usb_midi_endpoint_info) {
889 .out_cables = 0x01ff,
890 .in_cables = 0x01ff
895 /* has ID 0x0017 when not in "Advanced Driver" mode */
896 USB_DEVICE(0x0582, 0x0016),
897 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
898 .vendor_name = "EDIROL",
899 .product_name = "SD-90",
900 .ifnum = QUIRK_ANY_INTERFACE,
901 .type = QUIRK_COMPOSITE,
902 .data = (const struct snd_usb_audio_quirk[]) {
904 .ifnum = 0,
905 .type = QUIRK_AUDIO_STANDARD_INTERFACE
908 .ifnum = 1,
909 .type = QUIRK_AUDIO_STANDARD_INTERFACE
912 .ifnum = 2,
913 .type = QUIRK_MIDI_FIXED_ENDPOINT,
914 .data = & (const struct snd_usb_midi_endpoint_info) {
915 .out_cables = 0x000f,
916 .in_cables = 0x000f
920 .ifnum = -1
926 /* has ID 0x001c when not in "Advanced Driver" mode */
927 USB_DEVICE(0x0582, 0x001b),
928 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
929 .vendor_name = "Roland",
930 .product_name = "MMP-2",
931 .ifnum = QUIRK_ANY_INTERFACE,
932 .type = QUIRK_COMPOSITE,
933 .data = (const struct snd_usb_audio_quirk[]) {
935 .ifnum = 0,
936 .type = QUIRK_IGNORE_INTERFACE
939 .ifnum = 1,
940 .type = QUIRK_IGNORE_INTERFACE
943 .ifnum = 2,
944 .type = QUIRK_MIDI_FIXED_ENDPOINT,
945 .data = & (const struct snd_usb_midi_endpoint_info) {
946 .out_cables = 0x0001,
947 .in_cables = 0x0001
951 .ifnum = -1
957 /* has ID 0x001e when not in "Advanced Driver" mode */
958 USB_DEVICE(0x0582, 0x001d),
959 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
960 .vendor_name = "Roland",
961 .product_name = "V-SYNTH",
962 .ifnum = 0,
963 .type = QUIRK_MIDI_FIXED_ENDPOINT,
964 .data = & (const struct snd_usb_midi_endpoint_info) {
965 .out_cables = 0x0001,
966 .in_cables = 0x0001
971 /* has ID 0x0024 when not in "Advanced Driver" mode */
972 USB_DEVICE(0x0582, 0x0023),
973 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
974 .vendor_name = "EDIROL",
975 .product_name = "UM-550",
976 .ifnum = 0,
977 .type = QUIRK_MIDI_FIXED_ENDPOINT,
978 .data = & (const struct snd_usb_midi_endpoint_info) {
979 .out_cables = 0x003f,
980 .in_cables = 0x003f
986 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
987 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
988 * and no MIDI.
990 USB_DEVICE(0x0582, 0x0025),
991 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
992 .vendor_name = "EDIROL",
993 .product_name = "UA-20",
994 .ifnum = QUIRK_ANY_INTERFACE,
995 .type = QUIRK_COMPOSITE,
996 .data = (const struct snd_usb_audio_quirk[]) {
998 .ifnum = 0,
999 .type = QUIRK_IGNORE_INTERFACE
1002 .ifnum = 1,
1003 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1004 .data = & (const struct audioformat) {
1005 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1006 .channels = 2,
1007 .iface = 1,
1008 .altsetting = 1,
1009 .altset_idx = 1,
1010 .attributes = 0,
1011 .endpoint = 0x01,
1012 .ep_attr = 0x01,
1013 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1014 .rate_min = 44100,
1015 .rate_max = 44100,
1019 .ifnum = 2,
1020 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1021 .data = & (const struct audioformat) {
1022 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1023 .channels = 2,
1024 .iface = 2,
1025 .altsetting = 1,
1026 .altset_idx = 1,
1027 .attributes = 0,
1028 .endpoint = 0x82,
1029 .ep_attr = 0x01,
1030 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1031 .rate_min = 44100,
1032 .rate_max = 44100,
1036 .ifnum = 3,
1037 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1038 .data = & (const struct snd_usb_midi_endpoint_info) {
1039 .out_cables = 0x0001,
1040 .in_cables = 0x0001
1044 .ifnum = -1
1050 /* has ID 0x0028 when not in "Advanced Driver" mode */
1051 USB_DEVICE(0x0582, 0x0027),
1052 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1053 .vendor_name = "EDIROL",
1054 .product_name = "SD-20",
1055 .ifnum = 0,
1056 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1057 .data = & (const struct snd_usb_midi_endpoint_info) {
1058 .out_cables = 0x0003,
1059 .in_cables = 0x0007
1064 /* has ID 0x002a when not in "Advanced Driver" mode */
1065 USB_DEVICE(0x0582, 0x0029),
1066 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1067 .vendor_name = "EDIROL",
1068 .product_name = "SD-80",
1069 .ifnum = 0,
1070 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1071 .data = & (const struct snd_usb_midi_endpoint_info) {
1072 .out_cables = 0x000f,
1073 .in_cables = 0x000f
1077 { /*
1078 * This quirk is for the "Advanced" modes of the Edirol UA-700.
1079 * If the sample format switch is not in an advanced setting, the
1080 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
1081 * but offers only 16-bit PCM and no MIDI.
1083 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
1084 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1085 .vendor_name = "EDIROL",
1086 .product_name = "UA-700",
1087 .ifnum = QUIRK_ANY_INTERFACE,
1088 .type = QUIRK_COMPOSITE,
1089 .data = (const struct snd_usb_audio_quirk[]) {
1091 .ifnum = 1,
1092 .type = QUIRK_AUDIO_EDIROL_UAXX
1095 .ifnum = 2,
1096 .type = QUIRK_AUDIO_EDIROL_UAXX
1099 .ifnum = 3,
1100 .type = QUIRK_AUDIO_EDIROL_UAXX
1103 .ifnum = -1
1109 /* has ID 0x002e when not in "Advanced Driver" mode */
1110 USB_DEVICE(0x0582, 0x002d),
1111 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1112 .vendor_name = "Roland",
1113 .product_name = "XV-2020",
1114 .ifnum = 0,
1115 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1116 .data = & (const struct snd_usb_midi_endpoint_info) {
1117 .out_cables = 0x0001,
1118 .in_cables = 0x0001
1123 /* has ID 0x0030 when not in "Advanced Driver" mode */
1124 USB_DEVICE(0x0582, 0x002f),
1125 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1126 .vendor_name = "Roland",
1127 .product_name = "VariOS",
1128 .ifnum = 0,
1129 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1130 .data = & (const struct snd_usb_midi_endpoint_info) {
1131 .out_cables = 0x0007,
1132 .in_cables = 0x0007
1137 /* has ID 0x0034 when not in "Advanced Driver" mode */
1138 USB_DEVICE(0x0582, 0x0033),
1139 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1140 .vendor_name = "EDIROL",
1141 .product_name = "PCR",
1142 .ifnum = 0,
1143 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1144 .data = & (const struct snd_usb_midi_endpoint_info) {
1145 .out_cables = 0x0003,
1146 .in_cables = 0x0007
1152 * Has ID 0x0038 when not in "Advanced Driver" mode;
1153 * later revisions use IDs 0x0054 and 0x00a2.
1155 USB_DEVICE(0x0582, 0x0037),
1156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1157 .vendor_name = "Roland",
1158 .product_name = "Digital Piano",
1159 .ifnum = 0,
1160 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1161 .data = & (const struct snd_usb_midi_endpoint_info) {
1162 .out_cables = 0x0001,
1163 .in_cables = 0x0001
1169 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1170 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1171 * and no MIDI.
1173 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1174 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1175 .vendor_name = "BOSS",
1176 .product_name = "GS-10",
1177 .ifnum = QUIRK_ANY_INTERFACE,
1178 .type = QUIRK_COMPOSITE,
1179 .data = & (const struct snd_usb_audio_quirk[]) {
1181 .ifnum = 1,
1182 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1185 .ifnum = 2,
1186 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1189 .ifnum = 3,
1190 .type = QUIRK_MIDI_STANDARD_INTERFACE
1193 .ifnum = -1
1199 /* has ID 0x0041 when not in "Advanced Driver" mode */
1200 USB_DEVICE(0x0582, 0x0040),
1201 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1202 .vendor_name = "Roland",
1203 .product_name = "GI-20",
1204 .ifnum = 0,
1205 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1206 .data = & (const struct snd_usb_midi_endpoint_info) {
1207 .out_cables = 0x0001,
1208 .in_cables = 0x0001
1213 /* has ID 0x0043 when not in "Advanced Driver" mode */
1214 USB_DEVICE(0x0582, 0x0042),
1215 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1216 .vendor_name = "Roland",
1217 .product_name = "RS-70",
1218 .ifnum = 0,
1219 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1220 .data = & (const struct snd_usb_midi_endpoint_info) {
1221 .out_cables = 0x0001,
1222 .in_cables = 0x0001
1227 /* has ID 0x0049 when not in "Advanced Driver" mode */
1228 USB_DEVICE(0x0582, 0x0047),
1229 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1230 /* .vendor_name = "EDIROL", */
1231 /* .product_name = "UR-80", */
1232 .ifnum = QUIRK_ANY_INTERFACE,
1233 .type = QUIRK_COMPOSITE,
1234 .data = (const struct snd_usb_audio_quirk[]) {
1235 /* in the 96 kHz modes, only interface 1 is there */
1237 .ifnum = 1,
1238 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1241 .ifnum = 2,
1242 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1245 .ifnum = -1
1251 /* has ID 0x004a when not in "Advanced Driver" mode */
1252 USB_DEVICE(0x0582, 0x0048),
1253 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1254 /* .vendor_name = "EDIROL", */
1255 /* .product_name = "UR-80", */
1256 .ifnum = 0,
1257 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1258 .data = & (const struct snd_usb_midi_endpoint_info) {
1259 .out_cables = 0x0003,
1260 .in_cables = 0x0007
1265 /* has ID 0x004e when not in "Advanced Driver" mode */
1266 USB_DEVICE(0x0582, 0x004c),
1267 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1268 .vendor_name = "EDIROL",
1269 .product_name = "PCR-A",
1270 .ifnum = QUIRK_ANY_INTERFACE,
1271 .type = QUIRK_COMPOSITE,
1272 .data = (const struct snd_usb_audio_quirk[]) {
1274 .ifnum = 1,
1275 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1278 .ifnum = 2,
1279 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1282 .ifnum = -1
1288 /* has ID 0x004f when not in "Advanced Driver" mode */
1289 USB_DEVICE(0x0582, 0x004d),
1290 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1291 .vendor_name = "EDIROL",
1292 .product_name = "PCR-A",
1293 .ifnum = 0,
1294 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1295 .data = & (const struct snd_usb_midi_endpoint_info) {
1296 .out_cables = 0x0003,
1297 .in_cables = 0x0007
1303 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1304 * is standard compliant, but has only 16-bit PCM.
1306 USB_DEVICE(0x0582, 0x0050),
1307 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1308 .vendor_name = "EDIROL",
1309 .product_name = "UA-3FX",
1310 .ifnum = QUIRK_ANY_INTERFACE,
1311 .type = QUIRK_COMPOSITE,
1312 .data = (const struct snd_usb_audio_quirk[]) {
1314 .ifnum = 1,
1315 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1318 .ifnum = 2,
1319 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1322 .ifnum = -1
1328 USB_DEVICE(0x0582, 0x0052),
1329 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1330 .vendor_name = "EDIROL",
1331 .product_name = "UM-1SX",
1332 .ifnum = 0,
1333 .type = QUIRK_MIDI_STANDARD_INTERFACE
1337 USB_DEVICE(0x0582, 0x0060),
1338 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1339 .vendor_name = "Roland",
1340 .product_name = "EXR Series",
1341 .ifnum = 0,
1342 .type = QUIRK_MIDI_STANDARD_INTERFACE
1346 /* has ID 0x0066 when not in "Advanced Driver" mode */
1347 USB_DEVICE(0x0582, 0x0064),
1348 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1349 /* .vendor_name = "EDIROL", */
1350 /* .product_name = "PCR-1", */
1351 .ifnum = QUIRK_ANY_INTERFACE,
1352 .type = QUIRK_COMPOSITE,
1353 .data = (const struct snd_usb_audio_quirk[]) {
1355 .ifnum = 1,
1356 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1359 .ifnum = 2,
1360 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1363 .ifnum = -1
1369 /* has ID 0x0067 when not in "Advanced Driver" mode */
1370 USB_DEVICE(0x0582, 0x0065),
1371 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1372 /* .vendor_name = "EDIROL", */
1373 /* .product_name = "PCR-1", */
1374 .ifnum = 0,
1375 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1376 .data = & (const struct snd_usb_midi_endpoint_info) {
1377 .out_cables = 0x0001,
1378 .in_cables = 0x0003
1383 /* has ID 0x006e when not in "Advanced Driver" mode */
1384 USB_DEVICE(0x0582, 0x006d),
1385 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1386 .vendor_name = "Roland",
1387 .product_name = "FANTOM-X",
1388 .ifnum = 0,
1389 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1390 .data = & (const struct snd_usb_midi_endpoint_info) {
1391 .out_cables = 0x0001,
1392 .in_cables = 0x0001
1396 { /*
1397 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1398 * If the switch is not in an advanced setting, the UA-25 has
1399 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1400 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1402 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1403 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1404 .vendor_name = "EDIROL",
1405 .product_name = "UA-25",
1406 .ifnum = QUIRK_ANY_INTERFACE,
1407 .type = QUIRK_COMPOSITE,
1408 .data = (const struct snd_usb_audio_quirk[]) {
1410 .ifnum = 0,
1411 .type = QUIRK_AUDIO_EDIROL_UAXX
1414 .ifnum = 1,
1415 .type = QUIRK_AUDIO_EDIROL_UAXX
1418 .ifnum = 2,
1419 .type = QUIRK_AUDIO_EDIROL_UAXX
1422 .ifnum = -1
1428 /* has ID 0x0076 when not in "Advanced Driver" mode */
1429 USB_DEVICE(0x0582, 0x0075),
1430 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1431 .vendor_name = "BOSS",
1432 .product_name = "DR-880",
1433 .ifnum = 0,
1434 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1435 .data = & (const struct snd_usb_midi_endpoint_info) {
1436 .out_cables = 0x0001,
1437 .in_cables = 0x0001
1442 /* has ID 0x007b when not in "Advanced Driver" mode */
1443 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1444 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1445 .vendor_name = "Roland",
1446 /* "RD" or "RD-700SX"? */
1447 .ifnum = 0,
1448 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1449 .data = & (const struct snd_usb_midi_endpoint_info) {
1450 .out_cables = 0x0003,
1451 .in_cables = 0x0003
1456 /* has ID 0x0081 when not in "Advanced Driver" mode */
1457 USB_DEVICE(0x0582, 0x0080),
1458 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1459 .vendor_name = "Roland",
1460 .product_name = "G-70",
1461 .ifnum = 0,
1462 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1463 .data = & (const struct snd_usb_midi_endpoint_info) {
1464 .out_cables = 0x0001,
1465 .in_cables = 0x0001
1470 /* has ID 0x008c when not in "Advanced Driver" mode */
1471 USB_DEVICE(0x0582, 0x008b),
1472 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1473 .vendor_name = "EDIROL",
1474 .product_name = "PC-50",
1475 .ifnum = 0,
1476 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1477 .data = & (const struct snd_usb_midi_endpoint_info) {
1478 .out_cables = 0x0001,
1479 .in_cables = 0x0001
1485 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1486 * is standard compliant, but has only 16-bit PCM and no MIDI.
1488 USB_DEVICE(0x0582, 0x00a3),
1489 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1490 .vendor_name = "EDIROL",
1491 .product_name = "UA-4FX",
1492 .ifnum = QUIRK_ANY_INTERFACE,
1493 .type = QUIRK_COMPOSITE,
1494 .data = (const struct snd_usb_audio_quirk[]) {
1496 .ifnum = 0,
1497 .type = QUIRK_AUDIO_EDIROL_UAXX
1500 .ifnum = 1,
1501 .type = QUIRK_AUDIO_EDIROL_UAXX
1504 .ifnum = 2,
1505 .type = QUIRK_AUDIO_EDIROL_UAXX
1508 .ifnum = -1
1514 /* Edirol M-16DX */
1515 USB_DEVICE(0x0582, 0x00c4),
1516 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1517 .ifnum = QUIRK_ANY_INTERFACE,
1518 .type = QUIRK_COMPOSITE,
1519 .data = (const struct snd_usb_audio_quirk[]) {
1521 .ifnum = 0,
1522 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1525 .ifnum = 1,
1526 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1529 .ifnum = 2,
1530 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1531 .data = & (const struct snd_usb_midi_endpoint_info) {
1532 .out_cables = 0x0001,
1533 .in_cables = 0x0001
1537 .ifnum = -1
1543 /* Advanced modes of the Edirol UA-25EX.
1544 * For the standard mode, UA-25EX has ID 0582:00e7, which
1545 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1547 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1548 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1549 .vendor_name = "EDIROL",
1550 .product_name = "UA-25EX",
1551 .ifnum = QUIRK_ANY_INTERFACE,
1552 .type = QUIRK_COMPOSITE,
1553 .data = (const struct snd_usb_audio_quirk[]) {
1555 .ifnum = 0,
1556 .type = QUIRK_AUDIO_EDIROL_UAXX
1559 .ifnum = 1,
1560 .type = QUIRK_AUDIO_EDIROL_UAXX
1563 .ifnum = 2,
1564 .type = QUIRK_AUDIO_EDIROL_UAXX
1567 .ifnum = -1
1573 /* Edirol UM-3G */
1574 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1575 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1576 .ifnum = 0,
1577 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1578 .data = & (const struct snd_usb_midi_endpoint_info) {
1579 .out_cables = 0x0007,
1580 .in_cables = 0x0007
1585 /* BOSS ME-25 */
1586 USB_DEVICE(0x0582, 0x0113),
1587 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1588 .ifnum = QUIRK_ANY_INTERFACE,
1589 .type = QUIRK_COMPOSITE,
1590 .data = (const struct snd_usb_audio_quirk[]) {
1592 .ifnum = 0,
1593 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1596 .ifnum = 1,
1597 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1600 .ifnum = 2,
1601 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1602 .data = & (const struct snd_usb_midi_endpoint_info) {
1603 .out_cables = 0x0001,
1604 .in_cables = 0x0001
1608 .ifnum = -1
1614 /* only 44.1 kHz works at the moment */
1615 USB_DEVICE(0x0582, 0x0120),
1616 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1617 /* .vendor_name = "Roland", */
1618 /* .product_name = "OCTO-CAPTURE", */
1619 .ifnum = QUIRK_ANY_INTERFACE,
1620 .type = QUIRK_COMPOSITE,
1621 .data = (const struct snd_usb_audio_quirk[]) {
1623 .ifnum = 0,
1624 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1625 .data = & (const struct audioformat) {
1626 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1627 .channels = 10,
1628 .iface = 0,
1629 .altsetting = 1,
1630 .altset_idx = 1,
1631 .endpoint = 0x05,
1632 .ep_attr = 0x05,
1633 .rates = SNDRV_PCM_RATE_44100,
1634 .rate_min = 44100,
1635 .rate_max = 44100,
1636 .nr_rates = 1,
1637 .rate_table = (unsigned int[]) { 44100 }
1641 .ifnum = 1,
1642 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1643 .data = & (const struct audioformat) {
1644 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1645 .channels = 12,
1646 .iface = 1,
1647 .altsetting = 1,
1648 .altset_idx = 1,
1649 .endpoint = 0x85,
1650 .ep_attr = 0x25,
1651 .rates = SNDRV_PCM_RATE_44100,
1652 .rate_min = 44100,
1653 .rate_max = 44100,
1654 .nr_rates = 1,
1655 .rate_table = (unsigned int[]) { 44100 }
1659 .ifnum = 2,
1660 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1661 .data = & (const struct snd_usb_midi_endpoint_info) {
1662 .out_cables = 0x0001,
1663 .in_cables = 0x0001
1667 .ifnum = 3,
1668 .type = QUIRK_IGNORE_INTERFACE
1671 .ifnum = 4,
1672 .type = QUIRK_IGNORE_INTERFACE
1675 .ifnum = -1
1681 /* only 44.1 kHz works at the moment */
1682 USB_DEVICE(0x0582, 0x012f),
1683 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1684 /* .vendor_name = "Roland", */
1685 /* .product_name = "QUAD-CAPTURE", */
1686 .ifnum = QUIRK_ANY_INTERFACE,
1687 .type = QUIRK_COMPOSITE,
1688 .data = (const struct snd_usb_audio_quirk[]) {
1690 .ifnum = 0,
1691 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1692 .data = & (const struct audioformat) {
1693 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1694 .channels = 4,
1695 .iface = 0,
1696 .altsetting = 1,
1697 .altset_idx = 1,
1698 .endpoint = 0x05,
1699 .ep_attr = 0x05,
1700 .rates = SNDRV_PCM_RATE_44100,
1701 .rate_min = 44100,
1702 .rate_max = 44100,
1703 .nr_rates = 1,
1704 .rate_table = (unsigned int[]) { 44100 }
1708 .ifnum = 1,
1709 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1710 .data = & (const struct audioformat) {
1711 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1712 .channels = 6,
1713 .iface = 1,
1714 .altsetting = 1,
1715 .altset_idx = 1,
1716 .endpoint = 0x85,
1717 .ep_attr = 0x25,
1718 .rates = SNDRV_PCM_RATE_44100,
1719 .rate_min = 44100,
1720 .rate_max = 44100,
1721 .nr_rates = 1,
1722 .rate_table = (unsigned int[]) { 44100 }
1726 .ifnum = 2,
1727 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1728 .data = & (const struct snd_usb_midi_endpoint_info) {
1729 .out_cables = 0x0001,
1730 .in_cables = 0x0001
1734 .ifnum = 3,
1735 .type = QUIRK_IGNORE_INTERFACE
1738 .ifnum = 4,
1739 .type = QUIRK_IGNORE_INTERFACE
1742 .ifnum = -1
1747 /* this catches most recent vendor-specific Roland devices */
1749 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1750 USB_DEVICE_ID_MATCH_INT_CLASS,
1751 .idVendor = 0x0582,
1752 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1753 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1754 .ifnum = QUIRK_ANY_INTERFACE,
1755 .type = QUIRK_AUTODETECT
1759 /* Guillemot devices */
1762 * This is for the "Windows Edition" where the external MIDI ports are
1763 * the only MIDI ports; the control data is reported through HID
1764 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1765 * compliant USB MIDI ports for external MIDI and controls.
1767 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1768 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1769 .vendor_name = "Hercules",
1770 .product_name = "DJ Console (WE)",
1771 .ifnum = 4,
1772 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1773 .data = & (const struct snd_usb_midi_endpoint_info) {
1774 .out_cables = 0x0001,
1775 .in_cables = 0x0001
1780 /* Midiman/M-Audio devices */
1782 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1783 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1784 .vendor_name = "M-Audio",
1785 .product_name = "MidiSport 2x2",
1786 .ifnum = QUIRK_ANY_INTERFACE,
1787 .type = QUIRK_MIDI_MIDIMAN,
1788 .data = & (const struct snd_usb_midi_endpoint_info) {
1789 .out_cables = 0x0003,
1790 .in_cables = 0x0003
1795 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1796 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1797 .vendor_name = "M-Audio",
1798 .product_name = "MidiSport 1x1",
1799 .ifnum = QUIRK_ANY_INTERFACE,
1800 .type = QUIRK_MIDI_MIDIMAN,
1801 .data = & (const struct snd_usb_midi_endpoint_info) {
1802 .out_cables = 0x0001,
1803 .in_cables = 0x0001
1808 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1809 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1810 .vendor_name = "M-Audio",
1811 .product_name = "Keystation",
1812 .ifnum = QUIRK_ANY_INTERFACE,
1813 .type = QUIRK_MIDI_MIDIMAN,
1814 .data = & (const struct snd_usb_midi_endpoint_info) {
1815 .out_cables = 0x0001,
1816 .in_cables = 0x0001
1821 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1822 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1823 .vendor_name = "M-Audio",
1824 .product_name = "MidiSport 4x4",
1825 .ifnum = QUIRK_ANY_INTERFACE,
1826 .type = QUIRK_MIDI_MIDIMAN,
1827 .data = & (const struct snd_usb_midi_endpoint_info) {
1828 .out_cables = 0x000f,
1829 .in_cables = 0x000f
1835 * For hardware revision 1.05; in the later revisions (1.10 and
1836 * 1.21), 0x1031 is the ID for the device without firmware.
1837 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1839 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1840 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1841 .vendor_name = "M-Audio",
1842 .product_name = "MidiSport 8x8",
1843 .ifnum = QUIRK_ANY_INTERFACE,
1844 .type = QUIRK_MIDI_MIDIMAN,
1845 .data = & (const struct snd_usb_midi_endpoint_info) {
1846 .out_cables = 0x01ff,
1847 .in_cables = 0x01ff
1852 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1853 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1854 .vendor_name = "M-Audio",
1855 .product_name = "MidiSport 8x8",
1856 .ifnum = QUIRK_ANY_INTERFACE,
1857 .type = QUIRK_MIDI_MIDIMAN,
1858 .data = & (const struct snd_usb_midi_endpoint_info) {
1859 .out_cables = 0x01ff,
1860 .in_cables = 0x01ff
1865 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1866 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1867 .vendor_name = "M-Audio",
1868 .product_name = "MidiSport 2x4",
1869 .ifnum = QUIRK_ANY_INTERFACE,
1870 .type = QUIRK_MIDI_MIDIMAN,
1871 .data = & (const struct snd_usb_midi_endpoint_info) {
1872 .out_cables = 0x000f,
1873 .in_cables = 0x0003
1878 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1879 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1880 .vendor_name = "M-Audio",
1881 .product_name = "Quattro",
1882 .ifnum = QUIRK_ANY_INTERFACE,
1883 .type = QUIRK_COMPOSITE,
1884 .data = & (const struct snd_usb_audio_quirk[]) {
1886 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1887 * and share endpoints with the other interfaces.
1888 * Ignore them. The other interfaces can do 24 bits,
1889 * but captured samples are big-endian (see usbaudio.c).
1892 .ifnum = 0,
1893 .type = QUIRK_IGNORE_INTERFACE
1896 .ifnum = 1,
1897 .type = QUIRK_IGNORE_INTERFACE
1900 .ifnum = 2,
1901 .type = QUIRK_IGNORE_INTERFACE
1904 .ifnum = 3,
1905 .type = QUIRK_IGNORE_INTERFACE
1908 .ifnum = 4,
1909 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1912 .ifnum = 5,
1913 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1916 .ifnum = 6,
1917 .type = QUIRK_IGNORE_INTERFACE
1920 .ifnum = 7,
1921 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1924 .ifnum = 8,
1925 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1928 .ifnum = 9,
1929 .type = QUIRK_MIDI_MIDIMAN,
1930 .data = & (const struct snd_usb_midi_endpoint_info) {
1931 .out_cables = 0x0001,
1932 .in_cables = 0x0001
1936 .ifnum = -1
1942 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1943 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1944 .vendor_name = "M-Audio",
1945 .product_name = "AudioPhile",
1946 .ifnum = 6,
1947 .type = QUIRK_MIDI_MIDIMAN,
1948 .data = & (const struct snd_usb_midi_endpoint_info) {
1949 .out_cables = 0x0001,
1950 .in_cables = 0x0001
1955 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1956 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1957 .vendor_name = "M-Audio",
1958 .product_name = "Ozone",
1959 .ifnum = 3,
1960 .type = QUIRK_MIDI_MIDIMAN,
1961 .data = & (const struct snd_usb_midi_endpoint_info) {
1962 .out_cables = 0x0001,
1963 .in_cables = 0x0001
1968 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1969 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1970 .vendor_name = "M-Audio",
1971 .product_name = "OmniStudio",
1972 .ifnum = QUIRK_ANY_INTERFACE,
1973 .type = QUIRK_COMPOSITE,
1974 .data = & (const struct snd_usb_audio_quirk[]) {
1976 .ifnum = 0,
1977 .type = QUIRK_IGNORE_INTERFACE
1980 .ifnum = 1,
1981 .type = QUIRK_IGNORE_INTERFACE
1984 .ifnum = 2,
1985 .type = QUIRK_IGNORE_INTERFACE
1988 .ifnum = 3,
1989 .type = QUIRK_IGNORE_INTERFACE
1992 .ifnum = 4,
1993 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1996 .ifnum = 5,
1997 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2000 .ifnum = 6,
2001 .type = QUIRK_IGNORE_INTERFACE
2004 .ifnum = 7,
2005 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2008 .ifnum = 8,
2009 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2012 .ifnum = 9,
2013 .type = QUIRK_MIDI_MIDIMAN,
2014 .data = & (const struct snd_usb_midi_endpoint_info) {
2015 .out_cables = 0x0001,
2016 .in_cables = 0x0001
2020 .ifnum = -1
2026 USB_DEVICE(0x0763, 0x2019),
2027 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2028 /* .vendor_name = "M-Audio", */
2029 /* .product_name = "Ozone Academic", */
2030 .ifnum = QUIRK_ANY_INTERFACE,
2031 .type = QUIRK_COMPOSITE,
2032 .data = & (const struct snd_usb_audio_quirk[]) {
2034 .ifnum = 0,
2035 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2038 .ifnum = 1,
2039 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2042 .ifnum = 2,
2043 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2046 .ifnum = 3,
2047 .type = QUIRK_MIDI_MIDIMAN,
2048 .data = & (const struct snd_usb_midi_endpoint_info) {
2049 .out_cables = 0x0001,
2050 .in_cables = 0x0001
2054 .ifnum = -1
2060 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2061 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2062 /* .vendor_name = "M-Audio", */
2063 /* .product_name = "Fast Track C400", */
2064 .ifnum = QUIRK_ANY_INTERFACE,
2065 .type = QUIRK_COMPOSITE,
2066 .data = &(const struct snd_usb_audio_quirk[]) {
2068 .ifnum = 1,
2069 .type = QUIRK_AUDIO_STANDARD_MIXER,
2071 /* Playback */
2073 .ifnum = 2,
2074 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2075 .data = &(const struct audioformat) {
2076 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2077 .channels = 6,
2078 .iface = 2,
2079 .altsetting = 1,
2080 .altset_idx = 1,
2081 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2082 .endpoint = 0x01,
2083 .ep_attr = 0x09,
2084 .rates = SNDRV_PCM_RATE_44100 |
2085 SNDRV_PCM_RATE_48000 |
2086 SNDRV_PCM_RATE_88200 |
2087 SNDRV_PCM_RATE_96000,
2088 .rate_min = 44100,
2089 .rate_max = 96000,
2090 .nr_rates = 4,
2091 .rate_table = (unsigned int[]) {
2092 44100, 48000, 88200, 96000
2094 .clock = 0x80,
2097 /* Capture */
2099 .ifnum = 3,
2100 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2101 .data = &(const struct audioformat) {
2102 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2103 .channels = 4,
2104 .iface = 3,
2105 .altsetting = 1,
2106 .altset_idx = 1,
2107 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2108 .endpoint = 0x81,
2109 .ep_attr = 0x05,
2110 .rates = SNDRV_PCM_RATE_44100 |
2111 SNDRV_PCM_RATE_48000 |
2112 SNDRV_PCM_RATE_88200 |
2113 SNDRV_PCM_RATE_96000,
2114 .rate_min = 44100,
2115 .rate_max = 96000,
2116 .nr_rates = 4,
2117 .rate_table = (unsigned int[]) {
2118 44100, 48000, 88200, 96000
2120 .clock = 0x80,
2123 /* MIDI */
2125 .ifnum = -1 /* Interface = 4 */
2131 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2132 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2133 /* .vendor_name = "M-Audio", */
2134 /* .product_name = "Fast Track C600", */
2135 .ifnum = QUIRK_ANY_INTERFACE,
2136 .type = QUIRK_COMPOSITE,
2137 .data = &(const struct snd_usb_audio_quirk[]) {
2139 .ifnum = 1,
2140 .type = QUIRK_AUDIO_STANDARD_MIXER,
2142 /* Playback */
2144 .ifnum = 2,
2145 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2146 .data = &(const struct audioformat) {
2147 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2148 .channels = 8,
2149 .iface = 2,
2150 .altsetting = 1,
2151 .altset_idx = 1,
2152 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2153 .endpoint = 0x01,
2154 .ep_attr = 0x09,
2155 .rates = SNDRV_PCM_RATE_44100 |
2156 SNDRV_PCM_RATE_48000 |
2157 SNDRV_PCM_RATE_88200 |
2158 SNDRV_PCM_RATE_96000,
2159 .rate_min = 44100,
2160 .rate_max = 96000,
2161 .nr_rates = 4,
2162 .rate_table = (unsigned int[]) {
2163 44100, 48000, 88200, 96000
2165 .clock = 0x80,
2168 /* Capture */
2170 .ifnum = 3,
2171 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2172 .data = &(const struct audioformat) {
2173 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2174 .channels = 6,
2175 .iface = 3,
2176 .altsetting = 1,
2177 .altset_idx = 1,
2178 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2179 .endpoint = 0x81,
2180 .ep_attr = 0x05,
2181 .rates = SNDRV_PCM_RATE_44100 |
2182 SNDRV_PCM_RATE_48000 |
2183 SNDRV_PCM_RATE_88200 |
2184 SNDRV_PCM_RATE_96000,
2185 .rate_min = 44100,
2186 .rate_max = 96000,
2187 .nr_rates = 4,
2188 .rate_table = (unsigned int[]) {
2189 44100, 48000, 88200, 96000
2191 .clock = 0x80,
2194 /* MIDI */
2196 .ifnum = -1 /* Interface = 4 */
2202 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2203 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2204 /* .vendor_name = "M-Audio", */
2205 /* .product_name = "Fast Track Ultra", */
2206 .ifnum = QUIRK_ANY_INTERFACE,
2207 .type = QUIRK_COMPOSITE,
2208 .data = & (const struct snd_usb_audio_quirk[]) {
2210 .ifnum = 0,
2211 .type = QUIRK_AUDIO_STANDARD_MIXER,
2214 .ifnum = 1,
2215 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2216 .data = & (const struct audioformat) {
2217 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2218 .channels = 8,
2219 .iface = 1,
2220 .altsetting = 1,
2221 .altset_idx = 1,
2222 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2223 .endpoint = 0x01,
2224 .ep_attr = 0x09,
2225 .rates = SNDRV_PCM_RATE_44100 |
2226 SNDRV_PCM_RATE_48000 |
2227 SNDRV_PCM_RATE_88200 |
2228 SNDRV_PCM_RATE_96000,
2229 .rate_min = 44100,
2230 .rate_max = 96000,
2231 .nr_rates = 4,
2232 .rate_table = (unsigned int[]) {
2233 44100, 48000, 88200, 96000
2238 .ifnum = 2,
2239 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2240 .data = & (const struct audioformat) {
2241 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2242 .channels = 8,
2243 .iface = 2,
2244 .altsetting = 1,
2245 .altset_idx = 1,
2246 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2247 .endpoint = 0x81,
2248 .ep_attr = 0x05,
2249 .rates = SNDRV_PCM_RATE_44100 |
2250 SNDRV_PCM_RATE_48000 |
2251 SNDRV_PCM_RATE_88200 |
2252 SNDRV_PCM_RATE_96000,
2253 .rate_min = 44100,
2254 .rate_max = 96000,
2255 .nr_rates = 4,
2256 .rate_table = (unsigned int[]) {
2257 44100, 48000, 88200, 96000
2261 /* interface 3 (MIDI) is standard compliant */
2263 .ifnum = -1
2269 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2270 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2271 /* .vendor_name = "M-Audio", */
2272 /* .product_name = "Fast Track Ultra 8R", */
2273 .ifnum = QUIRK_ANY_INTERFACE,
2274 .type = QUIRK_COMPOSITE,
2275 .data = & (const struct snd_usb_audio_quirk[]) {
2277 .ifnum = 0,
2278 .type = QUIRK_AUDIO_STANDARD_MIXER,
2281 .ifnum = 1,
2282 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2283 .data = & (const struct audioformat) {
2284 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2285 .channels = 8,
2286 .iface = 1,
2287 .altsetting = 1,
2288 .altset_idx = 1,
2289 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2290 .endpoint = 0x01,
2291 .ep_attr = 0x09,
2292 .rates = SNDRV_PCM_RATE_44100 |
2293 SNDRV_PCM_RATE_48000 |
2294 SNDRV_PCM_RATE_88200 |
2295 SNDRV_PCM_RATE_96000,
2296 .rate_min = 44100,
2297 .rate_max = 96000,
2298 .nr_rates = 4,
2299 .rate_table = (unsigned int[]) {
2300 44100, 48000, 88200, 96000
2305 .ifnum = 2,
2306 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2307 .data = & (const struct audioformat) {
2308 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2309 .channels = 8,
2310 .iface = 2,
2311 .altsetting = 1,
2312 .altset_idx = 1,
2313 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2314 .endpoint = 0x81,
2315 .ep_attr = 0x05,
2316 .rates = SNDRV_PCM_RATE_44100 |
2317 SNDRV_PCM_RATE_48000 |
2318 SNDRV_PCM_RATE_88200 |
2319 SNDRV_PCM_RATE_96000,
2320 .rate_min = 44100,
2321 .rate_max = 96000,
2322 .nr_rates = 4,
2323 .rate_table = (unsigned int[]) {
2324 44100, 48000, 88200, 96000
2328 /* interface 3 (MIDI) is standard compliant */
2330 .ifnum = -1
2336 /* Casio devices */
2338 USB_DEVICE(0x07cf, 0x6801),
2339 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2340 .vendor_name = "Casio",
2341 .product_name = "PL-40R",
2342 .ifnum = 0,
2343 .type = QUIRK_MIDI_YAMAHA
2347 /* this ID is used by several devices without a product ID */
2348 USB_DEVICE(0x07cf, 0x6802),
2349 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2350 .vendor_name = "Casio",
2351 .product_name = "Keyboard",
2352 .ifnum = 0,
2353 .type = QUIRK_MIDI_YAMAHA
2357 /* Mark of the Unicorn devices */
2359 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2360 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2361 USB_DEVICE_ID_MATCH_PRODUCT |
2362 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2363 .idVendor = 0x07fd,
2364 .idProduct = 0x0001,
2365 .bDeviceSubClass = 2,
2366 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2367 .vendor_name = "MOTU",
2368 .product_name = "Fastlane",
2369 .ifnum = QUIRK_ANY_INTERFACE,
2370 .type = QUIRK_COMPOSITE,
2371 .data = & (const struct snd_usb_audio_quirk[]) {
2373 .ifnum = 0,
2374 .type = QUIRK_MIDI_RAW_BYTES
2377 .ifnum = 1,
2378 .type = QUIRK_IGNORE_INTERFACE
2381 .ifnum = -1
2387 /* Emagic devices */
2389 USB_DEVICE(0x086a, 0x0001),
2390 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2391 .vendor_name = "Emagic",
2392 /* .product_name = "Unitor8", */
2393 .ifnum = 2,
2394 .type = QUIRK_MIDI_EMAGIC,
2395 .data = & (const struct snd_usb_midi_endpoint_info) {
2396 .out_cables = 0x80ff,
2397 .in_cables = 0x80ff
2402 USB_DEVICE(0x086a, 0x0002),
2403 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2404 .vendor_name = "Emagic",
2405 /* .product_name = "AMT8", */
2406 .ifnum = 2,
2407 .type = QUIRK_MIDI_EMAGIC,
2408 .data = & (const struct snd_usb_midi_endpoint_info) {
2409 .out_cables = 0x80ff,
2410 .in_cables = 0x80ff
2415 USB_DEVICE(0x086a, 0x0003),
2416 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2417 .vendor_name = "Emagic",
2418 /* .product_name = "MT4", */
2419 .ifnum = 2,
2420 .type = QUIRK_MIDI_EMAGIC,
2421 .data = & (const struct snd_usb_midi_endpoint_info) {
2422 .out_cables = 0x800f,
2423 .in_cables = 0x8003
2428 /* KORG devices */
2430 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2431 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2432 .vendor_name = "KORG, Inc.",
2433 /* .product_name = "PANDORA PX5D", */
2434 .ifnum = 3,
2435 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2440 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2441 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2442 .vendor_name = "KORG, Inc.",
2443 /* .product_name = "ToneLab ST", */
2444 .ifnum = 3,
2445 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2449 /* AKAI devices */
2451 USB_DEVICE(0x09e8, 0x0062),
2452 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2453 .vendor_name = "AKAI",
2454 .product_name = "MPD16",
2455 .ifnum = 0,
2456 .type = QUIRK_MIDI_AKAI,
2460 /* TerraTec devices */
2462 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2463 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2464 .vendor_name = "TerraTec",
2465 .product_name = "PHASE 26",
2466 .ifnum = 3,
2467 .type = QUIRK_MIDI_STANDARD_INTERFACE
2471 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2472 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2473 .vendor_name = "TerraTec",
2474 .product_name = "PHASE 26",
2475 .ifnum = 3,
2476 .type = QUIRK_MIDI_STANDARD_INTERFACE
2480 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2481 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2482 .vendor_name = "TerraTec",
2483 .product_name = "PHASE 26",
2484 .ifnum = 3,
2485 .type = QUIRK_MIDI_STANDARD_INTERFACE
2489 USB_DEVICE(0x0ccd, 0x0028),
2490 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2491 .vendor_name = "TerraTec",
2492 .product_name = "Aureon5.1MkII",
2493 .ifnum = QUIRK_NO_INTERFACE
2497 USB_DEVICE(0x0ccd, 0x0035),
2498 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2499 .vendor_name = "Miditech",
2500 .product_name = "Play'n Roll",
2501 .ifnum = 0,
2502 .type = QUIRK_MIDI_CME
2506 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2508 USB_DEVICE(0x103d, 0x0100),
2509 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2510 .vendor_name = "Stanton",
2511 .product_name = "ScratchAmp",
2512 .ifnum = QUIRK_NO_INTERFACE
2516 USB_DEVICE(0x103d, 0x0101),
2517 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2518 .vendor_name = "Stanton",
2519 .product_name = "ScratchAmp",
2520 .ifnum = QUIRK_NO_INTERFACE
2524 /* Novation EMS devices */
2526 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2527 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2528 .vendor_name = "Novation",
2529 .product_name = "ReMOTE Audio/XStation",
2530 .ifnum = 4,
2531 .type = QUIRK_MIDI_NOVATION
2535 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2536 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2537 .vendor_name = "Novation",
2538 .product_name = "Speedio",
2539 .ifnum = 3,
2540 .type = QUIRK_MIDI_NOVATION
2544 USB_DEVICE(0x1235, 0x000e),
2545 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2546 /* .vendor_name = "Novation", */
2547 /* .product_name = "Launchpad", */
2548 .ifnum = 0,
2549 .type = QUIRK_MIDI_RAW_BYTES
2553 USB_DEVICE(0x1235, 0x0018),
2554 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2555 .vendor_name = "Novation",
2556 .product_name = "Twitch",
2557 .ifnum = QUIRK_ANY_INTERFACE,
2558 .type = QUIRK_COMPOSITE,
2559 .data = (const struct snd_usb_audio_quirk[]) {
2561 .ifnum = 0,
2562 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2563 .data = & (const struct audioformat) {
2564 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2565 .channels = 4,
2566 .iface = 0,
2567 .altsetting = 1,
2568 .altset_idx = 1,
2569 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2570 .endpoint = 0x01,
2571 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2572 .rates = SNDRV_PCM_RATE_44100 |
2573 SNDRV_PCM_RATE_48000,
2574 .rate_min = 44100,
2575 .rate_max = 48000,
2576 .nr_rates = 2,
2577 .rate_table = (unsigned int[]) {
2578 44100, 48000
2583 .ifnum = 1,
2584 .type = QUIRK_MIDI_RAW_BYTES
2587 .ifnum = -1
2593 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2594 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2595 .vendor_name = "Novation",
2596 .product_name = "ReMOTE25",
2597 .ifnum = 0,
2598 .type = QUIRK_MIDI_NOVATION
2602 /* Access Music devices */
2604 /* VirusTI Desktop */
2605 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2606 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2607 .ifnum = QUIRK_ANY_INTERFACE,
2608 .type = QUIRK_COMPOSITE,
2609 .data = &(const struct snd_usb_audio_quirk[]) {
2611 .ifnum = 3,
2612 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2613 .data = &(const struct snd_usb_midi_endpoint_info) {
2614 .out_cables = 0x0003,
2615 .in_cables = 0x0003
2619 .ifnum = 4,
2620 .type = QUIRK_IGNORE_INTERFACE
2623 .ifnum = -1
2629 /* */
2631 /* aka. Serato Scratch Live DJ Box */
2632 USB_DEVICE(0x13e5, 0x0001),
2633 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2634 .vendor_name = "Rane",
2635 .product_name = "SL-1",
2636 .ifnum = QUIRK_NO_INTERFACE
2640 /* Native Instruments MK2 series */
2642 /* Komplete Audio 6 */
2643 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2644 .idVendor = 0x17cc,
2645 .idProduct = 0x1000,
2648 /* Traktor Audio 6 */
2649 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2650 .idVendor = 0x17cc,
2651 .idProduct = 0x1010,
2654 /* Traktor Audio 10 */
2655 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2656 .idVendor = 0x17cc,
2657 .idProduct = 0x1020,
2660 /* KeithMcMillen Stringport */
2662 USB_DEVICE(0x1f38, 0x0001),
2663 .bInterfaceClass = USB_CLASS_AUDIO,
2666 /* Miditech devices */
2668 USB_DEVICE(0x4752, 0x0011),
2669 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2670 .vendor_name = "Miditech",
2671 .product_name = "Midistart-2",
2672 .ifnum = 0,
2673 .type = QUIRK_MIDI_CME
2677 /* Central Music devices */
2679 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2680 USB_DEVICE(0x7104, 0x2202),
2681 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2682 .ifnum = 0,
2683 .type = QUIRK_MIDI_CME
2687 /* Hauppauge HVR-950Q and HVR-850 */
2689 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2690 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2691 USB_DEVICE_ID_MATCH_INT_CLASS |
2692 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2693 .bInterfaceClass = USB_CLASS_AUDIO,
2694 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2695 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2696 .vendor_name = "Hauppauge",
2697 .product_name = "HVR-950Q",
2698 .ifnum = QUIRK_ANY_INTERFACE,
2699 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2703 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2704 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2705 USB_DEVICE_ID_MATCH_INT_CLASS |
2706 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2707 .bInterfaceClass = USB_CLASS_AUDIO,
2708 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2709 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2710 .vendor_name = "Hauppauge",
2711 .product_name = "HVR-850",
2712 .ifnum = QUIRK_ANY_INTERFACE,
2713 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2717 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2718 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2719 USB_DEVICE_ID_MATCH_INT_CLASS |
2720 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2721 .bInterfaceClass = USB_CLASS_AUDIO,
2722 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2723 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2724 .vendor_name = "Hauppauge",
2725 .product_name = "HVR-950Q",
2726 .ifnum = QUIRK_ANY_INTERFACE,
2727 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2731 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2732 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2733 USB_DEVICE_ID_MATCH_INT_CLASS |
2734 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2735 .bInterfaceClass = USB_CLASS_AUDIO,
2736 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2737 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2738 .vendor_name = "Hauppauge",
2739 .product_name = "HVR-950Q",
2740 .ifnum = QUIRK_ANY_INTERFACE,
2741 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2745 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2746 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2747 USB_DEVICE_ID_MATCH_INT_CLASS |
2748 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2749 .bInterfaceClass = USB_CLASS_AUDIO,
2750 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2751 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2752 .vendor_name = "Hauppauge",
2753 .product_name = "HVR-950Q",
2754 .ifnum = QUIRK_ANY_INTERFACE,
2755 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2759 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2760 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2761 USB_DEVICE_ID_MATCH_INT_CLASS |
2762 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2763 .bInterfaceClass = USB_CLASS_AUDIO,
2764 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2765 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2766 .vendor_name = "Hauppauge",
2767 .product_name = "HVR-950Q",
2768 .ifnum = QUIRK_ANY_INTERFACE,
2769 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2773 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2774 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2775 USB_DEVICE_ID_MATCH_INT_CLASS |
2776 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2777 .bInterfaceClass = USB_CLASS_AUDIO,
2778 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2779 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2780 .vendor_name = "Hauppauge",
2781 .product_name = "HVR-950Q",
2782 .ifnum = QUIRK_ANY_INTERFACE,
2783 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2787 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2788 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2789 USB_DEVICE_ID_MATCH_INT_CLASS |
2790 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2791 .bInterfaceClass = USB_CLASS_AUDIO,
2792 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2793 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2794 .vendor_name = "Hauppauge",
2795 .product_name = "HVR-950Q",
2796 .ifnum = QUIRK_ANY_INTERFACE,
2797 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2801 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2802 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2803 USB_DEVICE_ID_MATCH_INT_CLASS |
2804 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2805 .bInterfaceClass = USB_CLASS_AUDIO,
2806 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2807 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2808 .vendor_name = "Hauppauge",
2809 .product_name = "HVR-950Q",
2810 .ifnum = QUIRK_ANY_INTERFACE,
2811 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2815 /* Digidesign Mbox */
2817 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2818 USB_DEVICE(0x0dba, 0x1000),
2819 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2820 .vendor_name = "Digidesign",
2821 .product_name = "MBox",
2822 .ifnum = QUIRK_ANY_INTERFACE,
2823 .type = QUIRK_COMPOSITE,
2824 .data = (const struct snd_usb_audio_quirk[]){
2826 .ifnum = 0,
2827 .type = QUIRK_IGNORE_INTERFACE,
2830 .ifnum = 1,
2831 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2832 .data = &(const struct audioformat) {
2833 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2834 .channels = 2,
2835 .iface = 1,
2836 .altsetting = 1,
2837 .altset_idx = 1,
2838 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2839 .endpoint = 0x02,
2840 .ep_attr = 0x01,
2841 .rates = SNDRV_PCM_RATE_44100 |
2842 SNDRV_PCM_RATE_48000,
2843 .rate_min = 44100,
2844 .rate_max = 48000,
2845 .nr_rates = 2,
2846 .rate_table = (unsigned int[]) {
2847 44100, 48000
2852 .ifnum = -1
2859 /* DIGIDESIGN MBOX 2 */
2861 USB_DEVICE(0x0dba, 0x3000),
2862 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2863 .vendor_name = "Digidesign",
2864 .product_name = "Mbox 2",
2865 .ifnum = QUIRK_ANY_INTERFACE,
2866 .type = QUIRK_COMPOSITE,
2867 .data = (const struct snd_usb_audio_quirk[]) {
2869 .ifnum = 0,
2870 .type = QUIRK_IGNORE_INTERFACE
2873 .ifnum = 1,
2874 .type = QUIRK_IGNORE_INTERFACE
2877 .ifnum = 2,
2878 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2879 .data = &(const struct audioformat) {
2880 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2881 .channels = 2,
2882 .iface = 2,
2883 .altsetting = 2,
2884 .altset_idx = 1,
2885 .attributes = 0x00,
2886 .endpoint = 0x03,
2887 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
2888 .rates = SNDRV_PCM_RATE_48000,
2889 .rate_min = 48000,
2890 .rate_max = 48000,
2891 .nr_rates = 1,
2892 .rate_table = (unsigned int[]) {
2893 48000
2898 .ifnum = 3,
2899 .type = QUIRK_IGNORE_INTERFACE
2902 .ifnum = 4,
2903 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2904 .data = &(const struct audioformat) {
2905 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2906 .channels = 2,
2907 .iface = 4,
2908 .altsetting = 2,
2909 .altset_idx = 1,
2910 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2911 .endpoint = 0x85,
2912 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
2913 .rates = SNDRV_PCM_RATE_48000,
2914 .rate_min = 48000,
2915 .rate_max = 48000,
2916 .nr_rates = 1,
2917 .rate_table = (unsigned int[]) {
2918 48000
2923 .ifnum = 5,
2924 .type = QUIRK_IGNORE_INTERFACE
2927 .ifnum = 6,
2928 .type = QUIRK_MIDI_MIDIMAN,
2929 .data = &(const struct snd_usb_midi_endpoint_info) {
2930 .out_ep = 0x02,
2931 .out_cables = 0x0001,
2932 .in_ep = 0x81,
2933 .in_interval = 0x01,
2934 .in_cables = 0x0001
2938 .ifnum = -1
2944 /* Tascam US122 MKII - playback-only support */
2945 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2946 .idVendor = 0x0644,
2947 .idProduct = 0x8021,
2948 .bInterfaceClass = USB_CLASS_AUDIO,
2949 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2950 .vendor_name = "TASCAM",
2951 .product_name = "US122 MKII",
2952 .ifnum = QUIRK_ANY_INTERFACE,
2953 .type = QUIRK_COMPOSITE,
2954 .data = (const struct snd_usb_audio_quirk[]) {
2956 .ifnum = 0,
2957 .type = QUIRK_IGNORE_INTERFACE
2960 .ifnum = 1,
2961 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2962 .data = &(const struct audioformat) {
2963 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2964 .channels = 2,
2965 .iface = 1,
2966 .altsetting = 1,
2967 .altset_idx = 1,
2968 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2969 .endpoint = 0x02,
2970 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2971 .rates = SNDRV_PCM_RATE_44100 |
2972 SNDRV_PCM_RATE_48000 |
2973 SNDRV_PCM_RATE_88200 |
2974 SNDRV_PCM_RATE_96000,
2975 .rate_min = 44100,
2976 .rate_max = 96000,
2977 .nr_rates = 4,
2978 .rate_table = (unsigned int[]) {
2979 44100, 48000, 88200, 96000
2984 .ifnum = -1
2990 /* Microsoft XboxLive Headset/Xbox Communicator */
2992 USB_DEVICE(0x045e, 0x0283),
2993 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
2994 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2995 .vendor_name = "Microsoft",
2996 .product_name = "XboxLive Headset/Xbox Communicator",
2997 .ifnum = QUIRK_ANY_INTERFACE,
2998 .type = QUIRK_COMPOSITE,
2999 .data = &(const struct snd_usb_audio_quirk[]) {
3001 /* playback */
3002 .ifnum = 0,
3003 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3004 .data = &(const struct audioformat) {
3005 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3006 .channels = 1,
3007 .iface = 0,
3008 .altsetting = 0,
3009 .altset_idx = 0,
3010 .attributes = 0,
3011 .endpoint = 0x04,
3012 .ep_attr = 0x05,
3013 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3014 .rate_min = 22050,
3015 .rate_max = 22050
3019 /* capture */
3020 .ifnum = 1,
3021 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3022 .data = &(const struct audioformat) {
3023 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3024 .channels = 1,
3025 .iface = 1,
3026 .altsetting = 0,
3027 .altset_idx = 0,
3028 .attributes = 0,
3029 .endpoint = 0x85,
3030 .ep_attr = 0x05,
3031 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3032 .rate_min = 16000,
3033 .rate_max = 16000
3037 .ifnum = -1
3043 /* Reloop Play */
3045 USB_DEVICE(0x200c, 0x100b),
3046 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3047 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3048 .ifnum = QUIRK_ANY_INTERFACE,
3049 .type = QUIRK_COMPOSITE,
3050 .data = &(const struct snd_usb_audio_quirk[]) {
3052 .ifnum = 0,
3053 .type = QUIRK_AUDIO_STANDARD_MIXER,
3056 .ifnum = 1,
3057 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3058 .data = &(const struct audioformat) {
3059 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3060 .channels = 4,
3061 .iface = 1,
3062 .altsetting = 1,
3063 .altset_idx = 1,
3064 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3065 .endpoint = 0x01,
3066 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3067 .rates = SNDRV_PCM_RATE_44100 |
3068 SNDRV_PCM_RATE_48000,
3069 .rate_min = 44100,
3070 .rate_max = 48000,
3071 .nr_rates = 2,
3072 .rate_table = (unsigned int[]) {
3073 44100, 48000
3078 .ifnum = -1
3086 * Focusrite Scarlett 18i6
3088 * Avoid mixer creation, which otherwise fails because some of
3089 * the interface descriptor subtypes for interface 0 are
3090 * unknown. That should be fixed or worked-around but this at
3091 * least allows the device to be used successfully with a DAW
3092 * and an external mixer. See comments below about other
3093 * ignored interfaces.
3095 USB_DEVICE(0x1235, 0x8004),
3096 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3097 .vendor_name = "Focusrite",
3098 .product_name = "Scarlett 18i6",
3099 .ifnum = QUIRK_ANY_INTERFACE,
3100 .type = QUIRK_COMPOSITE,
3101 .data = & (const struct snd_usb_audio_quirk[]) {
3103 /* InterfaceSubClass 1 (Control Device) */
3104 .ifnum = 0,
3105 .type = QUIRK_IGNORE_INTERFACE
3108 .ifnum = 1,
3109 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3112 .ifnum = 2,
3113 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3116 /* InterfaceSubClass 1 (Control Device) */
3117 .ifnum = 3,
3118 .type = QUIRK_IGNORE_INTERFACE
3121 .ifnum = 4,
3122 .type = QUIRK_MIDI_STANDARD_INTERFACE
3125 /* InterfaceSubClass 1 (Device Firmware Update) */
3126 .ifnum = 5,
3127 .type = QUIRK_IGNORE_INTERFACE
3130 .ifnum = -1
3138 * Some USB MIDI devices don't have an audio control interface,
3139 * so we have to grab MIDI streaming interfaces here.
3141 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3142 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3143 .bInterfaceClass = USB_CLASS_AUDIO,
3144 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3145 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3146 .ifnum = QUIRK_ANY_INTERFACE,
3147 .type = QUIRK_MIDI_STANDARD_INTERFACE
3153 * The original product_name is "USB Sound Device", however this name
3154 * is also used by the CM106 based cards, so make it unique.
3156 USB_DEVICE(0x0d8c, 0x0103),
3157 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3158 .product_name = "Audio Advantage MicroII",
3159 .ifnum = QUIRK_NO_INTERFACE
3163 #undef USB_DEVICE_VENDOR_SPEC