blob: b7ab3ee7647e77541f2e987304f98ea08b1864cd [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},
65
Linus Torvalds1da177e2005-04-16 15:20:36 -070066/*
Daniel Drakea9121452007-05-07 09:27:05 +020067 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
68 * class matches do not take effect without an explicit ID match.
69 */
70{
71 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
72 USB_DEVICE_ID_MATCH_INT_CLASS |
73 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
74 .idVendor = 0x046d,
Daniel Draked4170452007-05-10 08:52:19 +020075 .idProduct = 0x0850,
76 .bInterfaceClass = USB_CLASS_AUDIO,
77 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
78},
79{
80 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
81 USB_DEVICE_ID_MATCH_INT_CLASS |
82 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
83 .idVendor = 0x046d,
George Shapovalovc34532d2007-07-09 10:42:35 +020084 .idProduct = 0x08ae,
85 .bInterfaceClass = USB_CLASS_AUDIO,
86 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
87},
88{
89 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
90 USB_DEVICE_ID_MATCH_INT_CLASS |
91 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
92 .idVendor = 0x046d,
Ritesh Raj Sarrafcfc24ec2007-07-10 13:03:57 +020093 .idProduct = 0x08c6,
94 .bInterfaceClass = USB_CLASS_AUDIO,
95 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
96},
97{
98 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
99 USB_DEVICE_ID_MATCH_INT_CLASS |
100 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
101 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +0200102 .idProduct = 0x08f0,
103 .bInterfaceClass = USB_CLASS_AUDIO,
104 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
105},
106{
107 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
108 USB_DEVICE_ID_MATCH_INT_CLASS |
109 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
110 .idVendor = 0x046d,
Dawid Wrobel31127f22007-10-22 11:57:17 +0200111 .idProduct = 0x08f5,
112 .bInterfaceClass = USB_CLASS_AUDIO,
113 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
114},
115{
116 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
117 USB_DEVICE_ID_MATCH_INT_CLASS |
118 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
119 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +0200120 .idProduct = 0x08f6,
121 .bInterfaceClass = USB_CLASS_AUDIO,
122 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
123},
Clemens Ladisch25a47b62008-02-25 11:04:19 +0100124
James Courtier-Dutton1e741902007-10-08 18:49:43 +0100125/*
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126 * Yamaha devices
127 */
128
129#define YAMAHA_DEVICE(id, name) { \
130 USB_DEVICE(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100131 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700132 .vendor_name = "Yamaha", \
133 .product_name = name, \
134 .ifnum = QUIRK_ANY_INTERFACE, \
135 .type = QUIRK_MIDI_YAMAHA \
136 } \
137}
138#define YAMAHA_INTERFACE(id, intf, name) { \
139 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100140 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141 .vendor_name = "Yamaha", \
142 .product_name = name, \
143 .ifnum = intf, \
144 .type = QUIRK_MIDI_YAMAHA \
145 } \
146}
147YAMAHA_DEVICE(0x1000, "UX256"),
148YAMAHA_DEVICE(0x1001, "MU1000"),
149YAMAHA_DEVICE(0x1002, "MU2000"),
150YAMAHA_DEVICE(0x1003, "MU500"),
151YAMAHA_INTERFACE(0x1004, 3, "UW500"),
152YAMAHA_DEVICE(0x1005, "MOTIF6"),
153YAMAHA_DEVICE(0x1006, "MOTIF7"),
154YAMAHA_DEVICE(0x1007, "MOTIF8"),
155YAMAHA_DEVICE(0x1008, "UX96"),
156YAMAHA_DEVICE(0x1009, "UX16"),
157YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
158YAMAHA_DEVICE(0x100c, "UC-MX"),
159YAMAHA_DEVICE(0x100d, "UC-KX"),
160YAMAHA_DEVICE(0x100e, "S08"),
161YAMAHA_DEVICE(0x100f, "CLP-150"),
162YAMAHA_DEVICE(0x1010, "CLP-170"),
163YAMAHA_DEVICE(0x1011, "P-250"),
164YAMAHA_DEVICE(0x1012, "TYROS"),
165YAMAHA_DEVICE(0x1013, "PF-500"),
166YAMAHA_DEVICE(0x1014, "S90"),
167YAMAHA_DEVICE(0x1015, "MOTIF-R"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100168YAMAHA_DEVICE(0x1016, "MDP-5"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169YAMAHA_DEVICE(0x1017, "CVP-204"),
170YAMAHA_DEVICE(0x1018, "CVP-206"),
171YAMAHA_DEVICE(0x1019, "CVP-208"),
172YAMAHA_DEVICE(0x101a, "CVP-210"),
173YAMAHA_DEVICE(0x101b, "PSR-1100"),
174YAMAHA_DEVICE(0x101c, "PSR-2100"),
175YAMAHA_DEVICE(0x101d, "CLP-175"),
176YAMAHA_DEVICE(0x101e, "PSR-K1"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100177YAMAHA_DEVICE(0x101f, "EZ-J24"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178YAMAHA_DEVICE(0x1020, "EZ-250i"),
179YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
180YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
181YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
182YAMAHA_DEVICE(0x1024, "CVP-301"),
183YAMAHA_DEVICE(0x1025, "CVP-303"),
184YAMAHA_DEVICE(0x1026, "CVP-305"),
185YAMAHA_DEVICE(0x1027, "CVP-307"),
186YAMAHA_DEVICE(0x1028, "CVP-309"),
187YAMAHA_DEVICE(0x1029, "CVP-309GP"),
188YAMAHA_DEVICE(0x102a, "PSR-1500"),
189YAMAHA_DEVICE(0x102b, "PSR-3000"),
190YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
191YAMAHA_DEVICE(0x1030, "PSR-295/293"),
192YAMAHA_DEVICE(0x1031, "DGX-205/203"),
193YAMAHA_DEVICE(0x1032, "DGX-305"),
194YAMAHA_DEVICE(0x1033, "DGX-505"),
195YAMAHA_DEVICE(0x1034, NULL),
196YAMAHA_DEVICE(0x1035, NULL),
197YAMAHA_DEVICE(0x1036, NULL),
198YAMAHA_DEVICE(0x1037, NULL),
199YAMAHA_DEVICE(0x1038, NULL),
200YAMAHA_DEVICE(0x1039, NULL),
201YAMAHA_DEVICE(0x103a, NULL),
202YAMAHA_DEVICE(0x103b, NULL),
203YAMAHA_DEVICE(0x103c, NULL),
Clemens Ladisch0ac2ac02005-07-01 16:19:39 +0200204YAMAHA_DEVICE(0x103d, NULL),
Clemens Ladischf542fda2005-09-20 09:06:36 +0200205YAMAHA_DEVICE(0x103e, NULL),
206YAMAHA_DEVICE(0x103f, NULL),
207YAMAHA_DEVICE(0x1040, NULL),
208YAMAHA_DEVICE(0x1041, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200209YAMAHA_DEVICE(0x1042, NULL),
210YAMAHA_DEVICE(0x1043, NULL),
211YAMAHA_DEVICE(0x1044, NULL),
212YAMAHA_DEVICE(0x1045, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213YAMAHA_DEVICE(0x2000, "DGP-7"),
214YAMAHA_DEVICE(0x2001, "DGP-5"),
215YAMAHA_DEVICE(0x2002, NULL),
216YAMAHA_DEVICE(0x5000, "CS1D"),
217YAMAHA_DEVICE(0x5001, "DSP1D"),
218YAMAHA_DEVICE(0x5002, "DME32"),
219YAMAHA_DEVICE(0x5003, "DM2000"),
220YAMAHA_DEVICE(0x5004, "02R96"),
221YAMAHA_DEVICE(0x5005, "ACU16-C"),
222YAMAHA_DEVICE(0x5006, "NHB32-C"),
223YAMAHA_DEVICE(0x5007, "DM1000"),
224YAMAHA_DEVICE(0x5008, "01V96"),
225YAMAHA_DEVICE(0x5009, "SPX2000"),
226YAMAHA_DEVICE(0x500a, "PM5D"),
227YAMAHA_DEVICE(0x500b, "DME64N"),
228YAMAHA_DEVICE(0x500c, "DME24N"),
229YAMAHA_DEVICE(0x500d, NULL),
230YAMAHA_DEVICE(0x500e, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200231YAMAHA_DEVICE(0x500f, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232YAMAHA_DEVICE(0x7000, "DTX"),
233YAMAHA_DEVICE(0x7010, "UB99"),
234#undef YAMAHA_DEVICE
235#undef YAMAHA_INTERFACE
236
237/*
238 * Roland/RolandED/Edirol/BOSS devices
239 */
240{
241 USB_DEVICE(0x0582, 0x0000),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100242 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 .vendor_name = "Roland",
244 .product_name = "UA-100",
245 .ifnum = QUIRK_ANY_INTERFACE,
246 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100247 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248 {
249 .ifnum = 0,
250 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
251 .data = & (const struct audioformat) {
252 .format = SNDRV_PCM_FORMAT_S16_LE,
253 .channels = 4,
254 .iface = 0,
255 .altsetting = 1,
256 .altset_idx = 1,
257 .attributes = 0,
258 .endpoint = 0x01,
259 .ep_attr = 0x09,
260 .rates = SNDRV_PCM_RATE_CONTINUOUS,
261 .rate_min = 44100,
262 .rate_max = 44100,
263 }
264 },
265 {
266 .ifnum = 1,
267 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
268 .data = & (const struct audioformat) {
269 .format = SNDRV_PCM_FORMAT_S16_LE,
270 .channels = 2,
271 .iface = 1,
272 .altsetting = 1,
273 .altset_idx = 1,
274 .attributes = EP_CS_ATTR_FILL_MAX,
275 .endpoint = 0x81,
276 .ep_attr = 0x05,
277 .rates = SNDRV_PCM_RATE_CONTINUOUS,
278 .rate_min = 44100,
279 .rate_max = 44100,
280 }
281 },
282 {
283 .ifnum = 2,
284 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100285 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700286 .out_cables = 0x0007,
287 .in_cables = 0x0007
288 }
289 },
290 {
291 .ifnum = -1
292 }
293 }
294 }
295},
296{
297 USB_DEVICE(0x0582, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100298 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700299 .vendor_name = "EDIROL",
300 .product_name = "UM-4",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200301 .ifnum = QUIRK_ANY_INTERFACE,
302 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100303 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200304 {
305 .ifnum = 0,
306 .type = QUIRK_IGNORE_INTERFACE
307 },
308 {
309 .ifnum = 1,
310 .type = QUIRK_IGNORE_INTERFACE
311 },
312 {
313 .ifnum = 2,
314 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100315 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200316 .out_cables = 0x000f,
317 .in_cables = 0x000f
318 }
319 },
320 {
321 .ifnum = -1
322 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323 }
324 }
325},
326{
327 USB_DEVICE(0x0582, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100328 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329 .vendor_name = "Roland",
330 .product_name = "SC-8850",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200331 .ifnum = QUIRK_ANY_INTERFACE,
332 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100333 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200334 {
335 .ifnum = 0,
336 .type = QUIRK_IGNORE_INTERFACE
337 },
338 {
339 .ifnum = 1,
340 .type = QUIRK_IGNORE_INTERFACE
341 },
342 {
343 .ifnum = 2,
344 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100345 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200346 .out_cables = 0x003f,
347 .in_cables = 0x003f
348 }
349 },
350 {
351 .ifnum = -1
352 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 }
354 }
355},
356{
357 USB_DEVICE(0x0582, 0x0004),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100358 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359 .vendor_name = "Roland",
360 .product_name = "U-8",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200361 .ifnum = QUIRK_ANY_INTERFACE,
362 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100363 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200364 {
365 .ifnum = 0,
366 .type = QUIRK_IGNORE_INTERFACE
367 },
368 {
369 .ifnum = 1,
370 .type = QUIRK_IGNORE_INTERFACE
371 },
372 {
373 .ifnum = 2,
374 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100375 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200376 .out_cables = 0x0005,
377 .in_cables = 0x0005
378 }
379 },
380 {
381 .ifnum = -1
382 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383 }
384 }
385},
386{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100387 /* Has ID 0x0099 when not in "Advanced Driver" mode.
388 * The UM-2EX has only one input, but we cannot detect this. */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700389 USB_DEVICE(0x0582, 0x0005),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100390 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700391 .vendor_name = "EDIROL",
392 .product_name = "UM-2",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200393 .ifnum = QUIRK_ANY_INTERFACE,
394 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100395 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200396 {
397 .ifnum = 0,
398 .type = QUIRK_IGNORE_INTERFACE
399 },
400 {
401 .ifnum = 1,
402 .type = QUIRK_IGNORE_INTERFACE
403 },
404 {
405 .ifnum = 2,
406 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100407 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200408 .out_cables = 0x0003,
409 .in_cables = 0x0003
410 }
411 },
412 {
413 .ifnum = -1
414 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415 }
416 }
417},
418{
419 USB_DEVICE(0x0582, 0x0007),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100420 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700421 .vendor_name = "Roland",
422 .product_name = "SC-8820",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200423 .ifnum = QUIRK_ANY_INTERFACE,
424 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100425 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200426 {
427 .ifnum = 0,
428 .type = QUIRK_IGNORE_INTERFACE
429 },
430 {
431 .ifnum = 1,
432 .type = QUIRK_IGNORE_INTERFACE
433 },
434 {
435 .ifnum = 2,
436 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100437 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200438 .out_cables = 0x0013,
439 .in_cables = 0x0013
440 }
441 },
442 {
443 .ifnum = -1
444 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700445 }
446 }
447},
448{
449 USB_DEVICE(0x0582, 0x0008),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100450 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700451 .vendor_name = "Roland",
452 .product_name = "PC-300",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200453 .ifnum = QUIRK_ANY_INTERFACE,
454 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100455 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200456 {
457 .ifnum = 0,
458 .type = QUIRK_IGNORE_INTERFACE
459 },
460 {
461 .ifnum = 1,
462 .type = QUIRK_IGNORE_INTERFACE
463 },
464 {
465 .ifnum = 2,
466 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100467 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200468 .out_cables = 0x0001,
469 .in_cables = 0x0001
470 }
471 },
472 {
473 .ifnum = -1
474 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475 }
476 }
477},
478{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100479 /* has ID 0x009d when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480 USB_DEVICE(0x0582, 0x0009),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100481 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700482 .vendor_name = "EDIROL",
483 .product_name = "UM-1",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200484 .ifnum = QUIRK_ANY_INTERFACE,
485 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100486 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200487 {
488 .ifnum = 0,
489 .type = QUIRK_IGNORE_INTERFACE
490 },
491 {
492 .ifnum = 1,
493 .type = QUIRK_IGNORE_INTERFACE
494 },
495 {
496 .ifnum = 2,
497 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100498 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200499 .out_cables = 0x0001,
500 .in_cables = 0x0001
501 }
502 },
503 {
504 .ifnum = -1
505 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700506 }
507 }
508},
509{
510 USB_DEVICE(0x0582, 0x000b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100511 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700512 .vendor_name = "Roland",
513 .product_name = "SK-500",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200514 .ifnum = QUIRK_ANY_INTERFACE,
515 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100516 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200517 {
518 .ifnum = 0,
519 .type = QUIRK_IGNORE_INTERFACE
520 },
521 {
522 .ifnum = 1,
523 .type = QUIRK_IGNORE_INTERFACE
524 },
525 {
526 .ifnum = 2,
527 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100528 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200529 .out_cables = 0x0013,
530 .in_cables = 0x0013
531 }
532 },
533 {
534 .ifnum = -1
535 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700536 }
537 }
538},
539{
540 /* thanks to Emiliano Grilli <emillo@libero.it>
541 * for helping researching this data */
542 USB_DEVICE(0x0582, 0x000c),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100543 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700544 .vendor_name = "Roland",
545 .product_name = "SC-D70",
546 .ifnum = QUIRK_ANY_INTERFACE,
547 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100548 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700549 {
550 .ifnum = 0,
551 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
552 .data = & (const struct audioformat) {
553 .format = SNDRV_PCM_FORMAT_S24_3LE,
554 .channels = 2,
555 .iface = 0,
556 .altsetting = 1,
557 .altset_idx = 1,
558 .attributes = 0,
559 .endpoint = 0x01,
560 .ep_attr = 0x01,
561 .rates = SNDRV_PCM_RATE_CONTINUOUS,
562 .rate_min = 44100,
563 .rate_max = 44100,
564 }
565 },
566 {
567 .ifnum = 1,
568 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
569 .data = & (const struct audioformat) {
570 .format = SNDRV_PCM_FORMAT_S24_3LE,
571 .channels = 2,
572 .iface = 1,
573 .altsetting = 1,
574 .altset_idx = 1,
575 .attributes = 0,
576 .endpoint = 0x81,
577 .ep_attr = 0x01,
578 .rates = SNDRV_PCM_RATE_CONTINUOUS,
579 .rate_min = 44100,
580 .rate_max = 44100,
581 }
582 },
583 {
584 .ifnum = 2,
585 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100586 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700587 .out_cables = 0x0007,
588 .in_cables = 0x0007
589 }
590 },
591 {
592 .ifnum = -1
593 }
594 }
595 }
596},
597{ /*
598 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
599 * If the advanced mode switch at the back of the unit is off, the
600 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
601 * but offers only 16-bit PCM.
602 * In advanced mode, the UA-5 will output S24_3LE samples (two
603 * channels) at the rate indicated on the front switch, including
604 * the 96kHz sample rate.
605 */
606 USB_DEVICE(0x0582, 0x0010),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100607 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700608 .vendor_name = "EDIROL",
609 .product_name = "UA-5",
610 .ifnum = QUIRK_ANY_INTERFACE,
611 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100612 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700613 {
614 .ifnum = 1,
615 .type = QUIRK_AUDIO_STANDARD_INTERFACE
616 },
617 {
618 .ifnum = 2,
619 .type = QUIRK_AUDIO_STANDARD_INTERFACE
620 },
621 {
622 .ifnum = -1
623 }
624 }
625 }
626},
627{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200628 /* has ID 0x0013 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700629 USB_DEVICE(0x0582, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100630 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700631 .vendor_name = "Roland",
632 .product_name = "XV-5050",
633 .ifnum = 0,
634 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100635 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700636 .out_cables = 0x0001,
637 .in_cables = 0x0001
638 }
639 }
640},
641{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200642 /* has ID 0x0015 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700643 USB_DEVICE(0x0582, 0x0014),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100644 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700645 .vendor_name = "EDIROL",
646 .product_name = "UM-880",
647 .ifnum = 0,
648 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100649 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700650 .out_cables = 0x01ff,
651 .in_cables = 0x01ff
652 }
653 }
654},
655{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200656 /* has ID 0x0017 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700657 USB_DEVICE(0x0582, 0x0016),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100658 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659 .vendor_name = "EDIROL",
660 .product_name = "SD-90",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200661 .ifnum = QUIRK_ANY_INTERFACE,
662 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100663 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200664 {
665 .ifnum = 0,
666 .type = QUIRK_IGNORE_INTERFACE
667 },
668 {
669 .ifnum = 1,
670 .type = QUIRK_IGNORE_INTERFACE
671 },
672 {
673 .ifnum = 2,
674 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100675 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200676 .out_cables = 0x000f,
677 .in_cables = 0x000f
678 }
679 },
680 {
681 .ifnum = -1
682 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700683 }
684 }
685},
686{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200687 /* has ID 0x001c when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700688 USB_DEVICE(0x0582, 0x001b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100689 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700690 .vendor_name = "Roland",
691 .product_name = "MMP-2",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200692 .ifnum = QUIRK_ANY_INTERFACE,
693 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100694 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200695 {
696 .ifnum = 0,
697 .type = QUIRK_IGNORE_INTERFACE
698 },
699 {
700 .ifnum = 1,
701 .type = QUIRK_IGNORE_INTERFACE
702 },
703 {
704 .ifnum = 2,
705 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100706 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200707 .out_cables = 0x0001,
708 .in_cables = 0x0001
709 }
710 },
711 {
712 .ifnum = -1
713 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700714 }
715 }
716},
717{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200718 /* has ID 0x001e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700719 USB_DEVICE(0x0582, 0x001d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100720 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700721 .vendor_name = "Roland",
722 .product_name = "V-SYNTH",
723 .ifnum = 0,
724 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100725 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726 .out_cables = 0x0001,
727 .in_cables = 0x0001
728 }
729 }
730},
731{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200732 /* has ID 0x0024 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700733 USB_DEVICE(0x0582, 0x0023),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100734 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700735 .vendor_name = "EDIROL",
736 .product_name = "UM-550",
737 .ifnum = 0,
738 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100739 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700740 .out_cables = 0x003f,
741 .in_cables = 0x003f
742 }
743 }
744},
745{
746 /*
747 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
748 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
749 * and no MIDI.
750 */
751 USB_DEVICE(0x0582, 0x0025),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100752 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700753 .vendor_name = "EDIROL",
754 .product_name = "UA-20",
755 .ifnum = QUIRK_ANY_INTERFACE,
756 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100757 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700758 {
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100759 .ifnum = 0,
760 .type = QUIRK_IGNORE_INTERFACE
761 },
762 {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700763 .ifnum = 1,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100764 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
765 .data = & (const struct audioformat) {
766 .format = SNDRV_PCM_FORMAT_S24_3LE,
767 .channels = 2,
768 .iface = 1,
769 .altsetting = 1,
770 .altset_idx = 1,
771 .attributes = 0,
772 .endpoint = 0x01,
773 .ep_attr = 0x01,
774 .rates = SNDRV_PCM_RATE_CONTINUOUS,
775 .rate_min = 44100,
776 .rate_max = 44100,
777 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700778 },
779 {
780 .ifnum = 2,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100781 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
782 .data = & (const struct audioformat) {
783 .format = SNDRV_PCM_FORMAT_S24_3LE,
784 .channels = 2,
785 .iface = 2,
786 .altsetting = 1,
787 .altset_idx = 1,
788 .attributes = 0,
789 .endpoint = 0x82,
790 .ep_attr = 0x01,
791 .rates = SNDRV_PCM_RATE_CONTINUOUS,
792 .rate_min = 44100,
793 .rate_max = 44100,
794 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700795 },
796 {
797 .ifnum = 3,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100798 .type = QUIRK_MIDI_FIXED_ENDPOINT,
799 .data = & (const struct snd_usb_midi_endpoint_info) {
800 .out_cables = 0x0001,
801 .in_cables = 0x0001
802 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700803 },
804 {
805 .ifnum = -1
806 }
807 }
808 }
809},
810{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200811 /* has ID 0x0028 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700812 USB_DEVICE(0x0582, 0x0027),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100813 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700814 .vendor_name = "EDIROL",
815 .product_name = "SD-20",
816 .ifnum = 0,
817 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100818 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700819 .out_cables = 0x0003,
820 .in_cables = 0x0007
821 }
822 }
823},
824{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200825 /* has ID 0x002a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826 USB_DEVICE(0x0582, 0x0029),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100827 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700828 .vendor_name = "EDIROL",
829 .product_name = "SD-80",
830 .ifnum = 0,
831 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100832 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700833 .out_cables = 0x000f,
834 .in_cables = 0x000f
835 }
836 }
837},
838{ /*
839 * This quirk is for the "Advanced" modes of the Edirol UA-700.
840 * If the sample format switch is not in an advanced setting, the
841 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
842 * but offers only 16-bit PCM and no MIDI.
843 */
844 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100845 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700846 .vendor_name = "EDIROL",
847 .product_name = "UA-700",
848 .ifnum = QUIRK_ANY_INTERFACE,
849 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100850 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851 {
852 .ifnum = 1,
853 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
854 },
855 {
856 .ifnum = 2,
857 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
858 },
859 {
860 .ifnum = 3,
861 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
862 },
863 {
864 .ifnum = -1
865 }
866 }
867 }
868},
869{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200870 /* has ID 0x002e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700871 USB_DEVICE(0x0582, 0x002d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100872 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700873 .vendor_name = "Roland",
874 .product_name = "XV-2020",
875 .ifnum = 0,
876 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100877 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700878 .out_cables = 0x0001,
879 .in_cables = 0x0001
880 }
881 }
882},
883{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200884 /* has ID 0x0030 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700885 USB_DEVICE(0x0582, 0x002f),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100886 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700887 .vendor_name = "Roland",
888 .product_name = "VariOS",
889 .ifnum = 0,
890 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100891 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700892 .out_cables = 0x0007,
893 .in_cables = 0x0007
894 }
895 }
896},
897{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200898 /* has ID 0x0034 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700899 USB_DEVICE(0x0582, 0x0033),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100900 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700901 .vendor_name = "EDIROL",
902 .product_name = "PCR",
903 .ifnum = 0,
904 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100905 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700906 .out_cables = 0x0003,
907 .in_cables = 0x0007
908 }
909 }
910},
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200911 /* TODO: add Roland M-1000 support */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700912{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200913 /*
914 * Has ID 0x0038 when not in "Advanced Driver" mode;
915 * later revisions use IDs 0x0054 and 0x00a2.
916 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700917 USB_DEVICE(0x0582, 0x0037),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100918 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919 .vendor_name = "Roland",
920 .product_name = "Digital Piano",
921 .ifnum = 0,
922 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100923 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700924 .out_cables = 0x0001,
925 .in_cables = 0x0001
926 }
927 }
928},
929{
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200930 /*
931 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
932 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
933 * and no MIDI.
934 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700935 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100936 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937 .vendor_name = "BOSS",
938 .product_name = "GS-10",
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200939 .ifnum = QUIRK_ANY_INTERFACE,
940 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100941 .data = & (const struct snd_usb_audio_quirk[]) {
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200942 {
943 .ifnum = 1,
944 .type = QUIRK_AUDIO_STANDARD_INTERFACE
945 },
946 {
947 .ifnum = 2,
948 .type = QUIRK_AUDIO_STANDARD_INTERFACE
949 },
950 {
951 .ifnum = 3,
952 .type = QUIRK_MIDI_STANDARD_INTERFACE
953 },
954 {
955 .ifnum = -1
956 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700957 }
958 }
959},
960{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200961 /* has ID 0x0041 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700962 USB_DEVICE(0x0582, 0x0040),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100963 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700964 .vendor_name = "Roland",
965 .product_name = "GI-20",
966 .ifnum = 0,
967 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100968 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700969 .out_cables = 0x0001,
970 .in_cables = 0x0001
971 }
972 }
973},
974{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200975 /* has ID 0x0043 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700976 USB_DEVICE(0x0582, 0x0042),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100977 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700978 .vendor_name = "Roland",
979 .product_name = "RS-70",
980 .ifnum = 0,
981 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100982 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700983 .out_cables = 0x0001,
984 .in_cables = 0x0001
985 }
986 }
987},
988{
989 USB_DEVICE(0x0582, 0x0044),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100990 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700991 .vendor_name = "Roland",
992 .product_name = "UA-1000",
993 .ifnum = QUIRK_ANY_INTERFACE,
994 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100995 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700996 {
997 .ifnum = 1,
998 .type = QUIRK_AUDIO_EDIROL_UA1000
999 },
1000 {
1001 .ifnum = 2,
1002 .type = QUIRK_AUDIO_EDIROL_UA1000
1003 },
1004 {
1005 .ifnum = 3,
1006 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001007 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001008 .out_cables = 0x0003,
1009 .in_cables = 0x0003
1010 }
1011 },
1012 {
1013 .ifnum = -1
1014 }
1015 }
1016 }
1017},
1018{
Clemens Ladisch358ce0c2007-12-19 14:25:24 +01001019 /* has ID 0x0049 when not in "Advanced Driver" mode */
1020 USB_DEVICE(0x0582, 0x0047),
1021 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1022 /* .vendor_name = "EDIROL", */
1023 /* .product_name = "UR-80", */
1024 .ifnum = QUIRK_ANY_INTERFACE,
1025 .type = QUIRK_COMPOSITE,
1026 .data = (const struct snd_usb_audio_quirk[]) {
1027 /* in the 96 kHz modes, only interface 1 is there */
1028 {
1029 .ifnum = 1,
1030 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1031 },
1032 {
1033 .ifnum = 2,
1034 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1035 },
1036 {
1037 .ifnum = -1
1038 }
1039 }
1040 }
1041},
1042{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001043 /* has ID 0x004a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001044 USB_DEVICE(0x0582, 0x0048),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001045 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch358ce0c2007-12-19 14:25:24 +01001046 /* .vendor_name = "EDIROL", */
1047 /* .product_name = "UR-80", */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001048 .ifnum = 0,
1049 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001050 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001051 .out_cables = 0x0003,
1052 .in_cables = 0x0007
1053 }
1054 }
1055},
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001056 /* TODO: add Edirol M-100FX support */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001057{
Clemens Ladischf38cc312007-02-09 20:52:55 +01001058 /* has ID 0x004e when not in "Advanced Driver" mode */
1059 USB_DEVICE(0x0582, 0x004c),
1060 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1061 .vendor_name = "EDIROL",
1062 .product_name = "PCR-A",
1063 .ifnum = QUIRK_ANY_INTERFACE,
1064 .type = QUIRK_COMPOSITE,
1065 .data = (const struct snd_usb_audio_quirk[]) {
1066 {
1067 .ifnum = 1,
1068 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1069 },
1070 {
1071 .ifnum = 2,
1072 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1073 },
1074 {
1075 .ifnum = -1
1076 }
1077 }
1078 }
1079},
1080{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001081 /* has ID 0x004f when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001082 USB_DEVICE(0x0582, 0x004d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001083 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001084 .vendor_name = "EDIROL",
1085 .product_name = "PCR-A",
1086 .ifnum = 0,
1087 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001088 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001089 .out_cables = 0x0003,
1090 .in_cables = 0x0007
1091 }
1092 }
1093},
1094{
1095 /*
1096 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1097 * is standard compliant, but has only 16-bit PCM.
1098 */
1099 USB_DEVICE(0x0582, 0x0050),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001100 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001101 .vendor_name = "EDIROL",
1102 .product_name = "UA-3FX",
1103 .ifnum = QUIRK_ANY_INTERFACE,
1104 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001105 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001106 {
1107 .ifnum = 1,
1108 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1109 },
1110 {
1111 .ifnum = 2,
1112 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1113 },
1114 {
1115 .ifnum = -1
1116 }
1117 }
1118 }
1119},
1120{
1121 USB_DEVICE(0x0582, 0x0052),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001122 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001123 .vendor_name = "EDIROL",
1124 .product_name = "UM-1SX",
1125 .ifnum = 0,
1126 .type = QUIRK_MIDI_STANDARD_INTERFACE
1127 }
1128},
Takashi Iwaif1676842007-07-09 10:39:44 +02001129{
1130 USB_DEVICE(0x0582, 0x0060),
1131 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1132 .vendor_name = "Roland",
1133 .product_name = "EXR Series",
1134 .ifnum = 0,
1135 .type = QUIRK_MIDI_STANDARD_INTERFACE
1136 }
1137},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001138{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001139 /* has ID 0x0067 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001140 USB_DEVICE(0x0582, 0x0065),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001141 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001142 .vendor_name = "EDIROL",
1143 .product_name = "PCR-1",
1144 .ifnum = 0,
1145 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001146 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001147 .out_cables = 0x0001,
1148 .in_cables = 0x0003
1149 }
1150 }
1151},
1152{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001153 /* has ID 0x006b when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001154 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001155 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001156 .vendor_name = "Roland",
1157 .product_name = "SP-606",
1158 .ifnum = 3,
1159 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001160 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001161 .out_cables = 0x0001,
1162 .in_cables = 0x0001
1163 }
1164 }
1165},
1166{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001167 /* has ID 0x006e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001168 USB_DEVICE(0x0582, 0x006d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001169 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001170 .vendor_name = "Roland",
1171 .product_name = "FANTOM-X",
1172 .ifnum = 0,
1173 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001174 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001175 .out_cables = 0x0001,
1176 .in_cables = 0x0001
1177 }
1178 }
1179},
1180{ /*
1181 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1182 * If the switch is not in an advanced setting, the UA-25 has
1183 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1184 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1185 */
1186 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001187 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001188 .vendor_name = "EDIROL",
1189 .product_name = "UA-25",
1190 .ifnum = QUIRK_ANY_INTERFACE,
1191 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001192 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001193 {
1194 .ifnum = 0,
1195 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1196 },
1197 {
1198 .ifnum = 1,
1199 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1200 },
1201 {
1202 .ifnum = 2,
1203 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1204 },
1205 {
1206 .ifnum = -1
1207 }
1208 }
1209 }
1210},
1211{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001212 /* has ID 0x0076 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001213 USB_DEVICE(0x0582, 0x0075),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001214 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001215 .vendor_name = "BOSS",
1216 .product_name = "DR-880",
1217 .ifnum = 0,
1218 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001219 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001220 .out_cables = 0x0001,
1221 .in_cables = 0x0001
1222 }
1223 }
1224},
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001225{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001226 /* has ID 0x007b when not in "Advanced Driver" mode */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001227 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001228 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001229 .vendor_name = "Roland",
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001230 /* "RD" or "RD-700SX"? */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001231 .ifnum = 0,
1232 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001233 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001234 .out_cables = 0x0003,
1235 .in_cables = 0x0003
1236 }
1237 }
1238},
Bjoern Fayd0b0fac2007-02-05 12:27:21 +01001239/* Roland UA-101 in High-Speed Mode only */
1240{
1241 USB_DEVICE(0x0582, 0x007d),
1242 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1243 .vendor_name = "Roland",
1244 .product_name = "UA-101",
1245 .ifnum = QUIRK_ANY_INTERFACE,
1246 .type = QUIRK_COMPOSITE,
1247 .data = (const struct snd_usb_audio_quirk[]) {
1248 {
1249 .ifnum = 0,
1250 .type = QUIRK_AUDIO_EDIROL_UA101
1251 },
1252 {
1253 .ifnum = 1,
1254 .type = QUIRK_AUDIO_EDIROL_UA101
1255 },
1256 {
1257 .ifnum = 2,
1258 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1259 .data = & (const struct snd_usb_midi_endpoint_info) {
1260 .out_cables = 0x0001,
1261 .in_cables = 0x0001
1262 }
1263 },
1264 {
1265 .ifnum = -1
1266 }
1267 }
1268 }
1269},
Clemens Ladischcdca8812006-01-18 08:53:32 +01001270{
1271 /* has ID 0x0081 when not in "Advanced Driver" mode */
1272 USB_DEVICE(0x0582, 0x0080),
1273 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1274 .vendor_name = "Roland",
1275 .product_name = "G-70",
1276 .ifnum = 0,
1277 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1278 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch05422572006-01-18 15:44:53 +01001279 .out_cables = 0x0001,
1280 .in_cables = 0x0001
Clemens Ladischcdca8812006-01-18 08:53:32 +01001281 }
1282 }
1283},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001284 /* TODO: add Roland V-SYNTH XT support */
1285 /* TODO: add BOSS GT-PRO support */
Clemens Ladisch415b09e2006-01-16 08:03:52 +01001286{
1287 /* has ID 0x008c when not in "Advanced Driver" mode */
1288 USB_DEVICE(0x0582, 0x008b),
1289 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1290 .vendor_name = "EDIROL",
1291 .product_name = "PC-50",
1292 .ifnum = 0,
1293 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1294 .data = & (const struct snd_usb_midi_endpoint_info) {
1295 .out_cables = 0x0001,
1296 .in_cables = 0x0001
1297 }
1298 }
1299},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001300 /* TODO: add Edirol PC-80 support */
Takashi Iwai9b0d39b2007-08-10 15:07:06 +02001301{
1302 USB_DEVICE(0x0582, 0x0096),
1303 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1304 .vendor_name = "EDIROL",
1305 .product_name = "UA-1EX",
1306 .ifnum = QUIRK_ANY_INTERFACE,
1307 .type = QUIRK_COMPOSITE,
1308 .data = (const struct snd_usb_audio_quirk[]) {
1309 {
1310 .ifnum = 0,
1311 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1312 },
1313 {
1314 .ifnum = 1,
1315 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1316 },
1317 {
1318 .ifnum = -1
1319 }
1320 }
1321 }
1322},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001323{
1324 USB_DEVICE(0x0582, 0x009a),
1325 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1326 .vendor_name = "EDIROL",
1327 .product_name = "UM-3EX",
1328 .ifnum = 0,
1329 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1330 .data = & (const struct snd_usb_midi_endpoint_info) {
1331 .out_cables = 0x000f,
1332 .in_cables = 0x000f
1333 }
1334 }
1335},
1336 /* TODO: add Edirol MD-P1 support */
Carlo Beccaria87823092007-07-03 08:04:25 +02001337{
Clemens Ladisch25a47b62008-02-25 11:04:19 +01001338 USB_DEVICE(0x582, 0x00a6),
1339 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1340 .vendor_name = "Roland",
1341 .product_name = "Juno-G",
1342 .ifnum = 0,
1343 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1344 .data = & (const struct snd_usb_midi_endpoint_info) {
1345 .out_cables = 0x0001,
1346 .in_cables = 0x0001
1347 }
1348 }
1349},
1350{
Carlo Beccaria87823092007-07-03 08:04:25 +02001351 /* Roland SH-201 */
1352 USB_DEVICE(0x0582, 0x00ad),
1353 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1354 .vendor_name = "Roland",
1355 .product_name = "SH-201",
1356 .ifnum = QUIRK_ANY_INTERFACE,
1357 .type = QUIRK_COMPOSITE,
1358 .data = (const struct snd_usb_audio_quirk[]) {
1359 {
1360 .ifnum = 0,
1361 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1362 },
1363 {
1364 .ifnum = 1,
1365 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1366 },
1367 {
1368 .ifnum = 2,
1369 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1370 .data = & (const struct snd_usb_midi_endpoint_info) {
1371 .out_cables = 0x0001,
1372 .in_cables = 0x0001
1373 }
1374 },
1375 {
1376 .ifnum = -1
1377 }
1378 }
1379 }
1380},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001381
Chris Mennie62b12632008-05-19 16:21:33 +02001382{
1383 /* Roland SonicCell */
1384 USB_DEVICE(0x0582, 0x00c2),
1385 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1386 .vendor_name = "Roland",
1387 .product_name = "SonicCell",
1388 .ifnum = QUIRK_ANY_INTERFACE,
1389 .type = QUIRK_COMPOSITE,
1390 .data = (const struct snd_usb_audio_quirk[]) {
1391 {
1392 .ifnum = 0,
1393 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1394 },
1395 {
1396 .ifnum = 1,
1397 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1398 },
1399 {
1400 .ifnum = 2,
1401 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1402 .data = & (const struct snd_usb_midi_endpoint_info) {
1403 .out_cables = 0x0001,
1404 .in_cables = 0x0001
1405 }
1406 },
1407 {
1408 .ifnum = -1
1409 }
1410 }
1411 }
1412},
1413
1414
Clemens Ladischa25f1752005-10-05 13:23:19 +02001415/* Guillemot devices */
1416{
1417 /*
1418 * This is for the "Windows Edition" where the external MIDI ports are
1419 * the only MIDI ports; the control data is reported through HID
1420 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1421 * compliant USB MIDI ports for external MIDI and controls.
1422 */
1423 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001424 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001425 .vendor_name = "Hercules",
1426 .product_name = "DJ Console (WE)",
1427 .ifnum = 4,
1428 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001429 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001430 .out_cables = 0x0001,
1431 .in_cables = 0x0001
1432 }
1433 }
1434},
1435
Linus Torvalds1da177e2005-04-16 15:20:36 -07001436/* Midiman/M-Audio devices */
1437{
1438 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001439 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001440 .vendor_name = "M-Audio",
1441 .product_name = "MidiSport 2x2",
1442 .ifnum = QUIRK_ANY_INTERFACE,
1443 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001444 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001445 .out_cables = 0x0003,
1446 .in_cables = 0x0003
1447 }
1448 }
1449},
1450{
1451 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001452 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001453 .vendor_name = "M-Audio",
1454 .product_name = "MidiSport 1x1",
1455 .ifnum = QUIRK_ANY_INTERFACE,
1456 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001457 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001458 .out_cables = 0x0001,
1459 .in_cables = 0x0001
1460 }
1461 }
1462},
1463{
1464 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001465 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001466 .vendor_name = "M-Audio",
1467 .product_name = "Keystation",
1468 .ifnum = QUIRK_ANY_INTERFACE,
1469 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001470 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001471 .out_cables = 0x0001,
1472 .in_cables = 0x0001
1473 }
1474 }
1475},
1476{
1477 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
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 4x4",
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 = 0x000f,
1485 .in_cables = 0x000f
1486 }
1487 }
1488},
1489{
1490 /*
1491 * For hardware revision 1.05; in the later revisions (1.10 and
1492 * 1.21), 0x1031 is the ID for the device without firmware.
1493 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1494 */
1495 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001496 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001497 .vendor_name = "M-Audio",
1498 .product_name = "MidiSport 8x8",
1499 .ifnum = QUIRK_ANY_INTERFACE,
1500 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001501 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001502 .out_cables = 0x01ff,
1503 .in_cables = 0x01ff
1504 }
1505 }
1506},
1507{
1508 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001509 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001510 .vendor_name = "M-Audio",
1511 .product_name = "MidiSport 8x8",
1512 .ifnum = QUIRK_ANY_INTERFACE,
1513 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001514 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001515 .out_cables = 0x01ff,
1516 .in_cables = 0x01ff
1517 }
1518 }
1519},
1520{
1521 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001522 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001523 .vendor_name = "M-Audio",
1524 .product_name = "MidiSport 2x4",
1525 .ifnum = QUIRK_ANY_INTERFACE,
1526 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001527 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001528 .out_cables = 0x000f,
1529 .in_cables = 0x0003
1530 }
1531 }
1532},
1533{
1534 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
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 = "Quattro",
1538 .ifnum = QUIRK_ANY_INTERFACE,
1539 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001540 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001541 /*
1542 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1543 * and share endpoints with the other interfaces.
1544 * Ignore them. The other interfaces can do 24 bits,
1545 * but captured samples are big-endian (see usbaudio.c).
1546 */
1547 {
1548 .ifnum = 0,
1549 .type = QUIRK_IGNORE_INTERFACE
1550 },
1551 {
1552 .ifnum = 1,
1553 .type = QUIRK_IGNORE_INTERFACE
1554 },
1555 {
1556 .ifnum = 2,
1557 .type = QUIRK_IGNORE_INTERFACE
1558 },
1559 {
1560 .ifnum = 3,
1561 .type = QUIRK_IGNORE_INTERFACE
1562 },
1563 {
1564 .ifnum = 4,
1565 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1566 },
1567 {
1568 .ifnum = 5,
1569 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1570 },
1571 {
1572 .ifnum = 6,
1573 .type = QUIRK_IGNORE_INTERFACE
1574 },
1575 {
1576 .ifnum = 7,
1577 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1578 },
1579 {
1580 .ifnum = 8,
1581 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1582 },
1583 {
1584 .ifnum = 9,
1585 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001586 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001587 .out_cables = 0x0001,
1588 .in_cables = 0x0001
1589 }
1590 },
1591 {
1592 .ifnum = -1
1593 }
1594 }
1595 }
1596},
1597{
1598 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001599 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001600 .vendor_name = "M-Audio",
1601 .product_name = "AudioPhile",
1602 .ifnum = 6,
1603 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001604 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001605 .out_cables = 0x0001,
1606 .in_cables = 0x0001
1607 }
1608 }
1609},
1610{
1611 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001612 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001613 .vendor_name = "M-Audio",
1614 .product_name = "Ozone",
1615 .ifnum = 3,
1616 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001617 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001618 .out_cables = 0x0001,
1619 .in_cables = 0x0001
1620 }
1621 }
1622},
1623{
1624 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001625 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001626 .vendor_name = "M-Audio",
1627 .product_name = "OmniStudio",
1628 .ifnum = QUIRK_ANY_INTERFACE,
1629 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001630 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001631 {
1632 .ifnum = 0,
1633 .type = QUIRK_IGNORE_INTERFACE
1634 },
1635 {
1636 .ifnum = 1,
1637 .type = QUIRK_IGNORE_INTERFACE
1638 },
1639 {
1640 .ifnum = 2,
1641 .type = QUIRK_IGNORE_INTERFACE
1642 },
1643 {
1644 .ifnum = 3,
1645 .type = QUIRK_IGNORE_INTERFACE
1646 },
1647 {
1648 .ifnum = 4,
1649 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1650 },
1651 {
1652 .ifnum = 5,
1653 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1654 },
1655 {
1656 .ifnum = 6,
1657 .type = QUIRK_IGNORE_INTERFACE
1658 },
1659 {
1660 .ifnum = 7,
1661 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1662 },
1663 {
1664 .ifnum = 8,
1665 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1666 },
1667 {
1668 .ifnum = 9,
1669 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001670 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001671 .out_cables = 0x0001,
1672 .in_cables = 0x0001
1673 }
1674 },
1675 {
1676 .ifnum = -1
1677 }
1678 }
1679 }
1680},
Clemens Ladisch2ea547dc2007-09-17 09:33:17 +02001681{
1682 USB_DEVICE(0x0763, 0x2019),
1683 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1684 /* .vendor_name = "M-Audio", */
1685 /* .product_name = "Ozone Academic", */
1686 .ifnum = QUIRK_ANY_INTERFACE,
1687 .type = QUIRK_COMPOSITE,
1688 .data = & (const struct snd_usb_audio_quirk[]) {
1689 {
1690 .ifnum = 0,
1691 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1692 },
1693 {
1694 .ifnum = 1,
1695 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1696 },
1697 {
1698 .ifnum = 2,
1699 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1700 },
1701 {
1702 .ifnum = 3,
1703 .type = QUIRK_MIDI_MIDIMAN,
1704 .data = & (const struct snd_usb_midi_endpoint_info) {
1705 .out_cables = 0x0001,
1706 .in_cables = 0x0001
1707 }
1708 },
1709 {
1710 .ifnum = -1
1711 }
1712 }
1713 }
1714},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001715
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001716/* Casio devices */
1717{
Clemens Ladisch9808dc92006-03-16 08:15:25 +01001718 USB_DEVICE(0x07cf, 0x6801),
1719 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1720 .vendor_name = "Casio",
1721 .product_name = "PL-40R",
1722 .ifnum = 0,
1723 .type = QUIRK_MIDI_YAMAHA
1724 }
1725},
1726{
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001727 /* this ID is used by several devices without a product ID */
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001728 USB_DEVICE(0x07cf, 0x6802),
1729 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1730 .vendor_name = "Casio",
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001731 .product_name = "Keyboard",
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001732 .ifnum = 0,
1733 .type = QUIRK_MIDI_YAMAHA
1734 }
1735},
1736
Linus Torvalds1da177e2005-04-16 15:20:36 -07001737/* Mark of the Unicorn devices */
1738{
1739 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
Clemens Ladischbbd46152005-07-04 09:21:45 +02001740 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1741 USB_DEVICE_ID_MATCH_PRODUCT |
1742 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1743 .idVendor = 0x07fd,
1744 .idProduct = 0x0001,
1745 .bDeviceSubClass = 2,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001746 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001747 .vendor_name = "MOTU",
1748 .product_name = "Fastlane",
1749 .ifnum = QUIRK_ANY_INTERFACE,
1750 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001751 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001752 {
1753 .ifnum = 0,
Clemens Ladisch6155aff2005-07-04 09:20:42 +02001754 .type = QUIRK_MIDI_RAW
Linus Torvalds1da177e2005-04-16 15:20:36 -07001755 },
1756 {
1757 .ifnum = 1,
1758 .type = QUIRK_IGNORE_INTERFACE
1759 },
1760 {
1761 .ifnum = -1
1762 }
1763 }
1764 }
1765},
1766
Linus Torvalds1da177e2005-04-16 15:20:36 -07001767/* Emagic devices */
1768{
1769 USB_DEVICE(0x086a, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001770 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001771 .vendor_name = "Emagic",
1772 /* .product_name = "Unitor8", */
1773 .ifnum = 2,
1774 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001775 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001776 .out_cables = 0x80ff,
1777 .in_cables = 0x80ff
1778 }
1779 }
1780},
1781{
1782 USB_DEVICE(0x086a, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001783 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001784 .vendor_name = "Emagic",
1785 /* .product_name = "AMT8", */
1786 .ifnum = 2,
1787 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001788 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001789 .out_cables = 0x80ff,
1790 .in_cables = 0x80ff
1791 }
1792 }
1793},
1794{
1795 USB_DEVICE(0x086a, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001796 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001797 .vendor_name = "Emagic",
1798 /* .product_name = "MT4", */
1799 .ifnum = 2,
1800 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001801 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001802 .out_cables = 0x800f,
1803 .in_cables = 0x8003
1804 }
1805 }
1806},
1807
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001808/* TerraTec devices */
1809{
1810 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001811 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001812 .vendor_name = "TerraTec",
1813 .product_name = "PHASE 26",
1814 .ifnum = 3,
1815 .type = QUIRK_MIDI_STANDARD_INTERFACE
1816 }
1817},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001818{
1819 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001820 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001821 .vendor_name = "TerraTec",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001822 .product_name = "PHASE 26",
1823 .ifnum = 3,
1824 .type = QUIRK_MIDI_STANDARD_INTERFACE
1825 }
1826},
Clemens Ladischb2b82292006-02-08 12:38:23 +01001827{
Clemens Ladischbc56eff2006-04-13 10:16:08 +02001828 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1829 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1830 .vendor_name = "TerraTec",
1831 .product_name = "PHASE 26",
1832 .ifnum = 3,
1833 .type = QUIRK_MIDI_STANDARD_INTERFACE
1834 }
1835},
1836{
Clemens Ladischb2b82292006-02-08 12:38:23 +01001837 USB_DEVICE(0x0ccd, 0x0035),
1838 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1839 .vendor_name = "Miditech",
1840 .product_name = "Play'n Roll",
1841 .ifnum = 0,
1842 .type = QUIRK_MIDI_CME
1843 }
1844},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001845
Mark Hills0f28ecd2007-08-10 08:01:54 +02001846/* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1847{
1848 USB_DEVICE(0x103d, 0x0100),
1849 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1850 .vendor_name = "Stanton",
1851 .product_name = "ScratchAmp",
1852 .ifnum = QUIRK_NO_INTERFACE
1853 }
1854},
1855{
1856 USB_DEVICE(0x103d, 0x0101),
1857 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1858 .vendor_name = "Stanton",
1859 .product_name = "ScratchAmp",
1860 .ifnum = QUIRK_NO_INTERFACE
1861 }
1862},
1863
Linus Torvalds1da177e2005-04-16 15:20:36 -07001864/* Novation EMS devices */
1865{
1866 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001867 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001868 .vendor_name = "Novation",
1869 .product_name = "ReMOTE Audio/XStation",
1870 .ifnum = 4,
1871 .type = QUIRK_MIDI_NOVATION
1872 }
1873},
1874{
1875 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001876 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001877 .vendor_name = "Novation",
1878 .product_name = "Speedio",
1879 .ifnum = 3,
1880 .type = QUIRK_MIDI_NOVATION
1881 }
1882},
1883{
1884 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001885 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001886 .vendor_name = "Novation",
1887 .product_name = "ReMOTE25",
1888 .ifnum = 0,
1889 .type = QUIRK_MIDI_NOVATION
1890 }
1891},
1892
Mark Hills3a7788b2007-09-03 08:20:09 +02001893/* */
Clemens Ladisch15944802007-08-29 17:38:14 +02001894{
Mark Hills3a7788b2007-09-03 08:20:09 +02001895 /* aka. Serato Scratch Live DJ Box */
Clemens Ladisch15944802007-08-29 17:38:14 +02001896 USB_DEVICE(0x13e5, 0x0001),
Mark Hills3a7788b2007-09-03 08:20:09 +02001897 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1898 .vendor_name = "Rane",
1899 .product_name = "SL-1",
1900 .ifnum = QUIRK_NO_INTERFACE
Clemens Ladisch15944802007-08-29 17:38:14 +02001901 }
1902},
1903
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001904/* Miditech devices */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001905{
Clemens Ladischf38275f2005-07-25 16:17:29 +02001906 USB_DEVICE(0x4752, 0x0011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001907 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02001908 .vendor_name = "Miditech",
1909 .product_name = "Midistart-2",
1910 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001911 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02001912 }
1913},
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001914
1915/* Central Music devices */
Clemens Ladischf38275f2005-07-25 16:17:29 +02001916{
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001917 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
Clemens Ladischf38275f2005-07-25 16:17:29 +02001918 USB_DEVICE(0x7104, 0x2202),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001919 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02001920 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001921 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02001922 }
1923},
1924
1925{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001926 /*
1927 * Some USB MIDI devices don't have an audio control interface,
1928 * so we have to grab MIDI streaming interfaces here.
1929 */
1930 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1931 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1932 .bInterfaceClass = USB_CLASS_AUDIO,
1933 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001934 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001935 .ifnum = QUIRK_ANY_INTERFACE,
1936 .type = QUIRK_MIDI_STANDARD_INTERFACE
1937 }
1938},
1939
1940#undef USB_DEVICE_VENDOR_SPEC