2 * ALSA USB Audio Driver
4 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
5 * Clemens Ladisch <clemens@ladisch.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * The contents of this file are part of the driver's id_table.
26 * In a perfect world, this file would be empty.
30 * Use this for devices where other interfaces are standard compliant,
31 * to prevent the quirk being applied to those interfaces. (To work with
32 * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
34 #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
35 .match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
36 USB_DEVICE_ID_MATCH_PRODUCT | \
37 USB_DEVICE_ID_MATCH_INT_CLASS, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
42 /* Creative/Toshiba Multimedia Center SB-0500 */
44 USB_DEVICE(0x041e, 0x3048),
45 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
46 .vendor_name
= "Toshiba",
47 .product_name
= "SB-0500",
48 .ifnum
= QUIRK_NO_INTERFACE
52 /* Creative/E-Mu devices */
54 USB_DEVICE(0x041e, 0x3010),
55 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
56 .vendor_name
= "Creative Labs",
57 .product_name
= "Sound Blaster MP3+",
58 .ifnum
= QUIRK_NO_INTERFACE
63 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
66 .bInterfaceClass
= USB_CLASS_AUDIO
,
70 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
73 .bInterfaceClass
= USB_CLASS_AUDIO
,
76 /* E-Mu Tracker Pre */
77 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
80 .bInterfaceClass
= USB_CLASS_AUDIO
,
84 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
85 * class matches do not take effect without an explicit ID match.
88 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
89 USB_DEVICE_ID_MATCH_INT_CLASS
|
90 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
93 .bInterfaceClass
= USB_CLASS_AUDIO
,
94 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
97 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
98 USB_DEVICE_ID_MATCH_INT_CLASS
|
99 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
102 .bInterfaceClass
= USB_CLASS_AUDIO
,
103 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
106 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
107 USB_DEVICE_ID_MATCH_INT_CLASS
|
108 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
111 .bInterfaceClass
= USB_CLASS_AUDIO
,
112 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
115 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
116 USB_DEVICE_ID_MATCH_INT_CLASS
|
117 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
120 .bInterfaceClass
= USB_CLASS_AUDIO
,
121 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
124 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
125 USB_DEVICE_ID_MATCH_INT_CLASS
|
126 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
129 .bInterfaceClass
= USB_CLASS_AUDIO
,
130 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
133 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
134 USB_DEVICE_ID_MATCH_INT_CLASS
|
135 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
138 .bInterfaceClass
= USB_CLASS_AUDIO
,
139 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
142 USB_DEVICE(0x046d, 0x0990),
143 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
144 .vendor_name
= "Logitech, Inc.",
145 .product_name
= "QuickCam Pro 9000",
146 .ifnum
= QUIRK_NO_INTERFACE
154 #define YAMAHA_DEVICE(id, name) { \
155 USB_DEVICE(0x0499, id), \
156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
157 .vendor_name = "Yamaha", \
158 .product_name = name, \
159 .ifnum = QUIRK_ANY_INTERFACE, \
160 .type = QUIRK_MIDI_YAMAHA \
163 #define YAMAHA_INTERFACE(id, intf, name) { \
164 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
165 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
166 .vendor_name = "Yamaha", \
167 .product_name = name, \
169 .type = QUIRK_MIDI_YAMAHA \
172 YAMAHA_DEVICE(0x1000, "UX256"),
173 YAMAHA_DEVICE(0x1001, "MU1000"),
174 YAMAHA_DEVICE(0x1002, "MU2000"),
175 YAMAHA_DEVICE(0x1003, "MU500"),
176 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
177 YAMAHA_DEVICE(0x1005, "MOTIF6"),
178 YAMAHA_DEVICE(0x1006, "MOTIF7"),
179 YAMAHA_DEVICE(0x1007, "MOTIF8"),
180 YAMAHA_DEVICE(0x1008, "UX96"),
181 YAMAHA_DEVICE(0x1009, "UX16"),
182 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
183 YAMAHA_DEVICE(0x100c, "UC-MX"),
184 YAMAHA_DEVICE(0x100d, "UC-KX"),
185 YAMAHA_DEVICE(0x100e, "S08"),
186 YAMAHA_DEVICE(0x100f, "CLP-150"),
187 YAMAHA_DEVICE(0x1010, "CLP-170"),
188 YAMAHA_DEVICE(0x1011, "P-250"),
189 YAMAHA_DEVICE(0x1012, "TYROS"),
190 YAMAHA_DEVICE(0x1013, "PF-500"),
191 YAMAHA_DEVICE(0x1014, "S90"),
192 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
193 YAMAHA_DEVICE(0x1016, "MDP-5"),
194 YAMAHA_DEVICE(0x1017, "CVP-204"),
195 YAMAHA_DEVICE(0x1018, "CVP-206"),
196 YAMAHA_DEVICE(0x1019, "CVP-208"),
197 YAMAHA_DEVICE(0x101a, "CVP-210"),
198 YAMAHA_DEVICE(0x101b, "PSR-1100"),
199 YAMAHA_DEVICE(0x101c, "PSR-2100"),
200 YAMAHA_DEVICE(0x101d, "CLP-175"),
201 YAMAHA_DEVICE(0x101e, "PSR-K1"),
202 YAMAHA_DEVICE(0x101f, "EZ-J24"),
203 YAMAHA_DEVICE(0x1020, "EZ-250i"),
204 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
205 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
206 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
207 YAMAHA_DEVICE(0x1024, "CVP-301"),
208 YAMAHA_DEVICE(0x1025, "CVP-303"),
209 YAMAHA_DEVICE(0x1026, "CVP-305"),
210 YAMAHA_DEVICE(0x1027, "CVP-307"),
211 YAMAHA_DEVICE(0x1028, "CVP-309"),
212 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
213 YAMAHA_DEVICE(0x102a, "PSR-1500"),
214 YAMAHA_DEVICE(0x102b, "PSR-3000"),
215 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
216 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
217 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
218 YAMAHA_DEVICE(0x1032, "DGX-305"),
219 YAMAHA_DEVICE(0x1033, "DGX-505"),
220 YAMAHA_DEVICE(0x1034, NULL
),
221 YAMAHA_DEVICE(0x1035, NULL
),
222 YAMAHA_DEVICE(0x1036, NULL
),
223 YAMAHA_DEVICE(0x1037, NULL
),
224 YAMAHA_DEVICE(0x1038, NULL
),
225 YAMAHA_DEVICE(0x1039, NULL
),
226 YAMAHA_DEVICE(0x103a, NULL
),
227 YAMAHA_DEVICE(0x103b, NULL
),
228 YAMAHA_DEVICE(0x103c, NULL
),
229 YAMAHA_DEVICE(0x103d, NULL
),
230 YAMAHA_DEVICE(0x103e, NULL
),
231 YAMAHA_DEVICE(0x103f, NULL
),
232 YAMAHA_DEVICE(0x1040, NULL
),
233 YAMAHA_DEVICE(0x1041, NULL
),
234 YAMAHA_DEVICE(0x1042, NULL
),
235 YAMAHA_DEVICE(0x1043, NULL
),
236 YAMAHA_DEVICE(0x1044, NULL
),
237 YAMAHA_DEVICE(0x1045, NULL
),
238 YAMAHA_INTERFACE(0x104e, 0, NULL
),
239 YAMAHA_DEVICE(0x104f, NULL
),
240 YAMAHA_DEVICE(0x1050, NULL
),
241 YAMAHA_DEVICE(0x1051, NULL
),
242 YAMAHA_DEVICE(0x1052, NULL
),
243 YAMAHA_INTERFACE(0x1053, 0, NULL
),
244 YAMAHA_INTERFACE(0x1054, 0, NULL
),
245 YAMAHA_DEVICE(0x1055, NULL
),
246 YAMAHA_DEVICE(0x1056, NULL
),
247 YAMAHA_DEVICE(0x1057, NULL
),
248 YAMAHA_DEVICE(0x1058, NULL
),
249 YAMAHA_DEVICE(0x1059, NULL
),
250 YAMAHA_DEVICE(0x105a, NULL
),
251 YAMAHA_DEVICE(0x105b, NULL
),
252 YAMAHA_DEVICE(0x105c, NULL
),
253 YAMAHA_DEVICE(0x105d, NULL
),
254 YAMAHA_DEVICE(0x2000, "DGP-7"),
255 YAMAHA_DEVICE(0x2001, "DGP-5"),
256 YAMAHA_DEVICE(0x2002, NULL
),
257 YAMAHA_DEVICE(0x2003, NULL
),
258 YAMAHA_DEVICE(0x5000, "CS1D"),
259 YAMAHA_DEVICE(0x5001, "DSP1D"),
260 YAMAHA_DEVICE(0x5002, "DME32"),
261 YAMAHA_DEVICE(0x5003, "DM2000"),
262 YAMAHA_DEVICE(0x5004, "02R96"),
263 YAMAHA_DEVICE(0x5005, "ACU16-C"),
264 YAMAHA_DEVICE(0x5006, "NHB32-C"),
265 YAMAHA_DEVICE(0x5007, "DM1000"),
266 YAMAHA_DEVICE(0x5008, "01V96"),
267 YAMAHA_DEVICE(0x5009, "SPX2000"),
268 YAMAHA_DEVICE(0x500a, "PM5D"),
269 YAMAHA_DEVICE(0x500b, "DME64N"),
270 YAMAHA_DEVICE(0x500c, "DME24N"),
271 YAMAHA_DEVICE(0x500d, NULL
),
272 YAMAHA_DEVICE(0x500e, NULL
),
273 YAMAHA_DEVICE(0x500f, NULL
),
274 YAMAHA_DEVICE(0x7000, "DTX"),
275 YAMAHA_DEVICE(0x7010, "UB99"),
277 #undef YAMAHA_INTERFACE
280 * Roland/RolandED/Edirol/BOSS devices
283 USB_DEVICE(0x0582, 0x0000),
284 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
285 .vendor_name
= "Roland",
286 .product_name
= "UA-100",
287 .ifnum
= QUIRK_ANY_INTERFACE
,
288 .type
= QUIRK_COMPOSITE
,
289 .data
= (const struct snd_usb_audio_quirk
[]) {
292 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
293 .data
= & (const struct audioformat
) {
294 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
302 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
309 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
310 .data
= & (const struct audioformat
) {
311 .formats
= SNDRV_PCM_FMTBIT_S16_LE
,
316 .attributes
= UAC_EP_CS_ATTR_FILL_MAX
,
319 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
326 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
327 .data
= & (const struct snd_usb_midi_endpoint_info
) {
328 .out_cables
= 0x0007,
339 USB_DEVICE(0x0582, 0x0002),
340 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
341 .vendor_name
= "EDIROL",
342 .product_name
= "UM-4",
343 .ifnum
= QUIRK_ANY_INTERFACE
,
344 .type
= QUIRK_COMPOSITE
,
345 .data
= (const struct snd_usb_audio_quirk
[]) {
348 .type
= QUIRK_IGNORE_INTERFACE
352 .type
= QUIRK_IGNORE_INTERFACE
356 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
357 .data
= & (const struct snd_usb_midi_endpoint_info
) {
358 .out_cables
= 0x000f,
369 USB_DEVICE(0x0582, 0x0003),
370 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
371 .vendor_name
= "Roland",
372 .product_name
= "SC-8850",
373 .ifnum
= QUIRK_ANY_INTERFACE
,
374 .type
= QUIRK_COMPOSITE
,
375 .data
= (const struct snd_usb_audio_quirk
[]) {
378 .type
= QUIRK_IGNORE_INTERFACE
382 .type
= QUIRK_IGNORE_INTERFACE
386 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
387 .data
= & (const struct snd_usb_midi_endpoint_info
) {
388 .out_cables
= 0x003f,
399 USB_DEVICE(0x0582, 0x0004),
400 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
401 .vendor_name
= "Roland",
402 .product_name
= "U-8",
403 .ifnum
= QUIRK_ANY_INTERFACE
,
404 .type
= QUIRK_COMPOSITE
,
405 .data
= (const struct snd_usb_audio_quirk
[]) {
408 .type
= QUIRK_IGNORE_INTERFACE
412 .type
= QUIRK_IGNORE_INTERFACE
416 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
417 .data
= & (const struct snd_usb_midi_endpoint_info
) {
418 .out_cables
= 0x0005,
429 /* Has ID 0x0099 when not in "Advanced Driver" mode.
430 * The UM-2EX has only one input, but we cannot detect this. */
431 USB_DEVICE(0x0582, 0x0005),
432 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
433 .vendor_name
= "EDIROL",
434 .product_name
= "UM-2",
435 .ifnum
= QUIRK_ANY_INTERFACE
,
436 .type
= QUIRK_COMPOSITE
,
437 .data
= (const struct snd_usb_audio_quirk
[]) {
440 .type
= QUIRK_IGNORE_INTERFACE
444 .type
= QUIRK_IGNORE_INTERFACE
448 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
449 .data
= & (const struct snd_usb_midi_endpoint_info
) {
450 .out_cables
= 0x0003,
461 USB_DEVICE(0x0582, 0x0007),
462 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
463 .vendor_name
= "Roland",
464 .product_name
= "SC-8820",
465 .ifnum
= QUIRK_ANY_INTERFACE
,
466 .type
= QUIRK_COMPOSITE
,
467 .data
= (const struct snd_usb_audio_quirk
[]) {
470 .type
= QUIRK_IGNORE_INTERFACE
474 .type
= QUIRK_IGNORE_INTERFACE
478 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
479 .data
= & (const struct snd_usb_midi_endpoint_info
) {
480 .out_cables
= 0x0013,
491 USB_DEVICE(0x0582, 0x0008),
492 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
493 .vendor_name
= "Roland",
494 .product_name
= "PC-300",
495 .ifnum
= QUIRK_ANY_INTERFACE
,
496 .type
= QUIRK_COMPOSITE
,
497 .data
= (const struct snd_usb_audio_quirk
[]) {
500 .type
= QUIRK_IGNORE_INTERFACE
504 .type
= QUIRK_IGNORE_INTERFACE
508 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
509 .data
= & (const struct snd_usb_midi_endpoint_info
) {
510 .out_cables
= 0x0001,
521 /* has ID 0x009d when not in "Advanced Driver" mode */
522 USB_DEVICE(0x0582, 0x0009),
523 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
524 .vendor_name
= "EDIROL",
525 .product_name
= "UM-1",
526 .ifnum
= QUIRK_ANY_INTERFACE
,
527 .type
= QUIRK_COMPOSITE
,
528 .data
= (const struct snd_usb_audio_quirk
[]) {
531 .type
= QUIRK_IGNORE_INTERFACE
535 .type
= QUIRK_IGNORE_INTERFACE
539 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
540 .data
= & (const struct snd_usb_midi_endpoint_info
) {
541 .out_cables
= 0x0001,
552 USB_DEVICE(0x0582, 0x000b),
553 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
554 .vendor_name
= "Roland",
555 .product_name
= "SK-500",
556 .ifnum
= QUIRK_ANY_INTERFACE
,
557 .type
= QUIRK_COMPOSITE
,
558 .data
= (const struct snd_usb_audio_quirk
[]) {
561 .type
= QUIRK_IGNORE_INTERFACE
565 .type
= QUIRK_IGNORE_INTERFACE
569 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
570 .data
= & (const struct snd_usb_midi_endpoint_info
) {
571 .out_cables
= 0x0013,
582 /* thanks to Emiliano Grilli <emillo@libero.it>
583 * for helping researching this data */
584 USB_DEVICE(0x0582, 0x000c),
585 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
586 .vendor_name
= "Roland",
587 .product_name
= "SC-D70",
588 .ifnum
= QUIRK_ANY_INTERFACE
,
589 .type
= QUIRK_COMPOSITE
,
590 .data
= (const struct snd_usb_audio_quirk
[]) {
593 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
594 .data
= & (const struct audioformat
) {
595 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
603 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
610 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
611 .data
= & (const struct audioformat
) {
612 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
620 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
627 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
628 .data
= & (const struct snd_usb_midi_endpoint_info
) {
629 .out_cables
= 0x0007,
640 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
641 * If the advanced mode switch at the back of the unit is off, the
642 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
643 * but offers only 16-bit PCM.
644 * In advanced mode, the UA-5 will output S24_3LE samples (two
645 * channels) at the rate indicated on the front switch, including
646 * the 96kHz sample rate.
648 USB_DEVICE(0x0582, 0x0010),
649 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
650 .vendor_name
= "EDIROL",
651 .product_name
= "UA-5",
652 .ifnum
= QUIRK_ANY_INTERFACE
,
653 .type
= QUIRK_COMPOSITE
,
654 .data
= (const struct snd_usb_audio_quirk
[]) {
657 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
661 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
670 /* has ID 0x0013 when not in "Advanced Driver" mode */
671 USB_DEVICE(0x0582, 0x0012),
672 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
673 .vendor_name
= "Roland",
674 .product_name
= "XV-5050",
676 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
677 .data
= & (const struct snd_usb_midi_endpoint_info
) {
678 .out_cables
= 0x0001,
684 /* has ID 0x0015 when not in "Advanced Driver" mode */
685 USB_DEVICE(0x0582, 0x0014),
686 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
687 .vendor_name
= "EDIROL",
688 .product_name
= "UM-880",
690 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
691 .data
= & (const struct snd_usb_midi_endpoint_info
) {
692 .out_cables
= 0x01ff,
698 /* has ID 0x0017 when not in "Advanced Driver" mode */
699 USB_DEVICE(0x0582, 0x0016),
700 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
701 .vendor_name
= "EDIROL",
702 .product_name
= "SD-90",
703 .ifnum
= QUIRK_ANY_INTERFACE
,
704 .type
= QUIRK_COMPOSITE
,
705 .data
= (const struct snd_usb_audio_quirk
[]) {
708 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
712 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
716 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
717 .data
= & (const struct snd_usb_midi_endpoint_info
) {
718 .out_cables
= 0x000f,
729 /* has ID 0x001c when not in "Advanced Driver" mode */
730 USB_DEVICE(0x0582, 0x001b),
731 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
732 .vendor_name
= "Roland",
733 .product_name
= "MMP-2",
734 .ifnum
= QUIRK_ANY_INTERFACE
,
735 .type
= QUIRK_COMPOSITE
,
736 .data
= (const struct snd_usb_audio_quirk
[]) {
739 .type
= QUIRK_IGNORE_INTERFACE
743 .type
= QUIRK_IGNORE_INTERFACE
747 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
748 .data
= & (const struct snd_usb_midi_endpoint_info
) {
749 .out_cables
= 0x0001,
760 /* has ID 0x001e when not in "Advanced Driver" mode */
761 USB_DEVICE(0x0582, 0x001d),
762 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
763 .vendor_name
= "Roland",
764 .product_name
= "V-SYNTH",
766 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
767 .data
= & (const struct snd_usb_midi_endpoint_info
) {
768 .out_cables
= 0x0001,
774 /* has ID 0x0024 when not in "Advanced Driver" mode */
775 USB_DEVICE(0x0582, 0x0023),
776 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
777 .vendor_name
= "EDIROL",
778 .product_name
= "UM-550",
780 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
781 .data
= & (const struct snd_usb_midi_endpoint_info
) {
782 .out_cables
= 0x003f,
789 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
790 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
793 USB_DEVICE(0x0582, 0x0025),
794 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
795 .vendor_name
= "EDIROL",
796 .product_name
= "UA-20",
797 .ifnum
= QUIRK_ANY_INTERFACE
,
798 .type
= QUIRK_COMPOSITE
,
799 .data
= (const struct snd_usb_audio_quirk
[]) {
802 .type
= QUIRK_IGNORE_INTERFACE
806 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
807 .data
= & (const struct audioformat
) {
808 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
816 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
823 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
824 .data
= & (const struct audioformat
) {
825 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
833 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
840 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
841 .data
= & (const struct snd_usb_midi_endpoint_info
) {
842 .out_cables
= 0x0001,
853 /* has ID 0x0028 when not in "Advanced Driver" mode */
854 USB_DEVICE(0x0582, 0x0027),
855 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
856 .vendor_name
= "EDIROL",
857 .product_name
= "SD-20",
859 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
860 .data
= & (const struct snd_usb_midi_endpoint_info
) {
861 .out_cables
= 0x0003,
867 /* has ID 0x002a when not in "Advanced Driver" mode */
868 USB_DEVICE(0x0582, 0x0029),
869 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
870 .vendor_name
= "EDIROL",
871 .product_name
= "SD-80",
873 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
874 .data
= & (const struct snd_usb_midi_endpoint_info
) {
875 .out_cables
= 0x000f,
881 * This quirk is for the "Advanced" modes of the Edirol UA-700.
882 * If the sample format switch is not in an advanced setting, the
883 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
884 * but offers only 16-bit PCM and no MIDI.
886 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
887 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
888 .vendor_name
= "EDIROL",
889 .product_name
= "UA-700",
890 .ifnum
= QUIRK_ANY_INTERFACE
,
891 .type
= QUIRK_COMPOSITE
,
892 .data
= (const struct snd_usb_audio_quirk
[]) {
895 .type
= QUIRK_AUDIO_EDIROL_UAXX
899 .type
= QUIRK_AUDIO_EDIROL_UAXX
903 .type
= QUIRK_AUDIO_EDIROL_UAXX
912 /* has ID 0x002e when not in "Advanced Driver" mode */
913 USB_DEVICE(0x0582, 0x002d),
914 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
915 .vendor_name
= "Roland",
916 .product_name
= "XV-2020",
918 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
919 .data
= & (const struct snd_usb_midi_endpoint_info
) {
920 .out_cables
= 0x0001,
926 /* has ID 0x0030 when not in "Advanced Driver" mode */
927 USB_DEVICE(0x0582, 0x002f),
928 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
929 .vendor_name
= "Roland",
930 .product_name
= "VariOS",
932 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
933 .data
= & (const struct snd_usb_midi_endpoint_info
) {
934 .out_cables
= 0x0007,
940 /* has ID 0x0034 when not in "Advanced Driver" mode */
941 USB_DEVICE(0x0582, 0x0033),
942 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
943 .vendor_name
= "EDIROL",
944 .product_name
= "PCR",
946 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
947 .data
= & (const struct snd_usb_midi_endpoint_info
) {
948 .out_cables
= 0x0003,
953 /* TODO: add Roland M-1000 support */
956 * Has ID 0x0038 when not in "Advanced Driver" mode;
957 * later revisions use IDs 0x0054 and 0x00a2.
959 USB_DEVICE(0x0582, 0x0037),
960 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
961 .vendor_name
= "Roland",
962 .product_name
= "Digital Piano",
964 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
965 .data
= & (const struct snd_usb_midi_endpoint_info
) {
966 .out_cables
= 0x0001,
973 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
974 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
977 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
978 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
979 .vendor_name
= "BOSS",
980 .product_name
= "GS-10",
981 .ifnum
= QUIRK_ANY_INTERFACE
,
982 .type
= QUIRK_COMPOSITE
,
983 .data
= & (const struct snd_usb_audio_quirk
[]) {
986 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
990 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
994 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1003 /* has ID 0x0041 when not in "Advanced Driver" mode */
1004 USB_DEVICE(0x0582, 0x0040),
1005 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1006 .vendor_name
= "Roland",
1007 .product_name
= "GI-20",
1009 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1010 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1011 .out_cables
= 0x0001,
1017 /* has ID 0x0043 when not in "Advanced Driver" mode */
1018 USB_DEVICE(0x0582, 0x0042),
1019 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1020 .vendor_name
= "Roland",
1021 .product_name
= "RS-70",
1023 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1024 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1025 .out_cables
= 0x0001,
1031 /* has ID 0x0049 when not in "Advanced Driver" mode */
1032 USB_DEVICE(0x0582, 0x0047),
1033 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1034 /* .vendor_name = "EDIROL", */
1035 /* .product_name = "UR-80", */
1036 .ifnum
= QUIRK_ANY_INTERFACE
,
1037 .type
= QUIRK_COMPOSITE
,
1038 .data
= (const struct snd_usb_audio_quirk
[]) {
1039 /* in the 96 kHz modes, only interface 1 is there */
1042 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1046 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1055 /* has ID 0x004a when not in "Advanced Driver" mode */
1056 USB_DEVICE(0x0582, 0x0048),
1057 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1058 /* .vendor_name = "EDIROL", */
1059 /* .product_name = "UR-80", */
1061 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1062 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1063 .out_cables
= 0x0003,
1068 /* TODO: add Edirol M-100FX support */
1070 /* has ID 0x004e when not in "Advanced Driver" mode */
1071 USB_DEVICE(0x0582, 0x004c),
1072 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1073 .vendor_name
= "EDIROL",
1074 .product_name
= "PCR-A",
1075 .ifnum
= QUIRK_ANY_INTERFACE
,
1076 .type
= QUIRK_COMPOSITE
,
1077 .data
= (const struct snd_usb_audio_quirk
[]) {
1080 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1084 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1093 /* has ID 0x004f when not in "Advanced Driver" mode */
1094 USB_DEVICE(0x0582, 0x004d),
1095 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1096 .vendor_name
= "EDIROL",
1097 .product_name
= "PCR-A",
1099 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1100 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1101 .out_cables
= 0x0003,
1108 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1109 * is standard compliant, but has only 16-bit PCM.
1111 USB_DEVICE(0x0582, 0x0050),
1112 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1113 .vendor_name
= "EDIROL",
1114 .product_name
= "UA-3FX",
1115 .ifnum
= QUIRK_ANY_INTERFACE
,
1116 .type
= QUIRK_COMPOSITE
,
1117 .data
= (const struct snd_usb_audio_quirk
[]) {
1120 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1124 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1133 USB_DEVICE(0x0582, 0x0052),
1134 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1135 .vendor_name
= "EDIROL",
1136 .product_name
= "UM-1SX",
1138 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1142 USB_DEVICE(0x0582, 0x0060),
1143 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1144 .vendor_name
= "Roland",
1145 .product_name
= "EXR Series",
1147 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1151 /* has ID 0x0066 when not in "Advanced Driver" mode */
1152 USB_DEVICE(0x0582, 0x0064),
1153 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1154 /* .vendor_name = "EDIROL", */
1155 /* .product_name = "PCR-1", */
1156 .ifnum
= QUIRK_ANY_INTERFACE
,
1157 .type
= QUIRK_COMPOSITE
,
1158 .data
= (const struct snd_usb_audio_quirk
[]) {
1161 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1165 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1174 /* has ID 0x0067 when not in "Advanced Driver" mode */
1175 USB_DEVICE(0x0582, 0x0065),
1176 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1177 /* .vendor_name = "EDIROL", */
1178 /* .product_name = "PCR-1", */
1180 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1181 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1182 .out_cables
= 0x0001,
1188 /* has ID 0x006b when not in "Advanced Driver" mode */
1189 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1190 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1191 .vendor_name
= "Roland",
1192 .product_name
= "SP-606",
1194 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1195 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1196 .out_cables
= 0x0001,
1202 /* has ID 0x006e when not in "Advanced Driver" mode */
1203 USB_DEVICE(0x0582, 0x006d),
1204 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1205 .vendor_name
= "Roland",
1206 .product_name
= "FANTOM-X",
1208 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1209 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1210 .out_cables
= 0x0001,
1216 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1217 * If the switch is not in an advanced setting, the UA-25 has
1218 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1219 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1221 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1222 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1223 .vendor_name
= "EDIROL",
1224 .product_name
= "UA-25",
1225 .ifnum
= QUIRK_ANY_INTERFACE
,
1226 .type
= QUIRK_COMPOSITE
,
1227 .data
= (const struct snd_usb_audio_quirk
[]) {
1230 .type
= QUIRK_AUDIO_EDIROL_UAXX
1234 .type
= QUIRK_AUDIO_EDIROL_UAXX
1238 .type
= QUIRK_AUDIO_EDIROL_UAXX
1247 /* has ID 0x0076 when not in "Advanced Driver" mode */
1248 USB_DEVICE(0x0582, 0x0075),
1249 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1250 .vendor_name
= "BOSS",
1251 .product_name
= "DR-880",
1253 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1254 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1255 .out_cables
= 0x0001,
1261 /* has ID 0x007b when not in "Advanced Driver" mode */
1262 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1263 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1264 .vendor_name
= "Roland",
1265 /* "RD" or "RD-700SX"? */
1267 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1268 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1269 .out_cables
= 0x0003,
1275 /* has ID 0x0081 when not in "Advanced Driver" mode */
1276 USB_DEVICE(0x0582, 0x0080),
1277 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1278 .vendor_name
= "Roland",
1279 .product_name
= "G-70",
1281 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1282 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1283 .out_cables
= 0x0001,
1288 /* TODO: add Roland V-SYNTH XT support */
1289 /* TODO: add BOSS GT-PRO support */
1291 /* has ID 0x008c when not in "Advanced Driver" mode */
1292 USB_DEVICE(0x0582, 0x008b),
1293 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1294 .vendor_name
= "EDIROL",
1295 .product_name
= "PC-50",
1297 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1298 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1299 .out_cables
= 0x0001,
1304 /* TODO: add Edirol PC-80 support */
1306 USB_DEVICE(0x0582, 0x0096),
1307 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1308 .vendor_name
= "EDIROL",
1309 .product_name
= "UA-1EX",
1310 .ifnum
= QUIRK_ANY_INTERFACE
,
1311 .type
= QUIRK_COMPOSITE
,
1312 .data
= (const struct snd_usb_audio_quirk
[]) {
1315 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1319 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1328 USB_DEVICE(0x0582, 0x009a),
1329 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1330 .vendor_name
= "EDIROL",
1331 .product_name
= "UM-3EX",
1333 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1334 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1335 .out_cables
= 0x000f,
1342 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1343 * is standard compliant, but has only 16-bit PCM and no MIDI.
1345 USB_DEVICE(0x0582, 0x00a3),
1346 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1347 .vendor_name
= "EDIROL",
1348 .product_name
= "UA-4FX",
1349 .ifnum
= QUIRK_ANY_INTERFACE
,
1350 .type
= QUIRK_COMPOSITE
,
1351 .data
= (const struct snd_usb_audio_quirk
[]) {
1354 .type
= QUIRK_AUDIO_EDIROL_UAXX
1358 .type
= QUIRK_AUDIO_EDIROL_UAXX
1362 .type
= QUIRK_AUDIO_EDIROL_UAXX
1370 /* TODO: add Edirol MD-P1 support */
1372 USB_DEVICE(0x582, 0x00a6),
1373 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1374 .vendor_name
= "Roland",
1375 .product_name
= "Juno-G",
1377 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1378 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1379 .out_cables
= 0x0001,
1386 USB_DEVICE(0x0582, 0x00ad),
1387 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1388 .vendor_name
= "Roland",
1389 .product_name
= "SH-201",
1390 .ifnum
= QUIRK_ANY_INTERFACE
,
1391 .type
= QUIRK_COMPOSITE
,
1392 .data
= (const struct snd_usb_audio_quirk
[]) {
1395 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1399 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1403 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1404 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1405 .out_cables
= 0x0001,
1416 /* Roland SonicCell */
1417 USB_DEVICE(0x0582, 0x00c2),
1418 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1419 .vendor_name
= "Roland",
1420 .product_name
= "SonicCell",
1421 .ifnum
= QUIRK_ANY_INTERFACE
,
1422 .type
= QUIRK_COMPOSITE
,
1423 .data
= (const struct snd_usb_audio_quirk
[]) {
1426 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1430 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1434 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1435 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1436 .out_cables
= 0x0001,
1448 /* FIXME: This quirk gives a good-working capture stream but the
1449 * playback seems problematic because of lacking of sync
1450 * with capture stream. It needs to sync with the capture
1451 * clock. As now, you'll get frequent sound distortions
1454 USB_DEVICE(0x0582, 0x00c4),
1455 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1456 .ifnum
= QUIRK_ANY_INTERFACE
,
1457 .type
= QUIRK_COMPOSITE
,
1458 .data
= (const struct snd_usb_audio_quirk
[]) {
1461 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1465 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1469 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1470 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1471 .out_cables
= 0x0001,
1483 USB_DEVICE(0x0582, 0x00da),
1484 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1485 .ifnum
= QUIRK_ANY_INTERFACE
,
1486 .type
= QUIRK_COMPOSITE
,
1487 .data
= (const struct snd_usb_audio_quirk
[]) {
1490 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1494 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1498 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1499 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1500 .out_cables
= 0x0001,
1511 /* Advanced modes of the Edirol UA-25EX.
1512 * For the standard mode, UA-25EX has ID 0582:00e7, which
1513 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1515 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1516 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1517 .vendor_name
= "EDIROL",
1518 .product_name
= "UA-25EX",
1519 .ifnum
= QUIRK_ANY_INTERFACE
,
1520 .type
= QUIRK_COMPOSITE
,
1521 .data
= (const struct snd_usb_audio_quirk
[]) {
1524 .type
= QUIRK_AUDIO_EDIROL_UAXX
1528 .type
= QUIRK_AUDIO_EDIROL_UAXX
1532 .type
= QUIRK_AUDIO_EDIROL_UAXX
1541 /* has ID 0x00ea when not in Advanced Driver mode */
1542 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
1543 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1544 /* .vendor_name = "Roland", */
1545 /* .product_name = "UA-1G", */
1546 .ifnum
= QUIRK_ANY_INTERFACE
,
1547 .type
= QUIRK_COMPOSITE
,
1548 .data
= (const struct snd_usb_audio_quirk
[]) {
1551 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1555 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1564 /* has ID 0x0110 when not in Advanced Driver mode */
1565 USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
1566 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1567 /* .vendor_name = "Roland", */
1568 /* .product_name = "A-PRO", */
1570 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1571 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1572 .out_cables
= 0x0003,
1578 USB_DEVICE(0x0582, 0x0113),
1579 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1580 /* .vendor_name = "BOSS", */
1581 /* .product_name = "ME-25", */
1582 .ifnum
= QUIRK_ANY_INTERFACE
,
1583 .type
= QUIRK_COMPOSITE
,
1584 .data
= (const struct snd_usb_audio_quirk
[]) {
1587 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1591 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1595 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1596 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1597 .out_cables
= 0x0001,
1608 /* Guillemot devices */
1611 * This is for the "Windows Edition" where the external MIDI ports are
1612 * the only MIDI ports; the control data is reported through HID
1613 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1614 * compliant USB MIDI ports for external MIDI and controls.
1616 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1617 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1618 .vendor_name
= "Hercules",
1619 .product_name
= "DJ Console (WE)",
1621 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1622 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1623 .out_cables
= 0x0001,
1629 /* Midiman/M-Audio devices */
1631 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1632 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1633 .vendor_name
= "M-Audio",
1634 .product_name
= "MidiSport 2x2",
1635 .ifnum
= QUIRK_ANY_INTERFACE
,
1636 .type
= QUIRK_MIDI_MIDIMAN
,
1637 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1638 .out_cables
= 0x0003,
1644 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1645 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1646 .vendor_name
= "M-Audio",
1647 .product_name
= "MidiSport 1x1",
1648 .ifnum
= QUIRK_ANY_INTERFACE
,
1649 .type
= QUIRK_MIDI_MIDIMAN
,
1650 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1651 .out_cables
= 0x0001,
1657 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1658 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1659 .vendor_name
= "M-Audio",
1660 .product_name
= "Keystation",
1661 .ifnum
= QUIRK_ANY_INTERFACE
,
1662 .type
= QUIRK_MIDI_MIDIMAN
,
1663 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1664 .out_cables
= 0x0001,
1670 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1671 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1672 .vendor_name
= "M-Audio",
1673 .product_name
= "MidiSport 4x4",
1674 .ifnum
= QUIRK_ANY_INTERFACE
,
1675 .type
= QUIRK_MIDI_MIDIMAN
,
1676 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1677 .out_cables
= 0x000f,
1684 * For hardware revision 1.05; in the later revisions (1.10 and
1685 * 1.21), 0x1031 is the ID for the device without firmware.
1686 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1688 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1689 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1690 .vendor_name
= "M-Audio",
1691 .product_name
= "MidiSport 8x8",
1692 .ifnum
= QUIRK_ANY_INTERFACE
,
1693 .type
= QUIRK_MIDI_MIDIMAN
,
1694 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1695 .out_cables
= 0x01ff,
1701 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1702 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1703 .vendor_name
= "M-Audio",
1704 .product_name
= "MidiSport 8x8",
1705 .ifnum
= QUIRK_ANY_INTERFACE
,
1706 .type
= QUIRK_MIDI_MIDIMAN
,
1707 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1708 .out_cables
= 0x01ff,
1714 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1715 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1716 .vendor_name
= "M-Audio",
1717 .product_name
= "MidiSport 2x4",
1718 .ifnum
= QUIRK_ANY_INTERFACE
,
1719 .type
= QUIRK_MIDI_MIDIMAN
,
1720 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1721 .out_cables
= 0x000f,
1727 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1728 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1729 .vendor_name
= "M-Audio",
1730 .product_name
= "Quattro",
1731 .ifnum
= QUIRK_ANY_INTERFACE
,
1732 .type
= QUIRK_COMPOSITE
,
1733 .data
= & (const struct snd_usb_audio_quirk
[]) {
1735 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1736 * and share endpoints with the other interfaces.
1737 * Ignore them. The other interfaces can do 24 bits,
1738 * but captured samples are big-endian (see usbaudio.c).
1742 .type
= QUIRK_IGNORE_INTERFACE
1746 .type
= QUIRK_IGNORE_INTERFACE
1750 .type
= QUIRK_IGNORE_INTERFACE
1754 .type
= QUIRK_IGNORE_INTERFACE
1758 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1762 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1766 .type
= QUIRK_IGNORE_INTERFACE
1770 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1774 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1778 .type
= QUIRK_MIDI_MIDIMAN
,
1779 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1780 .out_cables
= 0x0001,
1791 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1792 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1793 .vendor_name
= "M-Audio",
1794 .product_name
= "AudioPhile",
1796 .type
= QUIRK_MIDI_MIDIMAN
,
1797 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1798 .out_cables
= 0x0001,
1804 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1805 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1806 .vendor_name
= "M-Audio",
1807 .product_name
= "Ozone",
1809 .type
= QUIRK_MIDI_MIDIMAN
,
1810 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1811 .out_cables
= 0x0001,
1817 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1818 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1819 .vendor_name
= "M-Audio",
1820 .product_name
= "OmniStudio",
1821 .ifnum
= QUIRK_ANY_INTERFACE
,
1822 .type
= QUIRK_COMPOSITE
,
1823 .data
= & (const struct snd_usb_audio_quirk
[]) {
1826 .type
= QUIRK_IGNORE_INTERFACE
1830 .type
= QUIRK_IGNORE_INTERFACE
1834 .type
= QUIRK_IGNORE_INTERFACE
1838 .type
= QUIRK_IGNORE_INTERFACE
1842 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1846 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1850 .type
= QUIRK_IGNORE_INTERFACE
1854 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1858 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1862 .type
= QUIRK_MIDI_MIDIMAN
,
1863 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1864 .out_cables
= 0x0001,
1875 USB_DEVICE(0x0763, 0x2019),
1876 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1877 /* .vendor_name = "M-Audio", */
1878 /* .product_name = "Ozone Academic", */
1879 .ifnum
= QUIRK_ANY_INTERFACE
,
1880 .type
= QUIRK_COMPOSITE
,
1881 .data
= & (const struct snd_usb_audio_quirk
[]) {
1884 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1888 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1892 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1896 .type
= QUIRK_MIDI_MIDIMAN
,
1897 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1898 .out_cables
= 0x0001,
1909 USB_DEVICE(0x0763, 0x2080),
1910 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1911 /* .vendor_name = "M-Audio", */
1912 /* .product_name = "Fast Track Ultra", */
1913 .ifnum
= QUIRK_ANY_INTERFACE
,
1914 .type
= QUIRK_COMPOSITE
,
1915 .data
= & (const struct snd_usb_audio_quirk
[]) {
1918 .type
= QUIRK_IGNORE_INTERFACE
1922 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
1923 .data
= & (const struct audioformat
) {
1924 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1929 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1932 .rates
= SNDRV_PCM_RATE_44100
|
1933 SNDRV_PCM_RATE_48000
|
1934 SNDRV_PCM_RATE_88200
|
1935 SNDRV_PCM_RATE_96000
,
1939 .rate_table
= (unsigned int[]) {
1940 44100, 48000, 88200, 96000
1946 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
1947 .data
= & (const struct audioformat
) {
1948 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1953 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1956 .rates
= SNDRV_PCM_RATE_44100
|
1957 SNDRV_PCM_RATE_48000
|
1958 SNDRV_PCM_RATE_88200
|
1959 SNDRV_PCM_RATE_96000
,
1963 .rate_table
= (unsigned int[]) {
1964 44100, 48000, 88200, 96000
1968 /* interface 3 (MIDI) is standard compliant */
1976 USB_DEVICE(0x0763, 0x2081),
1977 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1978 /* .vendor_name = "M-Audio", */
1979 /* .product_name = "Fast Track Ultra 8R", */
1980 .ifnum
= QUIRK_ANY_INTERFACE
,
1981 .type
= QUIRK_COMPOSITE
,
1982 .data
= & (const struct snd_usb_audio_quirk
[]) {
1985 .type
= QUIRK_IGNORE_INTERFACE
1989 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
1990 .data
= & (const struct audioformat
) {
1991 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
1996 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
1999 .rates
= SNDRV_PCM_RATE_44100
|
2000 SNDRV_PCM_RATE_48000
|
2001 SNDRV_PCM_RATE_88200
|
2002 SNDRV_PCM_RATE_96000
,
2006 .rate_table
= (unsigned int[]) {
2007 44100, 48000, 88200, 96000
2013 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
2014 .data
= & (const struct audioformat
) {
2015 .formats
= SNDRV_PCM_FMTBIT_S24_3LE
,
2020 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2023 .rates
= SNDRV_PCM_RATE_44100
|
2024 SNDRV_PCM_RATE_48000
|
2025 SNDRV_PCM_RATE_88200
|
2026 SNDRV_PCM_RATE_96000
,
2030 .rate_table
= (unsigned int[]) {
2031 44100, 48000, 88200, 96000
2035 /* interface 3 (MIDI) is standard compliant */
2045 USB_DEVICE(0x07cf, 0x6801),
2046 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2047 .vendor_name
= "Casio",
2048 .product_name
= "PL-40R",
2050 .type
= QUIRK_MIDI_YAMAHA
2054 /* this ID is used by several devices without a product ID */
2055 USB_DEVICE(0x07cf, 0x6802),
2056 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2057 .vendor_name
= "Casio",
2058 .product_name
= "Keyboard",
2060 .type
= QUIRK_MIDI_YAMAHA
2064 /* Mark of the Unicorn devices */
2066 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
2067 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
2068 USB_DEVICE_ID_MATCH_PRODUCT
|
2069 USB_DEVICE_ID_MATCH_DEV_SUBCLASS
,
2071 .idProduct
= 0x0001,
2072 .bDeviceSubClass
= 2,
2073 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2074 .vendor_name
= "MOTU",
2075 .product_name
= "Fastlane",
2076 .ifnum
= QUIRK_ANY_INTERFACE
,
2077 .type
= QUIRK_COMPOSITE
,
2078 .data
= & (const struct snd_usb_audio_quirk
[]) {
2081 .type
= QUIRK_MIDI_RAW_BYTES
2085 .type
= QUIRK_IGNORE_INTERFACE
2094 /* Emagic devices */
2096 USB_DEVICE(0x086a, 0x0001),
2097 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2098 .vendor_name
= "Emagic",
2099 /* .product_name = "Unitor8", */
2101 .type
= QUIRK_MIDI_EMAGIC
,
2102 .data
= & (const struct snd_usb_midi_endpoint_info
) {
2103 .out_cables
= 0x80ff,
2109 USB_DEVICE(0x086a, 0x0002),
2110 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2111 .vendor_name
= "Emagic",
2112 /* .product_name = "AMT8", */
2114 .type
= QUIRK_MIDI_EMAGIC
,
2115 .data
= & (const struct snd_usb_midi_endpoint_info
) {
2116 .out_cables
= 0x80ff,
2122 USB_DEVICE(0x086a, 0x0003),
2123 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2124 .vendor_name
= "Emagic",
2125 /* .product_name = "MT4", */
2127 .type
= QUIRK_MIDI_EMAGIC
,
2128 .data
= & (const struct snd_usb_midi_endpoint_info
) {
2129 .out_cables
= 0x800f,
2137 USB_DEVICE(0x09e8, 0x0062),
2138 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2139 .vendor_name
= "AKAI",
2140 .product_name
= "MPD16",
2142 .type
= QUIRK_MIDI_AKAI
,
2146 /* TerraTec devices */
2148 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
2149 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2150 .vendor_name
= "TerraTec",
2151 .product_name
= "PHASE 26",
2153 .type
= QUIRK_MIDI_STANDARD_INTERFACE
2157 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
2158 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2159 .vendor_name
= "TerraTec",
2160 .product_name
= "PHASE 26",
2162 .type
= QUIRK_MIDI_STANDARD_INTERFACE
2166 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
2167 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2168 .vendor_name
= "TerraTec",
2169 .product_name
= "PHASE 26",
2171 .type
= QUIRK_MIDI_STANDARD_INTERFACE
2175 USB_DEVICE(0x0ccd, 0x0028),
2176 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2177 .vendor_name
= "TerraTec",
2178 .product_name
= "Aureon5.1MkII",
2179 .ifnum
= QUIRK_NO_INTERFACE
2183 USB_DEVICE(0x0ccd, 0x0035),
2184 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2185 .vendor_name
= "Miditech",
2186 .product_name
= "Play'n Roll",
2188 .type
= QUIRK_MIDI_CME
2192 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
2194 USB_DEVICE(0x103d, 0x0100),
2195 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2196 .vendor_name
= "Stanton",
2197 .product_name
= "ScratchAmp",
2198 .ifnum
= QUIRK_NO_INTERFACE
2202 USB_DEVICE(0x103d, 0x0101),
2203 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2204 .vendor_name
= "Stanton",
2205 .product_name
= "ScratchAmp",
2206 .ifnum
= QUIRK_NO_INTERFACE
2210 /* Novation EMS devices */
2212 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
2213 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2214 .vendor_name
= "Novation",
2215 .product_name
= "ReMOTE Audio/XStation",
2217 .type
= QUIRK_MIDI_NOVATION
2221 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
2222 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2223 .vendor_name
= "Novation",
2224 .product_name
= "Speedio",
2226 .type
= QUIRK_MIDI_NOVATION
2230 USB_DEVICE(0x1235, 0x000e),
2231 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2232 /* .vendor_name = "Novation", */
2233 /* .product_name = "Launchpad", */
2235 .type
= QUIRK_MIDI_RAW_BYTES
2239 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
2240 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2241 .vendor_name
= "Novation",
2242 .product_name
= "ReMOTE25",
2244 .type
= QUIRK_MIDI_NOVATION
2248 /* Access Music devices */
2250 /* VirusTI Desktop */
2251 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2252 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2253 .ifnum
= QUIRK_ANY_INTERFACE
,
2254 .type
= QUIRK_COMPOSITE
,
2255 .data
= &(const struct snd_usb_audio_quirk
[]) {
2258 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
2259 .data
= &(const struct snd_usb_midi_endpoint_info
) {
2260 .out_cables
= 0x0003,
2266 .type
= QUIRK_IGNORE_INTERFACE
2277 /* aka. Serato Scratch Live DJ Box */
2278 USB_DEVICE(0x13e5, 0x0001),
2279 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2280 .vendor_name
= "Rane",
2281 .product_name
= "SL-1",
2282 .ifnum
= QUIRK_NO_INTERFACE
2286 /* Miditech devices */
2288 USB_DEVICE(0x4752, 0x0011),
2289 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2290 .vendor_name
= "Miditech",
2291 .product_name
= "Midistart-2",
2293 .type
= QUIRK_MIDI_CME
2297 /* Central Music devices */
2299 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
2300 USB_DEVICE(0x7104, 0x2202),
2301 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2303 .type
= QUIRK_MIDI_CME
2307 /* Hauppauge HVR-950Q and HVR-850 */
2309 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2310 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2311 USB_DEVICE_ID_MATCH_INT_CLASS
|
2312 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2313 .bInterfaceClass
= USB_CLASS_AUDIO
,
2314 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2315 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2316 .vendor_name
= "Hauppauge",
2317 .product_name
= "HVR-950Q",
2318 .ifnum
= QUIRK_ANY_INTERFACE
,
2319 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2323 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
2324 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2325 USB_DEVICE_ID_MATCH_INT_CLASS
|
2326 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2327 .bInterfaceClass
= USB_CLASS_AUDIO
,
2328 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2329 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2330 .vendor_name
= "Hauppauge",
2331 .product_name
= "HVR-850",
2332 .ifnum
= QUIRK_ANY_INTERFACE
,
2333 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2337 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
2338 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2339 USB_DEVICE_ID_MATCH_INT_CLASS
|
2340 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2341 .bInterfaceClass
= USB_CLASS_AUDIO
,
2342 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2343 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2344 .vendor_name
= "Hauppauge",
2345 .product_name
= "HVR-950Q",
2346 .ifnum
= QUIRK_ANY_INTERFACE
,
2347 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2351 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
2352 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2353 USB_DEVICE_ID_MATCH_INT_CLASS
|
2354 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2355 .bInterfaceClass
= USB_CLASS_AUDIO
,
2356 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2357 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2358 .vendor_name
= "Hauppauge",
2359 .product_name
= "HVR-950Q",
2360 .ifnum
= QUIRK_ANY_INTERFACE
,
2361 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2365 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
2366 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2367 USB_DEVICE_ID_MATCH_INT_CLASS
|
2368 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2369 .bInterfaceClass
= USB_CLASS_AUDIO
,
2370 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2371 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2372 .vendor_name
= "Hauppauge",
2373 .product_name
= "HVR-950Q",
2374 .ifnum
= QUIRK_ANY_INTERFACE
,
2375 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2379 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
2380 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2381 USB_DEVICE_ID_MATCH_INT_CLASS
|
2382 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2383 .bInterfaceClass
= USB_CLASS_AUDIO
,
2384 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2385 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2386 .vendor_name
= "Hauppauge",
2387 .product_name
= "HVR-950Q",
2388 .ifnum
= QUIRK_ANY_INTERFACE
,
2389 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2393 USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
2394 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2395 USB_DEVICE_ID_MATCH_INT_CLASS
|
2396 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2397 .bInterfaceClass
= USB_CLASS_AUDIO
,
2398 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2399 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2400 .vendor_name
= "Hauppauge",
2401 .product_name
= "HVR-950Q",
2402 .ifnum
= QUIRK_ANY_INTERFACE
,
2403 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2407 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
2408 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2409 USB_DEVICE_ID_MATCH_INT_CLASS
|
2410 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2411 .bInterfaceClass
= USB_CLASS_AUDIO
,
2412 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2413 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2414 .vendor_name
= "Hauppauge",
2415 .product_name
= "HVR-950Q",
2416 .ifnum
= QUIRK_ANY_INTERFACE
,
2417 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2421 USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
2422 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
2423 USB_DEVICE_ID_MATCH_INT_CLASS
|
2424 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2425 .bInterfaceClass
= USB_CLASS_AUDIO
,
2426 .bInterfaceSubClass
= USB_SUBCLASS_AUDIOCONTROL
,
2427 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2428 .vendor_name
= "Hauppauge",
2429 .product_name
= "HVR-950Q",
2430 .ifnum
= QUIRK_ANY_INTERFACE
,
2431 .type
= QUIRK_AUDIO_ALIGN_TRANSFER
,
2435 /* Digidesign Mbox */
2437 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2438 USB_DEVICE(0x0dba, 0x1000),
2439 .driver_info
= (unsigned long) &(const struct snd_usb_audio_quirk
) {
2440 .vendor_name
= "Digidesign",
2441 .product_name
= "MBox",
2442 .ifnum
= QUIRK_ANY_INTERFACE
,
2443 .type
= QUIRK_COMPOSITE
,
2444 .data
= (const struct snd_usb_audio_quirk
[]){
2447 .type
= QUIRK_IGNORE_INTERFACE
,
2451 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
2452 .data
= &(const struct audioformat
) {
2453 .formats
= SNDRV_PCM_FMTBIT_S24_3BE
,
2458 .attributes
= UAC_EP_CS_ATTR_SAMPLE_RATE
,
2461 .maxpacksize
= 0x130,
2462 .rates
= SNDRV_PCM_RATE_44100
|
2463 SNDRV_PCM_RATE_48000
,
2467 .rate_table
= (unsigned int[]) {
2482 * Some USB MIDI devices don't have an audio control interface,
2483 * so we have to grab MIDI streaming interfaces here.
2485 .match_flags
= USB_DEVICE_ID_MATCH_INT_CLASS
|
2486 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
2487 .bInterfaceClass
= USB_CLASS_AUDIO
,
2488 .bInterfaceSubClass
= USB_SUBCLASS_MIDISTREAMING
,
2489 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
2490 .ifnum
= QUIRK_ANY_INTERFACE
,
2491 .type
= QUIRK_MIDI_STANDARD_INTERFACE
2495 #undef USB_DEVICE_VENDOR_SPEC