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/E-Mu devices */
44 USB_DEVICE(0x041e, 0x3010),
45 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
46 .vendor_name
= "Creative Labs",
47 .product_name
= "Sound Blaster MP3+",
48 .ifnum
= QUIRK_NO_INTERFACE
53 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
56 .bInterfaceClass
= USB_CLASS_AUDIO
,
60 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
,
63 .bInterfaceClass
= USB_CLASS_AUDIO
,
67 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
68 * class matches do not take effect without an explicit ID match.
71 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
72 USB_DEVICE_ID_MATCH_INT_CLASS
|
73 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
76 .bInterfaceClass
= USB_CLASS_AUDIO
,
77 .bInterfaceSubClass
= USB_SUBCLASS_AUDIO_CONTROL
80 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
81 USB_DEVICE_ID_MATCH_INT_CLASS
|
82 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
85 .bInterfaceClass
= USB_CLASS_AUDIO
,
86 .bInterfaceSubClass
= USB_SUBCLASS_AUDIO_CONTROL
89 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
90 USB_DEVICE_ID_MATCH_INT_CLASS
|
91 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
94 .bInterfaceClass
= USB_CLASS_AUDIO
,
95 .bInterfaceSubClass
= USB_SUBCLASS_AUDIO_CONTROL
98 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
99 USB_DEVICE_ID_MATCH_INT_CLASS
|
100 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
103 .bInterfaceClass
= USB_CLASS_AUDIO
,
104 .bInterfaceSubClass
= USB_SUBCLASS_AUDIO_CONTROL
107 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
108 USB_DEVICE_ID_MATCH_INT_CLASS
|
109 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
112 .bInterfaceClass
= USB_CLASS_AUDIO
,
113 .bInterfaceSubClass
= USB_SUBCLASS_AUDIO_CONTROL
116 .match_flags
= USB_DEVICE_ID_MATCH_DEVICE
|
117 USB_DEVICE_ID_MATCH_INT_CLASS
|
118 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
121 .bInterfaceClass
= USB_CLASS_AUDIO
,
122 .bInterfaceSubClass
= USB_SUBCLASS_AUDIO_CONTROL
129 #define YAMAHA_DEVICE(id, name) { \
130 USB_DEVICE(0x0499, id), \
131 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
132 .vendor_name = "Yamaha", \
133 .product_name = name, \
134 .ifnum = QUIRK_ANY_INTERFACE, \
135 .type = QUIRK_MIDI_YAMAHA \
138 #define YAMAHA_INTERFACE(id, intf, name) { \
139 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
140 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
141 .vendor_name = "Yamaha", \
142 .product_name = name, \
144 .type = QUIRK_MIDI_YAMAHA \
147 YAMAHA_DEVICE(0x1000, "UX256"),
148 YAMAHA_DEVICE(0x1001, "MU1000"),
149 YAMAHA_DEVICE(0x1002, "MU2000"),
150 YAMAHA_DEVICE(0x1003, "MU500"),
151 YAMAHA_INTERFACE(0x1004, 3, "UW500"),
152 YAMAHA_DEVICE(0x1005, "MOTIF6"),
153 YAMAHA_DEVICE(0x1006, "MOTIF7"),
154 YAMAHA_DEVICE(0x1007, "MOTIF8"),
155 YAMAHA_DEVICE(0x1008, "UX96"),
156 YAMAHA_DEVICE(0x1009, "UX16"),
157 YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
158 YAMAHA_DEVICE(0x100c, "UC-MX"),
159 YAMAHA_DEVICE(0x100d, "UC-KX"),
160 YAMAHA_DEVICE(0x100e, "S08"),
161 YAMAHA_DEVICE(0x100f, "CLP-150"),
162 YAMAHA_DEVICE(0x1010, "CLP-170"),
163 YAMAHA_DEVICE(0x1011, "P-250"),
164 YAMAHA_DEVICE(0x1012, "TYROS"),
165 YAMAHA_DEVICE(0x1013, "PF-500"),
166 YAMAHA_DEVICE(0x1014, "S90"),
167 YAMAHA_DEVICE(0x1015, "MOTIF-R"),
168 YAMAHA_DEVICE(0x1016, "MDP-5"),
169 YAMAHA_DEVICE(0x1017, "CVP-204"),
170 YAMAHA_DEVICE(0x1018, "CVP-206"),
171 YAMAHA_DEVICE(0x1019, "CVP-208"),
172 YAMAHA_DEVICE(0x101a, "CVP-210"),
173 YAMAHA_DEVICE(0x101b, "PSR-1100"),
174 YAMAHA_DEVICE(0x101c, "PSR-2100"),
175 YAMAHA_DEVICE(0x101d, "CLP-175"),
176 YAMAHA_DEVICE(0x101e, "PSR-K1"),
177 YAMAHA_DEVICE(0x101f, "EZ-J24"),
178 YAMAHA_DEVICE(0x1020, "EZ-250i"),
179 YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
180 YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
181 YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
182 YAMAHA_DEVICE(0x1024, "CVP-301"),
183 YAMAHA_DEVICE(0x1025, "CVP-303"),
184 YAMAHA_DEVICE(0x1026, "CVP-305"),
185 YAMAHA_DEVICE(0x1027, "CVP-307"),
186 YAMAHA_DEVICE(0x1028, "CVP-309"),
187 YAMAHA_DEVICE(0x1029, "CVP-309GP"),
188 YAMAHA_DEVICE(0x102a, "PSR-1500"),
189 YAMAHA_DEVICE(0x102b, "PSR-3000"),
190 YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
191 YAMAHA_DEVICE(0x1030, "PSR-295/293"),
192 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
193 YAMAHA_DEVICE(0x1032, "DGX-305"),
194 YAMAHA_DEVICE(0x1033, "DGX-505"),
195 YAMAHA_DEVICE(0x1034, NULL
),
196 YAMAHA_DEVICE(0x1035, NULL
),
197 YAMAHA_DEVICE(0x1036, NULL
),
198 YAMAHA_DEVICE(0x1037, NULL
),
199 YAMAHA_DEVICE(0x1038, NULL
),
200 YAMAHA_DEVICE(0x1039, NULL
),
201 YAMAHA_DEVICE(0x103a, NULL
),
202 YAMAHA_DEVICE(0x103b, NULL
),
203 YAMAHA_DEVICE(0x103c, NULL
),
204 YAMAHA_DEVICE(0x103d, NULL
),
205 YAMAHA_DEVICE(0x103e, NULL
),
206 YAMAHA_DEVICE(0x103f, NULL
),
207 YAMAHA_DEVICE(0x1040, NULL
),
208 YAMAHA_DEVICE(0x1041, NULL
),
209 YAMAHA_DEVICE(0x1042, NULL
),
210 YAMAHA_DEVICE(0x1043, NULL
),
211 YAMAHA_DEVICE(0x1044, NULL
),
212 YAMAHA_DEVICE(0x1045, NULL
),
213 YAMAHA_INTERFACE(0x104e, 0, NULL
),
214 YAMAHA_DEVICE(0x104f, NULL
),
215 YAMAHA_DEVICE(0x1050, NULL
),
216 YAMAHA_DEVICE(0x1051, NULL
),
217 YAMAHA_DEVICE(0x1052, NULL
),
218 YAMAHA_DEVICE(0x2000, "DGP-7"),
219 YAMAHA_DEVICE(0x2001, "DGP-5"),
220 YAMAHA_DEVICE(0x2002, NULL
),
221 YAMAHA_DEVICE(0x5000, "CS1D"),
222 YAMAHA_DEVICE(0x5001, "DSP1D"),
223 YAMAHA_DEVICE(0x5002, "DME32"),
224 YAMAHA_DEVICE(0x5003, "DM2000"),
225 YAMAHA_DEVICE(0x5004, "02R96"),
226 YAMAHA_DEVICE(0x5005, "ACU16-C"),
227 YAMAHA_DEVICE(0x5006, "NHB32-C"),
228 YAMAHA_DEVICE(0x5007, "DM1000"),
229 YAMAHA_DEVICE(0x5008, "01V96"),
230 YAMAHA_DEVICE(0x5009, "SPX2000"),
231 YAMAHA_DEVICE(0x500a, "PM5D"),
232 YAMAHA_DEVICE(0x500b, "DME64N"),
233 YAMAHA_DEVICE(0x500c, "DME24N"),
234 YAMAHA_DEVICE(0x500d, NULL
),
235 YAMAHA_DEVICE(0x500e, NULL
),
236 YAMAHA_DEVICE(0x500f, NULL
),
237 YAMAHA_DEVICE(0x7000, "DTX"),
238 YAMAHA_DEVICE(0x7010, "UB99"),
240 #undef YAMAHA_INTERFACE
243 * Roland/RolandED/Edirol/BOSS devices
246 USB_DEVICE(0x0582, 0x0000),
247 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
248 .vendor_name
= "Roland",
249 .product_name
= "UA-100",
250 .ifnum
= QUIRK_ANY_INTERFACE
,
251 .type
= QUIRK_COMPOSITE
,
252 .data
= (const struct snd_usb_audio_quirk
[]) {
255 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
256 .data
= & (const struct audioformat
) {
257 .format
= SNDRV_PCM_FORMAT_S16_LE
,
265 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
272 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
273 .data
= & (const struct audioformat
) {
274 .format
= SNDRV_PCM_FORMAT_S16_LE
,
279 .attributes
= EP_CS_ATTR_FILL_MAX
,
282 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
289 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
290 .data
= & (const struct snd_usb_midi_endpoint_info
) {
291 .out_cables
= 0x0007,
302 USB_DEVICE(0x0582, 0x0002),
303 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
304 .vendor_name
= "EDIROL",
305 .product_name
= "UM-4",
306 .ifnum
= QUIRK_ANY_INTERFACE
,
307 .type
= QUIRK_COMPOSITE
,
308 .data
= (const struct snd_usb_audio_quirk
[]) {
311 .type
= QUIRK_IGNORE_INTERFACE
315 .type
= QUIRK_IGNORE_INTERFACE
319 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
320 .data
= & (const struct snd_usb_midi_endpoint_info
) {
321 .out_cables
= 0x000f,
332 USB_DEVICE(0x0582, 0x0003),
333 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
334 .vendor_name
= "Roland",
335 .product_name
= "SC-8850",
336 .ifnum
= QUIRK_ANY_INTERFACE
,
337 .type
= QUIRK_COMPOSITE
,
338 .data
= (const struct snd_usb_audio_quirk
[]) {
341 .type
= QUIRK_IGNORE_INTERFACE
345 .type
= QUIRK_IGNORE_INTERFACE
349 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
350 .data
= & (const struct snd_usb_midi_endpoint_info
) {
351 .out_cables
= 0x003f,
362 USB_DEVICE(0x0582, 0x0004),
363 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
364 .vendor_name
= "Roland",
365 .product_name
= "U-8",
366 .ifnum
= QUIRK_ANY_INTERFACE
,
367 .type
= QUIRK_COMPOSITE
,
368 .data
= (const struct snd_usb_audio_quirk
[]) {
371 .type
= QUIRK_IGNORE_INTERFACE
375 .type
= QUIRK_IGNORE_INTERFACE
379 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
380 .data
= & (const struct snd_usb_midi_endpoint_info
) {
381 .out_cables
= 0x0005,
392 /* Has ID 0x0099 when not in "Advanced Driver" mode.
393 * The UM-2EX has only one input, but we cannot detect this. */
394 USB_DEVICE(0x0582, 0x0005),
395 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
396 .vendor_name
= "EDIROL",
397 .product_name
= "UM-2",
398 .ifnum
= QUIRK_ANY_INTERFACE
,
399 .type
= QUIRK_COMPOSITE
,
400 .data
= (const struct snd_usb_audio_quirk
[]) {
403 .type
= QUIRK_IGNORE_INTERFACE
407 .type
= QUIRK_IGNORE_INTERFACE
411 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
412 .data
= & (const struct snd_usb_midi_endpoint_info
) {
413 .out_cables
= 0x0003,
424 USB_DEVICE(0x0582, 0x0007),
425 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
426 .vendor_name
= "Roland",
427 .product_name
= "SC-8820",
428 .ifnum
= QUIRK_ANY_INTERFACE
,
429 .type
= QUIRK_COMPOSITE
,
430 .data
= (const struct snd_usb_audio_quirk
[]) {
433 .type
= QUIRK_IGNORE_INTERFACE
437 .type
= QUIRK_IGNORE_INTERFACE
441 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
442 .data
= & (const struct snd_usb_midi_endpoint_info
) {
443 .out_cables
= 0x0013,
454 USB_DEVICE(0x0582, 0x0008),
455 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
456 .vendor_name
= "Roland",
457 .product_name
= "PC-300",
458 .ifnum
= QUIRK_ANY_INTERFACE
,
459 .type
= QUIRK_COMPOSITE
,
460 .data
= (const struct snd_usb_audio_quirk
[]) {
463 .type
= QUIRK_IGNORE_INTERFACE
467 .type
= QUIRK_IGNORE_INTERFACE
471 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
472 .data
= & (const struct snd_usb_midi_endpoint_info
) {
473 .out_cables
= 0x0001,
484 /* has ID 0x009d when not in "Advanced Driver" mode */
485 USB_DEVICE(0x0582, 0x0009),
486 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
487 .vendor_name
= "EDIROL",
488 .product_name
= "UM-1",
489 .ifnum
= QUIRK_ANY_INTERFACE
,
490 .type
= QUIRK_COMPOSITE
,
491 .data
= (const struct snd_usb_audio_quirk
[]) {
494 .type
= QUIRK_IGNORE_INTERFACE
498 .type
= QUIRK_IGNORE_INTERFACE
502 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
503 .data
= & (const struct snd_usb_midi_endpoint_info
) {
504 .out_cables
= 0x0001,
515 USB_DEVICE(0x0582, 0x000b),
516 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
517 .vendor_name
= "Roland",
518 .product_name
= "SK-500",
519 .ifnum
= QUIRK_ANY_INTERFACE
,
520 .type
= QUIRK_COMPOSITE
,
521 .data
= (const struct snd_usb_audio_quirk
[]) {
524 .type
= QUIRK_IGNORE_INTERFACE
528 .type
= QUIRK_IGNORE_INTERFACE
532 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
533 .data
= & (const struct snd_usb_midi_endpoint_info
) {
534 .out_cables
= 0x0013,
545 /* thanks to Emiliano Grilli <emillo@libero.it>
546 * for helping researching this data */
547 USB_DEVICE(0x0582, 0x000c),
548 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
549 .vendor_name
= "Roland",
550 .product_name
= "SC-D70",
551 .ifnum
= QUIRK_ANY_INTERFACE
,
552 .type
= QUIRK_COMPOSITE
,
553 .data
= (const struct snd_usb_audio_quirk
[]) {
556 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
557 .data
= & (const struct audioformat
) {
558 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
566 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
573 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
574 .data
= & (const struct audioformat
) {
575 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
583 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
590 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
591 .data
= & (const struct snd_usb_midi_endpoint_info
) {
592 .out_cables
= 0x0007,
603 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
604 * If the advanced mode switch at the back of the unit is off, the
605 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
606 * but offers only 16-bit PCM.
607 * In advanced mode, the UA-5 will output S24_3LE samples (two
608 * channels) at the rate indicated on the front switch, including
609 * the 96kHz sample rate.
611 USB_DEVICE(0x0582, 0x0010),
612 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
613 .vendor_name
= "EDIROL",
614 .product_name
= "UA-5",
615 .ifnum
= QUIRK_ANY_INTERFACE
,
616 .type
= QUIRK_COMPOSITE
,
617 .data
= (const struct snd_usb_audio_quirk
[]) {
620 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
624 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
633 /* has ID 0x0013 when not in "Advanced Driver" mode */
634 USB_DEVICE(0x0582, 0x0012),
635 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
636 .vendor_name
= "Roland",
637 .product_name
= "XV-5050",
639 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
640 .data
= & (const struct snd_usb_midi_endpoint_info
) {
641 .out_cables
= 0x0001,
647 /* has ID 0x0015 when not in "Advanced Driver" mode */
648 USB_DEVICE(0x0582, 0x0014),
649 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
650 .vendor_name
= "EDIROL",
651 .product_name
= "UM-880",
653 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
654 .data
= & (const struct snd_usb_midi_endpoint_info
) {
655 .out_cables
= 0x01ff,
661 /* has ID 0x0017 when not in "Advanced Driver" mode */
662 USB_DEVICE(0x0582, 0x0016),
663 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
664 .vendor_name
= "EDIROL",
665 .product_name
= "SD-90",
666 .ifnum
= QUIRK_ANY_INTERFACE
,
667 .type
= QUIRK_COMPOSITE
,
668 .data
= (const struct snd_usb_audio_quirk
[]) {
671 .type
= QUIRK_IGNORE_INTERFACE
675 .type
= QUIRK_IGNORE_INTERFACE
679 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
680 .data
= & (const struct snd_usb_midi_endpoint_info
) {
681 .out_cables
= 0x000f,
692 /* has ID 0x001c when not in "Advanced Driver" mode */
693 USB_DEVICE(0x0582, 0x001b),
694 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
695 .vendor_name
= "Roland",
696 .product_name
= "MMP-2",
697 .ifnum
= QUIRK_ANY_INTERFACE
,
698 .type
= QUIRK_COMPOSITE
,
699 .data
= (const struct snd_usb_audio_quirk
[]) {
702 .type
= QUIRK_IGNORE_INTERFACE
706 .type
= QUIRK_IGNORE_INTERFACE
710 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
711 .data
= & (const struct snd_usb_midi_endpoint_info
) {
712 .out_cables
= 0x0001,
723 /* has ID 0x001e when not in "Advanced Driver" mode */
724 USB_DEVICE(0x0582, 0x001d),
725 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
726 .vendor_name
= "Roland",
727 .product_name
= "V-SYNTH",
729 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
730 .data
= & (const struct snd_usb_midi_endpoint_info
) {
731 .out_cables
= 0x0001,
737 /* has ID 0x0024 when not in "Advanced Driver" mode */
738 USB_DEVICE(0x0582, 0x0023),
739 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
740 .vendor_name
= "EDIROL",
741 .product_name
= "UM-550",
743 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
744 .data
= & (const struct snd_usb_midi_endpoint_info
) {
745 .out_cables
= 0x003f,
752 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
753 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
756 USB_DEVICE(0x0582, 0x0025),
757 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
758 .vendor_name
= "EDIROL",
759 .product_name
= "UA-20",
760 .ifnum
= QUIRK_ANY_INTERFACE
,
761 .type
= QUIRK_COMPOSITE
,
762 .data
= (const struct snd_usb_audio_quirk
[]) {
765 .type
= QUIRK_IGNORE_INTERFACE
769 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
770 .data
= & (const struct audioformat
) {
771 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
779 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
786 .type
= QUIRK_AUDIO_FIXED_ENDPOINT
,
787 .data
= & (const struct audioformat
) {
788 .format
= SNDRV_PCM_FORMAT_S24_3LE
,
796 .rates
= SNDRV_PCM_RATE_CONTINUOUS
,
803 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
804 .data
= & (const struct snd_usb_midi_endpoint_info
) {
805 .out_cables
= 0x0001,
816 /* has ID 0x0028 when not in "Advanced Driver" mode */
817 USB_DEVICE(0x0582, 0x0027),
818 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
819 .vendor_name
= "EDIROL",
820 .product_name
= "SD-20",
822 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
823 .data
= & (const struct snd_usb_midi_endpoint_info
) {
824 .out_cables
= 0x0003,
830 /* has ID 0x002a when not in "Advanced Driver" mode */
831 USB_DEVICE(0x0582, 0x0029),
832 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
833 .vendor_name
= "EDIROL",
834 .product_name
= "SD-80",
836 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
837 .data
= & (const struct snd_usb_midi_endpoint_info
) {
838 .out_cables
= 0x000f,
844 * This quirk is for the "Advanced" modes of the Edirol UA-700.
845 * If the sample format switch is not in an advanced setting, the
846 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
847 * but offers only 16-bit PCM and no MIDI.
849 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
850 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
851 .vendor_name
= "EDIROL",
852 .product_name
= "UA-700",
853 .ifnum
= QUIRK_ANY_INTERFACE
,
854 .type
= QUIRK_COMPOSITE
,
855 .data
= (const struct snd_usb_audio_quirk
[]) {
858 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
862 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
866 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
875 /* has ID 0x002e when not in "Advanced Driver" mode */
876 USB_DEVICE(0x0582, 0x002d),
877 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
878 .vendor_name
= "Roland",
879 .product_name
= "XV-2020",
881 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
882 .data
= & (const struct snd_usb_midi_endpoint_info
) {
883 .out_cables
= 0x0001,
889 /* has ID 0x0030 when not in "Advanced Driver" mode */
890 USB_DEVICE(0x0582, 0x002f),
891 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
892 .vendor_name
= "Roland",
893 .product_name
= "VariOS",
895 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
896 .data
= & (const struct snd_usb_midi_endpoint_info
) {
897 .out_cables
= 0x0007,
903 /* has ID 0x0034 when not in "Advanced Driver" mode */
904 USB_DEVICE(0x0582, 0x0033),
905 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
906 .vendor_name
= "EDIROL",
907 .product_name
= "PCR",
909 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
910 .data
= & (const struct snd_usb_midi_endpoint_info
) {
911 .out_cables
= 0x0003,
916 /* TODO: add Roland M-1000 support */
919 * Has ID 0x0038 when not in "Advanced Driver" mode;
920 * later revisions use IDs 0x0054 and 0x00a2.
922 USB_DEVICE(0x0582, 0x0037),
923 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
924 .vendor_name
= "Roland",
925 .product_name
= "Digital Piano",
927 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
928 .data
= & (const struct snd_usb_midi_endpoint_info
) {
929 .out_cables
= 0x0001,
936 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
937 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
940 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
941 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
942 .vendor_name
= "BOSS",
943 .product_name
= "GS-10",
944 .ifnum
= QUIRK_ANY_INTERFACE
,
945 .type
= QUIRK_COMPOSITE
,
946 .data
= & (const struct snd_usb_audio_quirk
[]) {
949 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
953 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
957 .type
= QUIRK_MIDI_STANDARD_INTERFACE
966 /* has ID 0x0041 when not in "Advanced Driver" mode */
967 USB_DEVICE(0x0582, 0x0040),
968 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
969 .vendor_name
= "Roland",
970 .product_name
= "GI-20",
972 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
973 .data
= & (const struct snd_usb_midi_endpoint_info
) {
974 .out_cables
= 0x0001,
980 /* has ID 0x0043 when not in "Advanced Driver" mode */
981 USB_DEVICE(0x0582, 0x0042),
982 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
983 .vendor_name
= "Roland",
984 .product_name
= "RS-70",
986 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
987 .data
= & (const struct snd_usb_midi_endpoint_info
) {
988 .out_cables
= 0x0001,
994 USB_DEVICE(0x0582, 0x0044),
995 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
996 .vendor_name
= "Roland",
997 .product_name
= "UA-1000",
998 .ifnum
= QUIRK_ANY_INTERFACE
,
999 .type
= QUIRK_COMPOSITE
,
1000 .data
= (const struct snd_usb_audio_quirk
[]) {
1003 .type
= QUIRK_AUDIO_EDIROL_UA1000
1007 .type
= QUIRK_AUDIO_EDIROL_UA1000
1011 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1012 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1013 .out_cables
= 0x0003,
1024 /* has ID 0x0049 when not in "Advanced Driver" mode */
1025 USB_DEVICE(0x0582, 0x0047),
1026 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1027 /* .vendor_name = "EDIROL", */
1028 /* .product_name = "UR-80", */
1029 .ifnum
= QUIRK_ANY_INTERFACE
,
1030 .type
= QUIRK_COMPOSITE
,
1031 .data
= (const struct snd_usb_audio_quirk
[]) {
1032 /* in the 96 kHz modes, only interface 1 is there */
1035 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1039 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1048 /* has ID 0x004a when not in "Advanced Driver" mode */
1049 USB_DEVICE(0x0582, 0x0048),
1050 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1051 /* .vendor_name = "EDIROL", */
1052 /* .product_name = "UR-80", */
1054 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1055 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1056 .out_cables
= 0x0003,
1061 /* TODO: add Edirol M-100FX support */
1063 /* has ID 0x004e when not in "Advanced Driver" mode */
1064 USB_DEVICE(0x0582, 0x004c),
1065 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1066 .vendor_name
= "EDIROL",
1067 .product_name
= "PCR-A",
1068 .ifnum
= QUIRK_ANY_INTERFACE
,
1069 .type
= QUIRK_COMPOSITE
,
1070 .data
= (const struct snd_usb_audio_quirk
[]) {
1073 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1077 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1086 /* has ID 0x004f when not in "Advanced Driver" mode */
1087 USB_DEVICE(0x0582, 0x004d),
1088 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1089 .vendor_name
= "EDIROL",
1090 .product_name
= "PCR-A",
1092 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1093 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1094 .out_cables
= 0x0003,
1101 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1102 * is standard compliant, but has only 16-bit PCM.
1104 USB_DEVICE(0x0582, 0x0050),
1105 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1106 .vendor_name
= "EDIROL",
1107 .product_name
= "UA-3FX",
1108 .ifnum
= QUIRK_ANY_INTERFACE
,
1109 .type
= QUIRK_COMPOSITE
,
1110 .data
= (const struct snd_usb_audio_quirk
[]) {
1113 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1117 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1126 USB_DEVICE(0x0582, 0x0052),
1127 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1128 .vendor_name
= "EDIROL",
1129 .product_name
= "UM-1SX",
1131 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1135 USB_DEVICE(0x0582, 0x0060),
1136 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1137 .vendor_name
= "Roland",
1138 .product_name
= "EXR Series",
1140 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1144 /* has ID 0x0067 when not in "Advanced Driver" mode */
1145 USB_DEVICE(0x0582, 0x0065),
1146 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1147 .vendor_name
= "EDIROL",
1148 .product_name
= "PCR-1",
1150 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1151 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1152 .out_cables
= 0x0001,
1158 /* has ID 0x006b when not in "Advanced Driver" mode */
1159 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
1160 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1161 .vendor_name
= "Roland",
1162 .product_name
= "SP-606",
1164 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1165 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1166 .out_cables
= 0x0001,
1172 /* has ID 0x006e when not in "Advanced Driver" mode */
1173 USB_DEVICE(0x0582, 0x006d),
1174 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1175 .vendor_name
= "Roland",
1176 .product_name
= "FANTOM-X",
1178 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1179 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1180 .out_cables
= 0x0001,
1186 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1187 * If the switch is not in an advanced setting, the UA-25 has
1188 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1189 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1191 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
1192 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1193 .vendor_name
= "EDIROL",
1194 .product_name
= "UA-25",
1195 .ifnum
= QUIRK_ANY_INTERFACE
,
1196 .type
= QUIRK_COMPOSITE
,
1197 .data
= (const struct snd_usb_audio_quirk
[]) {
1200 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
1204 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
1208 .type
= QUIRK_AUDIO_EDIROL_UA700_UA25
1217 /* has ID 0x0076 when not in "Advanced Driver" mode */
1218 USB_DEVICE(0x0582, 0x0075),
1219 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1220 .vendor_name
= "BOSS",
1221 .product_name
= "DR-880",
1223 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1224 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1225 .out_cables
= 0x0001,
1231 /* has ID 0x007b when not in "Advanced Driver" mode */
1232 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
1233 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1234 .vendor_name
= "Roland",
1235 /* "RD" or "RD-700SX"? */
1237 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1238 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1239 .out_cables
= 0x0003,
1244 /* Roland UA-101 in High-Speed Mode only */
1246 USB_DEVICE(0x0582, 0x007d),
1247 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1248 .vendor_name
= "Roland",
1249 .product_name
= "UA-101",
1250 .ifnum
= QUIRK_ANY_INTERFACE
,
1251 .type
= QUIRK_COMPOSITE
,
1252 .data
= (const struct snd_usb_audio_quirk
[]) {
1255 .type
= QUIRK_AUDIO_EDIROL_UA101
1259 .type
= QUIRK_AUDIO_EDIROL_UA101
1263 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1264 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1265 .out_cables
= 0x0001,
1276 /* has ID 0x0081 when not in "Advanced Driver" mode */
1277 USB_DEVICE(0x0582, 0x0080),
1278 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1279 .vendor_name
= "Roland",
1280 .product_name
= "G-70",
1282 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1283 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1284 .out_cables
= 0x0001,
1289 /* TODO: add Roland V-SYNTH XT support */
1290 /* TODO: add BOSS GT-PRO support */
1292 /* has ID 0x008c when not in "Advanced Driver" mode */
1293 USB_DEVICE(0x0582, 0x008b),
1294 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1295 .vendor_name
= "EDIROL",
1296 .product_name
= "PC-50",
1298 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1299 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1300 .out_cables
= 0x0001,
1305 /* TODO: add Edirol PC-80 support */
1307 USB_DEVICE(0x0582, 0x0096),
1308 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1309 .vendor_name
= "EDIROL",
1310 .product_name
= "UA-1EX",
1311 .ifnum
= QUIRK_ANY_INTERFACE
,
1312 .type
= QUIRK_COMPOSITE
,
1313 .data
= (const struct snd_usb_audio_quirk
[]) {
1316 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1320 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1329 USB_DEVICE(0x0582, 0x009a),
1330 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1331 .vendor_name
= "EDIROL",
1332 .product_name
= "UM-3EX",
1334 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1335 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1336 .out_cables
= 0x000f,
1341 /* TODO: add Edirol MD-P1 support */
1343 USB_DEVICE(0x582, 0x00a6),
1344 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1345 .vendor_name
= "Roland",
1346 .product_name
= "Juno-G",
1348 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1349 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1350 .out_cables
= 0x0001,
1357 USB_DEVICE(0x0582, 0x00ad),
1358 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1359 .vendor_name
= "Roland",
1360 .product_name
= "SH-201",
1361 .ifnum
= QUIRK_ANY_INTERFACE
,
1362 .type
= QUIRK_COMPOSITE
,
1363 .data
= (const struct snd_usb_audio_quirk
[]) {
1366 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1370 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1374 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1375 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1376 .out_cables
= 0x0001,
1387 /* Roland SonicCell */
1388 USB_DEVICE(0x0582, 0x00c2),
1389 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1390 .vendor_name
= "Roland",
1391 .product_name
= "SonicCell",
1392 .ifnum
= QUIRK_ANY_INTERFACE
,
1393 .type
= QUIRK_COMPOSITE
,
1394 .data
= (const struct snd_usb_audio_quirk
[]) {
1397 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1401 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1405 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1406 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1407 .out_cables
= 0x0001,
1419 USB_DEVICE(0x0582, 0x00da),
1420 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
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,
1447 /* Guillemot devices */
1450 * This is for the "Windows Edition" where the external MIDI ports are
1451 * the only MIDI ports; the control data is reported through HID
1452 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1453 * compliant USB MIDI ports for external MIDI and controls.
1455 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
1456 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1457 .vendor_name
= "Hercules",
1458 .product_name
= "DJ Console (WE)",
1460 .type
= QUIRK_MIDI_FIXED_ENDPOINT
,
1461 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1462 .out_cables
= 0x0001,
1468 /* Midiman/M-Audio devices */
1470 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
1471 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1472 .vendor_name
= "M-Audio",
1473 .product_name
= "MidiSport 2x2",
1474 .ifnum
= QUIRK_ANY_INTERFACE
,
1475 .type
= QUIRK_MIDI_MIDIMAN
,
1476 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1477 .out_cables
= 0x0003,
1483 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
1484 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1485 .vendor_name
= "M-Audio",
1486 .product_name
= "MidiSport 1x1",
1487 .ifnum
= QUIRK_ANY_INTERFACE
,
1488 .type
= QUIRK_MIDI_MIDIMAN
,
1489 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1490 .out_cables
= 0x0001,
1496 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
1497 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1498 .vendor_name
= "M-Audio",
1499 .product_name
= "Keystation",
1500 .ifnum
= QUIRK_ANY_INTERFACE
,
1501 .type
= QUIRK_MIDI_MIDIMAN
,
1502 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1503 .out_cables
= 0x0001,
1509 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
1510 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1511 .vendor_name
= "M-Audio",
1512 .product_name
= "MidiSport 4x4",
1513 .ifnum
= QUIRK_ANY_INTERFACE
,
1514 .type
= QUIRK_MIDI_MIDIMAN
,
1515 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1516 .out_cables
= 0x000f,
1523 * For hardware revision 1.05; in the later revisions (1.10 and
1524 * 1.21), 0x1031 is the ID for the device without firmware.
1525 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1527 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
1528 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1529 .vendor_name
= "M-Audio",
1530 .product_name
= "MidiSport 8x8",
1531 .ifnum
= QUIRK_ANY_INTERFACE
,
1532 .type
= QUIRK_MIDI_MIDIMAN
,
1533 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1534 .out_cables
= 0x01ff,
1540 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
1541 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1542 .vendor_name
= "M-Audio",
1543 .product_name
= "MidiSport 8x8",
1544 .ifnum
= QUIRK_ANY_INTERFACE
,
1545 .type
= QUIRK_MIDI_MIDIMAN
,
1546 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1547 .out_cables
= 0x01ff,
1553 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
1554 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1555 .vendor_name
= "M-Audio",
1556 .product_name
= "MidiSport 2x4",
1557 .ifnum
= QUIRK_ANY_INTERFACE
,
1558 .type
= QUIRK_MIDI_MIDIMAN
,
1559 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1560 .out_cables
= 0x000f,
1566 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
1567 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1568 .vendor_name
= "M-Audio",
1569 .product_name
= "Quattro",
1570 .ifnum
= QUIRK_ANY_INTERFACE
,
1571 .type
= QUIRK_COMPOSITE
,
1572 .data
= & (const struct snd_usb_audio_quirk
[]) {
1574 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1575 * and share endpoints with the other interfaces.
1576 * Ignore them. The other interfaces can do 24 bits,
1577 * but captured samples are big-endian (see usbaudio.c).
1581 .type
= QUIRK_IGNORE_INTERFACE
1585 .type
= QUIRK_IGNORE_INTERFACE
1589 .type
= QUIRK_IGNORE_INTERFACE
1593 .type
= QUIRK_IGNORE_INTERFACE
1597 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1601 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1605 .type
= QUIRK_IGNORE_INTERFACE
1609 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1613 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1617 .type
= QUIRK_MIDI_MIDIMAN
,
1618 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1619 .out_cables
= 0x0001,
1630 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
1631 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1632 .vendor_name
= "M-Audio",
1633 .product_name
= "AudioPhile",
1635 .type
= QUIRK_MIDI_MIDIMAN
,
1636 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1637 .out_cables
= 0x0001,
1643 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
1644 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1645 .vendor_name
= "M-Audio",
1646 .product_name
= "Ozone",
1648 .type
= QUIRK_MIDI_MIDIMAN
,
1649 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1650 .out_cables
= 0x0001,
1656 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
1657 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1658 .vendor_name
= "M-Audio",
1659 .product_name
= "OmniStudio",
1660 .ifnum
= QUIRK_ANY_INTERFACE
,
1661 .type
= QUIRK_COMPOSITE
,
1662 .data
= & (const struct snd_usb_audio_quirk
[]) {
1665 .type
= QUIRK_IGNORE_INTERFACE
1669 .type
= QUIRK_IGNORE_INTERFACE
1673 .type
= QUIRK_IGNORE_INTERFACE
1677 .type
= QUIRK_IGNORE_INTERFACE
1681 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1685 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1689 .type
= QUIRK_IGNORE_INTERFACE
1693 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1697 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1701 .type
= QUIRK_MIDI_MIDIMAN
,
1702 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1703 .out_cables
= 0x0001,
1714 USB_DEVICE(0x0763, 0x2019),
1715 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1716 /* .vendor_name = "M-Audio", */
1717 /* .product_name = "Ozone Academic", */
1718 .ifnum
= QUIRK_ANY_INTERFACE
,
1719 .type
= QUIRK_COMPOSITE
,
1720 .data
= & (const struct snd_usb_audio_quirk
[]) {
1723 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1727 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1731 .type
= QUIRK_AUDIO_STANDARD_INTERFACE
1735 .type
= QUIRK_MIDI_MIDIMAN
,
1736 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1737 .out_cables
= 0x0001,
1750 USB_DEVICE(0x07cf, 0x6801),
1751 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1752 .vendor_name
= "Casio",
1753 .product_name
= "PL-40R",
1755 .type
= QUIRK_MIDI_YAMAHA
1759 /* this ID is used by several devices without a product ID */
1760 USB_DEVICE(0x07cf, 0x6802),
1761 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1762 .vendor_name
= "Casio",
1763 .product_name
= "Keyboard",
1765 .type
= QUIRK_MIDI_YAMAHA
1769 /* Mark of the Unicorn devices */
1771 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
1772 .match_flags
= USB_DEVICE_ID_MATCH_VENDOR
|
1773 USB_DEVICE_ID_MATCH_PRODUCT
|
1774 USB_DEVICE_ID_MATCH_DEV_SUBCLASS
,
1776 .idProduct
= 0x0001,
1777 .bDeviceSubClass
= 2,
1778 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1779 .vendor_name
= "MOTU",
1780 .product_name
= "Fastlane",
1781 .ifnum
= QUIRK_ANY_INTERFACE
,
1782 .type
= QUIRK_COMPOSITE
,
1783 .data
= & (const struct snd_usb_audio_quirk
[]) {
1786 .type
= QUIRK_MIDI_RAW
1790 .type
= QUIRK_IGNORE_INTERFACE
1799 /* Emagic devices */
1801 USB_DEVICE(0x086a, 0x0001),
1802 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1803 .vendor_name
= "Emagic",
1804 /* .product_name = "Unitor8", */
1806 .type
= QUIRK_MIDI_EMAGIC
,
1807 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1808 .out_cables
= 0x80ff,
1814 USB_DEVICE(0x086a, 0x0002),
1815 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1816 .vendor_name
= "Emagic",
1817 /* .product_name = "AMT8", */
1819 .type
= QUIRK_MIDI_EMAGIC
,
1820 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1821 .out_cables
= 0x80ff,
1827 USB_DEVICE(0x086a, 0x0003),
1828 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1829 .vendor_name
= "Emagic",
1830 /* .product_name = "MT4", */
1832 .type
= QUIRK_MIDI_EMAGIC
,
1833 .data
= & (const struct snd_usb_midi_endpoint_info
) {
1834 .out_cables
= 0x800f,
1840 /* TerraTec devices */
1842 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
1843 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1844 .vendor_name
= "TerraTec",
1845 .product_name
= "PHASE 26",
1847 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1851 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
1852 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1853 .vendor_name
= "TerraTec",
1854 .product_name
= "PHASE 26",
1856 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1860 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1861 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1862 .vendor_name
= "TerraTec",
1863 .product_name
= "PHASE 26",
1865 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1869 USB_DEVICE(0x0ccd, 0x0035),
1870 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1871 .vendor_name
= "Miditech",
1872 .product_name
= "Play'n Roll",
1874 .type
= QUIRK_MIDI_CME
1878 /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1880 USB_DEVICE(0x103d, 0x0100),
1881 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1882 .vendor_name
= "Stanton",
1883 .product_name
= "ScratchAmp",
1884 .ifnum
= QUIRK_NO_INTERFACE
1888 USB_DEVICE(0x103d, 0x0101),
1889 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1890 .vendor_name
= "Stanton",
1891 .product_name
= "ScratchAmp",
1892 .ifnum
= QUIRK_NO_INTERFACE
1896 /* Novation EMS devices */
1898 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
1899 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1900 .vendor_name
= "Novation",
1901 .product_name
= "ReMOTE Audio/XStation",
1903 .type
= QUIRK_MIDI_NOVATION
1907 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
1908 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1909 .vendor_name
= "Novation",
1910 .product_name
= "Speedio",
1912 .type
= QUIRK_MIDI_NOVATION
1916 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
1917 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1918 .vendor_name
= "Novation",
1919 .product_name
= "ReMOTE25",
1921 .type
= QUIRK_MIDI_NOVATION
1927 /* aka. Serato Scratch Live DJ Box */
1928 USB_DEVICE(0x13e5, 0x0001),
1929 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1930 .vendor_name
= "Rane",
1931 .product_name
= "SL-1",
1932 .ifnum
= QUIRK_NO_INTERFACE
1936 /* Miditech devices */
1938 USB_DEVICE(0x4752, 0x0011),
1939 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1940 .vendor_name
= "Miditech",
1941 .product_name
= "Midistart-2",
1943 .type
= QUIRK_MIDI_CME
1947 /* Central Music devices */
1949 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
1950 USB_DEVICE(0x7104, 0x2202),
1951 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1953 .type
= QUIRK_MIDI_CME
1959 * Some USB MIDI devices don't have an audio control interface,
1960 * so we have to grab MIDI streaming interfaces here.
1962 .match_flags
= USB_DEVICE_ID_MATCH_INT_CLASS
|
1963 USB_DEVICE_ID_MATCH_INT_SUBCLASS
,
1964 .bInterfaceClass
= USB_CLASS_AUDIO
,
1965 .bInterfaceSubClass
= USB_SUBCLASS_MIDI_STREAMING
,
1966 .driver_info
= (unsigned long) & (const struct snd_usb_audio_quirk
) {
1967 .ifnum
= QUIRK_ANY_INTERFACE
,
1968 .type
= QUIRK_MIDI_STANDARD_INTERFACE
1972 #undef USB_DEVICE_VENDOR_SPEC