blob: d96bf8b2b94b6020bedfe86d997997ef368cdb31 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * ALSA USB Audio Driver
3 *
4 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
5 * Clemens Ladisch <clemens@ladisch.de>
6 *
7 *
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.
12 *
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.
17 *
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
21 */
22
23/*
24 * The contents of this file are part of the driver's id_table.
25 *
26 * In a perfect world, this file would be empty.
27 */
28
29/*
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.)
33 */
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, \
38 .idVendor = vend, \
39 .idProduct = prod, \
40 .bInterfaceClass = USB_CLASS_VENDOR_SPEC
41
Clemens Ladisch25a47b62008-02-25 11:04:19 +010042/* Creative/E-Mu devices */
43{
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
49 }
50},
51{
52 /* E-Mu 0202 USB */
53 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
54 .idVendor = 0x041e,
55 .idProduct = 0x3f02,
56 .bInterfaceClass = USB_CLASS_AUDIO,
57},
58{
59 /* E-Mu 0404 USB */
60 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
61 .idVendor = 0x041e,
62 .idProduct = 0x3f04,
63 .bInterfaceClass = USB_CLASS_AUDIO,
64},
Eran Tromer97c889a2008-09-26 01:07:03 -040065{
66 /* E-Mu Tracker Pre */
67 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
68 .idVendor = 0x041e,
69 .idProduct = 0x3f0a,
70 .bInterfaceClass = USB_CLASS_AUDIO,
71},
Clemens Ladisch25a47b62008-02-25 11:04:19 +010072
Linus Torvalds1da177e2005-04-16 15:20:36 -070073/*
Daniel Drakea9121452007-05-07 09:27:05 +020074 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
75 * class matches do not take effect without an explicit ID match.
76 */
77{
78 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
79 USB_DEVICE_ID_MATCH_INT_CLASS |
80 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
81 .idVendor = 0x046d,
Daniel Draked4170452007-05-10 08:52:19 +020082 .idProduct = 0x0850,
83 .bInterfaceClass = USB_CLASS_AUDIO,
84 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
85},
86{
87 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
88 USB_DEVICE_ID_MATCH_INT_CLASS |
89 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
90 .idVendor = 0x046d,
George Shapovalovc34532d2007-07-09 10:42:35 +020091 .idProduct = 0x08ae,
92 .bInterfaceClass = USB_CLASS_AUDIO,
93 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
94},
95{
96 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
97 USB_DEVICE_ID_MATCH_INT_CLASS |
98 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
99 .idVendor = 0x046d,
Ritesh Raj Sarrafcfc24ec2007-07-10 13:03:57 +0200100 .idProduct = 0x08c6,
101 .bInterfaceClass = USB_CLASS_AUDIO,
102 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
103},
104{
105 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
106 USB_DEVICE_ID_MATCH_INT_CLASS |
107 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
108 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +0200109 .idProduct = 0x08f0,
110 .bInterfaceClass = USB_CLASS_AUDIO,
111 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
112},
113{
114 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
115 USB_DEVICE_ID_MATCH_INT_CLASS |
116 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
117 .idVendor = 0x046d,
Dawid Wrobel31127f22007-10-22 11:57:17 +0200118 .idProduct = 0x08f5,
119 .bInterfaceClass = USB_CLASS_AUDIO,
120 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
121},
122{
123 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
124 USB_DEVICE_ID_MATCH_INT_CLASS |
125 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
126 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +0200127 .idProduct = 0x08f6,
128 .bInterfaceClass = USB_CLASS_AUDIO,
129 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
130},
Clemens Ladisch25a47b62008-02-25 11:04:19 +0100131
James Courtier-Dutton1e741902007-10-08 18:49:43 +0100132/*
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133 * Yamaha devices
134 */
135
136#define YAMAHA_DEVICE(id, name) { \
137 USB_DEVICE(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100138 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139 .vendor_name = "Yamaha", \
140 .product_name = name, \
141 .ifnum = QUIRK_ANY_INTERFACE, \
142 .type = QUIRK_MIDI_YAMAHA \
143 } \
144}
145#define YAMAHA_INTERFACE(id, intf, name) { \
146 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100147 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148 .vendor_name = "Yamaha", \
149 .product_name = name, \
150 .ifnum = intf, \
151 .type = QUIRK_MIDI_YAMAHA \
152 } \
153}
154YAMAHA_DEVICE(0x1000, "UX256"),
155YAMAHA_DEVICE(0x1001, "MU1000"),
156YAMAHA_DEVICE(0x1002, "MU2000"),
157YAMAHA_DEVICE(0x1003, "MU500"),
158YAMAHA_INTERFACE(0x1004, 3, "UW500"),
159YAMAHA_DEVICE(0x1005, "MOTIF6"),
160YAMAHA_DEVICE(0x1006, "MOTIF7"),
161YAMAHA_DEVICE(0x1007, "MOTIF8"),
162YAMAHA_DEVICE(0x1008, "UX96"),
163YAMAHA_DEVICE(0x1009, "UX16"),
164YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
165YAMAHA_DEVICE(0x100c, "UC-MX"),
166YAMAHA_DEVICE(0x100d, "UC-KX"),
167YAMAHA_DEVICE(0x100e, "S08"),
168YAMAHA_DEVICE(0x100f, "CLP-150"),
169YAMAHA_DEVICE(0x1010, "CLP-170"),
170YAMAHA_DEVICE(0x1011, "P-250"),
171YAMAHA_DEVICE(0x1012, "TYROS"),
172YAMAHA_DEVICE(0x1013, "PF-500"),
173YAMAHA_DEVICE(0x1014, "S90"),
174YAMAHA_DEVICE(0x1015, "MOTIF-R"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100175YAMAHA_DEVICE(0x1016, "MDP-5"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700176YAMAHA_DEVICE(0x1017, "CVP-204"),
177YAMAHA_DEVICE(0x1018, "CVP-206"),
178YAMAHA_DEVICE(0x1019, "CVP-208"),
179YAMAHA_DEVICE(0x101a, "CVP-210"),
180YAMAHA_DEVICE(0x101b, "PSR-1100"),
181YAMAHA_DEVICE(0x101c, "PSR-2100"),
182YAMAHA_DEVICE(0x101d, "CLP-175"),
183YAMAHA_DEVICE(0x101e, "PSR-K1"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100184YAMAHA_DEVICE(0x101f, "EZ-J24"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185YAMAHA_DEVICE(0x1020, "EZ-250i"),
186YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
187YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
188YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
189YAMAHA_DEVICE(0x1024, "CVP-301"),
190YAMAHA_DEVICE(0x1025, "CVP-303"),
191YAMAHA_DEVICE(0x1026, "CVP-305"),
192YAMAHA_DEVICE(0x1027, "CVP-307"),
193YAMAHA_DEVICE(0x1028, "CVP-309"),
194YAMAHA_DEVICE(0x1029, "CVP-309GP"),
195YAMAHA_DEVICE(0x102a, "PSR-1500"),
196YAMAHA_DEVICE(0x102b, "PSR-3000"),
197YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
198YAMAHA_DEVICE(0x1030, "PSR-295/293"),
199YAMAHA_DEVICE(0x1031, "DGX-205/203"),
200YAMAHA_DEVICE(0x1032, "DGX-305"),
201YAMAHA_DEVICE(0x1033, "DGX-505"),
202YAMAHA_DEVICE(0x1034, NULL),
203YAMAHA_DEVICE(0x1035, NULL),
204YAMAHA_DEVICE(0x1036, NULL),
205YAMAHA_DEVICE(0x1037, NULL),
206YAMAHA_DEVICE(0x1038, NULL),
207YAMAHA_DEVICE(0x1039, NULL),
208YAMAHA_DEVICE(0x103a, NULL),
209YAMAHA_DEVICE(0x103b, NULL),
210YAMAHA_DEVICE(0x103c, NULL),
Clemens Ladisch0ac2ac02005-07-01 16:19:39 +0200211YAMAHA_DEVICE(0x103d, NULL),
Clemens Ladischf542fda2005-09-20 09:06:36 +0200212YAMAHA_DEVICE(0x103e, NULL),
213YAMAHA_DEVICE(0x103f, NULL),
214YAMAHA_DEVICE(0x1040, NULL),
215YAMAHA_DEVICE(0x1041, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200216YAMAHA_DEVICE(0x1042, NULL),
217YAMAHA_DEVICE(0x1043, NULL),
218YAMAHA_DEVICE(0x1044, NULL),
219YAMAHA_DEVICE(0x1045, NULL),
Clemens Ladischc85ceac2008-07-10 11:01:06 +0200220YAMAHA_INTERFACE(0x104e, 0, NULL),
Clemens Ladisch83a1a392008-07-10 11:05:42 +0200221YAMAHA_DEVICE(0x104f, NULL),
222YAMAHA_DEVICE(0x1050, NULL),
223YAMAHA_DEVICE(0x1051, NULL),
224YAMAHA_DEVICE(0x1052, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225YAMAHA_DEVICE(0x2000, "DGP-7"),
226YAMAHA_DEVICE(0x2001, "DGP-5"),
227YAMAHA_DEVICE(0x2002, NULL),
228YAMAHA_DEVICE(0x5000, "CS1D"),
229YAMAHA_DEVICE(0x5001, "DSP1D"),
230YAMAHA_DEVICE(0x5002, "DME32"),
231YAMAHA_DEVICE(0x5003, "DM2000"),
232YAMAHA_DEVICE(0x5004, "02R96"),
233YAMAHA_DEVICE(0x5005, "ACU16-C"),
234YAMAHA_DEVICE(0x5006, "NHB32-C"),
235YAMAHA_DEVICE(0x5007, "DM1000"),
236YAMAHA_DEVICE(0x5008, "01V96"),
237YAMAHA_DEVICE(0x5009, "SPX2000"),
238YAMAHA_DEVICE(0x500a, "PM5D"),
239YAMAHA_DEVICE(0x500b, "DME64N"),
240YAMAHA_DEVICE(0x500c, "DME24N"),
241YAMAHA_DEVICE(0x500d, NULL),
242YAMAHA_DEVICE(0x500e, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200243YAMAHA_DEVICE(0x500f, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244YAMAHA_DEVICE(0x7000, "DTX"),
245YAMAHA_DEVICE(0x7010, "UB99"),
246#undef YAMAHA_DEVICE
247#undef YAMAHA_INTERFACE
248
249/*
250 * Roland/RolandED/Edirol/BOSS devices
251 */
252{
253 USB_DEVICE(0x0582, 0x0000),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100254 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255 .vendor_name = "Roland",
256 .product_name = "UA-100",
257 .ifnum = QUIRK_ANY_INTERFACE,
258 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100259 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260 {
261 .ifnum = 0,
262 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
263 .data = & (const struct audioformat) {
264 .format = SNDRV_PCM_FORMAT_S16_LE,
265 .channels = 4,
266 .iface = 0,
267 .altsetting = 1,
268 .altset_idx = 1,
269 .attributes = 0,
270 .endpoint = 0x01,
271 .ep_attr = 0x09,
272 .rates = SNDRV_PCM_RATE_CONTINUOUS,
273 .rate_min = 44100,
274 .rate_max = 44100,
275 }
276 },
277 {
278 .ifnum = 1,
279 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
280 .data = & (const struct audioformat) {
281 .format = SNDRV_PCM_FORMAT_S16_LE,
282 .channels = 2,
283 .iface = 1,
284 .altsetting = 1,
285 .altset_idx = 1,
286 .attributes = EP_CS_ATTR_FILL_MAX,
287 .endpoint = 0x81,
288 .ep_attr = 0x05,
289 .rates = SNDRV_PCM_RATE_CONTINUOUS,
290 .rate_min = 44100,
291 .rate_max = 44100,
292 }
293 },
294 {
295 .ifnum = 2,
296 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100297 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700298 .out_cables = 0x0007,
299 .in_cables = 0x0007
300 }
301 },
302 {
303 .ifnum = -1
304 }
305 }
306 }
307},
308{
309 USB_DEVICE(0x0582, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100310 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700311 .vendor_name = "EDIROL",
312 .product_name = "UM-4",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200313 .ifnum = QUIRK_ANY_INTERFACE,
314 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100315 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200316 {
317 .ifnum = 0,
318 .type = QUIRK_IGNORE_INTERFACE
319 },
320 {
321 .ifnum = 1,
322 .type = QUIRK_IGNORE_INTERFACE
323 },
324 {
325 .ifnum = 2,
326 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100327 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200328 .out_cables = 0x000f,
329 .in_cables = 0x000f
330 }
331 },
332 {
333 .ifnum = -1
334 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335 }
336 }
337},
338{
339 USB_DEVICE(0x0582, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100340 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341 .vendor_name = "Roland",
342 .product_name = "SC-8850",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200343 .ifnum = QUIRK_ANY_INTERFACE,
344 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100345 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200346 {
347 .ifnum = 0,
348 .type = QUIRK_IGNORE_INTERFACE
349 },
350 {
351 .ifnum = 1,
352 .type = QUIRK_IGNORE_INTERFACE
353 },
354 {
355 .ifnum = 2,
356 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100357 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200358 .out_cables = 0x003f,
359 .in_cables = 0x003f
360 }
361 },
362 {
363 .ifnum = -1
364 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365 }
366 }
367},
368{
369 USB_DEVICE(0x0582, 0x0004),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100370 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371 .vendor_name = "Roland",
372 .product_name = "U-8",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200373 .ifnum = QUIRK_ANY_INTERFACE,
374 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100375 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200376 {
377 .ifnum = 0,
378 .type = QUIRK_IGNORE_INTERFACE
379 },
380 {
381 .ifnum = 1,
382 .type = QUIRK_IGNORE_INTERFACE
383 },
384 {
385 .ifnum = 2,
386 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100387 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200388 .out_cables = 0x0005,
389 .in_cables = 0x0005
390 }
391 },
392 {
393 .ifnum = -1
394 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700395 }
396 }
397},
398{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100399 /* Has ID 0x0099 when not in "Advanced Driver" mode.
400 * The UM-2EX has only one input, but we cannot detect this. */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401 USB_DEVICE(0x0582, 0x0005),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100402 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700403 .vendor_name = "EDIROL",
404 .product_name = "UM-2",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200405 .ifnum = QUIRK_ANY_INTERFACE,
406 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100407 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200408 {
409 .ifnum = 0,
410 .type = QUIRK_IGNORE_INTERFACE
411 },
412 {
413 .ifnum = 1,
414 .type = QUIRK_IGNORE_INTERFACE
415 },
416 {
417 .ifnum = 2,
418 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100419 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200420 .out_cables = 0x0003,
421 .in_cables = 0x0003
422 }
423 },
424 {
425 .ifnum = -1
426 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427 }
428 }
429},
430{
431 USB_DEVICE(0x0582, 0x0007),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100432 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700433 .vendor_name = "Roland",
434 .product_name = "SC-8820",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200435 .ifnum = QUIRK_ANY_INTERFACE,
436 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100437 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200438 {
439 .ifnum = 0,
440 .type = QUIRK_IGNORE_INTERFACE
441 },
442 {
443 .ifnum = 1,
444 .type = QUIRK_IGNORE_INTERFACE
445 },
446 {
447 .ifnum = 2,
448 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100449 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200450 .out_cables = 0x0013,
451 .in_cables = 0x0013
452 }
453 },
454 {
455 .ifnum = -1
456 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457 }
458 }
459},
460{
461 USB_DEVICE(0x0582, 0x0008),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100462 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700463 .vendor_name = "Roland",
464 .product_name = "PC-300",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200465 .ifnum = QUIRK_ANY_INTERFACE,
466 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100467 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200468 {
469 .ifnum = 0,
470 .type = QUIRK_IGNORE_INTERFACE
471 },
472 {
473 .ifnum = 1,
474 .type = QUIRK_IGNORE_INTERFACE
475 },
476 {
477 .ifnum = 2,
478 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100479 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200480 .out_cables = 0x0001,
481 .in_cables = 0x0001
482 }
483 },
484 {
485 .ifnum = -1
486 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700487 }
488 }
489},
490{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100491 /* has ID 0x009d when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700492 USB_DEVICE(0x0582, 0x0009),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100493 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700494 .vendor_name = "EDIROL",
495 .product_name = "UM-1",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200496 .ifnum = QUIRK_ANY_INTERFACE,
497 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100498 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200499 {
500 .ifnum = 0,
501 .type = QUIRK_IGNORE_INTERFACE
502 },
503 {
504 .ifnum = 1,
505 .type = QUIRK_IGNORE_INTERFACE
506 },
507 {
508 .ifnum = 2,
509 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100510 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200511 .out_cables = 0x0001,
512 .in_cables = 0x0001
513 }
514 },
515 {
516 .ifnum = -1
517 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700518 }
519 }
520},
521{
522 USB_DEVICE(0x0582, 0x000b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100523 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700524 .vendor_name = "Roland",
525 .product_name = "SK-500",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200526 .ifnum = QUIRK_ANY_INTERFACE,
527 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100528 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200529 {
530 .ifnum = 0,
531 .type = QUIRK_IGNORE_INTERFACE
532 },
533 {
534 .ifnum = 1,
535 .type = QUIRK_IGNORE_INTERFACE
536 },
537 {
538 .ifnum = 2,
539 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100540 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200541 .out_cables = 0x0013,
542 .in_cables = 0x0013
543 }
544 },
545 {
546 .ifnum = -1
547 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700548 }
549 }
550},
551{
552 /* thanks to Emiliano Grilli <emillo@libero.it>
553 * for helping researching this data */
554 USB_DEVICE(0x0582, 0x000c),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100555 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700556 .vendor_name = "Roland",
557 .product_name = "SC-D70",
558 .ifnum = QUIRK_ANY_INTERFACE,
559 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100560 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700561 {
562 .ifnum = 0,
563 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
564 .data = & (const struct audioformat) {
565 .format = SNDRV_PCM_FORMAT_S24_3LE,
566 .channels = 2,
567 .iface = 0,
568 .altsetting = 1,
569 .altset_idx = 1,
570 .attributes = 0,
571 .endpoint = 0x01,
572 .ep_attr = 0x01,
573 .rates = SNDRV_PCM_RATE_CONTINUOUS,
574 .rate_min = 44100,
575 .rate_max = 44100,
576 }
577 },
578 {
579 .ifnum = 1,
580 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
581 .data = & (const struct audioformat) {
582 .format = SNDRV_PCM_FORMAT_S24_3LE,
583 .channels = 2,
584 .iface = 1,
585 .altsetting = 1,
586 .altset_idx = 1,
587 .attributes = 0,
588 .endpoint = 0x81,
589 .ep_attr = 0x01,
590 .rates = SNDRV_PCM_RATE_CONTINUOUS,
591 .rate_min = 44100,
592 .rate_max = 44100,
593 }
594 },
595 {
596 .ifnum = 2,
597 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100598 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700599 .out_cables = 0x0007,
600 .in_cables = 0x0007
601 }
602 },
603 {
604 .ifnum = -1
605 }
606 }
607 }
608},
609{ /*
610 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
611 * If the advanced mode switch at the back of the unit is off, the
612 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
613 * but offers only 16-bit PCM.
614 * In advanced mode, the UA-5 will output S24_3LE samples (two
615 * channels) at the rate indicated on the front switch, including
616 * the 96kHz sample rate.
617 */
618 USB_DEVICE(0x0582, 0x0010),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100619 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700620 .vendor_name = "EDIROL",
621 .product_name = "UA-5",
622 .ifnum = QUIRK_ANY_INTERFACE,
623 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100624 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700625 {
626 .ifnum = 1,
627 .type = QUIRK_AUDIO_STANDARD_INTERFACE
628 },
629 {
630 .ifnum = 2,
631 .type = QUIRK_AUDIO_STANDARD_INTERFACE
632 },
633 {
634 .ifnum = -1
635 }
636 }
637 }
638},
639{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200640 /* has ID 0x0013 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700641 USB_DEVICE(0x0582, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100642 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700643 .vendor_name = "Roland",
644 .product_name = "XV-5050",
645 .ifnum = 0,
646 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100647 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700648 .out_cables = 0x0001,
649 .in_cables = 0x0001
650 }
651 }
652},
653{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200654 /* has ID 0x0015 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700655 USB_DEVICE(0x0582, 0x0014),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100656 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700657 .vendor_name = "EDIROL",
658 .product_name = "UM-880",
659 .ifnum = 0,
660 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100661 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662 .out_cables = 0x01ff,
663 .in_cables = 0x01ff
664 }
665 }
666},
667{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200668 /* has ID 0x0017 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669 USB_DEVICE(0x0582, 0x0016),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100670 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700671 .vendor_name = "EDIROL",
672 .product_name = "SD-90",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200673 .ifnum = QUIRK_ANY_INTERFACE,
674 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100675 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200676 {
677 .ifnum = 0,
678 .type = QUIRK_IGNORE_INTERFACE
679 },
680 {
681 .ifnum = 1,
682 .type = QUIRK_IGNORE_INTERFACE
683 },
684 {
685 .ifnum = 2,
686 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100687 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200688 .out_cables = 0x000f,
689 .in_cables = 0x000f
690 }
691 },
692 {
693 .ifnum = -1
694 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700695 }
696 }
697},
698{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200699 /* has ID 0x001c when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700700 USB_DEVICE(0x0582, 0x001b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100701 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700702 .vendor_name = "Roland",
703 .product_name = "MMP-2",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200704 .ifnum = QUIRK_ANY_INTERFACE,
705 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100706 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200707 {
708 .ifnum = 0,
709 .type = QUIRK_IGNORE_INTERFACE
710 },
711 {
712 .ifnum = 1,
713 .type = QUIRK_IGNORE_INTERFACE
714 },
715 {
716 .ifnum = 2,
717 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100718 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200719 .out_cables = 0x0001,
720 .in_cables = 0x0001
721 }
722 },
723 {
724 .ifnum = -1
725 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726 }
727 }
728},
729{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200730 /* has ID 0x001e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700731 USB_DEVICE(0x0582, 0x001d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100732 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700733 .vendor_name = "Roland",
734 .product_name = "V-SYNTH",
735 .ifnum = 0,
736 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100737 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700738 .out_cables = 0x0001,
739 .in_cables = 0x0001
740 }
741 }
742},
743{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200744 /* has ID 0x0024 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700745 USB_DEVICE(0x0582, 0x0023),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100746 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700747 .vendor_name = "EDIROL",
748 .product_name = "UM-550",
749 .ifnum = 0,
750 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100751 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700752 .out_cables = 0x003f,
753 .in_cables = 0x003f
754 }
755 }
756},
757{
758 /*
759 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
760 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
761 * and no MIDI.
762 */
763 USB_DEVICE(0x0582, 0x0025),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100764 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700765 .vendor_name = "EDIROL",
766 .product_name = "UA-20",
767 .ifnum = QUIRK_ANY_INTERFACE,
768 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100769 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700770 {
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100771 .ifnum = 0,
772 .type = QUIRK_IGNORE_INTERFACE
773 },
774 {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700775 .ifnum = 1,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100776 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
777 .data = & (const struct audioformat) {
778 .format = SNDRV_PCM_FORMAT_S24_3LE,
779 .channels = 2,
780 .iface = 1,
781 .altsetting = 1,
782 .altset_idx = 1,
783 .attributes = 0,
784 .endpoint = 0x01,
785 .ep_attr = 0x01,
786 .rates = SNDRV_PCM_RATE_CONTINUOUS,
787 .rate_min = 44100,
788 .rate_max = 44100,
789 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700790 },
791 {
792 .ifnum = 2,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100793 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
794 .data = & (const struct audioformat) {
795 .format = SNDRV_PCM_FORMAT_S24_3LE,
796 .channels = 2,
797 .iface = 2,
798 .altsetting = 1,
799 .altset_idx = 1,
800 .attributes = 0,
801 .endpoint = 0x82,
802 .ep_attr = 0x01,
803 .rates = SNDRV_PCM_RATE_CONTINUOUS,
804 .rate_min = 44100,
805 .rate_max = 44100,
806 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807 },
808 {
809 .ifnum = 3,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100810 .type = QUIRK_MIDI_FIXED_ENDPOINT,
811 .data = & (const struct snd_usb_midi_endpoint_info) {
812 .out_cables = 0x0001,
813 .in_cables = 0x0001
814 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700815 },
816 {
817 .ifnum = -1
818 }
819 }
820 }
821},
822{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200823 /* has ID 0x0028 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700824 USB_DEVICE(0x0582, 0x0027),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100825 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826 .vendor_name = "EDIROL",
827 .product_name = "SD-20",
828 .ifnum = 0,
829 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100830 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700831 .out_cables = 0x0003,
832 .in_cables = 0x0007
833 }
834 }
835},
836{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200837 /* has ID 0x002a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700838 USB_DEVICE(0x0582, 0x0029),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100839 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700840 .vendor_name = "EDIROL",
841 .product_name = "SD-80",
842 .ifnum = 0,
843 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100844 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700845 .out_cables = 0x000f,
846 .in_cables = 0x000f
847 }
848 }
849},
850{ /*
851 * This quirk is for the "Advanced" modes of the Edirol UA-700.
852 * If the sample format switch is not in an advanced setting, the
853 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
854 * but offers only 16-bit PCM and no MIDI.
855 */
856 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100857 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700858 .vendor_name = "EDIROL",
859 .product_name = "UA-700",
860 .ifnum = QUIRK_ANY_INTERFACE,
861 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100862 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700863 {
864 .ifnum = 1,
865 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
866 },
867 {
868 .ifnum = 2,
869 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
870 },
871 {
872 .ifnum = 3,
873 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
874 },
875 {
876 .ifnum = -1
877 }
878 }
879 }
880},
881{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200882 /* has ID 0x002e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700883 USB_DEVICE(0x0582, 0x002d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100884 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700885 .vendor_name = "Roland",
886 .product_name = "XV-2020",
887 .ifnum = 0,
888 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100889 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700890 .out_cables = 0x0001,
891 .in_cables = 0x0001
892 }
893 }
894},
895{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200896 /* has ID 0x0030 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700897 USB_DEVICE(0x0582, 0x002f),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100898 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700899 .vendor_name = "Roland",
900 .product_name = "VariOS",
901 .ifnum = 0,
902 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100903 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700904 .out_cables = 0x0007,
905 .in_cables = 0x0007
906 }
907 }
908},
909{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200910 /* has ID 0x0034 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700911 USB_DEVICE(0x0582, 0x0033),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100912 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700913 .vendor_name = "EDIROL",
914 .product_name = "PCR",
915 .ifnum = 0,
916 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100917 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700918 .out_cables = 0x0003,
919 .in_cables = 0x0007
920 }
921 }
922},
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200923 /* TODO: add Roland M-1000 support */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700924{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200925 /*
926 * Has ID 0x0038 when not in "Advanced Driver" mode;
927 * later revisions use IDs 0x0054 and 0x00a2.
928 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700929 USB_DEVICE(0x0582, 0x0037),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100930 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700931 .vendor_name = "Roland",
932 .product_name = "Digital Piano",
933 .ifnum = 0,
934 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100935 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700936 .out_cables = 0x0001,
937 .in_cables = 0x0001
938 }
939 }
940},
941{
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200942 /*
943 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
944 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
945 * and no MIDI.
946 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700947 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100948 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700949 .vendor_name = "BOSS",
950 .product_name = "GS-10",
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200951 .ifnum = QUIRK_ANY_INTERFACE,
952 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100953 .data = & (const struct snd_usb_audio_quirk[]) {
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200954 {
955 .ifnum = 1,
956 .type = QUIRK_AUDIO_STANDARD_INTERFACE
957 },
958 {
959 .ifnum = 2,
960 .type = QUIRK_AUDIO_STANDARD_INTERFACE
961 },
962 {
963 .ifnum = 3,
964 .type = QUIRK_MIDI_STANDARD_INTERFACE
965 },
966 {
967 .ifnum = -1
968 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700969 }
970 }
971},
972{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200973 /* has ID 0x0041 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700974 USB_DEVICE(0x0582, 0x0040),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100975 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700976 .vendor_name = "Roland",
977 .product_name = "GI-20",
978 .ifnum = 0,
979 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100980 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700981 .out_cables = 0x0001,
982 .in_cables = 0x0001
983 }
984 }
985},
986{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200987 /* has ID 0x0043 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700988 USB_DEVICE(0x0582, 0x0042),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100989 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700990 .vendor_name = "Roland",
991 .product_name = "RS-70",
992 .ifnum = 0,
993 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100994 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700995 .out_cables = 0x0001,
996 .in_cables = 0x0001
997 }
998 }
999},
1000{
1001 USB_DEVICE(0x0582, 0x0044),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001002 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001003 .vendor_name = "Roland",
1004 .product_name = "UA-1000",
1005 .ifnum = QUIRK_ANY_INTERFACE,
1006 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001007 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001008 {
1009 .ifnum = 1,
1010 .type = QUIRK_AUDIO_EDIROL_UA1000
1011 },
1012 {
1013 .ifnum = 2,
1014 .type = QUIRK_AUDIO_EDIROL_UA1000
1015 },
1016 {
1017 .ifnum = 3,
1018 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001019 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001020 .out_cables = 0x0003,
1021 .in_cables = 0x0003
1022 }
1023 },
1024 {
1025 .ifnum = -1
1026 }
1027 }
1028 }
1029},
1030{
Clemens Ladisch358ce0c2007-12-19 14:25:24 +01001031 /* 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 */
1040 {
1041 .ifnum = 1,
1042 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1043 },
1044 {
1045 .ifnum = 2,
1046 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1047 },
1048 {
1049 .ifnum = -1
1050 }
1051 }
1052 }
1053},
1054{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001055 /* has ID 0x004a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001056 USB_DEVICE(0x0582, 0x0048),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001057 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch358ce0c2007-12-19 14:25:24 +01001058 /* .vendor_name = "EDIROL", */
1059 /* .product_name = "UR-80", */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001060 .ifnum = 0,
1061 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001062 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001063 .out_cables = 0x0003,
1064 .in_cables = 0x0007
1065 }
1066 }
1067},
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001068 /* TODO: add Edirol M-100FX support */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001069{
Clemens Ladischf38cc312007-02-09 20:52:55 +01001070 /* 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[]) {
1078 {
1079 .ifnum = 1,
1080 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1081 },
1082 {
1083 .ifnum = 2,
1084 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1085 },
1086 {
1087 .ifnum = -1
1088 }
1089 }
1090 }
1091},
1092{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001093 /* has ID 0x004f when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001094 USB_DEVICE(0x0582, 0x004d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001095 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001096 .vendor_name = "EDIROL",
1097 .product_name = "PCR-A",
1098 .ifnum = 0,
1099 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001100 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001101 .out_cables = 0x0003,
1102 .in_cables = 0x0007
1103 }
1104 }
1105},
1106{
1107 /*
1108 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1109 * is standard compliant, but has only 16-bit PCM.
1110 */
1111 USB_DEVICE(0x0582, 0x0050),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001112 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001113 .vendor_name = "EDIROL",
1114 .product_name = "UA-3FX",
1115 .ifnum = QUIRK_ANY_INTERFACE,
1116 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001117 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001118 {
1119 .ifnum = 1,
1120 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1121 },
1122 {
1123 .ifnum = 2,
1124 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1125 },
1126 {
1127 .ifnum = -1
1128 }
1129 }
1130 }
1131},
1132{
1133 USB_DEVICE(0x0582, 0x0052),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001134 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001135 .vendor_name = "EDIROL",
1136 .product_name = "UM-1SX",
1137 .ifnum = 0,
1138 .type = QUIRK_MIDI_STANDARD_INTERFACE
1139 }
1140},
Takashi Iwaif1676842007-07-09 10:39:44 +02001141{
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",
1146 .ifnum = 0,
1147 .type = QUIRK_MIDI_STANDARD_INTERFACE
1148 }
1149},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001150{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001151 /* has ID 0x0067 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001152 USB_DEVICE(0x0582, 0x0065),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001153 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001154 .vendor_name = "EDIROL",
1155 .product_name = "PCR-1",
1156 .ifnum = 0,
1157 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001158 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001159 .out_cables = 0x0001,
1160 .in_cables = 0x0003
1161 }
1162 }
1163},
1164{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001165 /* has ID 0x006b when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001166 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001167 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001168 .vendor_name = "Roland",
1169 .product_name = "SP-606",
1170 .ifnum = 3,
1171 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001172 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001173 .out_cables = 0x0001,
1174 .in_cables = 0x0001
1175 }
1176 }
1177},
1178{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001179 /* has ID 0x006e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001180 USB_DEVICE(0x0582, 0x006d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001181 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001182 .vendor_name = "Roland",
1183 .product_name = "FANTOM-X",
1184 .ifnum = 0,
1185 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001186 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001187 .out_cables = 0x0001,
1188 .in_cables = 0x0001
1189 }
1190 }
1191},
1192{ /*
1193 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1194 * If the switch is not in an advanced setting, the UA-25 has
1195 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1196 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1197 */
1198 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001199 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001200 .vendor_name = "EDIROL",
1201 .product_name = "UA-25",
1202 .ifnum = QUIRK_ANY_INTERFACE,
1203 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001204 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001205 {
1206 .ifnum = 0,
1207 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1208 },
1209 {
1210 .ifnum = 1,
1211 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1212 },
1213 {
1214 .ifnum = 2,
1215 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1216 },
1217 {
1218 .ifnum = -1
1219 }
1220 }
1221 }
1222},
1223{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001224 /* has ID 0x0076 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001225 USB_DEVICE(0x0582, 0x0075),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001226 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001227 .vendor_name = "BOSS",
1228 .product_name = "DR-880",
1229 .ifnum = 0,
1230 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001231 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001232 .out_cables = 0x0001,
1233 .in_cables = 0x0001
1234 }
1235 }
1236},
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001237{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001238 /* has ID 0x007b when not in "Advanced Driver" mode */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001239 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001240 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001241 .vendor_name = "Roland",
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001242 /* "RD" or "RD-700SX"? */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001243 .ifnum = 0,
1244 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001245 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001246 .out_cables = 0x0003,
1247 .in_cables = 0x0003
1248 }
1249 }
1250},
Bjoern Fayd0b0fac2007-02-05 12:27:21 +01001251/* Roland UA-101 in High-Speed Mode only */
1252{
1253 USB_DEVICE(0x0582, 0x007d),
1254 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1255 .vendor_name = "Roland",
1256 .product_name = "UA-101",
1257 .ifnum = QUIRK_ANY_INTERFACE,
1258 .type = QUIRK_COMPOSITE,
1259 .data = (const struct snd_usb_audio_quirk[]) {
1260 {
1261 .ifnum = 0,
1262 .type = QUIRK_AUDIO_EDIROL_UA101
1263 },
1264 {
1265 .ifnum = 1,
1266 .type = QUIRK_AUDIO_EDIROL_UA101
1267 },
1268 {
1269 .ifnum = 2,
1270 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1271 .data = & (const struct snd_usb_midi_endpoint_info) {
1272 .out_cables = 0x0001,
1273 .in_cables = 0x0001
1274 }
1275 },
1276 {
1277 .ifnum = -1
1278 }
1279 }
1280 }
1281},
Clemens Ladischcdca8812006-01-18 08:53:32 +01001282{
1283 /* has ID 0x0081 when not in "Advanced Driver" mode */
1284 USB_DEVICE(0x0582, 0x0080),
1285 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1286 .vendor_name = "Roland",
1287 .product_name = "G-70",
1288 .ifnum = 0,
1289 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1290 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch05422572006-01-18 15:44:53 +01001291 .out_cables = 0x0001,
1292 .in_cables = 0x0001
Clemens Ladischcdca8812006-01-18 08:53:32 +01001293 }
1294 }
1295},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001296 /* TODO: add Roland V-SYNTH XT support */
1297 /* TODO: add BOSS GT-PRO support */
Clemens Ladisch415b09e2006-01-16 08:03:52 +01001298{
1299 /* has ID 0x008c when not in "Advanced Driver" mode */
1300 USB_DEVICE(0x0582, 0x008b),
1301 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1302 .vendor_name = "EDIROL",
1303 .product_name = "PC-50",
1304 .ifnum = 0,
1305 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1306 .data = & (const struct snd_usb_midi_endpoint_info) {
1307 .out_cables = 0x0001,
1308 .in_cables = 0x0001
1309 }
1310 }
1311},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001312 /* TODO: add Edirol PC-80 support */
Takashi Iwai9b0d39b2007-08-10 15:07:06 +02001313{
1314 USB_DEVICE(0x0582, 0x0096),
1315 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1316 .vendor_name = "EDIROL",
1317 .product_name = "UA-1EX",
1318 .ifnum = QUIRK_ANY_INTERFACE,
1319 .type = QUIRK_COMPOSITE,
1320 .data = (const struct snd_usb_audio_quirk[]) {
1321 {
1322 .ifnum = 0,
1323 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1324 },
1325 {
1326 .ifnum = 1,
1327 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1328 },
1329 {
1330 .ifnum = -1
1331 }
1332 }
1333 }
1334},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001335{
1336 USB_DEVICE(0x0582, 0x009a),
1337 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1338 .vendor_name = "EDIROL",
1339 .product_name = "UM-3EX",
1340 .ifnum = 0,
1341 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1342 .data = & (const struct snd_usb_midi_endpoint_info) {
1343 .out_cables = 0x000f,
1344 .in_cables = 0x000f
1345 }
1346 }
1347},
1348 /* TODO: add Edirol MD-P1 support */
Carlo Beccaria87823092007-07-03 08:04:25 +02001349{
Clemens Ladisch25a47b62008-02-25 11:04:19 +01001350 USB_DEVICE(0x582, 0x00a6),
1351 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1352 .vendor_name = "Roland",
1353 .product_name = "Juno-G",
1354 .ifnum = 0,
1355 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1356 .data = & (const struct snd_usb_midi_endpoint_info) {
1357 .out_cables = 0x0001,
1358 .in_cables = 0x0001
1359 }
1360 }
1361},
1362{
Carlo Beccaria87823092007-07-03 08:04:25 +02001363 /* Roland SH-201 */
1364 USB_DEVICE(0x0582, 0x00ad),
1365 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1366 .vendor_name = "Roland",
1367 .product_name = "SH-201",
1368 .ifnum = QUIRK_ANY_INTERFACE,
1369 .type = QUIRK_COMPOSITE,
1370 .data = (const struct snd_usb_audio_quirk[]) {
1371 {
1372 .ifnum = 0,
1373 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1374 },
1375 {
1376 .ifnum = 1,
1377 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1378 },
1379 {
1380 .ifnum = 2,
1381 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1382 .data = & (const struct snd_usb_midi_endpoint_info) {
1383 .out_cables = 0x0001,
1384 .in_cables = 0x0001
1385 }
1386 },
1387 {
1388 .ifnum = -1
1389 }
1390 }
1391 }
1392},
Chris Mennie62b12632008-05-19 16:21:33 +02001393{
1394 /* Roland SonicCell */
1395 USB_DEVICE(0x0582, 0x00c2),
1396 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1397 .vendor_name = "Roland",
1398 .product_name = "SonicCell",
1399 .ifnum = QUIRK_ANY_INTERFACE,
1400 .type = QUIRK_COMPOSITE,
1401 .data = (const struct snd_usb_audio_quirk[]) {
1402 {
1403 .ifnum = 0,
1404 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1405 },
1406 {
1407 .ifnum = 1,
1408 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1409 },
1410 {
1411 .ifnum = 2,
1412 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1413 .data = & (const struct snd_usb_midi_endpoint_info) {
1414 .out_cables = 0x0001,
1415 .in_cables = 0x0001
1416 }
1417 },
1418 {
1419 .ifnum = -1
1420 }
1421 }
1422 }
1423},
Clemens Ladischb38addb2008-07-28 10:19:39 +02001424{
1425 /* BOSS GT-10 */
1426 USB_DEVICE(0x0582, 0x00da),
1427 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1428 .ifnum = QUIRK_ANY_INTERFACE,
1429 .type = QUIRK_COMPOSITE,
1430 .data = (const struct snd_usb_audio_quirk[]) {
1431 {
1432 .ifnum = 0,
1433 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1434 },
1435 {
1436 .ifnum = 1,
1437 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1438 },
1439 {
1440 .ifnum = 2,
1441 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1442 .data = & (const struct snd_usb_midi_endpoint_info) {
1443 .out_cables = 0x0001,
1444 .in_cables = 0x0001
1445 }
1446 },
1447 {
1448 .ifnum = -1
1449 }
1450 }
1451 }
1452},
Chris Mennie62b12632008-05-19 16:21:33 +02001453
Clemens Ladischa25f1752005-10-05 13:23:19 +02001454/* Guillemot devices */
1455{
1456 /*
1457 * This is for the "Windows Edition" where the external MIDI ports are
1458 * the only MIDI ports; the control data is reported through HID
1459 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1460 * compliant USB MIDI ports for external MIDI and controls.
1461 */
1462 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001463 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001464 .vendor_name = "Hercules",
1465 .product_name = "DJ Console (WE)",
1466 .ifnum = 4,
1467 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001468 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001469 .out_cables = 0x0001,
1470 .in_cables = 0x0001
1471 }
1472 }
1473},
1474
Linus Torvalds1da177e2005-04-16 15:20:36 -07001475/* Midiman/M-Audio devices */
1476{
1477 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001478 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001479 .vendor_name = "M-Audio",
1480 .product_name = "MidiSport 2x2",
1481 .ifnum = QUIRK_ANY_INTERFACE,
1482 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001483 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001484 .out_cables = 0x0003,
1485 .in_cables = 0x0003
1486 }
1487 }
1488},
1489{
1490 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001491 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001492 .vendor_name = "M-Audio",
1493 .product_name = "MidiSport 1x1",
1494 .ifnum = QUIRK_ANY_INTERFACE,
1495 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001496 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001497 .out_cables = 0x0001,
1498 .in_cables = 0x0001
1499 }
1500 }
1501},
1502{
1503 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001504 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001505 .vendor_name = "M-Audio",
1506 .product_name = "Keystation",
1507 .ifnum = QUIRK_ANY_INTERFACE,
1508 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001509 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001510 .out_cables = 0x0001,
1511 .in_cables = 0x0001
1512 }
1513 }
1514},
1515{
1516 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001517 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001518 .vendor_name = "M-Audio",
1519 .product_name = "MidiSport 4x4",
1520 .ifnum = QUIRK_ANY_INTERFACE,
1521 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001522 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001523 .out_cables = 0x000f,
1524 .in_cables = 0x000f
1525 }
1526 }
1527},
1528{
1529 /*
1530 * For hardware revision 1.05; in the later revisions (1.10 and
1531 * 1.21), 0x1031 is the ID for the device without firmware.
1532 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1533 */
1534 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001535 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001536 .vendor_name = "M-Audio",
1537 .product_name = "MidiSport 8x8",
1538 .ifnum = QUIRK_ANY_INTERFACE,
1539 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001540 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001541 .out_cables = 0x01ff,
1542 .in_cables = 0x01ff
1543 }
1544 }
1545},
1546{
1547 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001548 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001549 .vendor_name = "M-Audio",
1550 .product_name = "MidiSport 8x8",
1551 .ifnum = QUIRK_ANY_INTERFACE,
1552 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001553 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001554 .out_cables = 0x01ff,
1555 .in_cables = 0x01ff
1556 }
1557 }
1558},
1559{
1560 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001561 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001562 .vendor_name = "M-Audio",
1563 .product_name = "MidiSport 2x4",
1564 .ifnum = QUIRK_ANY_INTERFACE,
1565 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001566 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001567 .out_cables = 0x000f,
1568 .in_cables = 0x0003
1569 }
1570 }
1571},
1572{
1573 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001574 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001575 .vendor_name = "M-Audio",
1576 .product_name = "Quattro",
1577 .ifnum = QUIRK_ANY_INTERFACE,
1578 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001579 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001580 /*
1581 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1582 * and share endpoints with the other interfaces.
1583 * Ignore them. The other interfaces can do 24 bits,
1584 * but captured samples are big-endian (see usbaudio.c).
1585 */
1586 {
1587 .ifnum = 0,
1588 .type = QUIRK_IGNORE_INTERFACE
1589 },
1590 {
1591 .ifnum = 1,
1592 .type = QUIRK_IGNORE_INTERFACE
1593 },
1594 {
1595 .ifnum = 2,
1596 .type = QUIRK_IGNORE_INTERFACE
1597 },
1598 {
1599 .ifnum = 3,
1600 .type = QUIRK_IGNORE_INTERFACE
1601 },
1602 {
1603 .ifnum = 4,
1604 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1605 },
1606 {
1607 .ifnum = 5,
1608 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1609 },
1610 {
1611 .ifnum = 6,
1612 .type = QUIRK_IGNORE_INTERFACE
1613 },
1614 {
1615 .ifnum = 7,
1616 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1617 },
1618 {
1619 .ifnum = 8,
1620 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1621 },
1622 {
1623 .ifnum = 9,
1624 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001625 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001626 .out_cables = 0x0001,
1627 .in_cables = 0x0001
1628 }
1629 },
1630 {
1631 .ifnum = -1
1632 }
1633 }
1634 }
1635},
1636{
1637 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001638 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001639 .vendor_name = "M-Audio",
1640 .product_name = "AudioPhile",
1641 .ifnum = 6,
1642 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001643 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001644 .out_cables = 0x0001,
1645 .in_cables = 0x0001
1646 }
1647 }
1648},
1649{
1650 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001651 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001652 .vendor_name = "M-Audio",
1653 .product_name = "Ozone",
1654 .ifnum = 3,
1655 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001656 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001657 .out_cables = 0x0001,
1658 .in_cables = 0x0001
1659 }
1660 }
1661},
1662{
1663 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001664 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001665 .vendor_name = "M-Audio",
1666 .product_name = "OmniStudio",
1667 .ifnum = QUIRK_ANY_INTERFACE,
1668 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001669 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001670 {
1671 .ifnum = 0,
1672 .type = QUIRK_IGNORE_INTERFACE
1673 },
1674 {
1675 .ifnum = 1,
1676 .type = QUIRK_IGNORE_INTERFACE
1677 },
1678 {
1679 .ifnum = 2,
1680 .type = QUIRK_IGNORE_INTERFACE
1681 },
1682 {
1683 .ifnum = 3,
1684 .type = QUIRK_IGNORE_INTERFACE
1685 },
1686 {
1687 .ifnum = 4,
1688 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1689 },
1690 {
1691 .ifnum = 5,
1692 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1693 },
1694 {
1695 .ifnum = 6,
1696 .type = QUIRK_IGNORE_INTERFACE
1697 },
1698 {
1699 .ifnum = 7,
1700 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1701 },
1702 {
1703 .ifnum = 8,
1704 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1705 },
1706 {
1707 .ifnum = 9,
1708 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001709 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001710 .out_cables = 0x0001,
1711 .in_cables = 0x0001
1712 }
1713 },
1714 {
1715 .ifnum = -1
1716 }
1717 }
1718 }
1719},
Clemens Ladisch2ea547dc2007-09-17 09:33:17 +02001720{
1721 USB_DEVICE(0x0763, 0x2019),
1722 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1723 /* .vendor_name = "M-Audio", */
1724 /* .product_name = "Ozone Academic", */
1725 .ifnum = QUIRK_ANY_INTERFACE,
1726 .type = QUIRK_COMPOSITE,
1727 .data = & (const struct snd_usb_audio_quirk[]) {
1728 {
1729 .ifnum = 0,
1730 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1731 },
1732 {
1733 .ifnum = 1,
1734 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1735 },
1736 {
1737 .ifnum = 2,
1738 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1739 },
1740 {
1741 .ifnum = 3,
1742 .type = QUIRK_MIDI_MIDIMAN,
1743 .data = & (const struct snd_usb_midi_endpoint_info) {
1744 .out_cables = 0x0001,
1745 .in_cables = 0x0001
1746 }
1747 },
1748 {
1749 .ifnum = -1
1750 }
1751 }
1752 }
1753},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001754
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001755/* Casio devices */
1756{
Clemens Ladisch9808dc92006-03-16 08:15:25 +01001757 USB_DEVICE(0x07cf, 0x6801),
1758 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1759 .vendor_name = "Casio",
1760 .product_name = "PL-40R",
1761 .ifnum = 0,
1762 .type = QUIRK_MIDI_YAMAHA
1763 }
1764},
1765{
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001766 /* this ID is used by several devices without a product ID */
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001767 USB_DEVICE(0x07cf, 0x6802),
1768 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1769 .vendor_name = "Casio",
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001770 .product_name = "Keyboard",
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001771 .ifnum = 0,
1772 .type = QUIRK_MIDI_YAMAHA
1773 }
1774},
1775
Linus Torvalds1da177e2005-04-16 15:20:36 -07001776/* Mark of the Unicorn devices */
1777{
1778 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
Clemens Ladischbbd46152005-07-04 09:21:45 +02001779 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1780 USB_DEVICE_ID_MATCH_PRODUCT |
1781 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1782 .idVendor = 0x07fd,
1783 .idProduct = 0x0001,
1784 .bDeviceSubClass = 2,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001785 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001786 .vendor_name = "MOTU",
1787 .product_name = "Fastlane",
1788 .ifnum = QUIRK_ANY_INTERFACE,
1789 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001790 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001791 {
1792 .ifnum = 0,
Clemens Ladisch6155aff2005-07-04 09:20:42 +02001793 .type = QUIRK_MIDI_RAW
Linus Torvalds1da177e2005-04-16 15:20:36 -07001794 },
1795 {
1796 .ifnum = 1,
1797 .type = QUIRK_IGNORE_INTERFACE
1798 },
1799 {
1800 .ifnum = -1
1801 }
1802 }
1803 }
1804},
1805
Linus Torvalds1da177e2005-04-16 15:20:36 -07001806/* Emagic devices */
1807{
1808 USB_DEVICE(0x086a, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001809 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001810 .vendor_name = "Emagic",
1811 /* .product_name = "Unitor8", */
1812 .ifnum = 2,
1813 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001814 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001815 .out_cables = 0x80ff,
1816 .in_cables = 0x80ff
1817 }
1818 }
1819},
1820{
1821 USB_DEVICE(0x086a, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001822 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001823 .vendor_name = "Emagic",
1824 /* .product_name = "AMT8", */
1825 .ifnum = 2,
1826 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001827 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001828 .out_cables = 0x80ff,
1829 .in_cables = 0x80ff
1830 }
1831 }
1832},
1833{
1834 USB_DEVICE(0x086a, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001835 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001836 .vendor_name = "Emagic",
1837 /* .product_name = "MT4", */
1838 .ifnum = 2,
1839 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001840 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001841 .out_cables = 0x800f,
1842 .in_cables = 0x8003
1843 }
1844 }
1845},
1846
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001847/* TerraTec devices */
1848{
1849 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001850 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001851 .vendor_name = "TerraTec",
1852 .product_name = "PHASE 26",
1853 .ifnum = 3,
1854 .type = QUIRK_MIDI_STANDARD_INTERFACE
1855 }
1856},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001857{
1858 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001859 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001860 .vendor_name = "TerraTec",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001861 .product_name = "PHASE 26",
1862 .ifnum = 3,
1863 .type = QUIRK_MIDI_STANDARD_INTERFACE
1864 }
1865},
Clemens Ladischb2b82292006-02-08 12:38:23 +01001866{
Clemens Ladischbc56eff2006-04-13 10:16:08 +02001867 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1868 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1869 .vendor_name = "TerraTec",
1870 .product_name = "PHASE 26",
1871 .ifnum = 3,
1872 .type = QUIRK_MIDI_STANDARD_INTERFACE
1873 }
1874},
1875{
Clemens Ladischb2b82292006-02-08 12:38:23 +01001876 USB_DEVICE(0x0ccd, 0x0035),
1877 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1878 .vendor_name = "Miditech",
1879 .product_name = "Play'n Roll",
1880 .ifnum = 0,
1881 .type = QUIRK_MIDI_CME
1882 }
1883},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001884
Mark Hills0f28ecd2007-08-10 08:01:54 +02001885/* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1886{
1887 USB_DEVICE(0x103d, 0x0100),
1888 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1889 .vendor_name = "Stanton",
1890 .product_name = "ScratchAmp",
1891 .ifnum = QUIRK_NO_INTERFACE
1892 }
1893},
1894{
1895 USB_DEVICE(0x103d, 0x0101),
1896 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1897 .vendor_name = "Stanton",
1898 .product_name = "ScratchAmp",
1899 .ifnum = QUIRK_NO_INTERFACE
1900 }
1901},
1902
Linus Torvalds1da177e2005-04-16 15:20:36 -07001903/* Novation EMS devices */
1904{
1905 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001906 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001907 .vendor_name = "Novation",
1908 .product_name = "ReMOTE Audio/XStation",
1909 .ifnum = 4,
1910 .type = QUIRK_MIDI_NOVATION
1911 }
1912},
1913{
1914 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001915 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001916 .vendor_name = "Novation",
1917 .product_name = "Speedio",
1918 .ifnum = 3,
1919 .type = QUIRK_MIDI_NOVATION
1920 }
1921},
1922{
1923 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001924 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001925 .vendor_name = "Novation",
1926 .product_name = "ReMOTE25",
1927 .ifnum = 0,
1928 .type = QUIRK_MIDI_NOVATION
1929 }
1930},
1931
Mark Hills3a7788b2007-09-03 08:20:09 +02001932/* */
Clemens Ladisch15944802007-08-29 17:38:14 +02001933{
Mark Hills3a7788b2007-09-03 08:20:09 +02001934 /* aka. Serato Scratch Live DJ Box */
Clemens Ladisch15944802007-08-29 17:38:14 +02001935 USB_DEVICE(0x13e5, 0x0001),
Mark Hills3a7788b2007-09-03 08:20:09 +02001936 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1937 .vendor_name = "Rane",
1938 .product_name = "SL-1",
1939 .ifnum = QUIRK_NO_INTERFACE
Clemens Ladisch15944802007-08-29 17:38:14 +02001940 }
1941},
1942
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001943/* Miditech devices */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001944{
Clemens Ladischf38275f2005-07-25 16:17:29 +02001945 USB_DEVICE(0x4752, 0x0011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001946 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02001947 .vendor_name = "Miditech",
1948 .product_name = "Midistart-2",
1949 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001950 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02001951 }
1952},
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001953
1954/* Central Music devices */
Clemens Ladischf38275f2005-07-25 16:17:29 +02001955{
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001956 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
Clemens Ladischf38275f2005-07-25 16:17:29 +02001957 USB_DEVICE(0x7104, 0x2202),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001958 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02001959 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001960 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02001961 }
1962},
1963
1964{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001965 /*
1966 * Some USB MIDI devices don't have an audio control interface,
1967 * so we have to grab MIDI streaming interfaces here.
1968 */
1969 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1970 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1971 .bInterfaceClass = USB_CLASS_AUDIO,
1972 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001973 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001974 .ifnum = QUIRK_ANY_INTERFACE,
1975 .type = QUIRK_MIDI_STANDARD_INTERFACE
1976 }
1977},
1978
1979#undef USB_DEVICE_VENDOR_SPEC