Add linux-next specific files for 20110831
[linux-2.6/next.git] / sound / usb / quirks-table.h
blobda898229bb1192e74948bfeabb4857ece15b544b
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
53 /* Creative/Toshiba Multimedia Center SB-0500 */
55 USB_DEVICE(0x041e, 0x3048),
56 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
57 .vendor_name = "Toshiba",
58 .product_name = "SB-0500",
59 .ifnum = QUIRK_NO_INTERFACE
63 /* Creative/E-Mu devices */
65 USB_DEVICE(0x041e, 0x3010),
66 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
67 .vendor_name = "Creative Labs",
68 .product_name = "Sound Blaster MP3+",
69 .ifnum = QUIRK_NO_INTERFACE
73 /* E-Mu 0202 USB */
74 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
75 .idVendor = 0x041e,
76 .idProduct = 0x3f02,
77 .bInterfaceClass = USB_CLASS_AUDIO,
80 /* E-Mu 0404 USB */
81 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
82 .idVendor = 0x041e,
83 .idProduct = 0x3f04,
84 .bInterfaceClass = USB_CLASS_AUDIO,
87 /* E-Mu Tracker Pre */
88 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
89 .idVendor = 0x041e,
90 .idProduct = 0x3f0a,
91 .bInterfaceClass = USB_CLASS_AUDIO,
94 /* E-Mu 0204 USB */
95 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
96 .idVendor = 0x041e,
97 .idProduct = 0x3f19,
98 .bInterfaceClass = USB_CLASS_AUDIO,
102 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
103 * class matches do not take effect without an explicit ID match.
106 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
107 USB_DEVICE_ID_MATCH_INT_CLASS |
108 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
109 .idVendor = 0x046d,
110 .idProduct = 0x0850,
111 .bInterfaceClass = USB_CLASS_AUDIO,
112 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
115 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
116 USB_DEVICE_ID_MATCH_INT_CLASS |
117 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
118 .idVendor = 0x046d,
119 .idProduct = 0x08ae,
120 .bInterfaceClass = USB_CLASS_AUDIO,
121 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
124 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
125 USB_DEVICE_ID_MATCH_INT_CLASS |
126 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
127 .idVendor = 0x046d,
128 .idProduct = 0x08c6,
129 .bInterfaceClass = USB_CLASS_AUDIO,
130 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
133 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
134 USB_DEVICE_ID_MATCH_INT_CLASS |
135 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
136 .idVendor = 0x046d,
137 .idProduct = 0x08f0,
138 .bInterfaceClass = USB_CLASS_AUDIO,
139 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
142 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
143 USB_DEVICE_ID_MATCH_INT_CLASS |
144 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
145 .idVendor = 0x046d,
146 .idProduct = 0x08f5,
147 .bInterfaceClass = USB_CLASS_AUDIO,
148 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
151 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
152 USB_DEVICE_ID_MATCH_INT_CLASS |
153 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
154 .idVendor = 0x046d,
155 .idProduct = 0x08f6,
156 .bInterfaceClass = USB_CLASS_AUDIO,
157 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
160 USB_DEVICE(0x046d, 0x0990),
161 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
162 .vendor_name = "Logitech, Inc.",
163 .product_name = "QuickCam Pro 9000",
164 .ifnum = QUIRK_NO_INTERFACE
169 * Yamaha devices
172 #define YAMAHA_DEVICE(id, name) { \
173 USB_DEVICE(0x0499, id), \
174 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
175 .vendor_name = "Yamaha", \
176 .product_name = name, \
177 .ifnum = QUIRK_ANY_INTERFACE, \
178 .type = QUIRK_MIDI_YAMAHA \
181 #define YAMAHA_INTERFACE(id, intf, name) { \
182 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
183 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
184 .vendor_name = "Yamaha", \
185 .product_name = name, \
186 .ifnum = intf, \
187 .type = QUIRK_MIDI_YAMAHA \
190 YAMAHA_DEVICE(0x1000, "UX256"),
191 YAMAHA_DEVICE(0x1001, "MU1000"),
192 YAMAHA_DEVICE(0x1002, "MU2000"),
193 YAMAHA_DEVICE(0x1003, "MU500"),
194 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
195 YAMAHA_DEVICE(0x1005, "MOTIF6"),
196 YAMAHA_DEVICE(0x1006, "MOTIF7"),
197 YAMAHA_DEVICE(0x1007, "MOTIF8"),
198 YAMAHA_DEVICE(0x1008, "UX96"),
199 YAMAHA_DEVICE(0x1009, "UX16"),
200 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
201 YAMAHA_DEVICE(0x100c, "UC-MX"),
202 YAMAHA_DEVICE(0x100d, "UC-KX"),
203 YAMAHA_DEVICE(0x100e, "S08"),
204 YAMAHA_DEVICE(0x100f, "CLP-150"),
205 YAMAHA_DEVICE(0x1010, "CLP-170"),
206 YAMAHA_DEVICE(0x1011, "P-250"),
207 YAMAHA_DEVICE(0x1012, "TYROS"),
208 YAMAHA_DEVICE(0x1013, "PF-500"),
209 YAMAHA_DEVICE(0x1014, "S90"),
210 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
211 YAMAHA_DEVICE(0x1016, "MDP-5"),
212 YAMAHA_DEVICE(0x1017, "CVP-204"),
213 YAMAHA_DEVICE(0x1018, "CVP-206"),
214 YAMAHA_DEVICE(0x1019, "CVP-208"),
215 YAMAHA_DEVICE(0x101a, "CVP-210"),
216 YAMAHA_DEVICE(0x101b, "PSR-1100"),
217 YAMAHA_DEVICE(0x101c, "PSR-2100"),
218 YAMAHA_DEVICE(0x101d, "CLP-175"),
219 YAMAHA_DEVICE(0x101e, "PSR-K1"),
220 YAMAHA_DEVICE(0x101f, "EZ-J24"),
221 YAMAHA_DEVICE(0x1020, "EZ-250i"),
222 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
223 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
224 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
225 YAMAHA_DEVICE(0x1024, "CVP-301"),
226 YAMAHA_DEVICE(0x1025, "CVP-303"),
227 YAMAHA_DEVICE(0x1026, "CVP-305"),
228 YAMAHA_DEVICE(0x1027, "CVP-307"),
229 YAMAHA_DEVICE(0x1028, "CVP-309"),
230 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
231 YAMAHA_DEVICE(0x102a, "PSR-1500"),
232 YAMAHA_DEVICE(0x102b, "PSR-3000"),
233 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
234 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
235 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
236 YAMAHA_DEVICE(0x1032, "DGX-305"),
237 YAMAHA_DEVICE(0x1033, "DGX-505"),
238 YAMAHA_DEVICE(0x1034, NULL),
239 YAMAHA_DEVICE(0x1035, NULL),
240 YAMAHA_DEVICE(0x1036, NULL),
241 YAMAHA_DEVICE(0x1037, NULL),
242 YAMAHA_DEVICE(0x1038, NULL),
243 YAMAHA_DEVICE(0x1039, NULL),
244 YAMAHA_DEVICE(0x103a, NULL),
245 YAMAHA_DEVICE(0x103b, NULL),
246 YAMAHA_DEVICE(0x103c, NULL),
247 YAMAHA_DEVICE(0x103d, NULL),
248 YAMAHA_DEVICE(0x103e, NULL),
249 YAMAHA_DEVICE(0x103f, NULL),
250 YAMAHA_DEVICE(0x1040, NULL),
251 YAMAHA_DEVICE(0x1041, NULL),
252 YAMAHA_DEVICE(0x1042, NULL),
253 YAMAHA_DEVICE(0x1043, NULL),
254 YAMAHA_DEVICE(0x1044, NULL),
255 YAMAHA_DEVICE(0x1045, NULL),
256 YAMAHA_INTERFACE(0x104e, 0, NULL),
257 YAMAHA_DEVICE(0x104f, NULL),
258 YAMAHA_DEVICE(0x1050, NULL),
259 YAMAHA_DEVICE(0x1051, NULL),
260 YAMAHA_DEVICE(0x1052, NULL),
261 YAMAHA_INTERFACE(0x1053, 0, NULL),
262 YAMAHA_INTERFACE(0x1054, 0, NULL),
263 YAMAHA_DEVICE(0x1055, NULL),
264 YAMAHA_DEVICE(0x1056, NULL),
265 YAMAHA_DEVICE(0x1057, NULL),
266 YAMAHA_DEVICE(0x1058, NULL),
267 YAMAHA_DEVICE(0x1059, NULL),
268 YAMAHA_DEVICE(0x105a, NULL),
269 YAMAHA_DEVICE(0x105b, NULL),
270 YAMAHA_DEVICE(0x105c, NULL),
271 YAMAHA_DEVICE(0x105d, NULL),
272 YAMAHA_DEVICE(0x2000, "DGP-7"),
273 YAMAHA_DEVICE(0x2001, "DGP-5"),
274 YAMAHA_DEVICE(0x2002, NULL),
275 YAMAHA_DEVICE(0x2003, NULL),
276 YAMAHA_DEVICE(0x5000, "CS1D"),
277 YAMAHA_DEVICE(0x5001, "DSP1D"),
278 YAMAHA_DEVICE(0x5002, "DME32"),
279 YAMAHA_DEVICE(0x5003, "DM2000"),
280 YAMAHA_DEVICE(0x5004, "02R96"),
281 YAMAHA_DEVICE(0x5005, "ACU16-C"),
282 YAMAHA_DEVICE(0x5006, "NHB32-C"),
283 YAMAHA_DEVICE(0x5007, "DM1000"),
284 YAMAHA_DEVICE(0x5008, "01V96"),
285 YAMAHA_DEVICE(0x5009, "SPX2000"),
286 YAMAHA_DEVICE(0x500a, "PM5D"),
287 YAMAHA_DEVICE(0x500b, "DME64N"),
288 YAMAHA_DEVICE(0x500c, "DME24N"),
289 YAMAHA_DEVICE(0x500d, NULL),
290 YAMAHA_DEVICE(0x500e, NULL),
291 YAMAHA_DEVICE(0x500f, NULL),
292 YAMAHA_DEVICE(0x7000, "DTX"),
293 YAMAHA_DEVICE(0x7010, "UB99"),
294 #undef YAMAHA_DEVICE
295 #undef YAMAHA_INTERFACE
298 * Roland/RolandED/Edirol/BOSS devices
301 USB_DEVICE(0x0582, 0x0000),
302 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
303 .vendor_name = "Roland",
304 .product_name = "UA-100",
305 .ifnum = QUIRK_ANY_INTERFACE,
306 .type = QUIRK_COMPOSITE,
307 .data = (const struct snd_usb_audio_quirk[]) {
309 .ifnum = 0,
310 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
311 .data = & (const struct audioformat) {
312 .formats = SNDRV_PCM_FMTBIT_S16_LE,
313 .channels = 4,
314 .iface = 0,
315 .altsetting = 1,
316 .altset_idx = 1,
317 .attributes = 0,
318 .endpoint = 0x01,
319 .ep_attr = 0x09,
320 .rates = SNDRV_PCM_RATE_CONTINUOUS,
321 .rate_min = 44100,
322 .rate_max = 44100,
326 .ifnum = 1,
327 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
328 .data = & (const struct audioformat) {
329 .formats = SNDRV_PCM_FMTBIT_S16_LE,
330 .channels = 2,
331 .iface = 1,
332 .altsetting = 1,
333 .altset_idx = 1,
334 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
335 .endpoint = 0x81,
336 .ep_attr = 0x05,
337 .rates = SNDRV_PCM_RATE_CONTINUOUS,
338 .rate_min = 44100,
339 .rate_max = 44100,
343 .ifnum = 2,
344 .type = QUIRK_MIDI_FIXED_ENDPOINT,
345 .data = & (const struct snd_usb_midi_endpoint_info) {
346 .out_cables = 0x0007,
347 .in_cables = 0x0007
351 .ifnum = -1
357 USB_DEVICE(0x0582, 0x0002),
358 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
359 .vendor_name = "EDIROL",
360 .product_name = "UM-4",
361 .ifnum = QUIRK_ANY_INTERFACE,
362 .type = QUIRK_COMPOSITE,
363 .data = (const struct snd_usb_audio_quirk[]) {
365 .ifnum = 0,
366 .type = QUIRK_IGNORE_INTERFACE
369 .ifnum = 1,
370 .type = QUIRK_IGNORE_INTERFACE
373 .ifnum = 2,
374 .type = QUIRK_MIDI_FIXED_ENDPOINT,
375 .data = & (const struct snd_usb_midi_endpoint_info) {
376 .out_cables = 0x000f,
377 .in_cables = 0x000f
381 .ifnum = -1
387 USB_DEVICE(0x0582, 0x0003),
388 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
389 .vendor_name = "Roland",
390 .product_name = "SC-8850",
391 .ifnum = QUIRK_ANY_INTERFACE,
392 .type = QUIRK_COMPOSITE,
393 .data = (const struct snd_usb_audio_quirk[]) {
395 .ifnum = 0,
396 .type = QUIRK_IGNORE_INTERFACE
399 .ifnum = 1,
400 .type = QUIRK_IGNORE_INTERFACE
403 .ifnum = 2,
404 .type = QUIRK_MIDI_FIXED_ENDPOINT,
405 .data = & (const struct snd_usb_midi_endpoint_info) {
406 .out_cables = 0x003f,
407 .in_cables = 0x003f
411 .ifnum = -1
417 USB_DEVICE(0x0582, 0x0004),
418 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
419 .vendor_name = "Roland",
420 .product_name = "U-8",
421 .ifnum = QUIRK_ANY_INTERFACE,
422 .type = QUIRK_COMPOSITE,
423 .data = (const struct snd_usb_audio_quirk[]) {
425 .ifnum = 0,
426 .type = QUIRK_IGNORE_INTERFACE
429 .ifnum = 1,
430 .type = QUIRK_IGNORE_INTERFACE
433 .ifnum = 2,
434 .type = QUIRK_MIDI_FIXED_ENDPOINT,
435 .data = & (const struct snd_usb_midi_endpoint_info) {
436 .out_cables = 0x0005,
437 .in_cables = 0x0005
441 .ifnum = -1
447 /* Has ID 0x0099 when not in "Advanced Driver" mode.
448 * The UM-2EX has only one input, but we cannot detect this. */
449 USB_DEVICE(0x0582, 0x0005),
450 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
451 .vendor_name = "EDIROL",
452 .product_name = "UM-2",
453 .ifnum = QUIRK_ANY_INTERFACE,
454 .type = QUIRK_COMPOSITE,
455 .data = (const struct snd_usb_audio_quirk[]) {
457 .ifnum = 0,
458 .type = QUIRK_IGNORE_INTERFACE
461 .ifnum = 1,
462 .type = QUIRK_IGNORE_INTERFACE
465 .ifnum = 2,
466 .type = QUIRK_MIDI_FIXED_ENDPOINT,
467 .data = & (const struct snd_usb_midi_endpoint_info) {
468 .out_cables = 0x0003,
469 .in_cables = 0x0003
473 .ifnum = -1
479 USB_DEVICE(0x0582, 0x0007),
480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
481 .vendor_name = "Roland",
482 .product_name = "SC-8820",
483 .ifnum = QUIRK_ANY_INTERFACE,
484 .type = QUIRK_COMPOSITE,
485 .data = (const struct snd_usb_audio_quirk[]) {
487 .ifnum = 0,
488 .type = QUIRK_IGNORE_INTERFACE
491 .ifnum = 1,
492 .type = QUIRK_IGNORE_INTERFACE
495 .ifnum = 2,
496 .type = QUIRK_MIDI_FIXED_ENDPOINT,
497 .data = & (const struct snd_usb_midi_endpoint_info) {
498 .out_cables = 0x0013,
499 .in_cables = 0x0013
503 .ifnum = -1
509 USB_DEVICE(0x0582, 0x0008),
510 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
511 .vendor_name = "Roland",
512 .product_name = "PC-300",
513 .ifnum = QUIRK_ANY_INTERFACE,
514 .type = QUIRK_COMPOSITE,
515 .data = (const struct snd_usb_audio_quirk[]) {
517 .ifnum = 0,
518 .type = QUIRK_IGNORE_INTERFACE
521 .ifnum = 1,
522 .type = QUIRK_IGNORE_INTERFACE
525 .ifnum = 2,
526 .type = QUIRK_MIDI_FIXED_ENDPOINT,
527 .data = & (const struct snd_usb_midi_endpoint_info) {
528 .out_cables = 0x0001,
529 .in_cables = 0x0001
533 .ifnum = -1
539 /* has ID 0x009d when not in "Advanced Driver" mode */
540 USB_DEVICE(0x0582, 0x0009),
541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
542 .vendor_name = "EDIROL",
543 .product_name = "UM-1",
544 .ifnum = QUIRK_ANY_INTERFACE,
545 .type = QUIRK_COMPOSITE,
546 .data = (const struct snd_usb_audio_quirk[]) {
548 .ifnum = 0,
549 .type = QUIRK_IGNORE_INTERFACE
552 .ifnum = 1,
553 .type = QUIRK_IGNORE_INTERFACE
556 .ifnum = 2,
557 .type = QUIRK_MIDI_FIXED_ENDPOINT,
558 .data = & (const struct snd_usb_midi_endpoint_info) {
559 .out_cables = 0x0001,
560 .in_cables = 0x0001
564 .ifnum = -1
570 USB_DEVICE(0x0582, 0x000b),
571 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
572 .vendor_name = "Roland",
573 .product_name = "SK-500",
574 .ifnum = QUIRK_ANY_INTERFACE,
575 .type = QUIRK_COMPOSITE,
576 .data = (const struct snd_usb_audio_quirk[]) {
578 .ifnum = 0,
579 .type = QUIRK_IGNORE_INTERFACE
582 .ifnum = 1,
583 .type = QUIRK_IGNORE_INTERFACE
586 .ifnum = 2,
587 .type = QUIRK_MIDI_FIXED_ENDPOINT,
588 .data = & (const struct snd_usb_midi_endpoint_info) {
589 .out_cables = 0x0013,
590 .in_cables = 0x0013
594 .ifnum = -1
600 /* thanks to Emiliano Grilli <emillo@libero.it>
601 * for helping researching this data */
602 USB_DEVICE(0x0582, 0x000c),
603 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
604 .vendor_name = "Roland",
605 .product_name = "SC-D70",
606 .ifnum = QUIRK_ANY_INTERFACE,
607 .type = QUIRK_COMPOSITE,
608 .data = (const struct snd_usb_audio_quirk[]) {
610 .ifnum = 0,
611 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
612 .data = & (const struct audioformat) {
613 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
614 .channels = 2,
615 .iface = 0,
616 .altsetting = 1,
617 .altset_idx = 1,
618 .attributes = 0,
619 .endpoint = 0x01,
620 .ep_attr = 0x01,
621 .rates = SNDRV_PCM_RATE_CONTINUOUS,
622 .rate_min = 44100,
623 .rate_max = 44100,
627 .ifnum = 1,
628 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
629 .data = & (const struct audioformat) {
630 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
631 .channels = 2,
632 .iface = 1,
633 .altsetting = 1,
634 .altset_idx = 1,
635 .attributes = 0,
636 .endpoint = 0x81,
637 .ep_attr = 0x01,
638 .rates = SNDRV_PCM_RATE_CONTINUOUS,
639 .rate_min = 44100,
640 .rate_max = 44100,
644 .ifnum = 2,
645 .type = QUIRK_MIDI_FIXED_ENDPOINT,
646 .data = & (const struct snd_usb_midi_endpoint_info) {
647 .out_cables = 0x0007,
648 .in_cables = 0x0007
652 .ifnum = -1
657 { /*
658 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
659 * If the advanced mode switch at the back of the unit is off, the
660 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
661 * but offers only 16-bit PCM.
662 * In advanced mode, the UA-5 will output S24_3LE samples (two
663 * channels) at the rate indicated on the front switch, including
664 * the 96kHz sample rate.
666 USB_DEVICE(0x0582, 0x0010),
667 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
668 .vendor_name = "EDIROL",
669 .product_name = "UA-5",
670 .ifnum = QUIRK_ANY_INTERFACE,
671 .type = QUIRK_COMPOSITE,
672 .data = (const struct snd_usb_audio_quirk[]) {
674 .ifnum = 1,
675 .type = QUIRK_AUDIO_STANDARD_INTERFACE
678 .ifnum = 2,
679 .type = QUIRK_AUDIO_STANDARD_INTERFACE
682 .ifnum = -1
688 /* has ID 0x0013 when not in "Advanced Driver" mode */
689 USB_DEVICE(0x0582, 0x0012),
690 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
691 .vendor_name = "Roland",
692 .product_name = "XV-5050",
693 .ifnum = 0,
694 .type = QUIRK_MIDI_FIXED_ENDPOINT,
695 .data = & (const struct snd_usb_midi_endpoint_info) {
696 .out_cables = 0x0001,
697 .in_cables = 0x0001
702 /* has ID 0x0015 when not in "Advanced Driver" mode */
703 USB_DEVICE(0x0582, 0x0014),
704 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
705 .vendor_name = "EDIROL",
706 .product_name = "UM-880",
707 .ifnum = 0,
708 .type = QUIRK_MIDI_FIXED_ENDPOINT,
709 .data = & (const struct snd_usb_midi_endpoint_info) {
710 .out_cables = 0x01ff,
711 .in_cables = 0x01ff
716 /* has ID 0x0017 when not in "Advanced Driver" mode */
717 USB_DEVICE(0x0582, 0x0016),
718 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
719 .vendor_name = "EDIROL",
720 .product_name = "SD-90",
721 .ifnum = QUIRK_ANY_INTERFACE,
722 .type = QUIRK_COMPOSITE,
723 .data = (const struct snd_usb_audio_quirk[]) {
725 .ifnum = 0,
726 .type = QUIRK_AUDIO_STANDARD_INTERFACE
729 .ifnum = 1,
730 .type = QUIRK_AUDIO_STANDARD_INTERFACE
733 .ifnum = 2,
734 .type = QUIRK_MIDI_FIXED_ENDPOINT,
735 .data = & (const struct snd_usb_midi_endpoint_info) {
736 .out_cables = 0x000f,
737 .in_cables = 0x000f
741 .ifnum = -1
747 /* has ID 0x001c when not in "Advanced Driver" mode */
748 USB_DEVICE(0x0582, 0x001b),
749 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
750 .vendor_name = "Roland",
751 .product_name = "MMP-2",
752 .ifnum = QUIRK_ANY_INTERFACE,
753 .type = QUIRK_COMPOSITE,
754 .data = (const struct snd_usb_audio_quirk[]) {
756 .ifnum = 0,
757 .type = QUIRK_IGNORE_INTERFACE
760 .ifnum = 1,
761 .type = QUIRK_IGNORE_INTERFACE
764 .ifnum = 2,
765 .type = QUIRK_MIDI_FIXED_ENDPOINT,
766 .data = & (const struct snd_usb_midi_endpoint_info) {
767 .out_cables = 0x0001,
768 .in_cables = 0x0001
772 .ifnum = -1
778 /* has ID 0x001e when not in "Advanced Driver" mode */
779 USB_DEVICE(0x0582, 0x001d),
780 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
781 .vendor_name = "Roland",
782 .product_name = "V-SYNTH",
783 .ifnum = 0,
784 .type = QUIRK_MIDI_FIXED_ENDPOINT,
785 .data = & (const struct snd_usb_midi_endpoint_info) {
786 .out_cables = 0x0001,
787 .in_cables = 0x0001
792 /* has ID 0x0024 when not in "Advanced Driver" mode */
793 USB_DEVICE(0x0582, 0x0023),
794 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
795 .vendor_name = "EDIROL",
796 .product_name = "UM-550",
797 .ifnum = 0,
798 .type = QUIRK_MIDI_FIXED_ENDPOINT,
799 .data = & (const struct snd_usb_midi_endpoint_info) {
800 .out_cables = 0x003f,
801 .in_cables = 0x003f
807 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
808 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
809 * and no MIDI.
811 USB_DEVICE(0x0582, 0x0025),
812 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
813 .vendor_name = "EDIROL",
814 .product_name = "UA-20",
815 .ifnum = QUIRK_ANY_INTERFACE,
816 .type = QUIRK_COMPOSITE,
817 .data = (const struct snd_usb_audio_quirk[]) {
819 .ifnum = 0,
820 .type = QUIRK_IGNORE_INTERFACE
823 .ifnum = 1,
824 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
825 .data = & (const struct audioformat) {
826 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
827 .channels = 2,
828 .iface = 1,
829 .altsetting = 1,
830 .altset_idx = 1,
831 .attributes = 0,
832 .endpoint = 0x01,
833 .ep_attr = 0x01,
834 .rates = SNDRV_PCM_RATE_CONTINUOUS,
835 .rate_min = 44100,
836 .rate_max = 44100,
840 .ifnum = 2,
841 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
842 .data = & (const struct audioformat) {
843 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
844 .channels = 2,
845 .iface = 2,
846 .altsetting = 1,
847 .altset_idx = 1,
848 .attributes = 0,
849 .endpoint = 0x82,
850 .ep_attr = 0x01,
851 .rates = SNDRV_PCM_RATE_CONTINUOUS,
852 .rate_min = 44100,
853 .rate_max = 44100,
857 .ifnum = 3,
858 .type = QUIRK_MIDI_FIXED_ENDPOINT,
859 .data = & (const struct snd_usb_midi_endpoint_info) {
860 .out_cables = 0x0001,
861 .in_cables = 0x0001
865 .ifnum = -1
871 /* has ID 0x0028 when not in "Advanced Driver" mode */
872 USB_DEVICE(0x0582, 0x0027),
873 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
874 .vendor_name = "EDIROL",
875 .product_name = "SD-20",
876 .ifnum = 0,
877 .type = QUIRK_MIDI_FIXED_ENDPOINT,
878 .data = & (const struct snd_usb_midi_endpoint_info) {
879 .out_cables = 0x0003,
880 .in_cables = 0x0007
885 /* has ID 0x002a when not in "Advanced Driver" mode */
886 USB_DEVICE(0x0582, 0x0029),
887 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
888 .vendor_name = "EDIROL",
889 .product_name = "SD-80",
890 .ifnum = 0,
891 .type = QUIRK_MIDI_FIXED_ENDPOINT,
892 .data = & (const struct snd_usb_midi_endpoint_info) {
893 .out_cables = 0x000f,
894 .in_cables = 0x000f
898 { /*
899 * This quirk is for the "Advanced" modes of the Edirol UA-700.
900 * If the sample format switch is not in an advanced setting, the
901 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
902 * but offers only 16-bit PCM and no MIDI.
904 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
905 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
906 .vendor_name = "EDIROL",
907 .product_name = "UA-700",
908 .ifnum = QUIRK_ANY_INTERFACE,
909 .type = QUIRK_COMPOSITE,
910 .data = (const struct snd_usb_audio_quirk[]) {
912 .ifnum = 1,
913 .type = QUIRK_AUDIO_EDIROL_UAXX
916 .ifnum = 2,
917 .type = QUIRK_AUDIO_EDIROL_UAXX
920 .ifnum = 3,
921 .type = QUIRK_AUDIO_EDIROL_UAXX
924 .ifnum = -1
930 /* has ID 0x002e when not in "Advanced Driver" mode */
931 USB_DEVICE(0x0582, 0x002d),
932 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
933 .vendor_name = "Roland",
934 .product_name = "XV-2020",
935 .ifnum = 0,
936 .type = QUIRK_MIDI_FIXED_ENDPOINT,
937 .data = & (const struct snd_usb_midi_endpoint_info) {
938 .out_cables = 0x0001,
939 .in_cables = 0x0001
944 /* has ID 0x0030 when not in "Advanced Driver" mode */
945 USB_DEVICE(0x0582, 0x002f),
946 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
947 .vendor_name = "Roland",
948 .product_name = "VariOS",
949 .ifnum = 0,
950 .type = QUIRK_MIDI_FIXED_ENDPOINT,
951 .data = & (const struct snd_usb_midi_endpoint_info) {
952 .out_cables = 0x0007,
953 .in_cables = 0x0007
958 /* has ID 0x0034 when not in "Advanced Driver" mode */
959 USB_DEVICE(0x0582, 0x0033),
960 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
961 .vendor_name = "EDIROL",
962 .product_name = "PCR",
963 .ifnum = 0,
964 .type = QUIRK_MIDI_FIXED_ENDPOINT,
965 .data = & (const struct snd_usb_midi_endpoint_info) {
966 .out_cables = 0x0003,
967 .in_cables = 0x0007
971 /* TODO: add Roland M-1000 support */
974 * Has ID 0x0038 when not in "Advanced Driver" mode;
975 * later revisions use IDs 0x0054 and 0x00a2.
977 USB_DEVICE(0x0582, 0x0037),
978 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
979 .vendor_name = "Roland",
980 .product_name = "Digital Piano",
981 .ifnum = 0,
982 .type = QUIRK_MIDI_FIXED_ENDPOINT,
983 .data = & (const struct snd_usb_midi_endpoint_info) {
984 .out_cables = 0x0001,
985 .in_cables = 0x0001
991 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
992 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
993 * and no MIDI.
995 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
996 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
997 .vendor_name = "BOSS",
998 .product_name = "GS-10",
999 .ifnum = QUIRK_ANY_INTERFACE,
1000 .type = QUIRK_COMPOSITE,
1001 .data = & (const struct snd_usb_audio_quirk[]) {
1003 .ifnum = 1,
1004 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1007 .ifnum = 2,
1008 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1011 .ifnum = 3,
1012 .type = QUIRK_MIDI_STANDARD_INTERFACE
1015 .ifnum = -1
1021 /* has ID 0x0041 when not in "Advanced Driver" mode */
1022 USB_DEVICE(0x0582, 0x0040),
1023 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1024 .vendor_name = "Roland",
1025 .product_name = "GI-20",
1026 .ifnum = 0,
1027 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1028 .data = & (const struct snd_usb_midi_endpoint_info) {
1029 .out_cables = 0x0001,
1030 .in_cables = 0x0001
1035 /* has ID 0x0043 when not in "Advanced Driver" mode */
1036 USB_DEVICE(0x0582, 0x0042),
1037 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1038 .vendor_name = "Roland",
1039 .product_name = "RS-70",
1040 .ifnum = 0,
1041 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1042 .data = & (const struct snd_usb_midi_endpoint_info) {
1043 .out_cables = 0x0001,
1044 .in_cables = 0x0001
1049 /* has ID 0x0049 when not in "Advanced Driver" mode */
1050 USB_DEVICE(0x0582, 0x0047),
1051 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1052 /* .vendor_name = "EDIROL", */
1053 /* .product_name = "UR-80", */
1054 .ifnum = QUIRK_ANY_INTERFACE,
1055 .type = QUIRK_COMPOSITE,
1056 .data = (const struct snd_usb_audio_quirk[]) {
1057 /* in the 96 kHz modes, only interface 1 is there */
1059 .ifnum = 1,
1060 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1063 .ifnum = 2,
1064 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1067 .ifnum = -1
1073 /* has ID 0x004a when not in "Advanced Driver" mode */
1074 USB_DEVICE(0x0582, 0x0048),
1075 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1076 /* .vendor_name = "EDIROL", */
1077 /* .product_name = "UR-80", */
1078 .ifnum = 0,
1079 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1080 .data = & (const struct snd_usb_midi_endpoint_info) {
1081 .out_cables = 0x0003,
1082 .in_cables = 0x0007
1086 /* TODO: add Edirol M-100FX support */
1088 /* has ID 0x004e when not in "Advanced Driver" mode */
1089 USB_DEVICE(0x0582, 0x004c),
1090 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1091 .vendor_name = "EDIROL",
1092 .product_name = "PCR-A",
1093 .ifnum = QUIRK_ANY_INTERFACE,
1094 .type = QUIRK_COMPOSITE,
1095 .data = (const struct snd_usb_audio_quirk[]) {
1097 .ifnum = 1,
1098 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1101 .ifnum = 2,
1102 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1105 .ifnum = -1
1111 /* has ID 0x004f when not in "Advanced Driver" mode */
1112 USB_DEVICE(0x0582, 0x004d),
1113 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1114 .vendor_name = "EDIROL",
1115 .product_name = "PCR-A",
1116 .ifnum = 0,
1117 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1118 .data = & (const struct snd_usb_midi_endpoint_info) {
1119 .out_cables = 0x0003,
1120 .in_cables = 0x0007
1126 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1127 * is standard compliant, but has only 16-bit PCM.
1129 USB_DEVICE(0x0582, 0x0050),
1130 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1131 .vendor_name = "EDIROL",
1132 .product_name = "UA-3FX",
1133 .ifnum = QUIRK_ANY_INTERFACE,
1134 .type = QUIRK_COMPOSITE,
1135 .data = (const struct snd_usb_audio_quirk[]) {
1137 .ifnum = 1,
1138 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1141 .ifnum = 2,
1142 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1145 .ifnum = -1
1151 USB_DEVICE(0x0582, 0x0052),
1152 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1153 .vendor_name = "EDIROL",
1154 .product_name = "UM-1SX",
1155 .ifnum = 0,
1156 .type = QUIRK_MIDI_STANDARD_INTERFACE
1160 USB_DEVICE(0x0582, 0x0060),
1161 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1162 .vendor_name = "Roland",
1163 .product_name = "EXR Series",
1164 .ifnum = 0,
1165 .type = QUIRK_MIDI_STANDARD_INTERFACE
1169 /* has ID 0x0066 when not in "Advanced Driver" mode */
1170 USB_DEVICE(0x0582, 0x0064),
1171 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1172 /* .vendor_name = "EDIROL", */
1173 /* .product_name = "PCR-1", */
1174 .ifnum = QUIRK_ANY_INTERFACE,
1175 .type = QUIRK_COMPOSITE,
1176 .data = (const struct snd_usb_audio_quirk[]) {
1178 .ifnum = 1,
1179 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1182 .ifnum = 2,
1183 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1186 .ifnum = -1
1192 /* has ID 0x0067 when not in "Advanced Driver" mode */
1193 USB_DEVICE(0x0582, 0x0065),
1194 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1195 /* .vendor_name = "EDIROL", */
1196 /* .product_name = "PCR-1", */
1197 .ifnum = 0,
1198 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1199 .data = & (const struct snd_usb_midi_endpoint_info) {
1200 .out_cables = 0x0001,
1201 .in_cables = 0x0003
1206 /* has ID 0x006b when not in "Advanced Driver" mode */
1207 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1208 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1209 .vendor_name = "Roland",
1210 .product_name = "SP-606",
1211 .ifnum = 3,
1212 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1213 .data = & (const struct snd_usb_midi_endpoint_info) {
1214 .out_cables = 0x0001,
1215 .in_cables = 0x0001
1220 /* has ID 0x006e when not in "Advanced Driver" mode */
1221 USB_DEVICE(0x0582, 0x006d),
1222 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1223 .vendor_name = "Roland",
1224 .product_name = "FANTOM-X",
1225 .ifnum = 0,
1226 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1227 .data = & (const struct snd_usb_midi_endpoint_info) {
1228 .out_cables = 0x0001,
1229 .in_cables = 0x0001
1233 { /*
1234 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1235 * If the switch is not in an advanced setting, the UA-25 has
1236 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1237 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1239 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1240 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1241 .vendor_name = "EDIROL",
1242 .product_name = "UA-25",
1243 .ifnum = QUIRK_ANY_INTERFACE,
1244 .type = QUIRK_COMPOSITE,
1245 .data = (const struct snd_usb_audio_quirk[]) {
1247 .ifnum = 0,
1248 .type = QUIRK_AUDIO_EDIROL_UAXX
1251 .ifnum = 1,
1252 .type = QUIRK_AUDIO_EDIROL_UAXX
1255 .ifnum = 2,
1256 .type = QUIRK_AUDIO_EDIROL_UAXX
1259 .ifnum = -1
1265 /* has ID 0x0076 when not in "Advanced Driver" mode */
1266 USB_DEVICE(0x0582, 0x0075),
1267 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1268 .vendor_name = "BOSS",
1269 .product_name = "DR-880",
1270 .ifnum = 0,
1271 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1272 .data = & (const struct snd_usb_midi_endpoint_info) {
1273 .out_cables = 0x0001,
1274 .in_cables = 0x0001
1279 /* has ID 0x007b when not in "Advanced Driver" mode */
1280 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1281 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1282 .vendor_name = "Roland",
1283 /* "RD" or "RD-700SX"? */
1284 .ifnum = 0,
1285 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1286 .data = & (const struct snd_usb_midi_endpoint_info) {
1287 .out_cables = 0x0003,
1288 .in_cables = 0x0003
1293 /* has ID 0x0081 when not in "Advanced Driver" mode */
1294 USB_DEVICE(0x0582, 0x0080),
1295 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1296 .vendor_name = "Roland",
1297 .product_name = "G-70",
1298 .ifnum = 0,
1299 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1300 .data = & (const struct snd_usb_midi_endpoint_info) {
1301 .out_cables = 0x0001,
1302 .in_cables = 0x0001
1306 /* TODO: add Roland V-SYNTH XT support */
1307 /* TODO: add BOSS GT-PRO support */
1309 /* has ID 0x008c when not in "Advanced Driver" mode */
1310 USB_DEVICE(0x0582, 0x008b),
1311 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1312 .vendor_name = "EDIROL",
1313 .product_name = "PC-50",
1314 .ifnum = 0,
1315 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1316 .data = & (const struct snd_usb_midi_endpoint_info) {
1317 .out_cables = 0x0001,
1318 .in_cables = 0x0001
1322 /* TODO: add Edirol PC-80 support */
1324 USB_DEVICE(0x0582, 0x0096),
1325 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1326 .vendor_name = "EDIROL",
1327 .product_name = "UA-1EX",
1328 .ifnum = QUIRK_ANY_INTERFACE,
1329 .type = QUIRK_COMPOSITE,
1330 .data = (const struct snd_usb_audio_quirk[]) {
1332 .ifnum = 0,
1333 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1336 .ifnum = 1,
1337 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1340 .ifnum = -1
1346 USB_DEVICE(0x0582, 0x009a),
1347 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1348 .vendor_name = "EDIROL",
1349 .product_name = "UM-3EX",
1350 .ifnum = 0,
1351 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1352 .data = & (const struct snd_usb_midi_endpoint_info) {
1353 .out_cables = 0x000f,
1354 .in_cables = 0x000f
1360 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1361 * is standard compliant, but has only 16-bit PCM and no MIDI.
1363 USB_DEVICE(0x0582, 0x00a3),
1364 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1365 .vendor_name = "EDIROL",
1366 .product_name = "UA-4FX",
1367 .ifnum = QUIRK_ANY_INTERFACE,
1368 .type = QUIRK_COMPOSITE,
1369 .data = (const struct snd_usb_audio_quirk[]) {
1371 .ifnum = 0,
1372 .type = QUIRK_AUDIO_EDIROL_UAXX
1375 .ifnum = 1,
1376 .type = QUIRK_AUDIO_EDIROL_UAXX
1379 .ifnum = 2,
1380 .type = QUIRK_AUDIO_EDIROL_UAXX
1383 .ifnum = -1
1388 /* TODO: add Edirol MD-P1 support */
1390 USB_DEVICE(0x582, 0x00a6),
1391 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1392 .vendor_name = "Roland",
1393 .product_name = "Juno-G",
1394 .ifnum = 0,
1395 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1396 .data = & (const struct snd_usb_midi_endpoint_info) {
1397 .out_cables = 0x0001,
1398 .in_cables = 0x0001
1403 /* Roland SH-201 */
1404 USB_DEVICE(0x0582, 0x00ad),
1405 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1406 .vendor_name = "Roland",
1407 .product_name = "SH-201",
1408 .ifnum = QUIRK_ANY_INTERFACE,
1409 .type = QUIRK_COMPOSITE,
1410 .data = (const struct snd_usb_audio_quirk[]) {
1412 .ifnum = 0,
1413 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1416 .ifnum = 1,
1417 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1420 .ifnum = 2,
1421 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1422 .data = & (const struct snd_usb_midi_endpoint_info) {
1423 .out_cables = 0x0001,
1424 .in_cables = 0x0001
1428 .ifnum = -1
1434 /* Roland SonicCell */
1435 USB_DEVICE(0x0582, 0x00c2),
1436 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1437 .vendor_name = "Roland",
1438 .product_name = "SonicCell",
1439 .ifnum = QUIRK_ANY_INTERFACE,
1440 .type = QUIRK_COMPOSITE,
1441 .data = (const struct snd_usb_audio_quirk[]) {
1443 .ifnum = 0,
1444 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1447 .ifnum = 1,
1448 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1451 .ifnum = 2,
1452 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1453 .data = & (const struct snd_usb_midi_endpoint_info) {
1454 .out_cables = 0x0001,
1455 .in_cables = 0x0001
1459 .ifnum = -1
1465 /* Edirol M-16DX */
1466 /* FIXME: This quirk gives a good-working capture stream but the
1467 * playback seems problematic because of lacking of sync
1468 * with capture stream. It needs to sync with the capture
1469 * clock. As now, you'll get frequent sound distortions
1470 * via the playback.
1472 USB_DEVICE(0x0582, 0x00c4),
1473 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1474 .ifnum = QUIRK_ANY_INTERFACE,
1475 .type = QUIRK_COMPOSITE,
1476 .data = (const struct snd_usb_audio_quirk[]) {
1478 .ifnum = 0,
1479 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1482 .ifnum = 1,
1483 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1486 .ifnum = 2,
1487 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1488 .data = & (const struct snd_usb_midi_endpoint_info) {
1489 .out_cables = 0x0001,
1490 .in_cables = 0x0001
1494 .ifnum = -1
1500 /* BOSS GT-10 */
1501 USB_DEVICE(0x0582, 0x00da),
1502 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1503 .ifnum = QUIRK_ANY_INTERFACE,
1504 .type = QUIRK_COMPOSITE,
1505 .data = (const struct snd_usb_audio_quirk[]) {
1507 .ifnum = 0,
1508 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1511 .ifnum = 1,
1512 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1515 .ifnum = 2,
1516 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1517 .data = & (const struct snd_usb_midi_endpoint_info) {
1518 .out_cables = 0x0001,
1519 .in_cables = 0x0001
1523 .ifnum = -1
1529 /* Advanced modes of the Edirol UA-25EX.
1530 * For the standard mode, UA-25EX has ID 0582:00e7, which
1531 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1533 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1534 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1535 .vendor_name = "EDIROL",
1536 .product_name = "UA-25EX",
1537 .ifnum = QUIRK_ANY_INTERFACE,
1538 .type = QUIRK_COMPOSITE,
1539 .data = (const struct snd_usb_audio_quirk[]) {
1541 .ifnum = 0,
1542 .type = QUIRK_AUDIO_EDIROL_UAXX
1545 .ifnum = 1,
1546 .type = QUIRK_AUDIO_EDIROL_UAXX
1549 .ifnum = 2,
1550 .type = QUIRK_AUDIO_EDIROL_UAXX
1553 .ifnum = -1
1559 /* has ID 0x00ea when not in Advanced Driver mode */
1560 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
1561 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1562 /* .vendor_name = "Roland", */
1563 /* .product_name = "UA-1G", */
1564 .ifnum = QUIRK_ANY_INTERFACE,
1565 .type = QUIRK_COMPOSITE,
1566 .data = (const struct snd_usb_audio_quirk[]) {
1568 .ifnum = 0,
1569 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1572 .ifnum = 1,
1573 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1576 .ifnum = -1
1582 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0104),
1583 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1584 /* .vendor_name = "Roland", */
1585 /* .product_name = "UM-1G", */
1586 .ifnum = 0,
1587 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1588 .data = & (const struct snd_usb_midi_endpoint_info) {
1589 .out_cables = 0x0001,
1590 .in_cables = 0x0001
1595 /* Boss JS-8 Jam Station */
1596 USB_DEVICE(0x0582, 0x0109),
1597 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1598 /* .vendor_name = "BOSS", */
1599 /* .product_name = "JS-8", */
1600 .ifnum = QUIRK_ANY_INTERFACE,
1601 .type = QUIRK_COMPOSITE,
1602 .data = (const struct snd_usb_audio_quirk[]) {
1604 .ifnum = 0,
1605 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1608 .ifnum = 1,
1609 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1612 .ifnum = 2,
1613 .type = QUIRK_MIDI_STANDARD_INTERFACE
1616 .ifnum = -1
1622 /* has ID 0x0110 when not in Advanced Driver mode */
1623 USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
1624 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1625 /* .vendor_name = "Roland", */
1626 /* .product_name = "A-PRO", */
1627 .ifnum = 1,
1628 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1629 .data = & (const struct snd_usb_midi_endpoint_info) {
1630 .out_cables = 0x0003,
1631 .in_cables = 0x0007
1636 USB_DEVICE(0x0582, 0x0113),
1637 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1638 /* .vendor_name = "BOSS", */
1639 /* .product_name = "ME-25", */
1640 .ifnum = QUIRK_ANY_INTERFACE,
1641 .type = QUIRK_COMPOSITE,
1642 .data = (const struct snd_usb_audio_quirk[]) {
1644 .ifnum = 0,
1645 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1648 .ifnum = 1,
1649 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1652 .ifnum = 2,
1653 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1654 .data = & (const struct snd_usb_midi_endpoint_info) {
1655 .out_cables = 0x0001,
1656 .in_cables = 0x0001
1660 .ifnum = -1
1666 USB_DEVICE(0x0582, 0x0127),
1667 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1668 /* .vendor_name = "Roland", */
1669 /* .product_name = "GR-55", */
1670 .ifnum = QUIRK_ANY_INTERFACE,
1671 .type = QUIRK_COMPOSITE,
1672 .data = (const struct snd_usb_audio_quirk[]) {
1674 .ifnum = 0,
1675 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1678 .ifnum = 1,
1679 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1682 .ifnum = 2,
1683 .type = QUIRK_MIDI_STANDARD_INTERFACE
1686 .ifnum = -1
1692 USB_DEVICE(0x0582, 0x011e),
1693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1694 /* .vendor_name = "BOSS", */
1695 /* .product_name = "BR-800", */
1696 .ifnum = QUIRK_ANY_INTERFACE,
1697 .type = QUIRK_COMPOSITE,
1698 .data = (const struct snd_usb_audio_quirk[]) {
1700 .ifnum = 0,
1701 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1704 .ifnum = 1,
1705 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1708 .ifnum = 2,
1709 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1710 .data = & (const struct snd_usb_midi_endpoint_info) {
1711 .out_cables = 0x0001,
1712 .in_cables = 0x0001
1716 .ifnum = -1
1722 USB_DEVICE(0x0582, 0x0130),
1723 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1724 /* .vendor_name = "BOSS", */
1725 /* .product_name = "MICRO BR-80", */
1726 .ifnum = QUIRK_ANY_INTERFACE,
1727 .type = QUIRK_COMPOSITE,
1728 .data = (const struct snd_usb_audio_quirk[]) {
1730 .ifnum = 0,
1731 .type = QUIRK_IGNORE_INTERFACE
1734 .ifnum = 1,
1735 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1738 .ifnum = 2,
1739 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1742 .ifnum = 3,
1743 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1744 .data = & (const struct snd_usb_midi_endpoint_info) {
1745 .out_cables = 0x0001,
1746 .in_cables = 0x0001
1750 .ifnum = -1
1756 /* Guillemot devices */
1759 * This is for the "Windows Edition" where the external MIDI ports are
1760 * the only MIDI ports; the control data is reported through HID
1761 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1762 * compliant USB MIDI ports for external MIDI and controls.
1764 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1765 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1766 .vendor_name = "Hercules",
1767 .product_name = "DJ Console (WE)",
1768 .ifnum = 4,
1769 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1770 .data = & (const struct snd_usb_midi_endpoint_info) {
1771 .out_cables = 0x0001,
1772 .in_cables = 0x0001
1777 /* Midiman/M-Audio devices */
1779 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1780 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1781 .vendor_name = "M-Audio",
1782 .product_name = "MidiSport 2x2",
1783 .ifnum = QUIRK_ANY_INTERFACE,
1784 .type = QUIRK_MIDI_MIDIMAN,
1785 .data = & (const struct snd_usb_midi_endpoint_info) {
1786 .out_cables = 0x0003,
1787 .in_cables = 0x0003
1792 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1793 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1794 .vendor_name = "M-Audio",
1795 .product_name = "MidiSport 1x1",
1796 .ifnum = QUIRK_ANY_INTERFACE,
1797 .type = QUIRK_MIDI_MIDIMAN,
1798 .data = & (const struct snd_usb_midi_endpoint_info) {
1799 .out_cables = 0x0001,
1800 .in_cables = 0x0001
1805 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1806 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1807 .vendor_name = "M-Audio",
1808 .product_name = "Keystation",
1809 .ifnum = QUIRK_ANY_INTERFACE,
1810 .type = QUIRK_MIDI_MIDIMAN,
1811 .data = & (const struct snd_usb_midi_endpoint_info) {
1812 .out_cables = 0x0001,
1813 .in_cables = 0x0001
1818 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1819 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1820 .vendor_name = "M-Audio",
1821 .product_name = "MidiSport 4x4",
1822 .ifnum = QUIRK_ANY_INTERFACE,
1823 .type = QUIRK_MIDI_MIDIMAN,
1824 .data = & (const struct snd_usb_midi_endpoint_info) {
1825 .out_cables = 0x000f,
1826 .in_cables = 0x000f
1832 * For hardware revision 1.05; in the later revisions (1.10 and
1833 * 1.21), 0x1031 is the ID for the device without firmware.
1834 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1836 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1837 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1838 .vendor_name = "M-Audio",
1839 .product_name = "MidiSport 8x8",
1840 .ifnum = QUIRK_ANY_INTERFACE,
1841 .type = QUIRK_MIDI_MIDIMAN,
1842 .data = & (const struct snd_usb_midi_endpoint_info) {
1843 .out_cables = 0x01ff,
1844 .in_cables = 0x01ff
1849 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1850 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1851 .vendor_name = "M-Audio",
1852 .product_name = "MidiSport 8x8",
1853 .ifnum = QUIRK_ANY_INTERFACE,
1854 .type = QUIRK_MIDI_MIDIMAN,
1855 .data = & (const struct snd_usb_midi_endpoint_info) {
1856 .out_cables = 0x01ff,
1857 .in_cables = 0x01ff
1862 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1863 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1864 .vendor_name = "M-Audio",
1865 .product_name = "MidiSport 2x4",
1866 .ifnum = QUIRK_ANY_INTERFACE,
1867 .type = QUIRK_MIDI_MIDIMAN,
1868 .data = & (const struct snd_usb_midi_endpoint_info) {
1869 .out_cables = 0x000f,
1870 .in_cables = 0x0003
1875 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1876 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1877 .vendor_name = "M-Audio",
1878 .product_name = "Quattro",
1879 .ifnum = QUIRK_ANY_INTERFACE,
1880 .type = QUIRK_COMPOSITE,
1881 .data = & (const struct snd_usb_audio_quirk[]) {
1883 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1884 * and share endpoints with the other interfaces.
1885 * Ignore them. The other interfaces can do 24 bits,
1886 * but captured samples are big-endian (see usbaudio.c).
1889 .ifnum = 0,
1890 .type = QUIRK_IGNORE_INTERFACE
1893 .ifnum = 1,
1894 .type = QUIRK_IGNORE_INTERFACE
1897 .ifnum = 2,
1898 .type = QUIRK_IGNORE_INTERFACE
1901 .ifnum = 3,
1902 .type = QUIRK_IGNORE_INTERFACE
1905 .ifnum = 4,
1906 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1909 .ifnum = 5,
1910 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1913 .ifnum = 6,
1914 .type = QUIRK_IGNORE_INTERFACE
1917 .ifnum = 7,
1918 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1921 .ifnum = 8,
1922 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1925 .ifnum = 9,
1926 .type = QUIRK_MIDI_MIDIMAN,
1927 .data = & (const struct snd_usb_midi_endpoint_info) {
1928 .out_cables = 0x0001,
1929 .in_cables = 0x0001
1933 .ifnum = -1
1939 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1940 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1941 .vendor_name = "M-Audio",
1942 .product_name = "AudioPhile",
1943 .ifnum = 6,
1944 .type = QUIRK_MIDI_MIDIMAN,
1945 .data = & (const struct snd_usb_midi_endpoint_info) {
1946 .out_cables = 0x0001,
1947 .in_cables = 0x0001
1952 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1953 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1954 .vendor_name = "M-Audio",
1955 .product_name = "Ozone",
1956 .ifnum = 3,
1957 .type = QUIRK_MIDI_MIDIMAN,
1958 .data = & (const struct snd_usb_midi_endpoint_info) {
1959 .out_cables = 0x0001,
1960 .in_cables = 0x0001
1965 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1966 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1967 .vendor_name = "M-Audio",
1968 .product_name = "OmniStudio",
1969 .ifnum = QUIRK_ANY_INTERFACE,
1970 .type = QUIRK_COMPOSITE,
1971 .data = & (const struct snd_usb_audio_quirk[]) {
1973 .ifnum = 0,
1974 .type = QUIRK_IGNORE_INTERFACE
1977 .ifnum = 1,
1978 .type = QUIRK_IGNORE_INTERFACE
1981 .ifnum = 2,
1982 .type = QUIRK_IGNORE_INTERFACE
1985 .ifnum = 3,
1986 .type = QUIRK_IGNORE_INTERFACE
1989 .ifnum = 4,
1990 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1993 .ifnum = 5,
1994 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1997 .ifnum = 6,
1998 .type = QUIRK_IGNORE_INTERFACE
2001 .ifnum = 7,
2002 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2005 .ifnum = 8,
2006 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2009 .ifnum = 9,
2010 .type = QUIRK_MIDI_MIDIMAN,
2011 .data = & (const struct snd_usb_midi_endpoint_info) {
2012 .out_cables = 0x0001,
2013 .in_cables = 0x0001
2017 .ifnum = -1
2023 USB_DEVICE(0x0763, 0x2019),
2024 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2025 /* .vendor_name = "M-Audio", */
2026 /* .product_name = "Ozone Academic", */
2027 .ifnum = QUIRK_ANY_INTERFACE,
2028 .type = QUIRK_COMPOSITE,
2029 .data = & (const struct snd_usb_audio_quirk[]) {
2031 .ifnum = 0,
2032 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2035 .ifnum = 1,
2036 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2039 .ifnum = 2,
2040 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2043 .ifnum = 3,
2044 .type = QUIRK_MIDI_MIDIMAN,
2045 .data = & (const struct snd_usb_midi_endpoint_info) {
2046 .out_cables = 0x0001,
2047 .in_cables = 0x0001
2051 .ifnum = -1
2057 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2058 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2059 /* .vendor_name = "M-Audio", */
2060 /* .product_name = "Fast Track Ultra", */
2061 .ifnum = QUIRK_ANY_INTERFACE,
2062 .type = QUIRK_COMPOSITE,
2063 .data = & (const struct snd_usb_audio_quirk[]) {
2065 .ifnum = 0,
2066 .type = QUIRK_AUDIO_STANDARD_MIXER,
2069 .ifnum = 1,
2070 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2071 .data = & (const struct audioformat) {
2072 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2073 .channels = 8,
2074 .iface = 1,
2075 .altsetting = 1,
2076 .altset_idx = 1,
2077 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2078 .endpoint = 0x01,
2079 .ep_attr = 0x09,
2080 .rates = SNDRV_PCM_RATE_44100 |
2081 SNDRV_PCM_RATE_48000 |
2082 SNDRV_PCM_RATE_88200 |
2083 SNDRV_PCM_RATE_96000,
2084 .rate_min = 44100,
2085 .rate_max = 96000,
2086 .nr_rates = 4,
2087 .rate_table = (unsigned int[]) {
2088 44100, 48000, 88200, 96000
2093 .ifnum = 2,
2094 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2095 .data = & (const struct audioformat) {
2096 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2097 .channels = 8,
2098 .iface = 2,
2099 .altsetting = 1,
2100 .altset_idx = 1,
2101 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2102 .endpoint = 0x81,
2103 .ep_attr = 0x05,
2104 .rates = SNDRV_PCM_RATE_44100 |
2105 SNDRV_PCM_RATE_48000 |
2106 SNDRV_PCM_RATE_88200 |
2107 SNDRV_PCM_RATE_96000,
2108 .rate_min = 44100,
2109 .rate_max = 96000,
2110 .nr_rates = 4,
2111 .rate_table = (unsigned int[]) {
2112 44100, 48000, 88200, 96000
2116 /* interface 3 (MIDI) is standard compliant */
2118 .ifnum = -1
2124 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2125 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2126 /* .vendor_name = "M-Audio", */
2127 /* .product_name = "Fast Track Ultra 8R", */
2128 .ifnum = QUIRK_ANY_INTERFACE,
2129 .type = QUIRK_COMPOSITE,
2130 .data = & (const struct snd_usb_audio_quirk[]) {
2132 .ifnum = 0,
2133 .type = QUIRK_AUDIO_STANDARD_MIXER,
2136 .ifnum = 1,
2137 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2138 .data = & (const struct audioformat) {
2139 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2140 .channels = 8,
2141 .iface = 1,
2142 .altsetting = 1,
2143 .altset_idx = 1,
2144 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2145 .endpoint = 0x01,
2146 .ep_attr = 0x09,
2147 .rates = SNDRV_PCM_RATE_44100 |
2148 SNDRV_PCM_RATE_48000 |
2149 SNDRV_PCM_RATE_88200 |
2150 SNDRV_PCM_RATE_96000,
2151 .rate_min = 44100,
2152 .rate_max = 96000,
2153 .nr_rates = 4,
2154 .rate_table = (unsigned int[]) {
2155 44100, 48000, 88200, 96000
2160 .ifnum = 2,
2161 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2162 .data = & (const struct audioformat) {
2163 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2164 .channels = 8,
2165 .iface = 2,
2166 .altsetting = 1,
2167 .altset_idx = 1,
2168 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2169 .endpoint = 0x81,
2170 .ep_attr = 0x05,
2171 .rates = SNDRV_PCM_RATE_44100 |
2172 SNDRV_PCM_RATE_48000 |
2173 SNDRV_PCM_RATE_88200 |
2174 SNDRV_PCM_RATE_96000,
2175 .rate_min = 44100,
2176 .rate_max = 96000,
2177 .nr_rates = 4,
2178 .rate_table = (unsigned int[]) {
2179 44100, 48000, 88200, 96000
2183 /* interface 3 (MIDI) is standard compliant */
2185 .ifnum = -1
2191 /* Casio devices */
2193 USB_DEVICE(0x07cf, 0x6801),
2194 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2195 .vendor_name = "Casio",
2196 .product_name = "PL-40R",
2197 .ifnum = 0,
2198 .type = QUIRK_MIDI_YAMAHA
2202 /* this ID is used by several devices without a product ID */
2203 USB_DEVICE(0x07cf, 0x6802),
2204 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2205 .vendor_name = "Casio",
2206 .product_name = "Keyboard",
2207 .ifnum = 0,
2208 .type = QUIRK_MIDI_YAMAHA
2212 /* Mark of the Unicorn devices */
2214 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2215 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2216 USB_DEVICE_ID_MATCH_PRODUCT |
2217 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2218 .idVendor = 0x07fd,
2219 .idProduct = 0x0001,
2220 .bDeviceSubClass = 2,
2221 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2222 .vendor_name = "MOTU",
2223 .product_name = "Fastlane",
2224 .ifnum = QUIRK_ANY_INTERFACE,
2225 .type = QUIRK_COMPOSITE,
2226 .data = & (const struct snd_usb_audio_quirk[]) {
2228 .ifnum = 0,
2229 .type = QUIRK_MIDI_RAW_BYTES
2232 .ifnum = 1,
2233 .type = QUIRK_IGNORE_INTERFACE
2236 .ifnum = -1
2242 /* Emagic devices */
2244 USB_DEVICE(0x086a, 0x0001),
2245 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2246 .vendor_name = "Emagic",
2247 /* .product_name = "Unitor8", */
2248 .ifnum = 2,
2249 .type = QUIRK_MIDI_EMAGIC,
2250 .data = & (const struct snd_usb_midi_endpoint_info) {
2251 .out_cables = 0x80ff,
2252 .in_cables = 0x80ff
2257 USB_DEVICE(0x086a, 0x0002),
2258 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2259 .vendor_name = "Emagic",
2260 /* .product_name = "AMT8", */
2261 .ifnum = 2,
2262 .type = QUIRK_MIDI_EMAGIC,
2263 .data = & (const struct snd_usb_midi_endpoint_info) {
2264 .out_cables = 0x80ff,
2265 .in_cables = 0x80ff
2270 USB_DEVICE(0x086a, 0x0003),
2271 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2272 .vendor_name = "Emagic",
2273 /* .product_name = "MT4", */
2274 .ifnum = 2,
2275 .type = QUIRK_MIDI_EMAGIC,
2276 .data = & (const struct snd_usb_midi_endpoint_info) {
2277 .out_cables = 0x800f,
2278 .in_cables = 0x8003
2283 /* KORG devices */
2285 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2286 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2287 .vendor_name = "KORG, Inc.",
2288 /* .product_name = "PANDORA PX5D", */
2289 .ifnum = 3,
2290 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2294 /* AKAI devices */
2296 USB_DEVICE(0x09e8, 0x0062),
2297 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2298 .vendor_name = "AKAI",
2299 .product_name = "MPD16",
2300 .ifnum = 0,
2301 .type = QUIRK_MIDI_AKAI,
2305 /* TerraTec devices */
2307 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2308 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2309 .vendor_name = "TerraTec",
2310 .product_name = "PHASE 26",
2311 .ifnum = 3,
2312 .type = QUIRK_MIDI_STANDARD_INTERFACE
2316 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2317 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2318 .vendor_name = "TerraTec",
2319 .product_name = "PHASE 26",
2320 .ifnum = 3,
2321 .type = QUIRK_MIDI_STANDARD_INTERFACE
2325 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2326 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2327 .vendor_name = "TerraTec",
2328 .product_name = "PHASE 26",
2329 .ifnum = 3,
2330 .type = QUIRK_MIDI_STANDARD_INTERFACE
2334 USB_DEVICE(0x0ccd, 0x0028),
2335 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2336 .vendor_name = "TerraTec",
2337 .product_name = "Aureon5.1MkII",
2338 .ifnum = QUIRK_NO_INTERFACE
2342 USB_DEVICE(0x0ccd, 0x0035),
2343 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2344 .vendor_name = "Miditech",
2345 .product_name = "Play'n Roll",
2346 .ifnum = 0,
2347 .type = QUIRK_MIDI_CME
2351 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2353 USB_DEVICE(0x103d, 0x0100),
2354 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2355 .vendor_name = "Stanton",
2356 .product_name = "ScratchAmp",
2357 .ifnum = QUIRK_NO_INTERFACE
2361 USB_DEVICE(0x103d, 0x0101),
2362 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2363 .vendor_name = "Stanton",
2364 .product_name = "ScratchAmp",
2365 .ifnum = QUIRK_NO_INTERFACE
2369 /* Novation EMS devices */
2371 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2372 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2373 .vendor_name = "Novation",
2374 .product_name = "ReMOTE Audio/XStation",
2375 .ifnum = 4,
2376 .type = QUIRK_MIDI_NOVATION
2380 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2381 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2382 .vendor_name = "Novation",
2383 .product_name = "Speedio",
2384 .ifnum = 3,
2385 .type = QUIRK_MIDI_NOVATION
2389 USB_DEVICE(0x1235, 0x000e),
2390 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2391 /* .vendor_name = "Novation", */
2392 /* .product_name = "Launchpad", */
2393 .ifnum = 0,
2394 .type = QUIRK_MIDI_RAW_BYTES
2398 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2399 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2400 .vendor_name = "Novation",
2401 .product_name = "ReMOTE25",
2402 .ifnum = 0,
2403 .type = QUIRK_MIDI_NOVATION
2407 /* Access Music devices */
2409 /* VirusTI Desktop */
2410 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2411 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2412 .ifnum = QUIRK_ANY_INTERFACE,
2413 .type = QUIRK_COMPOSITE,
2414 .data = &(const struct snd_usb_audio_quirk[]) {
2416 .ifnum = 3,
2417 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2418 .data = &(const struct snd_usb_midi_endpoint_info) {
2419 .out_cables = 0x0003,
2420 .in_cables = 0x0003
2424 .ifnum = 4,
2425 .type = QUIRK_IGNORE_INTERFACE
2428 .ifnum = -1
2434 /* */
2436 /* aka. Serato Scratch Live DJ Box */
2437 USB_DEVICE(0x13e5, 0x0001),
2438 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2439 .vendor_name = "Rane",
2440 .product_name = "SL-1",
2441 .ifnum = QUIRK_NO_INTERFACE
2445 /* Native Instruments MK2 series */
2447 /* Komplete Audio 6 */
2448 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2449 .idVendor = 0x17cc,
2450 .idProduct = 0x1000,
2453 /* Traktor Audio 6 */
2454 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2455 .idVendor = 0x17cc,
2456 .idProduct = 0x1010,
2459 /* Traktor Audio 10 */
2460 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2461 .idVendor = 0x17cc,
2462 .idProduct = 0x1020,
2465 /* KeithMcMillen Stringport */
2467 USB_DEVICE(0x1f38, 0x0001),
2468 .bInterfaceClass = USB_CLASS_AUDIO,
2471 /* Miditech devices */
2473 USB_DEVICE(0x4752, 0x0011),
2474 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2475 .vendor_name = "Miditech",
2476 .product_name = "Midistart-2",
2477 .ifnum = 0,
2478 .type = QUIRK_MIDI_CME
2482 /* Central Music devices */
2484 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2485 USB_DEVICE(0x7104, 0x2202),
2486 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2487 .ifnum = 0,
2488 .type = QUIRK_MIDI_CME
2492 /* Hauppauge HVR-950Q and HVR-850 */
2494 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2495 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2496 USB_DEVICE_ID_MATCH_INT_CLASS |
2497 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2498 .bInterfaceClass = USB_CLASS_AUDIO,
2499 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2500 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2501 .vendor_name = "Hauppauge",
2502 .product_name = "HVR-950Q",
2503 .ifnum = QUIRK_ANY_INTERFACE,
2504 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2508 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2509 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2510 USB_DEVICE_ID_MATCH_INT_CLASS |
2511 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2512 .bInterfaceClass = USB_CLASS_AUDIO,
2513 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2514 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2515 .vendor_name = "Hauppauge",
2516 .product_name = "HVR-850",
2517 .ifnum = QUIRK_ANY_INTERFACE,
2518 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2522 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2523 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2524 USB_DEVICE_ID_MATCH_INT_CLASS |
2525 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2526 .bInterfaceClass = USB_CLASS_AUDIO,
2527 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2528 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2529 .vendor_name = "Hauppauge",
2530 .product_name = "HVR-950Q",
2531 .ifnum = QUIRK_ANY_INTERFACE,
2532 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2536 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2537 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2538 USB_DEVICE_ID_MATCH_INT_CLASS |
2539 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2540 .bInterfaceClass = USB_CLASS_AUDIO,
2541 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2542 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2543 .vendor_name = "Hauppauge",
2544 .product_name = "HVR-950Q",
2545 .ifnum = QUIRK_ANY_INTERFACE,
2546 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2550 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2551 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2552 USB_DEVICE_ID_MATCH_INT_CLASS |
2553 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2554 .bInterfaceClass = USB_CLASS_AUDIO,
2555 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2556 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2557 .vendor_name = "Hauppauge",
2558 .product_name = "HVR-950Q",
2559 .ifnum = QUIRK_ANY_INTERFACE,
2560 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2564 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2565 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2566 USB_DEVICE_ID_MATCH_INT_CLASS |
2567 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2568 .bInterfaceClass = USB_CLASS_AUDIO,
2569 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2570 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2571 .vendor_name = "Hauppauge",
2572 .product_name = "HVR-950Q",
2573 .ifnum = QUIRK_ANY_INTERFACE,
2574 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2578 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2579 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2580 USB_DEVICE_ID_MATCH_INT_CLASS |
2581 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2582 .bInterfaceClass = USB_CLASS_AUDIO,
2583 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2584 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2585 .vendor_name = "Hauppauge",
2586 .product_name = "HVR-950Q",
2587 .ifnum = QUIRK_ANY_INTERFACE,
2588 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2592 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2593 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2594 USB_DEVICE_ID_MATCH_INT_CLASS |
2595 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2596 .bInterfaceClass = USB_CLASS_AUDIO,
2597 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2598 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2599 .vendor_name = "Hauppauge",
2600 .product_name = "HVR-950Q",
2601 .ifnum = QUIRK_ANY_INTERFACE,
2602 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2606 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2607 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2608 USB_DEVICE_ID_MATCH_INT_CLASS |
2609 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2610 .bInterfaceClass = USB_CLASS_AUDIO,
2611 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2612 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2613 .vendor_name = "Hauppauge",
2614 .product_name = "HVR-950Q",
2615 .ifnum = QUIRK_ANY_INTERFACE,
2616 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2620 /* Digidesign Mbox */
2622 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2623 USB_DEVICE(0x0dba, 0x1000),
2624 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2625 .vendor_name = "Digidesign",
2626 .product_name = "MBox",
2627 .ifnum = QUIRK_ANY_INTERFACE,
2628 .type = QUIRK_COMPOSITE,
2629 .data = (const struct snd_usb_audio_quirk[]){
2631 .ifnum = 0,
2632 .type = QUIRK_IGNORE_INTERFACE,
2635 .ifnum = 1,
2636 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2637 .data = &(const struct audioformat) {
2638 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2639 .channels = 2,
2640 .iface = 1,
2641 .altsetting = 1,
2642 .altset_idx = 1,
2643 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2644 .endpoint = 0x02,
2645 .ep_attr = 0x01,
2646 .maxpacksize = 0x130,
2647 .rates = SNDRV_PCM_RATE_44100 |
2648 SNDRV_PCM_RATE_48000,
2649 .rate_min = 44100,
2650 .rate_max = 48000,
2651 .nr_rates = 2,
2652 .rate_table = (unsigned int[]) {
2653 44100, 48000
2658 .ifnum = -1
2667 * Some USB MIDI devices don't have an audio control interface,
2668 * so we have to grab MIDI streaming interfaces here.
2670 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
2671 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2672 .bInterfaceClass = USB_CLASS_AUDIO,
2673 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
2674 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2675 .ifnum = QUIRK_ANY_INTERFACE,
2676 .type = QUIRK_MIDI_STANDARD_INTERFACE
2680 #undef USB_DEVICE_VENDOR_SPEC