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 /* HP Thunderbolt Dock Audio Headset */
44 USB_DEVICE(0x03f0, 0x0269),
45 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
47 .product_name = "Thunderbolt Dock Audio Headset",
48 .profile_name = "HP-Thunderbolt-Dock-Audio-Headset",
49 .ifnum = QUIRK_NO_INTERFACE
52 /* HP Thunderbolt Dock Audio Module */
54 USB_DEVICE(0x03f0, 0x0567),
55 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
57 .product_name = "Thunderbolt Dock Audio Module",
58 .profile_name = "HP-Thunderbolt-Dock-Audio-Module",
59 .ifnum = QUIRK_NO_INTERFACE
64 USB_DEVICE(0x0403, 0xb8d8),
65 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
66 /* .vendor_name = "STARR LABS", */
67 /* .product_name = "Starr Labs MIDI USB device", */
69 .type = QUIRK_MIDI_FTDI
75 USB_DEVICE(0x041e, 0x0005),
76 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
78 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
79 .data = &(const struct audioformat) {
80 .formats = SNDRV_PCM_FMTBIT_S16_LE,
86 .ep_attr = USB_ENDPOINT_XFER_ISOC,
88 .rates = SNDRV_PCM_RATE_CONTINUOUS,
95 /* Creative/E-Mu devices */
97 USB_DEVICE(0x041e, 0x3010),
98 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
99 .vendor_name = "Creative Labs",
100 .product_name = "Sound Blaster MP3+",
101 .ifnum = QUIRK_NO_INTERFACE
104 /* Creative/Toshiba Multimedia Center SB-0500 */
106 USB_DEVICE(0x041e, 0x3048),
107 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
108 .vendor_name = "Toshiba",
109 .product_name = "SB-0500",
110 .ifnum = QUIRK_NO_INTERFACE
115 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
118 .bInterfaceClass = USB_CLASS_AUDIO,
122 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
125 .bInterfaceClass = USB_CLASS_AUDIO,
128 /* E-Mu Tracker Pre */
129 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
132 .bInterfaceClass = USB_CLASS_AUDIO,
136 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
139 .bInterfaceClass = USB_CLASS_AUDIO,
144 * When not ignored, causes instability issues for some users, forcing them to
145 * blacklist the entire module.
148 USB_DEVICE(0x0424, 0xb832),
149 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
150 .vendor_name = "Standard Microsystems Corp.",
151 .product_name = "HP Wireless Audio",
152 .ifnum = QUIRK_ANY_INTERFACE,
153 .type = QUIRK_COMPOSITE,
154 .data = (const struct snd_usb_audio_quirk[]) {
158 .type = QUIRK_IGNORE_INTERFACE,
163 .type = QUIRK_IGNORE_INTERFACE,
168 .type = QUIRK_IGNORE_INTERFACE,
170 /* HID Device, .ifnum = 3 */
179 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
180 * class matches do not take effect without an explicit ID match.
183 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
184 USB_DEVICE_ID_MATCH_INT_CLASS |
185 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
188 .bInterfaceClass = USB_CLASS_AUDIO,
189 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
192 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
193 USB_DEVICE_ID_MATCH_INT_CLASS |
194 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
197 .bInterfaceClass = USB_CLASS_AUDIO,
198 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
201 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
202 USB_DEVICE_ID_MATCH_INT_CLASS |
203 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
206 .bInterfaceClass = USB_CLASS_AUDIO,
207 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
210 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
211 USB_DEVICE_ID_MATCH_INT_CLASS |
212 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
215 .bInterfaceClass = USB_CLASS_AUDIO,
216 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
219 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
220 USB_DEVICE_ID_MATCH_INT_CLASS |
221 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
224 .bInterfaceClass = USB_CLASS_AUDIO,
225 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
228 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
229 USB_DEVICE_ID_MATCH_INT_CLASS |
230 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
233 .bInterfaceClass = USB_CLASS_AUDIO,
234 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
237 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
238 USB_DEVICE_ID_MATCH_INT_CLASS |
239 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
242 .bInterfaceClass = USB_CLASS_AUDIO,
243 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
244 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
245 .vendor_name = "Logitech, Inc.",
246 .product_name = "QuickCam Pro 9000",
247 .ifnum = QUIRK_NO_INTERFACE
255 #define YAMAHA_DEVICE(id, name) { \
256 USB_DEVICE(0x0499, id), \
257 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
258 .vendor_name = "Yamaha", \
259 .product_name = name, \
260 .ifnum = QUIRK_ANY_INTERFACE, \
261 .type = QUIRK_MIDI_YAMAHA \
264 #define YAMAHA_INTERFACE(id, intf, name) { \
265 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
266 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
267 .vendor_name = "Yamaha", \
268 .product_name = name, \
270 .type = QUIRK_MIDI_YAMAHA \
273 YAMAHA_DEVICE(0x1000, "UX256"),
274 YAMAHA_DEVICE(0x1001, "MU1000"),
275 YAMAHA_DEVICE(0x1002, "MU2000"),
276 YAMAHA_DEVICE(0x1003, "MU500"),
277 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
278 YAMAHA_DEVICE(0x1005, "MOTIF6"),
279 YAMAHA_DEVICE(0x1006, "MOTIF7"),
280 YAMAHA_DEVICE(0x1007, "MOTIF8"),
281 YAMAHA_DEVICE(0x1008, "UX96"),
282 YAMAHA_DEVICE(0x1009, "UX16"),
283 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
284 YAMAHA_DEVICE(0x100c, "UC-MX"),
285 YAMAHA_DEVICE(0x100d, "UC-KX"),
286 YAMAHA_DEVICE(0x100e, "S08"),
287 YAMAHA_DEVICE(0x100f, "CLP-150"),
288 YAMAHA_DEVICE(0x1010, "CLP-170"),
289 YAMAHA_DEVICE(0x1011, "P-250"),
290 YAMAHA_DEVICE(0x1012, "TYROS"),
291 YAMAHA_DEVICE(0x1013, "PF-500"),
292 YAMAHA_DEVICE(0x1014, "S90"),
293 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
294 YAMAHA_DEVICE(0x1016, "MDP-5"),
295 YAMAHA_DEVICE(0x1017, "CVP-204"),
296 YAMAHA_DEVICE(0x1018, "CVP-206"),
297 YAMAHA_DEVICE(0x1019, "CVP-208"),
298 YAMAHA_DEVICE(0x101a, "CVP-210"),
299 YAMAHA_DEVICE(0x101b, "PSR-1100"),
300 YAMAHA_DEVICE(0x101c, "PSR-2100"),
301 YAMAHA_DEVICE(0x101d, "CLP-175"),
302 YAMAHA_DEVICE(0x101e, "PSR-K1"),
303 YAMAHA_DEVICE(0x101f, "EZ-J24"),
304 YAMAHA_DEVICE(0x1020, "EZ-250i"),
305 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
306 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
307 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
308 YAMAHA_DEVICE(0x1024, "CVP-301"),
309 YAMAHA_DEVICE(0x1025, "CVP-303"),
310 YAMAHA_DEVICE(0x1026, "CVP-305"),
311 YAMAHA_DEVICE(0x1027, "CVP-307"),
312 YAMAHA_DEVICE(0x1028, "CVP-309"),
313 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
314 YAMAHA_DEVICE(0x102a, "PSR-1500"),
315 YAMAHA_DEVICE(0x102b, "PSR-3000"),
316 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
317 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
318 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
319 YAMAHA_DEVICE(0x1032, "DGX-305"),
320 YAMAHA_DEVICE(0x1033, "DGX-505"),
321 YAMAHA_DEVICE(0x1034, NULL),
322 YAMAHA_DEVICE(0x1035, NULL),
323 YAMAHA_DEVICE(0x1036, NULL),
324 YAMAHA_DEVICE(0x1037, NULL),
325 YAMAHA_DEVICE(0x1038, NULL),
326 YAMAHA_DEVICE(0x1039, NULL),
327 YAMAHA_DEVICE(0x103a, NULL),
328 YAMAHA_DEVICE(0x103b, NULL),
329 YAMAHA_DEVICE(0x103c, NULL),
330 YAMAHA_DEVICE(0x103d, NULL),
331 YAMAHA_DEVICE(0x103e, NULL),
332 YAMAHA_DEVICE(0x103f, NULL),
333 YAMAHA_DEVICE(0x1040, NULL),
334 YAMAHA_DEVICE(0x1041, NULL),
335 YAMAHA_DEVICE(0x1042, NULL),
336 YAMAHA_DEVICE(0x1043, NULL),
337 YAMAHA_DEVICE(0x1044, NULL),
338 YAMAHA_DEVICE(0x1045, NULL),
339 YAMAHA_INTERFACE(0x104e, 0, NULL),
340 YAMAHA_DEVICE(0x104f, NULL),
341 YAMAHA_DEVICE(0x1050, NULL),
342 YAMAHA_DEVICE(0x1051, NULL),
343 YAMAHA_DEVICE(0x1052, NULL),
344 YAMAHA_INTERFACE(0x1053, 0, NULL),
345 YAMAHA_INTERFACE(0x1054, 0, NULL),
346 YAMAHA_DEVICE(0x1055, NULL),
347 YAMAHA_DEVICE(0x1056, NULL),
348 YAMAHA_DEVICE(0x1057, NULL),
349 YAMAHA_DEVICE(0x1058, NULL),
350 YAMAHA_DEVICE(0x1059, NULL),
351 YAMAHA_DEVICE(0x105a, NULL),
352 YAMAHA_DEVICE(0x105b, NULL),
353 YAMAHA_DEVICE(0x105c, NULL),
354 YAMAHA_DEVICE(0x105d, NULL),
356 USB_DEVICE(0x0499, 0x1503),
357 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
358 /* .vendor_name = "Yamaha", */
359 /* .product_name = "MOX6/MOX8", */
360 .ifnum = QUIRK_ANY_INTERFACE,
361 .type = QUIRK_COMPOSITE,
362 .data = (const struct snd_usb_audio_quirk[]) {
365 .type = QUIRK_AUDIO_STANDARD_INTERFACE
369 .type = QUIRK_AUDIO_STANDARD_INTERFACE
373 .type = QUIRK_MIDI_YAMAHA
382 USB_DEVICE(0x0499, 0x1507),
383 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
384 /* .vendor_name = "Yamaha", */
385 /* .product_name = "THR10", */
386 .ifnum = QUIRK_ANY_INTERFACE,
387 .type = QUIRK_COMPOSITE,
388 .data = (const struct snd_usb_audio_quirk[]) {
391 .type = QUIRK_AUDIO_STANDARD_INTERFACE
395 .type = QUIRK_AUDIO_STANDARD_INTERFACE
399 .type = QUIRK_MIDI_YAMAHA
408 USB_DEVICE(0x0499, 0x1509),
409 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
410 /* .vendor_name = "Yamaha", */
411 /* .product_name = "Steinberg UR22", */
412 .ifnum = QUIRK_ANY_INTERFACE,
413 .type = QUIRK_COMPOSITE,
414 .data = (const struct snd_usb_audio_quirk[]) {
417 .type = QUIRK_AUDIO_STANDARD_INTERFACE
421 .type = QUIRK_AUDIO_STANDARD_INTERFACE
425 .type = QUIRK_MIDI_YAMAHA
429 .type = QUIRK_IGNORE_INTERFACE
438 USB_DEVICE(0x0499, 0x150a),
439 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
440 /* .vendor_name = "Yamaha", */
441 /* .product_name = "THR5A", */
442 .ifnum = QUIRK_ANY_INTERFACE,
443 .type = QUIRK_COMPOSITE,
444 .data = (const struct snd_usb_audio_quirk[]) {
447 .type = QUIRK_AUDIO_STANDARD_INTERFACE
451 .type = QUIRK_AUDIO_STANDARD_INTERFACE
455 .type = QUIRK_MIDI_YAMAHA
464 USB_DEVICE(0x0499, 0x150c),
465 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
466 /* .vendor_name = "Yamaha", */
467 /* .product_name = "THR10C", */
468 .ifnum = QUIRK_ANY_INTERFACE,
469 .type = QUIRK_COMPOSITE,
470 .data = (const struct snd_usb_audio_quirk[]) {
473 .type = QUIRK_AUDIO_STANDARD_INTERFACE
477 .type = QUIRK_AUDIO_STANDARD_INTERFACE
481 .type = QUIRK_MIDI_YAMAHA
489 YAMAHA_DEVICE(0x2000, "DGP-7"),
490 YAMAHA_DEVICE(0x2001, "DGP-5"),
491 YAMAHA_DEVICE(0x2002, NULL),
492 YAMAHA_DEVICE(0x2003, NULL),
493 YAMAHA_DEVICE(0x5000, "CS1D"),
494 YAMAHA_DEVICE(0x5001, "DSP1D"),
495 YAMAHA_DEVICE(0x5002, "DME32"),
496 YAMAHA_DEVICE(0x5003, "DM2000"),
497 YAMAHA_DEVICE(0x5004, "02R96"),
498 YAMAHA_DEVICE(0x5005, "ACU16-C"),
499 YAMAHA_DEVICE(0x5006, "NHB32-C"),
500 YAMAHA_DEVICE(0x5007, "DM1000"),
501 YAMAHA_DEVICE(0x5008, "01V96"),
502 YAMAHA_DEVICE(0x5009, "SPX2000"),
503 YAMAHA_DEVICE(0x500a, "PM5D"),
504 YAMAHA_DEVICE(0x500b, "DME64N"),
505 YAMAHA_DEVICE(0x500c, "DME24N"),
506 YAMAHA_DEVICE(0x500d, NULL),
507 YAMAHA_DEVICE(0x500e, NULL),
508 YAMAHA_DEVICE(0x500f, NULL),
509 YAMAHA_DEVICE(0x7000, "DTX"),
510 YAMAHA_DEVICE(0x7010, "UB99"),
512 #undef YAMAHA_INTERFACE
513 /* this catches most recent vendor-specific Yamaha devices */
515 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
516 USB_DEVICE_ID_MATCH_INT_CLASS,
518 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
519 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
520 .ifnum = QUIRK_ANY_INTERFACE,
521 .type = QUIRK_AUTODETECT
526 * Roland/RolandED/Edirol/BOSS devices
529 USB_DEVICE(0x0582, 0x0000),
530 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
531 .vendor_name = "Roland",
532 .product_name = "UA-100",
533 .ifnum = QUIRK_ANY_INTERFACE,
534 .type = QUIRK_COMPOSITE,
535 .data = (const struct snd_usb_audio_quirk[]) {
538 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
539 .data = & (const struct audioformat) {
540 .formats = SNDRV_PCM_FMTBIT_S16_LE,
548 .rates = SNDRV_PCM_RATE_CONTINUOUS,
555 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
556 .data = & (const struct audioformat) {
557 .formats = SNDRV_PCM_FMTBIT_S16_LE,
562 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
565 .rates = SNDRV_PCM_RATE_CONTINUOUS,
572 .type = QUIRK_MIDI_FIXED_ENDPOINT,
573 .data = & (const struct snd_usb_midi_endpoint_info) {
574 .out_cables = 0x0007,
585 USB_DEVICE(0x0582, 0x0002),
586 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
587 .vendor_name = "EDIROL",
588 .product_name = "UM-4",
589 .ifnum = QUIRK_ANY_INTERFACE,
590 .type = QUIRK_COMPOSITE,
591 .data = (const struct snd_usb_audio_quirk[]) {
594 .type = QUIRK_IGNORE_INTERFACE
598 .type = QUIRK_IGNORE_INTERFACE
602 .type = QUIRK_MIDI_FIXED_ENDPOINT,
603 .data = & (const struct snd_usb_midi_endpoint_info) {
604 .out_cables = 0x000f,
615 USB_DEVICE(0x0582, 0x0003),
616 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
617 .vendor_name = "Roland",
618 .product_name = "SC-8850",
619 .ifnum = QUIRK_ANY_INTERFACE,
620 .type = QUIRK_COMPOSITE,
621 .data = (const struct snd_usb_audio_quirk[]) {
624 .type = QUIRK_IGNORE_INTERFACE
628 .type = QUIRK_IGNORE_INTERFACE
632 .type = QUIRK_MIDI_FIXED_ENDPOINT,
633 .data = & (const struct snd_usb_midi_endpoint_info) {
634 .out_cables = 0x003f,
645 USB_DEVICE(0x0582, 0x0004),
646 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
647 .vendor_name = "Roland",
648 .product_name = "U-8",
649 .ifnum = QUIRK_ANY_INTERFACE,
650 .type = QUIRK_COMPOSITE,
651 .data = (const struct snd_usb_audio_quirk[]) {
654 .type = QUIRK_IGNORE_INTERFACE
658 .type = QUIRK_IGNORE_INTERFACE
662 .type = QUIRK_MIDI_FIXED_ENDPOINT,
663 .data = & (const struct snd_usb_midi_endpoint_info) {
664 .out_cables = 0x0005,
675 /* Has ID 0x0099 when not in "Advanced Driver" mode.
676 * The UM-2EX has only one input, but we cannot detect this. */
677 USB_DEVICE(0x0582, 0x0005),
678 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
679 .vendor_name = "EDIROL",
680 .product_name = "UM-2",
681 .ifnum = QUIRK_ANY_INTERFACE,
682 .type = QUIRK_COMPOSITE,
683 .data = (const struct snd_usb_audio_quirk[]) {
686 .type = QUIRK_IGNORE_INTERFACE
690 .type = QUIRK_IGNORE_INTERFACE
694 .type = QUIRK_MIDI_FIXED_ENDPOINT,
695 .data = & (const struct snd_usb_midi_endpoint_info) {
696 .out_cables = 0x0003,
707 USB_DEVICE(0x0582, 0x0007),
708 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
709 .vendor_name = "Roland",
710 .product_name = "SC-8820",
711 .ifnum = QUIRK_ANY_INTERFACE,
712 .type = QUIRK_COMPOSITE,
713 .data = (const struct snd_usb_audio_quirk[]) {
716 .type = QUIRK_IGNORE_INTERFACE
720 .type = QUIRK_IGNORE_INTERFACE
724 .type = QUIRK_MIDI_FIXED_ENDPOINT,
725 .data = & (const struct snd_usb_midi_endpoint_info) {
726 .out_cables = 0x0013,
737 USB_DEVICE(0x0582, 0x0008),
738 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
739 .vendor_name = "Roland",
740 .product_name = "PC-300",
741 .ifnum = QUIRK_ANY_INTERFACE,
742 .type = QUIRK_COMPOSITE,
743 .data = (const struct snd_usb_audio_quirk[]) {
746 .type = QUIRK_IGNORE_INTERFACE
750 .type = QUIRK_IGNORE_INTERFACE
754 .type = QUIRK_MIDI_FIXED_ENDPOINT,
755 .data = & (const struct snd_usb_midi_endpoint_info) {
756 .out_cables = 0x0001,
767 /* has ID 0x009d when not in "Advanced Driver" mode */
768 USB_DEVICE(0x0582, 0x0009),
769 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
770 .vendor_name = "EDIROL",
771 .product_name = "UM-1",
772 .ifnum = QUIRK_ANY_INTERFACE,
773 .type = QUIRK_COMPOSITE,
774 .data = (const struct snd_usb_audio_quirk[]) {
777 .type = QUIRK_IGNORE_INTERFACE
781 .type = QUIRK_IGNORE_INTERFACE
785 .type = QUIRK_MIDI_FIXED_ENDPOINT,
786 .data = & (const struct snd_usb_midi_endpoint_info) {
787 .out_cables = 0x0001,
798 USB_DEVICE(0x0582, 0x000b),
799 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
800 .vendor_name = "Roland",
801 .product_name = "SK-500",
802 .ifnum = QUIRK_ANY_INTERFACE,
803 .type = QUIRK_COMPOSITE,
804 .data = (const struct snd_usb_audio_quirk[]) {
807 .type = QUIRK_IGNORE_INTERFACE
811 .type = QUIRK_IGNORE_INTERFACE
815 .type = QUIRK_MIDI_FIXED_ENDPOINT,
816 .data = & (const struct snd_usb_midi_endpoint_info) {
817 .out_cables = 0x0013,
828 /* thanks to Emiliano Grilli <emillo@libero.it>
829 * for helping researching this data */
830 USB_DEVICE(0x0582, 0x000c),
831 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
832 .vendor_name = "Roland",
833 .product_name = "SC-D70",
834 .ifnum = QUIRK_ANY_INTERFACE,
835 .type = QUIRK_COMPOSITE,
836 .data = (const struct snd_usb_audio_quirk[]) {
839 .type = QUIRK_AUDIO_STANDARD_INTERFACE
843 .type = QUIRK_AUDIO_STANDARD_INTERFACE
847 .type = QUIRK_MIDI_FIXED_ENDPOINT,
848 .data = & (const struct snd_usb_midi_endpoint_info) {
849 .out_cables = 0x0007,
860 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
861 * If the advanced mode switch at the back of the unit is off, the
862 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
863 * but offers only 16-bit PCM.
864 * In advanced mode, the UA-5 will output S24_3LE samples (two
865 * channels) at the rate indicated on the front switch, including
866 * the 96kHz sample rate.
868 USB_DEVICE(0x0582, 0x0010),
869 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
870 .vendor_name = "EDIROL",
871 .product_name = "UA-5",
872 .ifnum = QUIRK_ANY_INTERFACE,
873 .type = QUIRK_COMPOSITE,
874 .data = (const struct snd_usb_audio_quirk[]) {
877 .type = QUIRK_AUDIO_STANDARD_INTERFACE
881 .type = QUIRK_AUDIO_STANDARD_INTERFACE
890 /* has ID 0x0013 when not in "Advanced Driver" mode */
891 USB_DEVICE(0x0582, 0x0012),
892 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
893 .vendor_name = "Roland",
894 .product_name = "XV-5050",
896 .type = QUIRK_MIDI_FIXED_ENDPOINT,
897 .data = & (const struct snd_usb_midi_endpoint_info) {
898 .out_cables = 0x0001,
904 /* has ID 0x0015 when not in "Advanced Driver" mode */
905 USB_DEVICE(0x0582, 0x0014),
906 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
907 .vendor_name = "EDIROL",
908 .product_name = "UM-880",
910 .type = QUIRK_MIDI_FIXED_ENDPOINT,
911 .data = & (const struct snd_usb_midi_endpoint_info) {
912 .out_cables = 0x01ff,
918 /* has ID 0x0017 when not in "Advanced Driver" mode */
919 USB_DEVICE(0x0582, 0x0016),
920 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
921 .vendor_name = "EDIROL",
922 .product_name = "SD-90",
923 .ifnum = QUIRK_ANY_INTERFACE,
924 .type = QUIRK_COMPOSITE,
925 .data = (const struct snd_usb_audio_quirk[]) {
928 .type = QUIRK_AUDIO_STANDARD_INTERFACE
932 .type = QUIRK_AUDIO_STANDARD_INTERFACE
936 .type = QUIRK_MIDI_FIXED_ENDPOINT,
937 .data = & (const struct snd_usb_midi_endpoint_info) {
938 .out_cables = 0x000f,
949 /* has ID 0x001c when not in "Advanced Driver" mode */
950 USB_DEVICE(0x0582, 0x001b),
951 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
952 .vendor_name = "Roland",
953 .product_name = "MMP-2",
954 .ifnum = QUIRK_ANY_INTERFACE,
955 .type = QUIRK_COMPOSITE,
956 .data = (const struct snd_usb_audio_quirk[]) {
959 .type = QUIRK_IGNORE_INTERFACE
963 .type = QUIRK_IGNORE_INTERFACE
967 .type = QUIRK_MIDI_FIXED_ENDPOINT,
968 .data = & (const struct snd_usb_midi_endpoint_info) {
969 .out_cables = 0x0001,
980 /* has ID 0x001e when not in "Advanced Driver" mode */
981 USB_DEVICE(0x0582, 0x001d),
982 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
983 .vendor_name = "Roland",
984 .product_name = "V-SYNTH",
986 .type = QUIRK_MIDI_FIXED_ENDPOINT,
987 .data = & (const struct snd_usb_midi_endpoint_info) {
988 .out_cables = 0x0001,
994 /* has ID 0x0024 when not in "Advanced Driver" mode */
995 USB_DEVICE(0x0582, 0x0023),
996 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
997 .vendor_name = "EDIROL",
998 .product_name = "UM-550",
1000 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1001 .data = & (const struct snd_usb_midi_endpoint_info) {
1002 .out_cables = 0x003f,
1009 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
1010 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
1013 USB_DEVICE(0x0582, 0x0025),
1014 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1015 .vendor_name = "EDIROL",
1016 .product_name = "UA-20",
1017 .ifnum = QUIRK_ANY_INTERFACE,
1018 .type = QUIRK_COMPOSITE,
1019 .data = (const struct snd_usb_audio_quirk[]) {
1022 .type = QUIRK_IGNORE_INTERFACE
1026 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1027 .data = & (const struct audioformat) {
1028 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1036 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1043 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1044 .data = & (const struct audioformat) {
1045 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1053 .rates = SNDRV_PCM_RATE_CONTINUOUS,
1060 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1061 .data = & (const struct snd_usb_midi_endpoint_info) {
1062 .out_cables = 0x0001,
1073 /* has ID 0x0028 when not in "Advanced Driver" mode */
1074 USB_DEVICE(0x0582, 0x0027),
1075 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1076 .vendor_name = "EDIROL",
1077 .product_name = "SD-20",
1079 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1080 .data = & (const struct snd_usb_midi_endpoint_info) {
1081 .out_cables = 0x0003,
1087 /* has ID 0x002a when not in "Advanced Driver" mode */
1088 USB_DEVICE(0x0582, 0x0029),
1089 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1090 .vendor_name = "EDIROL",
1091 .product_name = "SD-80",
1093 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1094 .data = & (const struct snd_usb_midi_endpoint_info) {
1095 .out_cables = 0x000f,
1101 * This quirk is for the "Advanced" modes of the Edirol UA-700.
1102 * If the sample format switch is not in an advanced setting, the
1103 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
1104 * but offers only 16-bit PCM and no MIDI.
1106 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
1107 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1108 .vendor_name = "EDIROL",
1109 .product_name = "UA-700",
1110 .ifnum = QUIRK_ANY_INTERFACE,
1111 .type = QUIRK_COMPOSITE,
1112 .data = (const struct snd_usb_audio_quirk[]) {
1115 .type = QUIRK_AUDIO_EDIROL_UAXX
1119 .type = QUIRK_AUDIO_EDIROL_UAXX
1123 .type = QUIRK_AUDIO_EDIROL_UAXX
1132 /* has ID 0x002e when not in "Advanced Driver" mode */
1133 USB_DEVICE(0x0582, 0x002d),
1134 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1135 .vendor_name = "Roland",
1136 .product_name = "XV-2020",
1138 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1139 .data = & (const struct snd_usb_midi_endpoint_info) {
1140 .out_cables = 0x0001,
1146 /* has ID 0x0030 when not in "Advanced Driver" mode */
1147 USB_DEVICE(0x0582, 0x002f),
1148 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1149 .vendor_name = "Roland",
1150 .product_name = "VariOS",
1152 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1153 .data = & (const struct snd_usb_midi_endpoint_info) {
1154 .out_cables = 0x0007,
1160 /* has ID 0x0034 when not in "Advanced Driver" mode */
1161 USB_DEVICE(0x0582, 0x0033),
1162 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1163 .vendor_name = "EDIROL",
1164 .product_name = "PCR",
1166 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1167 .data = & (const struct snd_usb_midi_endpoint_info) {
1168 .out_cables = 0x0003,
1175 * Has ID 0x0038 when not in "Advanced Driver" mode;
1176 * later revisions use IDs 0x0054 and 0x00a2.
1178 USB_DEVICE(0x0582, 0x0037),
1179 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1180 .vendor_name = "Roland",
1181 .product_name = "Digital Piano",
1183 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1184 .data = & (const struct snd_usb_midi_endpoint_info) {
1185 .out_cables = 0x0001,
1192 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
1193 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
1196 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
1197 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1198 .vendor_name = "BOSS",
1199 .product_name = "GS-10",
1200 .ifnum = QUIRK_ANY_INTERFACE,
1201 .type = QUIRK_COMPOSITE,
1202 .data = & (const struct snd_usb_audio_quirk[]) {
1205 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1209 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1213 .type = QUIRK_MIDI_STANDARD_INTERFACE
1222 /* has ID 0x0041 when not in "Advanced Driver" mode */
1223 USB_DEVICE(0x0582, 0x0040),
1224 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1225 .vendor_name = "Roland",
1226 .product_name = "GI-20",
1228 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1229 .data = & (const struct snd_usb_midi_endpoint_info) {
1230 .out_cables = 0x0001,
1236 /* has ID 0x0043 when not in "Advanced Driver" mode */
1237 USB_DEVICE(0x0582, 0x0042),
1238 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1239 .vendor_name = "Roland",
1240 .product_name = "RS-70",
1242 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1243 .data = & (const struct snd_usb_midi_endpoint_info) {
1244 .out_cables = 0x0001,
1250 /* has ID 0x0049 when not in "Advanced Driver" mode */
1251 USB_DEVICE(0x0582, 0x0047),
1252 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1253 /* .vendor_name = "EDIROL", */
1254 /* .product_name = "UR-80", */
1255 .ifnum = QUIRK_ANY_INTERFACE,
1256 .type = QUIRK_COMPOSITE,
1257 .data = (const struct snd_usb_audio_quirk[]) {
1258 /* in the 96 kHz modes, only interface 1 is there */
1261 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1265 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1274 /* has ID 0x004a when not in "Advanced Driver" mode */
1275 USB_DEVICE(0x0582, 0x0048),
1276 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1277 /* .vendor_name = "EDIROL", */
1278 /* .product_name = "UR-80", */
1280 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1281 .data = & (const struct snd_usb_midi_endpoint_info) {
1282 .out_cables = 0x0003,
1288 /* has ID 0x004e when not in "Advanced Driver" mode */
1289 USB_DEVICE(0x0582, 0x004c),
1290 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1291 .vendor_name = "EDIROL",
1292 .product_name = "PCR-A",
1293 .ifnum = QUIRK_ANY_INTERFACE,
1294 .type = QUIRK_COMPOSITE,
1295 .data = (const struct snd_usb_audio_quirk[]) {
1298 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1302 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1311 /* has ID 0x004f when not in "Advanced Driver" mode */
1312 USB_DEVICE(0x0582, 0x004d),
1313 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1314 .vendor_name = "EDIROL",
1315 .product_name = "PCR-A",
1317 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1318 .data = & (const struct snd_usb_midi_endpoint_info) {
1319 .out_cables = 0x0003,
1326 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1327 * is standard compliant, but has only 16-bit PCM.
1329 USB_DEVICE(0x0582, 0x0050),
1330 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1331 .vendor_name = "EDIROL",
1332 .product_name = "UA-3FX",
1333 .ifnum = QUIRK_ANY_INTERFACE,
1334 .type = QUIRK_COMPOSITE,
1335 .data = (const struct snd_usb_audio_quirk[]) {
1338 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1342 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1351 USB_DEVICE(0x0582, 0x0052),
1352 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1353 .vendor_name = "EDIROL",
1354 .product_name = "UM-1SX",
1356 .type = QUIRK_MIDI_STANDARD_INTERFACE
1360 USB_DEVICE(0x0582, 0x0060),
1361 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1362 .vendor_name = "Roland",
1363 .product_name = "EXR Series",
1365 .type = QUIRK_MIDI_STANDARD_INTERFACE
1369 /* has ID 0x0066 when not in "Advanced Driver" mode */
1370 USB_DEVICE(0x0582, 0x0064),
1371 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1372 /* .vendor_name = "EDIROL", */
1373 /* .product_name = "PCR-1", */
1374 .ifnum = QUIRK_ANY_INTERFACE,
1375 .type = QUIRK_COMPOSITE,
1376 .data = (const struct snd_usb_audio_quirk[]) {
1379 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1383 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1392 /* has ID 0x0067 when not in "Advanced Driver" mode */
1393 USB_DEVICE(0x0582, 0x0065),
1394 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1395 /* .vendor_name = "EDIROL", */
1396 /* .product_name = "PCR-1", */
1398 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1399 .data = & (const struct snd_usb_midi_endpoint_info) {
1400 .out_cables = 0x0001,
1406 /* has ID 0x006e when not in "Advanced Driver" mode */
1407 USB_DEVICE(0x0582, 0x006d),
1408 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1409 .vendor_name = "Roland",
1410 .product_name = "FANTOM-X",
1412 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1413 .data = & (const struct snd_usb_midi_endpoint_info) {
1414 .out_cables = 0x0001,
1420 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1421 * If the switch is not in an advanced setting, the UA-25 has
1422 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1423 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1425 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1426 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1427 .vendor_name = "EDIROL",
1428 .product_name = "UA-25",
1429 .ifnum = QUIRK_ANY_INTERFACE,
1430 .type = QUIRK_COMPOSITE,
1431 .data = (const struct snd_usb_audio_quirk[]) {
1434 .type = QUIRK_AUDIO_EDIROL_UAXX
1438 .type = QUIRK_AUDIO_EDIROL_UAXX
1442 .type = QUIRK_AUDIO_EDIROL_UAXX
1451 /* has ID 0x0076 when not in "Advanced Driver" mode */
1452 USB_DEVICE(0x0582, 0x0075),
1453 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1454 .vendor_name = "BOSS",
1455 .product_name = "DR-880",
1457 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1458 .data = & (const struct snd_usb_midi_endpoint_info) {
1459 .out_cables = 0x0001,
1465 /* has ID 0x007b when not in "Advanced Driver" mode */
1466 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1467 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1468 .vendor_name = "Roland",
1469 /* "RD" or "RD-700SX"? */
1471 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1472 .data = & (const struct snd_usb_midi_endpoint_info) {
1473 .out_cables = 0x0003,
1479 /* has ID 0x0081 when not in "Advanced Driver" mode */
1480 USB_DEVICE(0x0582, 0x0080),
1481 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1482 .vendor_name = "Roland",
1483 .product_name = "G-70",
1485 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1486 .data = & (const struct snd_usb_midi_endpoint_info) {
1487 .out_cables = 0x0001,
1493 /* has ID 0x008c when not in "Advanced Driver" mode */
1494 USB_DEVICE(0x0582, 0x008b),
1495 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1496 .vendor_name = "EDIROL",
1497 .product_name = "PC-50",
1499 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1500 .data = & (const struct snd_usb_midi_endpoint_info) {
1501 .out_cables = 0x0001,
1508 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1509 * is standard compliant, but has only 16-bit PCM and no MIDI.
1511 USB_DEVICE(0x0582, 0x00a3),
1512 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1513 .vendor_name = "EDIROL",
1514 .product_name = "UA-4FX",
1515 .ifnum = QUIRK_ANY_INTERFACE,
1516 .type = QUIRK_COMPOSITE,
1517 .data = (const struct snd_usb_audio_quirk[]) {
1520 .type = QUIRK_AUDIO_EDIROL_UAXX
1524 .type = QUIRK_AUDIO_EDIROL_UAXX
1528 .type = QUIRK_AUDIO_EDIROL_UAXX
1538 USB_DEVICE(0x0582, 0x00c4),
1539 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1540 .ifnum = QUIRK_ANY_INTERFACE,
1541 .type = QUIRK_COMPOSITE,
1542 .data = (const struct snd_usb_audio_quirk[]) {
1545 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1549 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1553 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1554 .data = & (const struct snd_usb_midi_endpoint_info) {
1555 .out_cables = 0x0001,
1566 /* Advanced modes of the Edirol UA-25EX.
1567 * For the standard mode, UA-25EX has ID 0582:00e7, which
1568 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1570 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1571 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1572 .vendor_name = "EDIROL",
1573 .product_name = "UA-25EX",
1574 .ifnum = QUIRK_ANY_INTERFACE,
1575 .type = QUIRK_COMPOSITE,
1576 .data = (const struct snd_usb_audio_quirk[]) {
1579 .type = QUIRK_AUDIO_EDIROL_UAXX
1583 .type = QUIRK_AUDIO_EDIROL_UAXX
1587 .type = QUIRK_AUDIO_EDIROL_UAXX
1597 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0108),
1598 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1600 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1601 .data = & (const struct snd_usb_midi_endpoint_info) {
1602 .out_cables = 0x0007,
1609 USB_DEVICE(0x0582, 0x0113),
1610 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1611 .ifnum = QUIRK_ANY_INTERFACE,
1612 .type = QUIRK_COMPOSITE,
1613 .data = (const struct snd_usb_audio_quirk[]) {
1616 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1620 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1624 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1625 .data = & (const struct snd_usb_midi_endpoint_info) {
1626 .out_cables = 0x0001,
1637 /* only 44.1 kHz works at the moment */
1638 USB_DEVICE(0x0582, 0x0120),
1639 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1640 /* .vendor_name = "Roland", */
1641 /* .product_name = "OCTO-CAPTURE", */
1642 .ifnum = QUIRK_ANY_INTERFACE,
1643 .type = QUIRK_COMPOSITE,
1644 .data = (const struct snd_usb_audio_quirk[]) {
1647 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1648 .data = & (const struct audioformat) {
1649 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1656 .rates = SNDRV_PCM_RATE_44100,
1660 .rate_table = (unsigned int[]) { 44100 }
1665 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1666 .data = & (const struct audioformat) {
1667 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1674 .rates = SNDRV_PCM_RATE_44100,
1678 .rate_table = (unsigned int[]) { 44100 }
1683 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1684 .data = & (const struct snd_usb_midi_endpoint_info) {
1685 .out_cables = 0x0001,
1691 .type = QUIRK_IGNORE_INTERFACE
1695 .type = QUIRK_IGNORE_INTERFACE
1704 /* only 44.1 kHz works at the moment */
1705 USB_DEVICE(0x0582, 0x012f),
1706 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1707 /* .vendor_name = "Roland", */
1708 /* .product_name = "QUAD-CAPTURE", */
1709 .ifnum = QUIRK_ANY_INTERFACE,
1710 .type = QUIRK_COMPOSITE,
1711 .data = (const struct snd_usb_audio_quirk[]) {
1714 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1715 .data = & (const struct audioformat) {
1716 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1723 .rates = SNDRV_PCM_RATE_44100,
1727 .rate_table = (unsigned int[]) { 44100 }
1732 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1733 .data = & (const struct audioformat) {
1734 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1741 .rates = SNDRV_PCM_RATE_44100,
1745 .rate_table = (unsigned int[]) { 44100 }
1750 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1751 .data = & (const struct snd_usb_midi_endpoint_info) {
1752 .out_cables = 0x0001,
1758 .type = QUIRK_IGNORE_INTERFACE
1762 .type = QUIRK_IGNORE_INTERFACE
1771 USB_DEVICE(0x0582, 0x0159),
1772 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1773 /* .vendor_name = "Roland", */
1774 /* .product_name = "UA-22", */
1775 .ifnum = QUIRK_ANY_INTERFACE,
1776 .type = QUIRK_COMPOSITE,
1777 .data = (const struct snd_usb_audio_quirk[]) {
1780 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1784 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1788 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1789 .data = & (const struct snd_usb_midi_endpoint_info) {
1790 .out_cables = 0x0001,
1800 /* this catches most recent vendor-specific Roland devices */
1802 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1803 USB_DEVICE_ID_MATCH_INT_CLASS,
1805 .bInterfaceClass = USB_CLASS_VENDOR_SPEC,
1806 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
1807 .ifnum = QUIRK_ANY_INTERFACE,
1808 .type = QUIRK_AUTODETECT
1812 /* Guillemot devices */
1815 * This is for the "Windows Edition" where the external MIDI ports are
1816 * the only MIDI ports; the control data is reported through HID
1817 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1818 * compliant USB MIDI ports for external MIDI and controls.
1820 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1821 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1822 .vendor_name = "Hercules",
1823 .product_name = "DJ Console (WE)",
1825 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1826 .data = & (const struct snd_usb_midi_endpoint_info) {
1827 .out_cables = 0x0001,
1833 /* Midiman/M-Audio devices */
1835 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1836 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1837 .vendor_name = "M-Audio",
1838 .product_name = "MidiSport 2x2",
1839 .ifnum = QUIRK_ANY_INTERFACE,
1840 .type = QUIRK_MIDI_MIDIMAN,
1841 .data = & (const struct snd_usb_midi_endpoint_info) {
1842 .out_cables = 0x0003,
1848 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1849 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1850 .vendor_name = "M-Audio",
1851 .product_name = "MidiSport 1x1",
1852 .ifnum = QUIRK_ANY_INTERFACE,
1853 .type = QUIRK_MIDI_MIDIMAN,
1854 .data = & (const struct snd_usb_midi_endpoint_info) {
1855 .out_cables = 0x0001,
1861 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1862 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1863 .vendor_name = "M-Audio",
1864 .product_name = "Keystation",
1865 .ifnum = QUIRK_ANY_INTERFACE,
1866 .type = QUIRK_MIDI_MIDIMAN,
1867 .data = & (const struct snd_usb_midi_endpoint_info) {
1868 .out_cables = 0x0001,
1874 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1875 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1876 .vendor_name = "M-Audio",
1877 .product_name = "MidiSport 4x4",
1878 .ifnum = QUIRK_ANY_INTERFACE,
1879 .type = QUIRK_MIDI_MIDIMAN,
1880 .data = & (const struct snd_usb_midi_endpoint_info) {
1881 .out_cables = 0x000f,
1888 * For hardware revision 1.05; in the later revisions (1.10 and
1889 * 1.21), 0x1031 is the ID for the device without firmware.
1890 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1892 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1893 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1894 .vendor_name = "M-Audio",
1895 .product_name = "MidiSport 8x8",
1896 .ifnum = QUIRK_ANY_INTERFACE,
1897 .type = QUIRK_MIDI_MIDIMAN,
1898 .data = & (const struct snd_usb_midi_endpoint_info) {
1899 .out_cables = 0x01ff,
1905 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1906 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1907 .vendor_name = "M-Audio",
1908 .product_name = "MidiSport 8x8",
1909 .ifnum = QUIRK_ANY_INTERFACE,
1910 .type = QUIRK_MIDI_MIDIMAN,
1911 .data = & (const struct snd_usb_midi_endpoint_info) {
1912 .out_cables = 0x01ff,
1918 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1919 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1920 .vendor_name = "M-Audio",
1921 .product_name = "MidiSport 2x4",
1922 .ifnum = QUIRK_ANY_INTERFACE,
1923 .type = QUIRK_MIDI_MIDIMAN,
1924 .data = & (const struct snd_usb_midi_endpoint_info) {
1925 .out_cables = 0x000f,
1931 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1932 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1933 .vendor_name = "M-Audio",
1934 .product_name = "Quattro",
1935 .ifnum = QUIRK_ANY_INTERFACE,
1936 .type = QUIRK_COMPOSITE,
1937 .data = & (const struct snd_usb_audio_quirk[]) {
1939 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1940 * and share endpoints with the other interfaces.
1941 * Ignore them. The other interfaces can do 24 bits,
1942 * but captured samples are big-endian (see usbaudio.c).
1946 .type = QUIRK_IGNORE_INTERFACE
1950 .type = QUIRK_IGNORE_INTERFACE
1954 .type = QUIRK_IGNORE_INTERFACE
1958 .type = QUIRK_IGNORE_INTERFACE
1962 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1966 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1970 .type = QUIRK_IGNORE_INTERFACE
1974 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1978 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1982 .type = QUIRK_MIDI_MIDIMAN,
1983 .data = & (const struct snd_usb_midi_endpoint_info) {
1984 .out_cables = 0x0001,
1995 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1996 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1997 .vendor_name = "M-Audio",
1998 .product_name = "AudioPhile",
2000 .type = QUIRK_MIDI_MIDIMAN,
2001 .data = & (const struct snd_usb_midi_endpoint_info) {
2002 .out_cables = 0x0001,
2008 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
2009 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2010 .vendor_name = "M-Audio",
2011 .product_name = "Ozone",
2013 .type = QUIRK_MIDI_MIDIMAN,
2014 .data = & (const struct snd_usb_midi_endpoint_info) {
2015 .out_cables = 0x0001,
2021 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
2022 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2023 .vendor_name = "M-Audio",
2024 .product_name = "OmniStudio",
2025 .ifnum = QUIRK_ANY_INTERFACE,
2026 .type = QUIRK_COMPOSITE,
2027 .data = & (const struct snd_usb_audio_quirk[]) {
2030 .type = QUIRK_IGNORE_INTERFACE
2034 .type = QUIRK_IGNORE_INTERFACE
2038 .type = QUIRK_IGNORE_INTERFACE
2042 .type = QUIRK_IGNORE_INTERFACE
2046 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2050 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2054 .type = QUIRK_IGNORE_INTERFACE
2058 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2062 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2066 .type = QUIRK_MIDI_MIDIMAN,
2067 .data = & (const struct snd_usb_midi_endpoint_info) {
2068 .out_cables = 0x0001,
2079 USB_DEVICE(0x0763, 0x2019),
2080 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2081 /* .vendor_name = "M-Audio", */
2082 /* .product_name = "Ozone Academic", */
2083 .ifnum = QUIRK_ANY_INTERFACE,
2084 .type = QUIRK_COMPOSITE,
2085 .data = & (const struct snd_usb_audio_quirk[]) {
2088 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2092 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2096 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2100 .type = QUIRK_MIDI_MIDIMAN,
2101 .data = & (const struct snd_usb_midi_endpoint_info) {
2102 .out_cables = 0x0001,
2114 USB_DEVICE_VENDOR_SPEC(0x0763, 0x201a),
2117 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030),
2118 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2119 /* .vendor_name = "M-Audio", */
2120 /* .product_name = "Fast Track C400", */
2121 .ifnum = QUIRK_ANY_INTERFACE,
2122 .type = QUIRK_COMPOSITE,
2123 .data = &(const struct snd_usb_audio_quirk[]) {
2126 .type = QUIRK_AUDIO_STANDARD_MIXER,
2131 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2132 .data = &(const struct audioformat) {
2133 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2138 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2141 .rates = SNDRV_PCM_RATE_44100 |
2142 SNDRV_PCM_RATE_48000 |
2143 SNDRV_PCM_RATE_88200 |
2144 SNDRV_PCM_RATE_96000,
2148 .rate_table = (unsigned int[]) {
2149 44100, 48000, 88200, 96000
2157 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2158 .data = &(const struct audioformat) {
2159 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2164 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2167 .rates = SNDRV_PCM_RATE_44100 |
2168 SNDRV_PCM_RATE_48000 |
2169 SNDRV_PCM_RATE_88200 |
2170 SNDRV_PCM_RATE_96000,
2174 .rate_table = (unsigned int[]) {
2175 44100, 48000, 88200, 96000
2182 .ifnum = -1 /* Interface = 4 */
2188 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031),
2189 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2190 /* .vendor_name = "M-Audio", */
2191 /* .product_name = "Fast Track C600", */
2192 .ifnum = QUIRK_ANY_INTERFACE,
2193 .type = QUIRK_COMPOSITE,
2194 .data = &(const struct snd_usb_audio_quirk[]) {
2197 .type = QUIRK_AUDIO_STANDARD_MIXER,
2202 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2203 .data = &(const struct audioformat) {
2204 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2209 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2212 .rates = SNDRV_PCM_RATE_44100 |
2213 SNDRV_PCM_RATE_48000 |
2214 SNDRV_PCM_RATE_88200 |
2215 SNDRV_PCM_RATE_96000,
2219 .rate_table = (unsigned int[]) {
2220 44100, 48000, 88200, 96000
2228 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2229 .data = &(const struct audioformat) {
2230 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2235 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2238 .rates = SNDRV_PCM_RATE_44100 |
2239 SNDRV_PCM_RATE_48000 |
2240 SNDRV_PCM_RATE_88200 |
2241 SNDRV_PCM_RATE_96000,
2245 .rate_table = (unsigned int[]) {
2246 44100, 48000, 88200, 96000
2253 .ifnum = -1 /* Interface = 4 */
2259 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
2260 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2261 /* .vendor_name = "M-Audio", */
2262 /* .product_name = "Fast Track Ultra", */
2263 .ifnum = QUIRK_ANY_INTERFACE,
2264 .type = QUIRK_COMPOSITE,
2265 .data = & (const struct snd_usb_audio_quirk[]) {
2268 .type = QUIRK_AUDIO_STANDARD_MIXER,
2272 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2273 .data = & (const struct audioformat) {
2274 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2279 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2282 .rates = SNDRV_PCM_RATE_44100 |
2283 SNDRV_PCM_RATE_48000 |
2284 SNDRV_PCM_RATE_88200 |
2285 SNDRV_PCM_RATE_96000,
2289 .rate_table = (unsigned int[]) {
2290 44100, 48000, 88200, 96000
2296 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2297 .data = & (const struct audioformat) {
2298 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2303 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2306 .rates = SNDRV_PCM_RATE_44100 |
2307 SNDRV_PCM_RATE_48000 |
2308 SNDRV_PCM_RATE_88200 |
2309 SNDRV_PCM_RATE_96000,
2313 .rate_table = (unsigned int[]) {
2314 44100, 48000, 88200, 96000
2318 /* interface 3 (MIDI) is standard compliant */
2326 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
2327 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2328 /* .vendor_name = "M-Audio", */
2329 /* .product_name = "Fast Track Ultra 8R", */
2330 .ifnum = QUIRK_ANY_INTERFACE,
2331 .type = QUIRK_COMPOSITE,
2332 .data = & (const struct snd_usb_audio_quirk[]) {
2335 .type = QUIRK_AUDIO_STANDARD_MIXER,
2339 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2340 .data = & (const struct audioformat) {
2341 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2346 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2349 .rates = SNDRV_PCM_RATE_44100 |
2350 SNDRV_PCM_RATE_48000 |
2351 SNDRV_PCM_RATE_88200 |
2352 SNDRV_PCM_RATE_96000,
2356 .rate_table = (unsigned int[]) {
2357 44100, 48000, 88200, 96000
2363 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2364 .data = & (const struct audioformat) {
2365 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2370 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2373 .rates = SNDRV_PCM_RATE_44100 |
2374 SNDRV_PCM_RATE_48000 |
2375 SNDRV_PCM_RATE_88200 |
2376 SNDRV_PCM_RATE_96000,
2380 .rate_table = (unsigned int[]) {
2381 44100, 48000, 88200, 96000
2385 /* interface 3 (MIDI) is standard compliant */
2395 USB_DEVICE(0x07cf, 0x6801),
2396 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2397 .vendor_name = "Casio",
2398 .product_name = "PL-40R",
2400 .type = QUIRK_MIDI_YAMAHA
2404 /* this ID is used by several devices without a product ID */
2405 USB_DEVICE(0x07cf, 0x6802),
2406 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2407 .vendor_name = "Casio",
2408 .product_name = "Keyboard",
2410 .type = QUIRK_MIDI_YAMAHA
2414 /* Mark of the Unicorn devices */
2416 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2417 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
2418 USB_DEVICE_ID_MATCH_PRODUCT |
2419 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
2421 .idProduct = 0x0001,
2422 .bDeviceSubClass = 2,
2423 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2424 .vendor_name = "MOTU",
2425 .product_name = "Fastlane",
2426 .ifnum = QUIRK_ANY_INTERFACE,
2427 .type = QUIRK_COMPOSITE,
2428 .data = & (const struct snd_usb_audio_quirk[]) {
2431 .type = QUIRK_MIDI_RAW_BYTES
2435 .type = QUIRK_IGNORE_INTERFACE
2444 /* Emagic devices */
2446 USB_DEVICE(0x086a, 0x0001),
2447 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2448 .vendor_name = "Emagic",
2449 /* .product_name = "Unitor8", */
2451 .type = QUIRK_MIDI_EMAGIC,
2452 .data = & (const struct snd_usb_midi_endpoint_info) {
2453 .out_cables = 0x80ff,
2459 USB_DEVICE(0x086a, 0x0002),
2460 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2461 .vendor_name = "Emagic",
2462 /* .product_name = "AMT8", */
2464 .type = QUIRK_MIDI_EMAGIC,
2465 .data = & (const struct snd_usb_midi_endpoint_info) {
2466 .out_cables = 0x80ff,
2472 USB_DEVICE(0x086a, 0x0003),
2473 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2474 .vendor_name = "Emagic",
2475 /* .product_name = "MT4", */
2477 .type = QUIRK_MIDI_EMAGIC,
2478 .data = & (const struct snd_usb_midi_endpoint_info) {
2479 .out_cables = 0x800f,
2487 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
2488 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2489 .vendor_name = "KORG, Inc.",
2490 /* .product_name = "PANDORA PX5D", */
2492 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2497 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
2498 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2499 .vendor_name = "KORG, Inc.",
2500 /* .product_name = "ToneLab ST", */
2502 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2507 USB_DEVICE_VENDOR_SPEC(0x0944, 0x0204),
2508 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2509 .vendor_name = "KORG, Inc.",
2510 /* .product_name = "ToneLab EX", */
2512 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2518 USB_DEVICE(0x09e8, 0x0062),
2519 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2520 .vendor_name = "AKAI",
2521 .product_name = "MPD16",
2523 .type = QUIRK_MIDI_AKAI,
2528 /* Akai MPC Element */
2529 USB_DEVICE(0x09e8, 0x0021),
2530 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2531 .ifnum = QUIRK_ANY_INTERFACE,
2532 .type = QUIRK_COMPOSITE,
2533 .data = & (const struct snd_usb_audio_quirk[]) {
2536 .type = QUIRK_IGNORE_INTERFACE
2540 .type = QUIRK_MIDI_STANDARD_INTERFACE
2549 /* Steinberg devices */
2552 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x2040),
2553 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2554 .ifnum = QUIRK_ANY_INTERFACE,
2555 .type = QUIRK_COMPOSITE,
2556 .data = & (const struct snd_usb_audio_quirk[]) {
2559 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2563 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2567 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2571 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2572 .data = &(const struct snd_usb_midi_endpoint_info) {
2573 .out_cables = 0x0001,
2585 USB_DEVICE_VENDOR_SPEC(0x0a4e, 0x4040),
2586 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2587 .ifnum = QUIRK_ANY_INTERFACE,
2588 .type = QUIRK_COMPOSITE,
2589 .data = & (const struct snd_usb_audio_quirk[]) {
2592 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2596 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2600 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2604 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2605 .data = &(const struct snd_usb_midi_endpoint_info) {
2606 .out_cables = 0x0001,
2617 /* TerraTec devices */
2619 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2620 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2621 .vendor_name = "TerraTec",
2622 .product_name = "PHASE 26",
2624 .type = QUIRK_MIDI_STANDARD_INTERFACE
2628 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2629 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2630 .vendor_name = "TerraTec",
2631 .product_name = "PHASE 26",
2633 .type = QUIRK_MIDI_STANDARD_INTERFACE
2637 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2638 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2639 .vendor_name = "TerraTec",
2640 .product_name = "PHASE 26",
2642 .type = QUIRK_MIDI_STANDARD_INTERFACE
2646 USB_DEVICE(0x0ccd, 0x0028),
2647 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2648 .vendor_name = "TerraTec",
2649 .product_name = "Aureon5.1MkII",
2650 .ifnum = QUIRK_NO_INTERFACE
2654 USB_DEVICE(0x0ccd, 0x0035),
2655 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2656 .vendor_name = "Miditech",
2657 .product_name = "Play'n Roll",
2659 .type = QUIRK_MIDI_CME
2663 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2665 USB_DEVICE(0x103d, 0x0100),
2666 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2667 .vendor_name = "Stanton",
2668 .product_name = "ScratchAmp",
2669 .ifnum = QUIRK_NO_INTERFACE
2673 USB_DEVICE(0x103d, 0x0101),
2674 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2675 .vendor_name = "Stanton",
2676 .product_name = "ScratchAmp",
2677 .ifnum = QUIRK_NO_INTERFACE
2681 /* Novation EMS devices */
2683 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2684 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2685 .vendor_name = "Novation",
2686 .product_name = "ReMOTE Audio/XStation",
2688 .type = QUIRK_MIDI_NOVATION
2692 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2694 .vendor_name = "Novation",
2695 .product_name = "Speedio",
2697 .type = QUIRK_MIDI_NOVATION
2701 USB_DEVICE(0x1235, 0x000a),
2702 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2703 /* .vendor_name = "Novation", */
2704 /* .product_name = "Nocturn", */
2706 .type = QUIRK_MIDI_RAW_BYTES
2710 USB_DEVICE(0x1235, 0x000e),
2711 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2712 /* .vendor_name = "Novation", */
2713 /* .product_name = "Launchpad", */
2715 .type = QUIRK_MIDI_RAW_BYTES
2719 USB_DEVICE(0x1235, 0x0010),
2720 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2721 .vendor_name = "Focusrite",
2722 .product_name = "Saffire 6 USB",
2723 .ifnum = QUIRK_ANY_INTERFACE,
2724 .type = QUIRK_COMPOSITE,
2725 .data = (const struct snd_usb_audio_quirk[]) {
2728 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2729 .data = &(const struct audioformat) {
2730 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2735 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2737 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2738 .rates = SNDRV_PCM_RATE_44100 |
2739 SNDRV_PCM_RATE_48000,
2743 .rate_table = (unsigned int[]) {
2750 .type = QUIRK_MIDI_RAW_BYTES
2759 USB_DEVICE(0x1235, 0x0018),
2760 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2761 .vendor_name = "Novation",
2762 .product_name = "Twitch",
2763 .ifnum = QUIRK_ANY_INTERFACE,
2764 .type = QUIRK_COMPOSITE,
2765 .data = (const struct snd_usb_audio_quirk[]) {
2768 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2769 .data = & (const struct audioformat) {
2770 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2775 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2777 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2778 .rates = SNDRV_PCM_RATE_44100 |
2779 SNDRV_PCM_RATE_48000,
2783 .rate_table = (unsigned int[]) {
2790 .type = QUIRK_MIDI_RAW_BYTES
2799 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2800 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2801 .vendor_name = "Novation",
2802 .product_name = "ReMOTE25",
2804 .type = QUIRK_MIDI_NOVATION
2808 /* Access Music devices */
2810 /* VirusTI Desktop */
2811 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2812 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2813 .ifnum = QUIRK_ANY_INTERFACE,
2814 .type = QUIRK_COMPOSITE,
2815 .data = &(const struct snd_usb_audio_quirk[]) {
2818 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2819 .data = &(const struct snd_usb_midi_endpoint_info) {
2820 .out_cables = 0x0003,
2826 .type = QUIRK_IGNORE_INTERFACE
2837 /* aka. Serato Scratch Live DJ Box */
2838 USB_DEVICE(0x13e5, 0x0001),
2839 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2840 .vendor_name = "Rane",
2841 .product_name = "SL-1",
2842 .ifnum = QUIRK_NO_INTERFACE
2846 /* Native Instruments MK2 series */
2848 /* Komplete Audio 6 */
2849 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2851 .idProduct = 0x1000,
2854 /* Traktor Audio 6 */
2855 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2857 .idProduct = 0x1010,
2860 /* Traktor Audio 10 */
2861 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2863 .idProduct = 0x1020,
2866 /* QinHeng devices */
2868 USB_DEVICE(0x1a86, 0x752d),
2869 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2870 .vendor_name = "QinHeng",
2871 .product_name = "CH345",
2873 .type = QUIRK_MIDI_CH345
2877 /* KeithMcMillen Stringport */
2879 USB_DEVICE(0x1f38, 0x0001),
2880 .bInterfaceClass = USB_CLASS_AUDIO,
2883 /* Miditech devices */
2885 USB_DEVICE(0x4752, 0x0011),
2886 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2887 .vendor_name = "Miditech",
2888 .product_name = "Midistart-2",
2890 .type = QUIRK_MIDI_CME
2894 /* Central Music devices */
2896 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2897 USB_DEVICE(0x7104, 0x2202),
2898 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2900 .type = QUIRK_MIDI_CME
2905 * Auvitek au0828 devices with audio interface.
2906 * This should be kept in sync with drivers/media/usb/au0828/au0828-cards.c
2907 * Please notice that some drivers are DVB only, and don't need to be
2908 * here. That's the case, for example, of DVICO_FUSIONHDTV7.
2911 #define AU0828_DEVICE(vid, pid, vname, pname) { \
2914 .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
2915 USB_DEVICE_ID_MATCH_INT_CLASS | \
2916 USB_DEVICE_ID_MATCH_INT_SUBCLASS, \
2917 .bInterfaceClass = USB_CLASS_AUDIO, \
2918 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL, \
2919 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { \
2920 .vendor_name = vname, \
2921 .product_name = pname, \
2922 .ifnum = QUIRK_ANY_INTERFACE, \
2923 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2927 AU0828_DEVICE(0x2040, 0x7200, "Hauppauge", "HVR-950Q"),
2928 AU0828_DEVICE(0x2040, 0x7240, "Hauppauge", "HVR-850"),
2929 AU0828_DEVICE(0x2040, 0x7210, "Hauppauge", "HVR-950Q"),
2930 AU0828_DEVICE(0x2040, 0x7217, "Hauppauge", "HVR-950Q"),
2931 AU0828_DEVICE(0x2040, 0x721b, "Hauppauge", "HVR-950Q"),
2932 AU0828_DEVICE(0x2040, 0x721e, "Hauppauge", "HVR-950Q"),
2933 AU0828_DEVICE(0x2040, 0x721f, "Hauppauge", "HVR-950Q"),
2934 AU0828_DEVICE(0x2040, 0x7280, "Hauppauge", "HVR-950Q"),
2935 AU0828_DEVICE(0x0fd9, 0x0008, "Hauppauge", "HVR-950Q"),
2936 AU0828_DEVICE(0x2040, 0x7201, "Hauppauge", "HVR-950Q-MXL"),
2937 AU0828_DEVICE(0x2040, 0x7211, "Hauppauge", "HVR-950Q-MXL"),
2938 AU0828_DEVICE(0x2040, 0x7281, "Hauppauge", "HVR-950Q-MXL"),
2939 AU0828_DEVICE(0x05e1, 0x0480, "Hauppauge", "Woodbury"),
2940 AU0828_DEVICE(0x2040, 0x8200, "Hauppauge", "Woodbury"),
2941 AU0828_DEVICE(0x2040, 0x7260, "Hauppauge", "HVR-950Q"),
2942 AU0828_DEVICE(0x2040, 0x7213, "Hauppauge", "HVR-950Q"),
2943 AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
2945 /* Syntek STK1160 */
2947 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2948 USB_DEVICE_ID_MATCH_INT_CLASS |
2949 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2951 .idProduct = 0x0408,
2952 .bInterfaceClass = USB_CLASS_AUDIO,
2953 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
2954 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2955 .vendor_name = "Syntek",
2956 .product_name = "STK1160",
2957 .ifnum = QUIRK_ANY_INTERFACE,
2958 .type = QUIRK_AUDIO_ALIGN_TRANSFER
2962 /* Digidesign Mbox */
2964 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2965 USB_DEVICE(0x0dba, 0x1000),
2966 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2967 .vendor_name = "Digidesign",
2968 .product_name = "MBox",
2969 .ifnum = QUIRK_ANY_INTERFACE,
2970 .type = QUIRK_COMPOSITE,
2971 .data = (const struct snd_usb_audio_quirk[]){
2974 .type = QUIRK_AUDIO_STANDARD_MIXER,
2978 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2979 .data = &(const struct audioformat) {
2980 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
2987 .ep_attr = USB_ENDPOINT_XFER_ISOC |
2988 USB_ENDPOINT_SYNC_SYNC,
2989 .maxpacksize = 0x130,
2990 .rates = SNDRV_PCM_RATE_48000,
2994 .rate_table = (unsigned int[]) {
3001 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3002 .data = &(const struct audioformat) {
3003 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3010 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3011 USB_ENDPOINT_SYNC_ASYNC,
3012 .maxpacksize = 0x130,
3013 .rates = SNDRV_PCM_RATE_48000,
3017 .rate_table = (unsigned int[]) {
3029 /* DIGIDESIGN MBOX 2 */
3031 USB_DEVICE(0x0dba, 0x3000),
3032 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3033 .vendor_name = "Digidesign",
3034 .product_name = "Mbox 2",
3035 .ifnum = QUIRK_ANY_INTERFACE,
3036 .type = QUIRK_COMPOSITE,
3037 .data = (const struct snd_usb_audio_quirk[]) {
3040 .type = QUIRK_IGNORE_INTERFACE
3044 .type = QUIRK_IGNORE_INTERFACE
3048 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3049 .data = &(const struct audioformat) {
3050 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3057 .ep_attr = USB_ENDPOINT_SYNC_ASYNC,
3058 .rates = SNDRV_PCM_RATE_48000,
3062 .rate_table = (unsigned int[]) {
3069 .type = QUIRK_IGNORE_INTERFACE
3073 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3074 .data = &(const struct audioformat) {
3075 .formats = SNDRV_PCM_FMTBIT_S24_3BE,
3080 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3082 .ep_attr = USB_ENDPOINT_SYNC_SYNC,
3083 .rates = SNDRV_PCM_RATE_48000,
3087 .rate_table = (unsigned int[]) {
3094 .type = QUIRK_IGNORE_INTERFACE
3098 .type = QUIRK_MIDI_MIDIMAN,
3099 .data = &(const struct snd_usb_midi_endpoint_info) {
3101 .out_cables = 0x0001,
3103 .in_interval = 0x01,
3114 /* Tascam US122 MKII - playback-only support */
3115 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
3117 .idProduct = 0x8021,
3118 .bInterfaceClass = USB_CLASS_AUDIO,
3119 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3120 .vendor_name = "TASCAM",
3121 .product_name = "US122 MKII",
3122 .ifnum = QUIRK_ANY_INTERFACE,
3123 .type = QUIRK_COMPOSITE,
3124 .data = (const struct snd_usb_audio_quirk[]) {
3127 .type = QUIRK_IGNORE_INTERFACE
3131 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3132 .data = &(const struct audioformat) {
3133 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3138 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3140 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3141 .rates = SNDRV_PCM_RATE_44100 |
3142 SNDRV_PCM_RATE_48000 |
3143 SNDRV_PCM_RATE_88200 |
3144 SNDRV_PCM_RATE_96000,
3148 .rate_table = (unsigned int[]) {
3149 44100, 48000, 88200, 96000
3160 /* Microsoft XboxLive Headset/Xbox Communicator */
3162 USB_DEVICE(0x045e, 0x0283),
3163 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3164 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3165 .vendor_name = "Microsoft",
3166 .product_name = "XboxLive Headset/Xbox Communicator",
3167 .ifnum = QUIRK_ANY_INTERFACE,
3168 .type = QUIRK_COMPOSITE,
3169 .data = &(const struct snd_usb_audio_quirk[]) {
3173 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3174 .data = &(const struct audioformat) {
3175 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3183 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3191 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3192 .data = &(const struct audioformat) {
3193 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3201 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3215 USB_DEVICE(0x200c, 0x100b),
3216 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3217 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3218 .ifnum = QUIRK_ANY_INTERFACE,
3219 .type = QUIRK_COMPOSITE,
3220 .data = &(const struct snd_usb_audio_quirk[]) {
3223 .type = QUIRK_AUDIO_STANDARD_MIXER,
3227 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3228 .data = &(const struct audioformat) {
3229 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3234 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
3236 .ep_attr = USB_ENDPOINT_SYNC_ADAPTIVE,
3237 .rates = SNDRV_PCM_RATE_44100 |
3238 SNDRV_PCM_RATE_48000,
3242 .rate_table = (unsigned int[]) {
3256 * ZOOM R16/24 in audio interface mode.
3257 * Playback requires an extra four byte LE length indicator
3258 * at the start of each isochronous packet. This quirk is
3259 * enabled in create_standard_audio_quirk().
3261 USB_DEVICE(0x1686, 0x00dd),
3262 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3263 .ifnum = QUIRK_ANY_INTERFACE,
3264 .type = QUIRK_COMPOSITE,
3265 .data = (const struct snd_usb_audio_quirk[]) {
3269 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3274 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3279 .type = QUIRK_MIDI_STANDARD_INTERFACE
3290 * Some USB MIDI devices don't have an audio control interface,
3291 * so we have to grab MIDI streaming interfaces here.
3293 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
3294 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3295 .bInterfaceClass = USB_CLASS_AUDIO,
3296 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
3297 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3298 .ifnum = QUIRK_ANY_INTERFACE,
3299 .type = QUIRK_MIDI_STANDARD_INTERFACE
3305 * The original product_name is "USB Sound Device", however this name
3306 * is also used by the CM106 based cards, so make it unique.
3308 USB_DEVICE(0x0d8c, 0x0103),
3309 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3310 .product_name = "Audio Advantage MicroII",
3311 .ifnum = QUIRK_NO_INTERFACE
3315 /* disabled due to regression for other devices;
3316 * see https://bugzilla.kernel.org/show_bug.cgi?id=199905
3321 * Nura's first gen headphones use Cambridge Silicon Radio's vendor
3322 * ID, but it looks like the product ID actually is only for Nura.
3323 * The capture interface does not work at all (even on Windows),
3324 * and only the 48 kHz sample rate works for the playback interface.
3326 USB_DEVICE(0x0a12, 0x1243),
3327 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3328 .ifnum = QUIRK_ANY_INTERFACE,
3329 .type = QUIRK_COMPOSITE,
3330 .data = (const struct snd_usb_audio_quirk[]) {
3333 .type = QUIRK_AUDIO_STANDARD_MIXER,
3338 .type = QUIRK_IGNORE_INTERFACE,
3343 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3344 .data = &(const struct audioformat) {
3345 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3350 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3351 UAC_EP_CS_ATTR_SAMPLE_RATE,
3353 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3354 .rates = SNDRV_PCM_RATE_48000,
3358 .rate_table = (unsigned int[]) {
3369 #endif /* disabled */
3373 * Bower's & Wilkins PX headphones only support the 48 kHz sample rate
3374 * even though it advertises more. The capture interface doesn't work
3377 USB_DEVICE(0x19b5, 0x0021),
3378 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3379 .ifnum = QUIRK_ANY_INTERFACE,
3380 .type = QUIRK_COMPOSITE,
3381 .data = (const struct snd_usb_audio_quirk[]) {
3384 .type = QUIRK_AUDIO_STANDARD_MIXER,
3389 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3390 .data = &(const struct audioformat) {
3391 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3396 .attributes = UAC_EP_CS_ATTR_FILL_MAX |
3397 UAC_EP_CS_ATTR_SAMPLE_RATE,
3399 .ep_attr = USB_ENDPOINT_XFER_ISOC,
3400 .rates = SNDRV_PCM_RATE_48000,
3404 .rate_table = (unsigned int[]) {
3415 /* Dell WD15 Dock */
3417 USB_DEVICE(0x0bda, 0x4014),
3418 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3419 .vendor_name = "Dell",
3420 .product_name = "WD15 Dock",
3421 .profile_name = "Dell-WD15-Dock",
3422 .ifnum = QUIRK_NO_INTERFACE
3425 /* Dell WD19 Dock */
3427 USB_DEVICE(0x0bda, 0x402e),
3428 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3429 .vendor_name = "Dell",
3430 .product_name = "WD19 Dock",
3431 .profile_name = "Dell-WD15-Dock",
3432 .ifnum = QUIRK_ANY_INTERFACE,
3433 .type = QUIRK_SETUP_FMT_AFTER_RESUME
3439 * PCM is 4 channels out, 2 dummy channels in @ 44.1 fixed
3440 * The feedback for the output is the dummy input.
3442 USB_DEVICE_VENDOR_SPEC(0x2b73, 0x000e),
3443 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3444 .ifnum = QUIRK_ANY_INTERFACE,
3445 .type = QUIRK_COMPOSITE,
3446 .data = (const struct snd_usb_audio_quirk[]) {
3449 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3450 .data = &(const struct audioformat) {
3451 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3457 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3458 USB_ENDPOINT_SYNC_ASYNC,
3459 .rates = SNDRV_PCM_RATE_44100,
3463 .rate_table = (unsigned int[]) { 44100 }
3468 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3469 .data = &(const struct audioformat) {
3470 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
3476 .ep_attr = USB_ENDPOINT_XFER_ISOC|
3477 USB_ENDPOINT_SYNC_ASYNC|
3478 USB_ENDPOINT_USAGE_IMPLICIT_FB,
3479 .rates = SNDRV_PCM_RATE_44100,
3483 .rate_table = (unsigned int[]) { 44100 }
3493 #define ALC1220_VB_DESKTOP(vend, prod) { \
3494 USB_DEVICE(vend, prod), \
3495 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
3496 .vendor_name = "Realtek", \
3497 .product_name = "ALC1220-VB-DT", \
3498 .profile_name = "Realtek-ALC1220-VB-Desktop", \
3499 .ifnum = QUIRK_NO_INTERFACE \
3502 ALC1220_VB_DESKTOP(0x0414, 0xa002), /* Gigabyte TRX40 Aorus Pro WiFi */
3503 ALC1220_VB_DESKTOP(0x0db0, 0x0d64), /* MSI TRX40 Creator */
3504 ALC1220_VB_DESKTOP(0x0db0, 0x543d), /* MSI TRX40 */
3505 ALC1220_VB_DESKTOP(0x26ce, 0x0a01), /* Asrock TRX40 Creator */
3506 #undef ALC1220_VB_DESKTOP
3508 /* Two entries for Gigabyte TRX40 Aorus Master:
3509 * TRX40 Aorus Master has two USB-audio devices, one for the front headphone
3510 * with ESS SABRE9218 DAC chip, while another for the rest I/O (the rear
3511 * panel and the front mic) with Realtek ALC1220-VB.
3512 * Here we provide two distinct names for making UCM profiles easier.
3515 USB_DEVICE(0x0414, 0xa000),
3516 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3517 .vendor_name = "Gigabyte",
3518 .product_name = "Aorus Master Front Headphone",
3519 .profile_name = "Gigabyte-Aorus-Master-Front-Headphone",
3520 .ifnum = QUIRK_NO_INTERFACE
3524 USB_DEVICE(0x0414, 0xa001),
3525 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
3526 .vendor_name = "Gigabyte",
3527 .product_name = "Aorus Master Main Audio",
3528 .profile_name = "Gigabyte-Aorus-Master-Main-Audio",
3529 .ifnum = QUIRK_NO_INTERFACE
3534 * MacroSilicon MS2100/MS2106 based AV capture cards
3536 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3537 * They also need QUIRK_AUDIO_ALIGN_TRANSFER, which makes one wonder if
3538 * they pretend to be 96kHz mono as a workaround for stereo being broken
3541 * They also have an issue with initial stream alignment that causes the
3542 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3545 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
3546 USB_DEVICE_ID_MATCH_INT_CLASS |
3547 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3549 .idProduct = 0x0021,
3550 .bInterfaceClass = USB_CLASS_AUDIO,
3551 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
3552 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3553 .vendor_name = "MacroSilicon",
3554 .product_name = "MS210x",
3555 .ifnum = QUIRK_ANY_INTERFACE,
3556 .type = QUIRK_COMPOSITE,
3557 .data = &(const struct snd_usb_audio_quirk[]) {
3560 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
3564 .type = QUIRK_AUDIO_STANDARD_MIXER,
3568 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3569 .data = &(const struct audioformat) {
3570 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3577 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3578 USB_ENDPOINT_SYNC_ASYNC,
3579 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3592 * MacroSilicon MS2109 based HDMI capture cards
3594 * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
3595 * They also need QUIRK_AUDIO_ALIGN_TRANSFER, which makes one wonder if
3596 * they pretend to be 96kHz mono as a workaround for stereo being broken
3599 * They also have an issue with initial stream alignment that causes the
3600 * channels to be swapped and out of phase, which is dealt with in quirks.c.
3603 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
3604 USB_DEVICE_ID_MATCH_INT_CLASS |
3605 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
3607 .idProduct = 0x2109,
3608 .bInterfaceClass = USB_CLASS_AUDIO,
3609 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
3610 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3611 .vendor_name = "MacroSilicon",
3612 .product_name = "MS2109",
3613 .ifnum = QUIRK_ANY_INTERFACE,
3614 .type = QUIRK_COMPOSITE,
3615 .data = &(const struct snd_usb_audio_quirk[]) {
3618 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
3622 .type = QUIRK_AUDIO_STANDARD_MIXER,
3626 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3627 .data = &(const struct audioformat) {
3628 .formats = SNDRV_PCM_FMTBIT_S16_LE,
3635 .ep_attr = USB_ENDPOINT_XFER_ISOC |
3636 USB_ENDPOINT_SYNC_ASYNC,
3637 .rates = SNDRV_PCM_RATE_CONTINUOUS,
3651 * Change order of interfaces loaded
3653 USB_DEVICE(0x1395, 0x0300),
3654 .bInterfaceClass = USB_CLASS_PER_INTERFACE,
3655 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3656 .ifnum = QUIRK_ANY_INTERFACE,
3657 .type = QUIRK_COMPOSITE,
3658 .data = &(const struct snd_usb_audio_quirk[]) {
3662 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3667 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3672 .type = QUIRK_AUDIO_STANDARD_INTERFACE
3681 /* Advanced modes of the Mythware XA001AU.
3682 * For the standard mode, Mythware XA001AU has ID ffad:a001
3684 USB_DEVICE_VENDOR_SPEC(0xffad, 0xa001),
3685 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
3686 .vendor_name = "Mythware",
3687 .product_name = "XA001AU",
3688 .ifnum = QUIRK_ANY_INTERFACE,
3689 .type = QUIRK_COMPOSITE,
3690 .data = (const struct snd_usb_audio_quirk[]) {
3693 .type = QUIRK_IGNORE_INTERFACE,
3697 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3701 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3710 #undef USB_DEVICE_VENDOR_SPEC