2 * ALSA USB Audio Driver
4 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
5 * Clemens Ladisch <clemens@ladisch.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * The contents of this file are part of the driver's id_table.
26 * In a perfect world, this file would be empty.
30 * Use this for devices where other interfaces are standard compliant,
31 * to prevent the quirk being applied to those interfaces. (To work with
32 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
34 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
35 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
36 USB_DEVICE_ID_MATCH_PRODUCT | \
37 USB_DEVICE_ID_MATCH_INT_CLASS, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
42 /* Creative/Toshiba Multimedia Center SB-0500 */
44 USB_DEVICE(0x041e, 0x3048),
45 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
46 .vendor_name = "Toshiba",
47 .product_name = "SB-0500",
48 .ifnum = QUIRK_NO_INTERFACE
52 /* Creative/E-Mu devices */
54 USB_DEVICE(0x041e, 0x3010),
55 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
56 .vendor_name = "Creative Labs",
57 .product_name = "Sound Blaster MP3+",
58 .ifnum = QUIRK_NO_INTERFACE
63 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
66 .bInterfaceClass = USB_CLASS_AUDIO,
70 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
73 .bInterfaceClass = USB_CLASS_AUDIO,
76 /* E-Mu Tracker Pre */
77 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
80 .bInterfaceClass = USB_CLASS_AUDIO,
84 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
85 * class matches do not take effect without an explicit ID match.
88 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
89 USB_DEVICE_ID_MATCH_INT_CLASS |
90 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
93 .bInterfaceClass = USB_CLASS_AUDIO,
94 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
97 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
98 USB_DEVICE_ID_MATCH_INT_CLASS |
99 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
102 .bInterfaceClass = USB_CLASS_AUDIO,
103 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
106 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
107 USB_DEVICE_ID_MATCH_INT_CLASS |
108 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
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,
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,
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,
138 .bInterfaceClass = USB_CLASS_AUDIO,
139 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
142 USB_DEVICE(0x046d, 0x0990),
143 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
144 .vendor_name = "Logitech, Inc.",
145 .product_name = "QuickCam Pro 9000",
146 .ifnum = QUIRK_NO_INTERFACE
154 #define YAMAHA_DEVICE(id, name) { \
155 USB_DEVICE(0x0499, id), \
156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
157 .vendor_name = "Yamaha", \
158 .product_name = name, \
159 .ifnum = QUIRK_ANY_INTERFACE, \
160 .type = QUIRK_MIDI_YAMAHA \
163 #define YAMAHA_INTERFACE(id, intf, name) { \
164 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
165 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
166 .vendor_name = "Yamaha", \
167 .product_name = name, \
169 .type = QUIRK_MIDI_YAMAHA \
172 YAMAHA_DEVICE(0x1000, "UX256"),
173 YAMAHA_DEVICE(0x1001, "MU1000"),
174 YAMAHA_DEVICE(0x1002, "MU2000"),
175 YAMAHA_DEVICE(0x1003, "MU500"),
176 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
177 YAMAHA_DEVICE(0x1005, "MOTIF6"),
178 YAMAHA_DEVICE(0x1006, "MOTIF7"),
179 YAMAHA_DEVICE(0x1007, "MOTIF8"),
180 YAMAHA_DEVICE(0x1008, "UX96"),
181 YAMAHA_DEVICE(0x1009, "UX16"),
182 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
183 YAMAHA_DEVICE(0x100c, "UC-MX"),
184 YAMAHA_DEVICE(0x100d, "UC-KX"),
185 YAMAHA_DEVICE(0x100e, "S08"),
186 YAMAHA_DEVICE(0x100f, "CLP-150"),
187 YAMAHA_DEVICE(0x1010, "CLP-170"),
188 YAMAHA_DEVICE(0x1011, "P-250"),
189 YAMAHA_DEVICE(0x1012, "TYROS"),
190 YAMAHA_DEVICE(0x1013, "PF-500"),
191 YAMAHA_DEVICE(0x1014, "S90"),
192 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
193 YAMAHA_DEVICE(0x1016, "MDP-5"),
194 YAMAHA_DEVICE(0x1017, "CVP-204"),
195 YAMAHA_DEVICE(0x1018, "CVP-206"),
196 YAMAHA_DEVICE(0x1019, "CVP-208"),
197 YAMAHA_DEVICE(0x101a, "CVP-210"),
198 YAMAHA_DEVICE(0x101b, "PSR-1100"),
199 YAMAHA_DEVICE(0x101c, "PSR-2100"),
200 YAMAHA_DEVICE(0x101d, "CLP-175"),
201 YAMAHA_DEVICE(0x101e, "PSR-K1"),
202 YAMAHA_DEVICE(0x101f, "EZ-J24"),
203 YAMAHA_DEVICE(0x1020, "EZ-250i"),
204 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
205 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
206 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
207 YAMAHA_DEVICE(0x1024, "CVP-301"),
208 YAMAHA_DEVICE(0x1025, "CVP-303"),
209 YAMAHA_DEVICE(0x1026, "CVP-305"),
210 YAMAHA_DEVICE(0x1027, "CVP-307"),
211 YAMAHA_DEVICE(0x1028, "CVP-309"),
212 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
213 YAMAHA_DEVICE(0x102a, "PSR-1500"),
214 YAMAHA_DEVICE(0x102b, "PSR-3000"),
215 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
216 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
217 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
218 YAMAHA_DEVICE(0x1032, "DGX-305"),
219 YAMAHA_DEVICE(0x1033, "DGX-505"),
220 YAMAHA_DEVICE(0x1034, NULL),
221 YAMAHA_DEVICE(0x1035, NULL),
222 YAMAHA_DEVICE(0x1036, NULL),
223 YAMAHA_DEVICE(0x1037, NULL),
224 YAMAHA_DEVICE(0x1038, NULL),
225 YAMAHA_DEVICE(0x1039, NULL),
226 YAMAHA_DEVICE(0x103a, NULL),
227 YAMAHA_DEVICE(0x103b, NULL),
228 YAMAHA_DEVICE(0x103c, NULL),
229 YAMAHA_DEVICE(0x103d, NULL),
230 YAMAHA_DEVICE(0x103e, NULL),
231 YAMAHA_DEVICE(0x103f, NULL),
232 YAMAHA_DEVICE(0x1040, NULL),
233 YAMAHA_DEVICE(0x1041, NULL),
234 YAMAHA_DEVICE(0x1042, NULL),
235 YAMAHA_DEVICE(0x1043, NULL),
236 YAMAHA_DEVICE(0x1044, NULL),
237 YAMAHA_DEVICE(0x1045, NULL),
238 YAMAHA_INTERFACE(0x104e, 0, NULL),
239 YAMAHA_DEVICE(0x104f, NULL),
240 YAMAHA_DEVICE(0x1050, NULL),
241 YAMAHA_DEVICE(0x1051, NULL),
242 YAMAHA_DEVICE(0x1052, NULL),
243 YAMAHA_DEVICE(0x2000, "DGP-7"),
244 YAMAHA_DEVICE(0x2001, "DGP-5"),
245 YAMAHA_DEVICE(0x2002, NULL),
246 YAMAHA_DEVICE(0x5000, "CS1D"),
247 YAMAHA_DEVICE(0x5001, "DSP1D"),
248 YAMAHA_DEVICE(0x5002, "DME32"),
249 YAMAHA_DEVICE(0x5003, "DM2000"),
250 YAMAHA_DEVICE(0x5004, "02R96"),
251 YAMAHA_DEVICE(0x5005, "ACU16-C"),
252 YAMAHA_DEVICE(0x5006, "NHB32-C"),
253 YAMAHA_DEVICE(0x5007, "DM1000"),
254 YAMAHA_DEVICE(0x5008, "01V96"),
255 YAMAHA_DEVICE(0x5009, "SPX2000"),
256 YAMAHA_DEVICE(0x500a, "PM5D"),
257 YAMAHA_DEVICE(0x500b, "DME64N"),
258 YAMAHA_DEVICE(0x500c, "DME24N"),
259 YAMAHA_DEVICE(0x500d, NULL),
260 YAMAHA_DEVICE(0x500e, NULL),
261 YAMAHA_DEVICE(0x500f, NULL),
262 YAMAHA_DEVICE(0x7000, "DTX"),
263 YAMAHA_DEVICE(0x7010, "UB99"),
265 #undef YAMAHA_INTERFACE
268 * Roland/RolandED/Edirol/BOSS devices
271 USB_DEVICE(0x0582, 0x0000),
272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
273 .vendor_name = "Roland",
274 .product_name = "UA-100",
275 .ifnum = QUIRK_ANY_INTERFACE,
276 .type = QUIRK_COMPOSITE,
277 .data = (const struct snd_usb_audio_quirk[]) {
280 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
281 .data = & (const struct audioformat) {
282 .formats = SNDRV_PCM_FMTBIT_S16_LE,
290 .rates = SNDRV_PCM_RATE_CONTINUOUS,
297 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
298 .data = & (const struct audioformat) {
299 .formats = SNDRV_PCM_FMTBIT_S16_LE,
304 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
307 .rates = SNDRV_PCM_RATE_CONTINUOUS,
314 .type = QUIRK_MIDI_FIXED_ENDPOINT,
315 .data = & (const struct snd_usb_midi_endpoint_info) {
316 .out_cables = 0x0007,
327 USB_DEVICE(0x0582, 0x0002),
328 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
329 .vendor_name = "EDIROL",
330 .product_name = "UM-4",
331 .ifnum = QUIRK_ANY_INTERFACE,
332 .type = QUIRK_COMPOSITE,
333 .data = (const struct snd_usb_audio_quirk[]) {
336 .type = QUIRK_IGNORE_INTERFACE
340 .type = QUIRK_IGNORE_INTERFACE
344 .type = QUIRK_MIDI_FIXED_ENDPOINT,
345 .data = & (const struct snd_usb_midi_endpoint_info) {
346 .out_cables = 0x000f,
357 USB_DEVICE(0x0582, 0x0003),
358 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
359 .vendor_name = "Roland",
360 .product_name = "SC-8850",
361 .ifnum = QUIRK_ANY_INTERFACE,
362 .type = QUIRK_COMPOSITE,
363 .data = (const struct snd_usb_audio_quirk[]) {
366 .type = QUIRK_IGNORE_INTERFACE
370 .type = QUIRK_IGNORE_INTERFACE
374 .type = QUIRK_MIDI_FIXED_ENDPOINT,
375 .data = & (const struct snd_usb_midi_endpoint_info) {
376 .out_cables = 0x003f,
387 USB_DEVICE(0x0582, 0x0004),
388 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
389 .vendor_name = "Roland",
390 .product_name = "U-8",
391 .ifnum = QUIRK_ANY_INTERFACE,
392 .type = QUIRK_COMPOSITE,
393 .data = (const struct snd_usb_audio_quirk[]) {
396 .type = QUIRK_IGNORE_INTERFACE
400 .type = QUIRK_IGNORE_INTERFACE
404 .type = QUIRK_MIDI_FIXED_ENDPOINT,
405 .data = & (const struct snd_usb_midi_endpoint_info) {
406 .out_cables = 0x0005,
417 /* Has ID 0x0099 when not in "Advanced Driver" mode.
418 * The UM-2EX has only one input, but we cannot detect this. */
419 USB_DEVICE(0x0582, 0x0005),
420 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
421 .vendor_name = "EDIROL",
422 .product_name = "UM-2",
423 .ifnum = QUIRK_ANY_INTERFACE,
424 .type = QUIRK_COMPOSITE,
425 .data = (const struct snd_usb_audio_quirk[]) {
428 .type = QUIRK_IGNORE_INTERFACE
432 .type = QUIRK_IGNORE_INTERFACE
436 .type = QUIRK_MIDI_FIXED_ENDPOINT,
437 .data = & (const struct snd_usb_midi_endpoint_info) {
438 .out_cables = 0x0003,
449 USB_DEVICE(0x0582, 0x0007),
450 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
451 .vendor_name = "Roland",
452 .product_name = "SC-8820",
453 .ifnum = QUIRK_ANY_INTERFACE,
454 .type = QUIRK_COMPOSITE,
455 .data = (const struct snd_usb_audio_quirk[]) {
458 .type = QUIRK_IGNORE_INTERFACE
462 .type = QUIRK_IGNORE_INTERFACE
466 .type = QUIRK_MIDI_FIXED_ENDPOINT,
467 .data = & (const struct snd_usb_midi_endpoint_info) {
468 .out_cables = 0x0013,
479 USB_DEVICE(0x0582, 0x0008),
480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
481 .vendor_name = "Roland",
482 .product_name = "PC-300",
483 .ifnum = QUIRK_ANY_INTERFACE,
484 .type = QUIRK_COMPOSITE,
485 .data = (const struct snd_usb_audio_quirk[]) {
488 .type = QUIRK_IGNORE_INTERFACE
492 .type = QUIRK_IGNORE_INTERFACE
496 .type = QUIRK_MIDI_FIXED_ENDPOINT,
497 .data = & (const struct snd_usb_midi_endpoint_info) {
498 .out_cables = 0x0001,
509 /* has ID 0x009d when not in "Advanced Driver" mode */
510 USB_DEVICE(0x0582, 0x0009),
511 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
512 .vendor_name = "EDIROL",
513 .product_name = "UM-1",
514 .ifnum = QUIRK_ANY_INTERFACE,
515 .type = QUIRK_COMPOSITE,
516 .data = (const struct snd_usb_audio_quirk[]) {
519 .type = QUIRK_IGNORE_INTERFACE
523 .type = QUIRK_IGNORE_INTERFACE
527 .type = QUIRK_MIDI_FIXED_ENDPOINT,
528 .data = & (const struct snd_usb_midi_endpoint_info) {
529 .out_cables = 0x0001,
540 USB_DEVICE(0x0582, 0x000b),
541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
542 .vendor_name = "Roland",
543 .product_name = "SK-500",
544 .ifnum = QUIRK_ANY_INTERFACE,
545 .type = QUIRK_COMPOSITE,
546 .data = (const struct snd_usb_audio_quirk[]) {
549 .type = QUIRK_IGNORE_INTERFACE
553 .type = QUIRK_IGNORE_INTERFACE
557 .type = QUIRK_MIDI_FIXED_ENDPOINT,
558 .data = & (const struct snd_usb_midi_endpoint_info) {
559 .out_cables = 0x0013,
570 /* thanks to Emiliano Grilli <emillo@libero.it>
571 * for helping researching this data */
572 USB_DEVICE(0x0582, 0x000c),
573 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
574 .vendor_name = "Roland",
575 .product_name = "SC-D70",
576 .ifnum = QUIRK_ANY_INTERFACE,
577 .type = QUIRK_COMPOSITE,
578 .data = (const struct snd_usb_audio_quirk[]) {
581 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
582 .data = & (const struct audioformat) {
583 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
591 .rates = SNDRV_PCM_RATE_CONTINUOUS,
598 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
599 .data = & (const struct audioformat) {
600 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
608 .rates = SNDRV_PCM_RATE_CONTINUOUS,
615 .type = QUIRK_MIDI_FIXED_ENDPOINT,
616 .data = & (const struct snd_usb_midi_endpoint_info) {
617 .out_cables = 0x0007,
628 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
629 * If the advanced mode switch at the back of the unit is off, the
630 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
631 * but offers only 16-bit PCM.
632 * In advanced mode, the UA-5 will output S24_3LE samples (two
633 * channels) at the rate indicated on the front switch, including
634 * the 96kHz sample rate.
636 USB_DEVICE(0x0582, 0x0010),
637 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
638 .vendor_name = "EDIROL",
639 .product_name = "UA-5",
640 .ifnum = QUIRK_ANY_INTERFACE,
641 .type = QUIRK_COMPOSITE,
642 .data = (const struct snd_usb_audio_quirk[]) {
645 .type = QUIRK_AUDIO_STANDARD_INTERFACE
649 .type = QUIRK_AUDIO_STANDARD_INTERFACE
658 /* has ID 0x0013 when not in "Advanced Driver" mode */
659 USB_DEVICE(0x0582, 0x0012),
660 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
661 .vendor_name = "Roland",
662 .product_name = "XV-5050",
664 .type = QUIRK_MIDI_FIXED_ENDPOINT,
665 .data = & (const struct snd_usb_midi_endpoint_info) {
666 .out_cables = 0x0001,
672 /* has ID 0x0015 when not in "Advanced Driver" mode */
673 USB_DEVICE(0x0582, 0x0014),
674 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
675 .vendor_name = "EDIROL",
676 .product_name = "UM-880",
678 .type = QUIRK_MIDI_FIXED_ENDPOINT,
679 .data = & (const struct snd_usb_midi_endpoint_info) {
680 .out_cables = 0x01ff,
686 /* has ID 0x0017 when not in "Advanced Driver" mode */
687 USB_DEVICE(0x0582, 0x0016),
688 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
689 .vendor_name = "EDIROL",
690 .product_name = "SD-90",
691 .ifnum = QUIRK_ANY_INTERFACE,
692 .type = QUIRK_COMPOSITE,
693 .data = (const struct snd_usb_audio_quirk[]) {
696 .type = QUIRK_IGNORE_INTERFACE
700 .type = QUIRK_IGNORE_INTERFACE
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
705 .data = & (const struct snd_usb_midi_endpoint_info) {
706 .out_cables = 0x000f,
717 /* has ID 0x001c when not in "Advanced Driver" mode */
718 USB_DEVICE(0x0582, 0x001b),
719 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
720 .vendor_name = "Roland",
721 .product_name = "MMP-2",
722 .ifnum = QUIRK_ANY_INTERFACE,
723 .type = QUIRK_COMPOSITE,
724 .data = (const struct snd_usb_audio_quirk[]) {
727 .type = QUIRK_IGNORE_INTERFACE
731 .type = QUIRK_IGNORE_INTERFACE
735 .type = QUIRK_MIDI_FIXED_ENDPOINT,
736 .data = & (const struct snd_usb_midi_endpoint_info) {
737 .out_cables = 0x0001,
748 /* has ID 0x001e when not in "Advanced Driver" mode */
749 USB_DEVICE(0x0582, 0x001d),
750 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
751 .vendor_name = "Roland",
752 .product_name = "V-SYNTH",
754 .type = QUIRK_MIDI_FIXED_ENDPOINT,
755 .data = & (const struct snd_usb_midi_endpoint_info) {
756 .out_cables = 0x0001,
762 /* has ID 0x0024 when not in "Advanced Driver" mode */
763 USB_DEVICE(0x0582, 0x0023),
764 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
765 .vendor_name = "EDIROL",
766 .product_name = "UM-550",
768 .type = QUIRK_MIDI_FIXED_ENDPOINT,
769 .data = & (const struct snd_usb_midi_endpoint_info) {
770 .out_cables = 0x003f,
777 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
778 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
781 USB_DEVICE(0x0582, 0x0025),
782 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
783 .vendor_name = "EDIROL",
784 .product_name = "UA-20",
785 .ifnum = QUIRK_ANY_INTERFACE,
786 .type = QUIRK_COMPOSITE,
787 .data = (const struct snd_usb_audio_quirk[]) {
790 .type = QUIRK_IGNORE_INTERFACE
794 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
795 .data = & (const struct audioformat) {
796 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
804 .rates = SNDRV_PCM_RATE_CONTINUOUS,
811 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
812 .data = & (const struct audioformat) {
813 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
821 .rates = SNDRV_PCM_RATE_CONTINUOUS,
828 .type = QUIRK_MIDI_FIXED_ENDPOINT,
829 .data = & (const struct snd_usb_midi_endpoint_info) {
830 .out_cables = 0x0001,
841 /* has ID 0x0028 when not in "Advanced Driver" mode */
842 USB_DEVICE(0x0582, 0x0027),
843 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
844 .vendor_name = "EDIROL",
845 .product_name = "SD-20",
847 .type = QUIRK_MIDI_FIXED_ENDPOINT,
848 .data = & (const struct snd_usb_midi_endpoint_info) {
849 .out_cables = 0x0003,
855 /* has ID 0x002a when not in "Advanced Driver" mode */
856 USB_DEVICE(0x0582, 0x0029),
857 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
858 .vendor_name = "EDIROL",
859 .product_name = "SD-80",
861 .type = QUIRK_MIDI_FIXED_ENDPOINT,
862 .data = & (const struct snd_usb_midi_endpoint_info) {
863 .out_cables = 0x000f,
869 * This quirk is for the "Advanced" modes of the Edirol UA-700.
870 * If the sample format switch is not in an advanced setting, the
871 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
872 * but offers only 16-bit PCM and no MIDI.
874 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
875 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
876 .vendor_name = "EDIROL",
877 .product_name = "UA-700",
878 .ifnum = QUIRK_ANY_INTERFACE,
879 .type = QUIRK_COMPOSITE,
880 .data = (const struct snd_usb_audio_quirk[]) {
883 .type = QUIRK_AUDIO_EDIROL_UAXX
887 .type = QUIRK_AUDIO_EDIROL_UAXX
891 .type = QUIRK_AUDIO_EDIROL_UAXX
900 /* has ID 0x002e when not in "Advanced Driver" mode */
901 USB_DEVICE(0x0582, 0x002d),
902 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
903 .vendor_name = "Roland",
904 .product_name = "XV-2020",
906 .type = QUIRK_MIDI_FIXED_ENDPOINT,
907 .data = & (const struct snd_usb_midi_endpoint_info) {
908 .out_cables = 0x0001,
914 /* has ID 0x0030 when not in "Advanced Driver" mode */
915 USB_DEVICE(0x0582, 0x002f),
916 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
917 .vendor_name = "Roland",
918 .product_name = "VariOS",
920 .type = QUIRK_MIDI_FIXED_ENDPOINT,
921 .data = & (const struct snd_usb_midi_endpoint_info) {
922 .out_cables = 0x0007,
928 /* has ID 0x0034 when not in "Advanced Driver" mode */
929 USB_DEVICE(0x0582, 0x0033),
930 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
931 .vendor_name = "EDIROL",
932 .product_name = "PCR",
934 .type = QUIRK_MIDI_FIXED_ENDPOINT,
935 .data = & (const struct snd_usb_midi_endpoint_info) {
936 .out_cables = 0x0003,
941 /* TODO: add Roland M-1000 support */
944 * Has ID 0x0038 when not in "Advanced Driver" mode;
945 * later revisions use IDs 0x0054 and 0x00a2.
947 USB_DEVICE(0x0582, 0x0037),
948 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
949 .vendor_name = "Roland",
950 .product_name = "Digital Piano",
952 .type = QUIRK_MIDI_FIXED_ENDPOINT,
953 .data = & (const struct snd_usb_midi_endpoint_info) {
954 .out_cables = 0x0001,
961 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
962 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
965 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
966 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
967 .vendor_name = "BOSS",
968 .product_name = "GS-10",
969 .ifnum = QUIRK_ANY_INTERFACE,
970 .type = QUIRK_COMPOSITE,
971 .data = & (const struct snd_usb_audio_quirk[]) {
974 .type = QUIRK_AUDIO_STANDARD_INTERFACE
978 .type = QUIRK_AUDIO_STANDARD_INTERFACE
982 .type = QUIRK_MIDI_STANDARD_INTERFACE
991 /* has ID 0x0041 when not in "Advanced Driver" mode */
992 USB_DEVICE(0x0582, 0x0040),
993 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
994 .vendor_name = "Roland",
995 .product_name = "GI-20",
997 .type = QUIRK_MIDI_FIXED_ENDPOINT,
998 .data = & (const struct snd_usb_midi_endpoint_info) {
999 .out_cables = 0x0001,
1005 /* has ID 0x0043 when not in "Advanced Driver" mode */
1006 USB_DEVICE(0x0582, 0x0042),
1007 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1008 .vendor_name = "Roland",
1009 .product_name = "RS-70",
1011 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1012 .data = & (const struct snd_usb_midi_endpoint_info) {
1013 .out_cables = 0x0001,
1019 /* has ID 0x0049 when not in "Advanced Driver" mode */
1020 USB_DEVICE(0x0582, 0x0047),
1021 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1022 /* .vendor_name = "EDIROL", */
1023 /* .product_name = "UR-80", */
1024 .ifnum = QUIRK_ANY_INTERFACE,
1025 .type = QUIRK_COMPOSITE,
1026 .data = (const struct snd_usb_audio_quirk[]) {
1027 /* in the 96 kHz modes, only interface 1 is there */
1030 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1034 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1043 /* has ID 0x004a when not in "Advanced Driver" mode */
1044 USB_DEVICE(0x0582, 0x0048),
1045 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1046 /* .vendor_name = "EDIROL", */
1047 /* .product_name = "UR-80", */
1049 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1050 .data = & (const struct snd_usb_midi_endpoint_info) {
1051 .out_cables = 0x0003,
1056 /* TODO: add Edirol M-100FX support */
1058 /* has ID 0x004e when not in "Advanced Driver" mode */
1059 USB_DEVICE(0x0582, 0x004c),
1060 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1061 .vendor_name = "EDIROL",
1062 .product_name = "PCR-A",
1063 .ifnum = QUIRK_ANY_INTERFACE,
1064 .type = QUIRK_COMPOSITE,
1065 .data = (const struct snd_usb_audio_quirk[]) {
1068 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1072 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1081 /* has ID 0x004f when not in "Advanced Driver" mode */
1082 USB_DEVICE(0x0582, 0x004d),
1083 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1084 .vendor_name = "EDIROL",
1085 .product_name = "PCR-A",
1087 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1088 .data = & (const struct snd_usb_midi_endpoint_info) {
1089 .out_cables = 0x0003,
1096 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1097 * is standard compliant, but has only 16-bit PCM.
1099 USB_DEVICE(0x0582, 0x0050),
1100 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1101 .vendor_name = "EDIROL",
1102 .product_name = "UA-3FX",
1103 .ifnum = QUIRK_ANY_INTERFACE,
1104 .type = QUIRK_COMPOSITE,
1105 .data = (const struct snd_usb_audio_quirk[]) {
1108 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1112 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1121 USB_DEVICE(0x0582, 0x0052),
1122 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1123 .vendor_name = "EDIROL",
1124 .product_name = "UM-1SX",
1126 .type = QUIRK_MIDI_STANDARD_INTERFACE
1130 USB_DEVICE(0x0582, 0x0060),
1131 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1132 .vendor_name = "Roland",
1133 .product_name = "EXR Series",
1135 .type = QUIRK_MIDI_STANDARD_INTERFACE
1139 /* has ID 0x0066 when not in "Advanced Driver" mode */
1140 USB_DEVICE(0x0582, 0x0064),
1141 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1142 /* .vendor_name = "EDIROL", */
1143 /* .product_name = "PCR-1", */
1144 .ifnum = QUIRK_ANY_INTERFACE,
1145 .type = QUIRK_COMPOSITE,
1146 .data = (const struct snd_usb_audio_quirk[]) {
1149 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1153 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1162 /* has ID 0x0067 when not in "Advanced Driver" mode */
1163 USB_DEVICE(0x0582, 0x0065),
1164 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1165 /* .vendor_name = "EDIROL", */
1166 /* .product_name = "PCR-1", */
1168 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1169 .data = & (const struct snd_usb_midi_endpoint_info) {
1170 .out_cables = 0x0001,
1176 /* has ID 0x006b when not in "Advanced Driver" mode */
1177 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1178 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1179 .vendor_name = "Roland",
1180 .product_name = "SP-606",
1182 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1183 .data = & (const struct snd_usb_midi_endpoint_info) {
1184 .out_cables = 0x0001,
1190 /* has ID 0x006e when not in "Advanced Driver" mode */
1191 USB_DEVICE(0x0582, 0x006d),
1192 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1193 .vendor_name = "Roland",
1194 .product_name = "FANTOM-X",
1196 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1197 .data = & (const struct snd_usb_midi_endpoint_info) {
1198 .out_cables = 0x0001,
1204 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1205 * If the switch is not in an advanced setting, the UA-25 has
1206 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1207 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1209 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1210 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1211 .vendor_name = "EDIROL",
1212 .product_name = "UA-25",
1213 .ifnum = QUIRK_ANY_INTERFACE,
1214 .type = QUIRK_COMPOSITE,
1215 .data = (const struct snd_usb_audio_quirk[]) {
1218 .type = QUIRK_AUDIO_EDIROL_UAXX
1222 .type = QUIRK_AUDIO_EDIROL_UAXX
1226 .type = QUIRK_AUDIO_EDIROL_UAXX
1235 /* has ID 0x0076 when not in "Advanced Driver" mode */
1236 USB_DEVICE(0x0582, 0x0075),
1237 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1238 .vendor_name = "BOSS",
1239 .product_name = "DR-880",
1241 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1242 .data = & (const struct snd_usb_midi_endpoint_info) {
1243 .out_cables = 0x0001,
1249 /* has ID 0x007b when not in "Advanced Driver" mode */
1250 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1251 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1252 .vendor_name = "Roland",
1253 /* "RD" or "RD-700SX"? */
1255 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1256 .data = & (const struct snd_usb_midi_endpoint_info) {
1257 .out_cables = 0x0003,
1263 /* has ID 0x0081 when not in "Advanced Driver" mode */
1264 USB_DEVICE(0x0582, 0x0080),
1265 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1266 .vendor_name = "Roland",
1267 .product_name = "G-70",
1269 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1270 .data = & (const struct snd_usb_midi_endpoint_info) {
1271 .out_cables = 0x0001,
1276 /* TODO: add Roland V-SYNTH XT support */
1277 /* TODO: add BOSS GT-PRO support */
1279 /* has ID 0x008c when not in "Advanced Driver" mode */
1280 USB_DEVICE(0x0582, 0x008b),
1281 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1282 .vendor_name = "EDIROL",
1283 .product_name = "PC-50",
1285 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1286 .data = & (const struct snd_usb_midi_endpoint_info) {
1287 .out_cables = 0x0001,
1292 /* TODO: add Edirol PC-80 support */
1294 USB_DEVICE(0x0582, 0x0096),
1295 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1296 .vendor_name = "EDIROL",
1297 .product_name = "UA-1EX",
1298 .ifnum = QUIRK_ANY_INTERFACE,
1299 .type = QUIRK_COMPOSITE,
1300 .data = (const struct snd_usb_audio_quirk[]) {
1303 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1307 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1316 USB_DEVICE(0x0582, 0x009a),
1317 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1318 .vendor_name = "EDIROL",
1319 .product_name = "UM-3EX",
1321 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1322 .data = & (const struct snd_usb_midi_endpoint_info) {
1323 .out_cables = 0x000f,
1330 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1331 * is standard compliant, but has only 16-bit PCM and no MIDI.
1333 USB_DEVICE(0x0582, 0x00a3),
1334 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1335 .vendor_name = "EDIROL",
1336 .product_name = "UA-4FX",
1337 .ifnum = QUIRK_ANY_INTERFACE,
1338 .type = QUIRK_COMPOSITE,
1339 .data = (const struct snd_usb_audio_quirk[]) {
1342 .type = QUIRK_AUDIO_EDIROL_UAXX
1346 .type = QUIRK_AUDIO_EDIROL_UAXX
1350 .type = QUIRK_AUDIO_EDIROL_UAXX
1358 /* TODO: add Edirol MD-P1 support */
1360 USB_DEVICE(0x582, 0x00a6),
1361 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1362 .vendor_name = "Roland",
1363 .product_name = "Juno-G",
1365 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1366 .data = & (const struct snd_usb_midi_endpoint_info) {
1367 .out_cables = 0x0001,
1374 USB_DEVICE(0x0582, 0x00ad),
1375 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1376 .vendor_name = "Roland",
1377 .product_name = "SH-201",
1378 .ifnum = QUIRK_ANY_INTERFACE,
1379 .type = QUIRK_COMPOSITE,
1380 .data = (const struct snd_usb_audio_quirk[]) {
1383 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1387 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1391 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1392 .data = & (const struct snd_usb_midi_endpoint_info) {
1393 .out_cables = 0x0001,
1404 /* Roland SonicCell */
1405 USB_DEVICE(0x0582, 0x00c2),
1406 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1407 .vendor_name = "Roland",
1408 .product_name = "SonicCell",
1409 .ifnum = QUIRK_ANY_INTERFACE,
1410 .type = QUIRK_COMPOSITE,
1411 .data = (const struct snd_usb_audio_quirk[]) {
1414 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1418 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1422 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1423 .data = & (const struct snd_usb_midi_endpoint_info) {
1424 .out_cables = 0x0001,
1436 /* FIXME: This quirk gives a good-working capture stream but the
1437 * playback seems problematic because of lacking of sync
1438 * with capture stream. It needs to sync with the capture
1439 * clock. As now, you'll get frequent sound distortions
1442 USB_DEVICE(0x0582, 0x00c4),
1443 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1444 .ifnum = QUIRK_ANY_INTERFACE,
1445 .type = QUIRK_COMPOSITE,
1446 .data = (const struct snd_usb_audio_quirk[]) {
1449 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1453 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1457 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1458 .data = & (const struct snd_usb_midi_endpoint_info) {
1459 .out_cables = 0x0001,
1471 USB_DEVICE(0x0582, 0x00da),
1472 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1473 .ifnum = QUIRK_ANY_INTERFACE,
1474 .type = QUIRK_COMPOSITE,
1475 .data = (const struct snd_usb_audio_quirk[]) {
1478 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1482 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1486 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1487 .data = & (const struct snd_usb_midi_endpoint_info) {
1488 .out_cables = 0x0001,
1499 /* Advanced modes of the Edirol UA-25EX.
1500 * For the standard mode, UA-25EX has ID 0582:00e7, which
1501 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1503 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1504 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1505 .vendor_name = "EDIROL",
1506 .product_name = "UA-25EX",
1507 .ifnum = QUIRK_ANY_INTERFACE,
1508 .type = QUIRK_COMPOSITE,
1509 .data = (const struct snd_usb_audio_quirk[]) {
1512 .type = QUIRK_AUDIO_EDIROL_UAXX
1516 .type = QUIRK_AUDIO_EDIROL_UAXX
1520 .type = QUIRK_AUDIO_EDIROL_UAXX
1529 /* has ID 0x00ea when not in Advanced Driver mode */
1530 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
1531 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1532 /* .vendor_name = "Roland", */
1533 /* .product_name = "UA-1G", */
1534 .ifnum = QUIRK_ANY_INTERFACE,
1535 .type = QUIRK_COMPOSITE,
1536 .data = (const struct snd_usb_audio_quirk[]) {
1539 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1543 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1552 /* Guillemot devices */
1555 * This is for the "Windows Edition" where the external MIDI ports are
1556 * the only MIDI ports; the control data is reported through HID
1557 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1558 * compliant USB MIDI ports for external MIDI and controls.
1560 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1561 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1562 .vendor_name = "Hercules",
1563 .product_name = "DJ Console (WE)",
1565 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1566 .data = & (const struct snd_usb_midi_endpoint_info) {
1567 .out_cables = 0x0001,
1573 /* Midiman/M-Audio devices */
1575 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1576 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1577 .vendor_name = "M-Audio",
1578 .product_name = "MidiSport 2x2",
1579 .ifnum = QUIRK_ANY_INTERFACE,
1580 .type = QUIRK_MIDI_MIDIMAN,
1581 .data = & (const struct snd_usb_midi_endpoint_info) {
1582 .out_cables = 0x0003,
1588 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1589 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1590 .vendor_name = "M-Audio",
1591 .product_name = "MidiSport 1x1",
1592 .ifnum = QUIRK_ANY_INTERFACE,
1593 .type = QUIRK_MIDI_MIDIMAN,
1594 .data = & (const struct snd_usb_midi_endpoint_info) {
1595 .out_cables = 0x0001,
1601 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1602 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1603 .vendor_name = "M-Audio",
1604 .product_name = "Keystation",
1605 .ifnum = QUIRK_ANY_INTERFACE,
1606 .type = QUIRK_MIDI_MIDIMAN,
1607 .data = & (const struct snd_usb_midi_endpoint_info) {
1608 .out_cables = 0x0001,
1614 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1615 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1616 .vendor_name = "M-Audio",
1617 .product_name = "MidiSport 4x4",
1618 .ifnum = QUIRK_ANY_INTERFACE,
1619 .type = QUIRK_MIDI_MIDIMAN,
1620 .data = & (const struct snd_usb_midi_endpoint_info) {
1621 .out_cables = 0x000f,
1628 * For hardware revision 1.05; in the later revisions (1.10 and
1629 * 1.21), 0x1031 is the ID for the device without firmware.
1630 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1632 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1633 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1634 .vendor_name = "M-Audio",
1635 .product_name = "MidiSport 8x8",
1636 .ifnum = QUIRK_ANY_INTERFACE,
1637 .type = QUIRK_MIDI_MIDIMAN,
1638 .data = & (const struct snd_usb_midi_endpoint_info) {
1639 .out_cables = 0x01ff,
1645 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1646 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1647 .vendor_name = "M-Audio",
1648 .product_name = "MidiSport 8x8",
1649 .ifnum = QUIRK_ANY_INTERFACE,
1650 .type = QUIRK_MIDI_MIDIMAN,
1651 .data = & (const struct snd_usb_midi_endpoint_info) {
1652 .out_cables = 0x01ff,
1658 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1659 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1660 .vendor_name = "M-Audio",
1661 .product_name = "MidiSport 2x4",
1662 .ifnum = QUIRK_ANY_INTERFACE,
1663 .type = QUIRK_MIDI_MIDIMAN,
1664 .data = & (const struct snd_usb_midi_endpoint_info) {
1665 .out_cables = 0x000f,
1671 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1672 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1673 .vendor_name = "M-Audio",
1674 .product_name = "Quattro",
1675 .ifnum = QUIRK_ANY_INTERFACE,
1676 .type = QUIRK_COMPOSITE,
1677 .data = & (const struct snd_usb_audio_quirk[]) {
1679 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1680 * and share endpoints with the other interfaces.
1681 * Ignore them. The other interfaces can do 24 bits,
1682 * but captured samples are big-endian (see usbaudio.c).
1686 .type = QUIRK_IGNORE_INTERFACE
1690 .type = QUIRK_IGNORE_INTERFACE
1694 .type = QUIRK_IGNORE_INTERFACE
1698 .type = QUIRK_IGNORE_INTERFACE
1702 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1706 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1710 .type = QUIRK_IGNORE_INTERFACE
1714 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1718 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1722 .type = QUIRK_MIDI_MIDIMAN,
1723 .data = & (const struct snd_usb_midi_endpoint_info) {
1724 .out_cables = 0x0001,
1735 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1736 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1737 .vendor_name = "M-Audio",
1738 .product_name = "AudioPhile",
1740 .type = QUIRK_MIDI_MIDIMAN,
1741 .data = & (const struct snd_usb_midi_endpoint_info) {
1742 .out_cables = 0x0001,
1748 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1749 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1750 .vendor_name = "M-Audio",
1751 .product_name = "Ozone",
1753 .type = QUIRK_MIDI_MIDIMAN,
1754 .data = & (const struct snd_usb_midi_endpoint_info) {
1755 .out_cables = 0x0001,
1761 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1762 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1763 .vendor_name = "M-Audio",
1764 .product_name = "OmniStudio",
1765 .ifnum = QUIRK_ANY_INTERFACE,
1766 .type = QUIRK_COMPOSITE,
1767 .data = & (const struct snd_usb_audio_quirk[]) {
1770 .type = QUIRK_IGNORE_INTERFACE
1774 .type = QUIRK_IGNORE_INTERFACE
1778 .type = QUIRK_IGNORE_INTERFACE
1782 .type = QUIRK_IGNORE_INTERFACE
1786 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1790 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1794 .type = QUIRK_IGNORE_INTERFACE
1798 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1802 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1806 .type = QUIRK_MIDI_MIDIMAN,
1807 .data = & (const struct snd_usb_midi_endpoint_info) {
1808 .out_cables = 0x0001,
1819 USB_DEVICE(0x0763, 0x2019),
1820 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1821 /* .vendor_name = "M-Audio", */
1822 /* .product_name = "Ozone Academic", */
1823 .ifnum = QUIRK_ANY_INTERFACE,
1824 .type = QUIRK_COMPOSITE,
1825 .data = & (const struct snd_usb_audio_quirk[]) {
1828 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1832 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1836 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1840 .type = QUIRK_MIDI_MIDIMAN,
1841 .data = & (const struct snd_usb_midi_endpoint_info) {
1842 .out_cables = 0x0001,
1853 USB_DEVICE(0x0763, 0x2080),
1854 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1855 /* .vendor_name = "M-Audio", */
1856 /* .product_name = "Fast Track Ultra", */
1857 .ifnum = QUIRK_ANY_INTERFACE,
1858 .type = QUIRK_COMPOSITE,
1859 .data = & (const struct snd_usb_audio_quirk[]) {
1862 .type = QUIRK_IGNORE_INTERFACE
1866 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1867 .data = & (const struct audioformat) {
1868 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1873 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
1876 .rates = SNDRV_PCM_RATE_44100 |
1877 SNDRV_PCM_RATE_48000 |
1878 SNDRV_PCM_RATE_88200 |
1879 SNDRV_PCM_RATE_96000,
1883 .rate_table = (unsigned int[]) {
1884 44100, 48000, 88200, 96000
1890 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1891 .data = & (const struct audioformat) {
1892 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1897 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
1900 .rates = SNDRV_PCM_RATE_44100 |
1901 SNDRV_PCM_RATE_48000 |
1902 SNDRV_PCM_RATE_88200 |
1903 SNDRV_PCM_RATE_96000,
1907 .rate_table = (unsigned int[]) {
1908 44100, 48000, 88200, 96000
1912 /* interface 3 (MIDI) is standard compliant */
1920 USB_DEVICE(0x0763, 0x2081),
1921 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1922 /* .vendor_name = "M-Audio", */
1923 /* .product_name = "Fast Track Ultra 8R", */
1924 .ifnum = QUIRK_ANY_INTERFACE,
1925 .type = QUIRK_COMPOSITE,
1926 .data = & (const struct snd_usb_audio_quirk[]) {
1929 .type = QUIRK_IGNORE_INTERFACE
1933 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1934 .data = & (const struct audioformat) {
1935 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1940 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
1943 .rates = SNDRV_PCM_RATE_44100 |
1944 SNDRV_PCM_RATE_48000 |
1945 SNDRV_PCM_RATE_88200 |
1946 SNDRV_PCM_RATE_96000,
1950 .rate_table = (unsigned int[]) {
1951 44100, 48000, 88200, 96000
1957 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1958 .data = & (const struct audioformat) {
1959 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1964 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
1967 .rates = SNDRV_PCM_RATE_44100 |
1968 SNDRV_PCM_RATE_48000 |
1969 SNDRV_PCM_RATE_88200 |
1970 SNDRV_PCM_RATE_96000,
1974 .rate_table = (unsigned int[]) {
1975 44100, 48000, 88200, 96000
1979 /* interface 3 (MIDI) is standard compliant */
1989 USB_DEVICE(0x07cf, 0x6801),
1990 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1991 .vendor_name = "Casio",
1992 .product_name = "PL-40R",
1994 .type = QUIRK_MIDI_YAMAHA
1998 /* this ID is used by several devices without a product ID */
1999 USB_DEVICE(0x07cf, 0x6802),
2000 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2001 .vendor_name = "Casio",
2002 .product_name = "Keyboard",
2004 .type = QUIRK_MIDI_YAMAHA
2008 /* Mark of the Unicorn devices */
2010 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2011 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2012 USB_DEVICE_ID_MATCH_PRODUCT |
2013 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2015 .idProduct = 0x0001,
2016 .bDeviceSubClass = 2,
2017 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2018 .vendor_name = "MOTU",
2019 .product_name = "Fastlane",
2020 .ifnum = QUIRK_ANY_INTERFACE,
2021 .type = QUIRK_COMPOSITE,
2022 .data = & (const struct snd_usb_audio_quirk[]) {
2025 .type = QUIRK_MIDI_FASTLANE
2029 .type = QUIRK_IGNORE_INTERFACE
2038 /* Emagic devices */
2040 USB_DEVICE(0x086a, 0x0001),
2041 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2042 .vendor_name = "Emagic",
2043 /* .product_name = "Unitor8", */
2045 .type = QUIRK_MIDI_EMAGIC,
2046 .data = & (const struct snd_usb_midi_endpoint_info) {
2047 .out_cables = 0x80ff,
2053 USB_DEVICE(0x086a, 0x0002),
2054 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2055 .vendor_name = "Emagic",
2056 /* .product_name = "AMT8", */
2058 .type = QUIRK_MIDI_EMAGIC,
2059 .data = & (const struct snd_usb_midi_endpoint_info) {
2060 .out_cables = 0x80ff,
2066 USB_DEVICE(0x086a, 0x0003),
2067 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2068 .vendor_name = "Emagic",
2069 /* .product_name = "MT4", */
2071 .type = QUIRK_MIDI_EMAGIC,
2072 .data = & (const struct snd_usb_midi_endpoint_info) {
2073 .out_cables = 0x800f,
2081 USB_DEVICE(0x09e8, 0x0062),
2082 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2083 .vendor_name = "AKAI",
2084 .product_name = "MPD16",
2086 .type = QUIRK_MIDI_AKAI,
2090 /* TerraTec devices */
2092 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2093 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2094 .vendor_name = "TerraTec",
2095 .product_name = "PHASE 26",
2097 .type = QUIRK_MIDI_STANDARD_INTERFACE
2101 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2102 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2103 .vendor_name = "TerraTec",
2104 .product_name = "PHASE 26",
2106 .type = QUIRK_MIDI_STANDARD_INTERFACE
2110 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2111 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2112 .vendor_name = "TerraTec",
2113 .product_name = "PHASE 26",
2115 .type = QUIRK_MIDI_STANDARD_INTERFACE
2119 USB_DEVICE(0x0ccd, 0x0028),
2120 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2121 .vendor_name = "TerraTec",
2122 .product_name = "Aureon5.1MkII",
2123 .ifnum = QUIRK_NO_INTERFACE
2127 USB_DEVICE(0x0ccd, 0x0035),
2128 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2129 .vendor_name = "Miditech",
2130 .product_name = "Play'n Roll",
2132 .type = QUIRK_MIDI_CME
2136 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2138 USB_DEVICE(0x103d, 0x0100),
2139 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2140 .vendor_name = "Stanton",
2141 .product_name = "ScratchAmp",
2142 .ifnum = QUIRK_NO_INTERFACE
2146 USB_DEVICE(0x103d, 0x0101),
2147 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2148 .vendor_name = "Stanton",
2149 .product_name = "ScratchAmp",
2150 .ifnum = QUIRK_NO_INTERFACE
2154 /* Novation EMS devices */
2156 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2157 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2158 .vendor_name = "Novation",
2159 .product_name = "ReMOTE Audio/XStation",
2161 .type = QUIRK_MIDI_NOVATION
2165 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2166 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2167 .vendor_name = "Novation",
2168 .product_name = "Speedio",
2170 .type = QUIRK_MIDI_NOVATION
2174 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2175 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2176 .vendor_name = "Novation",
2177 .product_name = "ReMOTE25",
2179 .type = QUIRK_MIDI_NOVATION
2183 /* Access Music devices */
2185 /* VirusTI Desktop */
2186 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2187 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2188 .ifnum = QUIRK_ANY_INTERFACE,
2189 .type = QUIRK_COMPOSITE,
2190 .data = &(const struct snd_usb_audio_quirk[]) {
2193 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2194 .data = &(const struct snd_usb_midi_endpoint_info) {
2195 .out_cables = 0x0003,
2201 .type = QUIRK_IGNORE_INTERFACE
2212 /* aka. Serato Scratch Live DJ Box */
2213 USB_DEVICE(0x13e5, 0x0001),
2214 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2215 .vendor_name = "Rane",
2216 .product_name = "SL-1",
2217 .ifnum = QUIRK_NO_INTERFACE
2221 /* Miditech devices */
2223 USB_DEVICE(0x4752, 0x0011),
2224 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2225 .vendor_name = "Miditech",
2226 .product_name = "Midistart-2",
2228 .type = QUIRK_MIDI_CME
2232 /* Central Music devices */
2234 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2235 USB_DEVICE(0x7104, 0x2202),
2236 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2238 .type = QUIRK_MIDI_CME
2242 /* Hauppauge HVR-950Q and HVR-850 */
2244 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2245 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2246 USB_DEVICE_ID_MATCH_INT_CLASS |
2247 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2248 .bInterfaceClass = USB_CLASS_AUDIO,
2249 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2250 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2251 .vendor_name = "Hauppauge",
2252 .product_name = "HVR-950Q",
2253 .ifnum = QUIRK_ANY_INTERFACE,
2254 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2258 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2259 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2260 USB_DEVICE_ID_MATCH_INT_CLASS |
2261 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2262 .bInterfaceClass = USB_CLASS_AUDIO,
2263 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2264 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2265 .vendor_name = "Hauppauge",
2266 .product_name = "HVR-850",
2267 .ifnum = QUIRK_ANY_INTERFACE,
2268 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2272 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2273 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2274 USB_DEVICE_ID_MATCH_INT_CLASS |
2275 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2276 .bInterfaceClass = USB_CLASS_AUDIO,
2277 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2278 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2279 .vendor_name = "Hauppauge",
2280 .product_name = "HVR-950Q",
2281 .ifnum = QUIRK_ANY_INTERFACE,
2282 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2286 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2287 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2288 USB_DEVICE_ID_MATCH_INT_CLASS |
2289 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2290 .bInterfaceClass = USB_CLASS_AUDIO,
2291 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2292 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2293 .vendor_name = "Hauppauge",
2294 .product_name = "HVR-950Q",
2295 .ifnum = QUIRK_ANY_INTERFACE,
2296 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2300 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2301 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2302 USB_DEVICE_ID_MATCH_INT_CLASS |
2303 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2304 .bInterfaceClass = USB_CLASS_AUDIO,
2305 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2306 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2307 .vendor_name = "Hauppauge",
2308 .product_name = "HVR-950Q",
2309 .ifnum = QUIRK_ANY_INTERFACE,
2310 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2314 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2315 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2316 USB_DEVICE_ID_MATCH_INT_CLASS |
2317 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2318 .bInterfaceClass = USB_CLASS_AUDIO,
2319 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2320 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2321 .vendor_name = "Hauppauge",
2322 .product_name = "HVR-950Q",
2323 .ifnum = QUIRK_ANY_INTERFACE,
2324 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2328 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2329 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2330 USB_DEVICE_ID_MATCH_INT_CLASS |
2331 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2332 .bInterfaceClass = USB_CLASS_AUDIO,
2333 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2334 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2335 .vendor_name = "Hauppauge",
2336 .product_name = "HVR-950Q",
2337 .ifnum = QUIRK_ANY_INTERFACE,
2338 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2342 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2343 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2344 USB_DEVICE_ID_MATCH_INT_CLASS |
2345 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2346 .bInterfaceClass = USB_CLASS_AUDIO,
2347 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2348 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2349 .vendor_name = "Hauppauge",
2350 .product_name = "HVR-950Q",
2351 .ifnum = QUIRK_ANY_INTERFACE,
2352 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2356 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2357 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2358 USB_DEVICE_ID_MATCH_INT_CLASS |
2359 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2360 .bInterfaceClass = USB_CLASS_AUDIO,
2361 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2362 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2363 .vendor_name = "Hauppauge",
2364 .product_name = "HVR-950Q",
2365 .ifnum = QUIRK_ANY_INTERFACE,
2366 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2370 /* Digidesign Mbox */
2372 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2373 USB_DEVICE(0x0dba, 0x1000),
2374 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2375 .vendor_name = "Digidesign",
2376 .product_name = "MBox",
2377 .ifnum = QUIRK_ANY_INTERFACE,
2378 .type = QUIRK_COMPOSITE,
2379 .data = (const struct snd_usb_audio_quirk[]){
2382 .type = QUIRK_IGNORE_INTERFACE,
2386 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2387 .data = &(const struct audioformat) {
2388 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2393 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2396 .maxpacksize = 0x130,
2397 .rates = SNDRV_PCM_RATE_44100 |
2398 SNDRV_PCM_RATE_48000,
2402 .rate_table = (unsigned int[]) {
2417 * Some USB MIDI devices don't have an audio control interface,
2418 * so we have to grab MIDI streaming interfaces here.
2420 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
2421 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2422 .bInterfaceClass = USB_CLASS_AUDIO,
2423 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
2424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2425 .ifnum = QUIRK_ANY_INTERFACE,
2426 .type = QUIRK_MIDI_STANDARD_INTERFACE
2430 #undef USB_DEVICE_VENDOR_SPEC