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
46 #define YAMAHA_DEVICE(id, name) { \
47 USB_DEVICE(0x0499, id), \
48 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
49 .vendor_name = "Yamaha", \
50 .product_name = name, \
51 .ifnum = QUIRK_ANY_INTERFACE, \
52 .type = QUIRK_MIDI_YAMAHA \
55 #define YAMAHA_INTERFACE(id, intf, name) { \
56 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
57 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { \
58 .vendor_name = "Yamaha", \
59 .product_name = name, \
61 .type = QUIRK_MIDI_YAMAHA \
64 YAMAHA_DEVICE(0x1000, "UX256"),
65 YAMAHA_DEVICE(0x1001, "MU1000"),
66 YAMAHA_DEVICE(0x1002, "MU2000"),
67 YAMAHA_DEVICE(0x1003, "MU500"),
68 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
69 YAMAHA_DEVICE(0x1005, "MOTIF6"),
70 YAMAHA_DEVICE(0x1006, "MOTIF7"),
71 YAMAHA_DEVICE(0x1007, "MOTIF8"),
72 YAMAHA_DEVICE(0x1008, "UX96"),
73 YAMAHA_DEVICE(0x1009, "UX16"),
74 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
75 YAMAHA_DEVICE(0x100e, "S08"),
76 YAMAHA_DEVICE(0x100f, "CLP-150"),
77 YAMAHA_DEVICE(0x1010, "CLP-170"),
78 YAMAHA_DEVICE(0x1011, "P-250"),
79 YAMAHA_DEVICE(0x1012, "TYROS"),
80 YAMAHA_DEVICE(0x1013, "PF-500"),
81 YAMAHA_DEVICE(0x1014, "S90"),
82 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
83 YAMAHA_DEVICE(0x1017, "CVP-204"),
84 YAMAHA_DEVICE(0x1018, "CVP-206"),
85 YAMAHA_DEVICE(0x1019, "CVP-208"),
86 YAMAHA_DEVICE(0x101a, "CVP-210"),
87 YAMAHA_DEVICE(0x101b, "PSR-1100"),
88 YAMAHA_DEVICE(0x101c, "PSR-2100"),
89 YAMAHA_DEVICE(0x101e, "PSR-K1"),
90 YAMAHA_DEVICE(0x1020, "EZ-250i"),
91 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
92 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
93 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
94 YAMAHA_DEVICE(0x1024, "CVP-301"),
95 YAMAHA_DEVICE(0x1025, "CVP-303"),
96 YAMAHA_DEVICE(0x1026, "CVP-305"),
97 YAMAHA_DEVICE(0x1027, "CVP-307"),
98 YAMAHA_DEVICE(0x1028, "CVP-309"),
99 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
100 YAMAHA_DEVICE(0x102a, "PSR-1500"),
101 YAMAHA_DEVICE(0x102b, "PSR-3000"),
102 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
103 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
104 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
105 YAMAHA_DEVICE(0x1032, "DGX-305"),
106 YAMAHA_DEVICE(0x1033, "DGX-505"),
107 YAMAHA_DEVICE(0x1034, NULL
),
108 YAMAHA_DEVICE(0x1035, NULL
),
109 YAMAHA_DEVICE(0x1036, NULL
),
110 YAMAHA_DEVICE(0x1037, NULL
),
111 YAMAHA_DEVICE(0x1038, NULL
),
112 YAMAHA_DEVICE(0x1039, NULL
),
113 YAMAHA_DEVICE(0x103a, NULL
),
114 YAMAHA_DEVICE(0x103b, NULL
),
115 YAMAHA_DEVICE(0x103c, NULL
),
116 YAMAHA_DEVICE(0x2000, "DGP-7"),
117 YAMAHA_DEVICE(0x2001, "DGP-5"),
118 YAMAHA_DEVICE(0x2002, NULL
),
119 YAMAHA_DEVICE(0x5000, "CS1D"),
120 YAMAHA_DEVICE(0x5001, "DSP1D"),
121 YAMAHA_DEVICE(0x5002, "DME32"),
122 YAMAHA_DEVICE(0x5003, "DM2000"),
123 YAMAHA_DEVICE(0x5004, "02R96"),
124 YAMAHA_DEVICE(0x5005, "ACU16-C"),
125 YAMAHA_DEVICE(0x5006, "NHB32-C"),
126 YAMAHA_DEVICE(0x5007, "DM1000"),
127 YAMAHA_DEVICE(0x5008, "01V96"),
128 YAMAHA_DEVICE(0x500a, "PM5D"),
129 YAMAHA_DEVICE(0x500b, "DME64N"),
130 YAMAHA_DEVICE(0x500c, "DME24N"),
131 YAMAHA_DEVICE(0x7000, "DTX"),
132 YAMAHA_DEVICE(0x7010, "UB99"),
134 #undef YAMAHA_INTERFACE
137 * Roland/RolandED/Edirol/BOSS devices
140 USB_DEVICE(0x0582, 0x0000),
141 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
142 .vendor_name
= "Roland",
143 .product_name
= "UA-100",
144 .ifnum
= QUIRK_ANY_INTERFACE
,
145 .type
= QUIRK_COMPOSITE
,
146 .data
= (const snd_usb_audio_quirk_t
[]) {
149 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
150 .data
= & (const struct audioformat
) {
151 .format
= SNDRV_PCM_FORMAT_S16_LE
,
159 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
166 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
167 .data
= & (const struct audioformat
) {
168 .format
= SNDRV_PCM_FORMAT_S16_LE
,
173 .attributes
= EP_CS_ATTR_FILL_MAX
,
176 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
183 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
184 .data
= & (const snd_usb_midi_endpoint_info_t
) {
185 .out_cables
= 0x0007,
196 USB_DEVICE(0x0582, 0x0002),
197 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
198 .vendor_name
= "EDIROL",
199 .product_name
= "UM-4",
201 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
202 .data
= & (const snd_usb_midi_endpoint_info_t
) {
203 .out_cables
= 0x000f,
209 USB_DEVICE(0x0582, 0x0003),
210 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
211 .vendor_name
= "Roland",
212 .product_name
= "SC-8850",
214 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
215 .data
= & (const snd_usb_midi_endpoint_info_t
) {
216 .out_cables
= 0x003f,
222 USB_DEVICE(0x0582, 0x0004),
223 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
224 .vendor_name
= "Roland",
225 .product_name
= "U-8",
227 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
228 .data
= & (const snd_usb_midi_endpoint_info_t
) {
229 .out_cables
= 0x0005,
235 USB_DEVICE(0x0582, 0x0005),
236 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
237 .vendor_name
= "EDIROL",
238 .product_name
= "UM-2",
240 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
241 .data
= & (const snd_usb_midi_endpoint_info_t
) {
242 .out_cables
= 0x0003,
248 USB_DEVICE(0x0582, 0x0007),
249 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
250 .vendor_name
= "Roland",
251 .product_name
= "SC-8820",
253 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
254 .data
= & (const snd_usb_midi_endpoint_info_t
) {
255 .out_cables
= 0x0013,
261 USB_DEVICE(0x0582, 0x0008),
262 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
263 .vendor_name
= "Roland",
264 .product_name
= "PC-300",
266 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
267 .data
= & (const snd_usb_midi_endpoint_info_t
) {
268 .out_cables
= 0x0001,
274 USB_DEVICE(0x0582, 0x0009),
275 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
276 .vendor_name
= "EDIROL",
277 .product_name
= "UM-1",
279 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
280 .data
= & (const snd_usb_midi_endpoint_info_t
) {
281 .out_cables
= 0x0001,
287 USB_DEVICE(0x0582, 0x000b),
288 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
289 .vendor_name
= "Roland",
290 .product_name
= "SK-500",
292 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
293 .data
= & (const snd_usb_midi_endpoint_info_t
) {
294 .out_cables
= 0x0013,
300 /* thanks to Emiliano Grilli <emillo@libero.it>
301 * for helping researching this data */
302 USB_DEVICE(0x0582, 0x000c),
303 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
304 .vendor_name
= "Roland",
305 .product_name
= "SC-D70",
306 .ifnum
= QUIRK_ANY_INTERFACE
,
307 .type
= QUIRK_COMPOSITE
,
308 .data
= (const snd_usb_audio_quirk_t
[]) {
311 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
312 .data
= & (const struct audioformat
) {
313 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
321 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
328 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
329 .data
= & (const struct audioformat
) {
330 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
338 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
345 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
346 .data
= & (const snd_usb_midi_endpoint_info_t
) {
347 .out_cables
= 0x0007,
358 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
359 * If the advanced mode switch at the back of the unit is off, the
360 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
361 * but offers only 16-bit PCM.
362 * In advanced mode, the UA-5 will output S24_3LE samples (two
363 * channels) at the rate indicated on the front switch, including
364 * the 96kHz sample rate.
366 USB_DEVICE(0x0582, 0x0010),
367 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
368 .vendor_name
= "EDIROL",
369 .product_name
= "UA-5",
370 .ifnum
= QUIRK_ANY_INTERFACE
,
371 .type
= QUIRK_COMPOSITE
,
372 .data
= (const snd_usb_audio_quirk_t
[]) {
375 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
379 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
388 USB_DEVICE(0x0582, 0x0012),
389 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
390 .vendor_name
= "Roland",
391 .product_name
= "XV-5050",
393 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
394 .data
= & (const snd_usb_midi_endpoint_info_t
) {
395 .out_cables
= 0x0001,
401 USB_DEVICE(0x0582, 0x0014),
402 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
403 .vendor_name
= "EDIROL",
404 .product_name
= "UM-880",
406 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
407 .data
= & (const snd_usb_midi_endpoint_info_t
) {
408 .out_cables
= 0x01ff,
414 USB_DEVICE(0x0582, 0x0016),
415 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
416 .vendor_name
= "EDIROL",
417 .product_name
= "SD-90",
419 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
420 .data
= & (const snd_usb_midi_endpoint_info_t
) {
421 .out_cables
= 0x000f,
427 USB_DEVICE(0x0582, 0x001b),
428 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
429 .vendor_name
= "Roland",
430 .product_name
= "MMP-2",
432 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
433 .data
= & (const snd_usb_midi_endpoint_info_t
) {
434 .out_cables
= 0x0001,
440 USB_DEVICE(0x0582, 0x001d),
441 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
442 .vendor_name
= "Roland",
443 .product_name
= "V-SYNTH",
445 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
446 .data
= & (const snd_usb_midi_endpoint_info_t
) {
447 .out_cables
= 0x0001,
453 USB_DEVICE(0x0582, 0x0023),
454 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
455 .vendor_name
= "EDIROL",
456 .product_name
= "UM-550",
458 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
459 .data
= & (const snd_usb_midi_endpoint_info_t
) {
460 .out_cables
= 0x003f,
467 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
468 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
471 USB_DEVICE(0x0582, 0x0025),
472 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
473 .vendor_name
= "EDIROL",
474 .product_name
= "UA-20",
475 .ifnum
= QUIRK_ANY_INTERFACE
,
476 .type
= QUIRK_COMPOSITE
,
477 .data
= (const snd_usb_audio_quirk_t
[]) {
480 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
484 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
488 .type
= QUIRK_MIDI_STANDARD_INTERFACE
497 USB_DEVICE(0x0582, 0x0027),
498 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
499 .vendor_name
= "EDIROL",
500 .product_name
= "SD-20",
502 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
503 .data
= & (const snd_usb_midi_endpoint_info_t
) {
504 .out_cables
= 0x0003,
510 USB_DEVICE(0x0582, 0x0029),
511 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
512 .vendor_name
= "EDIROL",
513 .product_name
= "SD-80",
515 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
516 .data
= & (const snd_usb_midi_endpoint_info_t
) {
517 .out_cables
= 0x000f,
523 * This quirk is for the "Advanced" modes of the Edirol UA-700.
524 * If the sample format switch is not in an advanced setting, the
525 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
526 * but offers only 16-bit PCM and no MIDI.
528 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
529 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
530 .vendor_name
= "EDIROL",
531 .product_name
= "UA-700",
532 .ifnum
= QUIRK_ANY_INTERFACE
,
533 .type
= QUIRK_COMPOSITE
,
534 .data
= (const snd_usb_audio_quirk_t
[]) {
537 .type
= QUIRK_AUDIO_EDIROL_UA700
541 .type
= QUIRK_AUDIO_EDIROL_UA700
545 .type
= QUIRK_AUDIO_EDIROL_UA700
554 USB_DEVICE(0x0582, 0x002d),
555 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
556 .vendor_name
= "Roland",
557 .product_name
= "XV-2020",
559 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
560 .data
= & (const snd_usb_midi_endpoint_info_t
) {
561 .out_cables
= 0x0001,
567 USB_DEVICE(0x0582, 0x002f),
568 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
569 .vendor_name
= "Roland",
570 .product_name
= "VariOS",
572 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
573 .data
= & (const snd_usb_midi_endpoint_info_t
) {
574 .out_cables
= 0x0007,
580 USB_DEVICE(0x0582, 0x0033),
581 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
582 .vendor_name
= "EDIROL",
583 .product_name
= "PCR",
585 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
586 .data
= & (const snd_usb_midi_endpoint_info_t
) {
587 .out_cables
= 0x0003,
593 USB_DEVICE(0x0582, 0x0037),
594 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
595 .vendor_name
= "Roland",
596 .product_name
= "Digital Piano",
598 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
599 .data
= & (const snd_usb_midi_endpoint_info_t
) {
600 .out_cables
= 0x0001,
606 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
607 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
608 .vendor_name
= "BOSS",
609 .product_name
= "GS-10",
611 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
612 .data
= & (const snd_usb_midi_endpoint_info_t
) {
613 .out_cables
= 0x0003,
619 USB_DEVICE(0x0582, 0x0040),
620 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
621 .vendor_name
= "Roland",
622 .product_name
= "GI-20",
624 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
625 .data
= & (const snd_usb_midi_endpoint_info_t
) {
626 .out_cables
= 0x0001,
632 USB_DEVICE(0x0582, 0x0044),
633 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
634 .vendor_name
= "Roland",
635 .product_name
= "UA-1000",
636 .ifnum
= QUIRK_ANY_INTERFACE
,
637 .type
= QUIRK_COMPOSITE
,
638 .data
= (const snd_usb_audio_quirk_t
[]) {
641 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
642 .data
= & (const struct audioformat
) {
643 .format
= SNDRV_PCM_FORMAT_S24
,
651 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
658 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
659 .data
= & (const struct audioformat
) {
660 .format
= SNDRV_PCM_FORMAT_S24
,
668 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
675 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
676 .data
= & (const snd_usb_midi_endpoint_info_t
) {
677 .out_cables
= 0x0003,
688 USB_DEVICE(0x0582, 0x0048),
689 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
690 .vendor_name
= "EDIROL",
691 .product_name
= "UR-80",
693 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
694 .data
= & (const snd_usb_midi_endpoint_info_t
) {
695 .out_cables
= 0x0003,
701 USB_DEVICE(0x0582, 0x004d),
702 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
703 .vendor_name
= "EDIROL",
704 .product_name
= "PCR-A",
706 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
707 .data
= & (const snd_usb_midi_endpoint_info_t
) {
708 .out_cables
= 0x0003,
714 USB_DEVICE(0x0582, 0x0065),
715 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
716 .vendor_name
= "EDIROL",
717 .product_name
= "PCR-1",
719 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
720 .data
= & (const snd_usb_midi_endpoint_info_t
) {
721 .out_cables
= 0x0001,
728 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
729 * is standard compliant, but has only 16-bit PCM.
731 USB_DEVICE(0x0582, 0x0050),
732 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
733 .vendor_name
= "EDIROL",
734 .product_name
= "UA-3FX",
735 .ifnum
= QUIRK_ANY_INTERFACE
,
736 .type
= QUIRK_COMPOSITE
,
737 .data
= (const snd_usb_audio_quirk_t
[]) {
740 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
744 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
753 USB_DEVICE(0x0582, 0x0052),
754 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
755 .vendor_name
= "EDIROL",
756 .product_name
= "UM-1SX",
758 .type
= QUIRK_MIDI_STANDARD_INTERFACE
762 /* Midiman/M-Audio devices */
764 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
765 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
766 .vendor_name
= "M-Audio",
767 .product_name
= "MidiSport 2x2",
768 .ifnum
= QUIRK_ANY_INTERFACE
,
769 .type
= QUIRK_MIDI_MIDIMAN
,
770 .data
= & (const snd_usb_midi_endpoint_info_t
) {
771 .out_cables
= 0x0003,
777 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
778 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
779 .vendor_name
= "M-Audio",
780 .product_name
= "MidiSport 1x1",
781 .ifnum
= QUIRK_ANY_INTERFACE
,
782 .type
= QUIRK_MIDI_MIDIMAN
,
783 .data
= & (const snd_usb_midi_endpoint_info_t
) {
784 .out_cables
= 0x0001,
790 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
791 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
792 .vendor_name
= "M-Audio",
793 .product_name
= "Keystation",
794 .ifnum
= QUIRK_ANY_INTERFACE
,
795 .type
= QUIRK_MIDI_MIDIMAN
,
796 .data
= & (const snd_usb_midi_endpoint_info_t
) {
797 .out_cables
= 0x0001,
803 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
804 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
805 .vendor_name
= "M-Audio",
806 .product_name
= "MidiSport 4x4",
807 .ifnum
= QUIRK_ANY_INTERFACE
,
808 .type
= QUIRK_MIDI_MIDIMAN
,
809 .data
= & (const snd_usb_midi_endpoint_info_t
) {
810 .out_cables
= 0x000f,
817 * For hardware revision 1.05; in the later revisions (1.10 and
818 * 1.21), 0x1031 is the ID for the device without firmware.
819 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
821 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
822 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
823 .vendor_name
= "M-Audio",
824 .product_name
= "MidiSport 8x8",
825 .ifnum
= QUIRK_ANY_INTERFACE
,
826 .type
= QUIRK_MIDI_MIDIMAN
,
827 .data
= & (const snd_usb_midi_endpoint_info_t
) {
828 .out_cables
= 0x01ff,
834 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
835 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
836 .vendor_name
= "M-Audio",
837 .product_name
= "MidiSport 8x8",
838 .ifnum
= QUIRK_ANY_INTERFACE
,
839 .type
= QUIRK_MIDI_MIDIMAN
,
840 .data
= & (const snd_usb_midi_endpoint_info_t
) {
841 .out_cables
= 0x01ff,
847 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
848 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
849 .vendor_name
= "M-Audio",
850 .product_name
= "MidiSport 2x4",
851 .ifnum
= QUIRK_ANY_INTERFACE
,
852 .type
= QUIRK_MIDI_MIDIMAN
,
853 .data
= & (const snd_usb_midi_endpoint_info_t
) {
854 .out_cables
= 0x000f,
860 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
861 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
862 .vendor_name
= "M-Audio",
863 .product_name
= "Quattro",
864 .ifnum
= QUIRK_ANY_INTERFACE
,
865 .type
= QUIRK_COMPOSITE
,
866 .data
= & (const snd_usb_audio_quirk_t
[]) {
868 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
869 * and share endpoints with the other interfaces.
870 * Ignore them. The other interfaces can do 24 bits,
871 * but captured samples are big-endian (see usbaudio.c).
875 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
879 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
883 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
887 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
891 .type
= QUIRK_MIDI_MIDIMAN
,
892 .data
= & (const snd_usb_midi_endpoint_info_t
) {
893 .out_cables
= 0x0001,
904 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
905 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
906 .vendor_name
= "M-Audio",
907 .product_name
= "AudioPhile",
909 .type
= QUIRK_MIDI_MIDIMAN
,
910 .data
= & (const snd_usb_midi_endpoint_info_t
) {
911 .out_cables
= 0x0001,
917 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
918 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
919 .vendor_name
= "M-Audio",
920 .product_name
= "Ozone",
922 .type
= QUIRK_MIDI_MIDIMAN
,
923 .data
= & (const snd_usb_midi_endpoint_info_t
) {
924 .out_cables
= 0x0001,
930 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
931 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
932 .vendor_name
= "M-Audio",
933 .product_name
= "OmniStudio",
935 .type
= QUIRK_MIDI_MIDIMAN
,
936 .data
= & (const snd_usb_midi_endpoint_info_t
) {
937 .out_cables
= 0x0001,
943 /* Mark of the Unicorn devices */
945 /* thanks to Woodley Packard <sweaglesw@thibs.menloschool.org> */
946 USB_DEVICE(0x07fd, 0x0001),
947 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
948 .vendor_name
= "MOTU",
949 .product_name
= "Fastlane",
951 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
952 .data
= & (const snd_usb_midi_endpoint_info_t
) {
953 .out_cables
= 0x0003,
960 /* Creative Sound Blaster MP3+ */
961 USB_DEVICE(0x041e, 0x3010),
962 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
963 .vendor_name
= "Creative Labs",
964 .product_name
= "Sound Blaster MP3+",
965 .ifnum
= QUIRK_NO_INTERFACE
971 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
972 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
973 .vendor_name
= "Terratec",
974 .product_name
= "PHASE 26",
976 .type
= QUIRK_MIDI_STANDARD_INTERFACE
982 * Some USB MIDI devices don't have an audio control interface,
983 * so we have to grab MIDI streaming interfaces here.
985 .match_flags
= USB_DEVICE_ID_MATCH_INT_CLASS
|
986 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
987 .bInterfaceClass
= USB_CLASS_AUDIO
,
988 .bInterfaceSubClass
= USB_SUBCLASS_MIDI_STREAMING
,
989 .driver_info
= (unsigned long) & (const snd_usb_audio_quirk_t
) {
990 .ifnum
= QUIRK_ANY_INTERFACE
,
991 .type
= QUIRK_MIDI_STANDARD_INTERFACE
995 #undef USB_DEVICE_VENDOR_SPEC