blob: aeb9005125ce670dfdb1fbe5aa096c7c5a68f43d [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
42/*
Daniel Drakea9121452007-05-07 09:27:05 +020043 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
44 * class matches do not take effect without an explicit ID match.
45 */
46{
47 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
48 USB_DEVICE_ID_MATCH_INT_CLASS |
49 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
50 .idVendor = 0x046d,
Daniel Draked4170452007-05-10 08:52:19 +020051 .idProduct = 0x0850,
52 .bInterfaceClass = USB_CLASS_AUDIO,
53 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
54},
55{
56 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
57 USB_DEVICE_ID_MATCH_INT_CLASS |
58 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
59 .idVendor = 0x046d,
George Shapovalovc34532d2007-07-09 10:42:35 +020060 .idProduct = 0x08ae,
61 .bInterfaceClass = USB_CLASS_AUDIO,
62 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
63},
64{
65 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
66 USB_DEVICE_ID_MATCH_INT_CLASS |
67 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
68 .idVendor = 0x046d,
Ritesh Raj Sarrafcfc24ec2007-07-10 13:03:57 +020069 .idProduct = 0x08c6,
70 .bInterfaceClass = USB_CLASS_AUDIO,
71 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
72},
73{
74 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
75 USB_DEVICE_ID_MATCH_INT_CLASS |
76 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
77 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +020078 .idProduct = 0x08f0,
79 .bInterfaceClass = USB_CLASS_AUDIO,
80 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
81},
82{
83 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
84 USB_DEVICE_ID_MATCH_INT_CLASS |
85 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
86 .idVendor = 0x046d,
87 .idProduct = 0x08f6,
88 .bInterfaceClass = USB_CLASS_AUDIO,
89 .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
90},
James Courtier-Dutton1e741902007-10-08 18:49:43 +010091/* E-Mu devices */
92{
93 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
94 .idVendor = 0x041e,
95 .idProduct = 0x3f02,
96 .bInterfaceClass = USB_CLASS_AUDIO,
97},
98{
99 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
100 .idVendor = 0x041e,
101 .idProduct = 0x3f04,
102 .bInterfaceClass = USB_CLASS_AUDIO,
103},
104/*
Daniel Drakea9121452007-05-07 09:27:05 +0200105/*
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 * Yamaha devices
107 */
108
109#define YAMAHA_DEVICE(id, name) { \
110 USB_DEVICE(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100111 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 .vendor_name = "Yamaha", \
113 .product_name = name, \
114 .ifnum = QUIRK_ANY_INTERFACE, \
115 .type = QUIRK_MIDI_YAMAHA \
116 } \
117}
118#define YAMAHA_INTERFACE(id, intf, name) { \
119 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100120 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 .vendor_name = "Yamaha", \
122 .product_name = name, \
123 .ifnum = intf, \
124 .type = QUIRK_MIDI_YAMAHA \
125 } \
126}
127YAMAHA_DEVICE(0x1000, "UX256"),
128YAMAHA_DEVICE(0x1001, "MU1000"),
129YAMAHA_DEVICE(0x1002, "MU2000"),
130YAMAHA_DEVICE(0x1003, "MU500"),
131YAMAHA_INTERFACE(0x1004, 3, "UW500"),
132YAMAHA_DEVICE(0x1005, "MOTIF6"),
133YAMAHA_DEVICE(0x1006, "MOTIF7"),
134YAMAHA_DEVICE(0x1007, "MOTIF8"),
135YAMAHA_DEVICE(0x1008, "UX96"),
136YAMAHA_DEVICE(0x1009, "UX16"),
137YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
138YAMAHA_DEVICE(0x100c, "UC-MX"),
139YAMAHA_DEVICE(0x100d, "UC-KX"),
140YAMAHA_DEVICE(0x100e, "S08"),
141YAMAHA_DEVICE(0x100f, "CLP-150"),
142YAMAHA_DEVICE(0x1010, "CLP-170"),
143YAMAHA_DEVICE(0x1011, "P-250"),
144YAMAHA_DEVICE(0x1012, "TYROS"),
145YAMAHA_DEVICE(0x1013, "PF-500"),
146YAMAHA_DEVICE(0x1014, "S90"),
147YAMAHA_DEVICE(0x1015, "MOTIF-R"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100148YAMAHA_DEVICE(0x1016, "MDP-5"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149YAMAHA_DEVICE(0x1017, "CVP-204"),
150YAMAHA_DEVICE(0x1018, "CVP-206"),
151YAMAHA_DEVICE(0x1019, "CVP-208"),
152YAMAHA_DEVICE(0x101a, "CVP-210"),
153YAMAHA_DEVICE(0x101b, "PSR-1100"),
154YAMAHA_DEVICE(0x101c, "PSR-2100"),
155YAMAHA_DEVICE(0x101d, "CLP-175"),
156YAMAHA_DEVICE(0x101e, "PSR-K1"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100157YAMAHA_DEVICE(0x101f, "EZ-J24"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158YAMAHA_DEVICE(0x1020, "EZ-250i"),
159YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
160YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
161YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
162YAMAHA_DEVICE(0x1024, "CVP-301"),
163YAMAHA_DEVICE(0x1025, "CVP-303"),
164YAMAHA_DEVICE(0x1026, "CVP-305"),
165YAMAHA_DEVICE(0x1027, "CVP-307"),
166YAMAHA_DEVICE(0x1028, "CVP-309"),
167YAMAHA_DEVICE(0x1029, "CVP-309GP"),
168YAMAHA_DEVICE(0x102a, "PSR-1500"),
169YAMAHA_DEVICE(0x102b, "PSR-3000"),
170YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
171YAMAHA_DEVICE(0x1030, "PSR-295/293"),
172YAMAHA_DEVICE(0x1031, "DGX-205/203"),
173YAMAHA_DEVICE(0x1032, "DGX-305"),
174YAMAHA_DEVICE(0x1033, "DGX-505"),
175YAMAHA_DEVICE(0x1034, NULL),
176YAMAHA_DEVICE(0x1035, NULL),
177YAMAHA_DEVICE(0x1036, NULL),
178YAMAHA_DEVICE(0x1037, NULL),
179YAMAHA_DEVICE(0x1038, NULL),
180YAMAHA_DEVICE(0x1039, NULL),
181YAMAHA_DEVICE(0x103a, NULL),
182YAMAHA_DEVICE(0x103b, NULL),
183YAMAHA_DEVICE(0x103c, NULL),
Clemens Ladisch0ac2ac02005-07-01 16:19:39 +0200184YAMAHA_DEVICE(0x103d, NULL),
Clemens Ladischf542fda2005-09-20 09:06:36 +0200185YAMAHA_DEVICE(0x103e, NULL),
186YAMAHA_DEVICE(0x103f, NULL),
187YAMAHA_DEVICE(0x1040, NULL),
188YAMAHA_DEVICE(0x1041, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200189YAMAHA_DEVICE(0x1042, NULL),
190YAMAHA_DEVICE(0x1043, NULL),
191YAMAHA_DEVICE(0x1044, NULL),
192YAMAHA_DEVICE(0x1045, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193YAMAHA_DEVICE(0x2000, "DGP-7"),
194YAMAHA_DEVICE(0x2001, "DGP-5"),
195YAMAHA_DEVICE(0x2002, NULL),
196YAMAHA_DEVICE(0x5000, "CS1D"),
197YAMAHA_DEVICE(0x5001, "DSP1D"),
198YAMAHA_DEVICE(0x5002, "DME32"),
199YAMAHA_DEVICE(0x5003, "DM2000"),
200YAMAHA_DEVICE(0x5004, "02R96"),
201YAMAHA_DEVICE(0x5005, "ACU16-C"),
202YAMAHA_DEVICE(0x5006, "NHB32-C"),
203YAMAHA_DEVICE(0x5007, "DM1000"),
204YAMAHA_DEVICE(0x5008, "01V96"),
205YAMAHA_DEVICE(0x5009, "SPX2000"),
206YAMAHA_DEVICE(0x500a, "PM5D"),
207YAMAHA_DEVICE(0x500b, "DME64N"),
208YAMAHA_DEVICE(0x500c, "DME24N"),
209YAMAHA_DEVICE(0x500d, NULL),
210YAMAHA_DEVICE(0x500e, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200211YAMAHA_DEVICE(0x500f, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212YAMAHA_DEVICE(0x7000, "DTX"),
213YAMAHA_DEVICE(0x7010, "UB99"),
214#undef YAMAHA_DEVICE
215#undef YAMAHA_INTERFACE
216
217/*
218 * Roland/RolandED/Edirol/BOSS devices
219 */
220{
221 USB_DEVICE(0x0582, 0x0000),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100222 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700223 .vendor_name = "Roland",
224 .product_name = "UA-100",
225 .ifnum = QUIRK_ANY_INTERFACE,
226 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100227 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 {
229 .ifnum = 0,
230 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
231 .data = & (const struct audioformat) {
232 .format = SNDRV_PCM_FORMAT_S16_LE,
233 .channels = 4,
234 .iface = 0,
235 .altsetting = 1,
236 .altset_idx = 1,
237 .attributes = 0,
238 .endpoint = 0x01,
239 .ep_attr = 0x09,
240 .rates = SNDRV_PCM_RATE_CONTINUOUS,
241 .rate_min = 44100,
242 .rate_max = 44100,
243 }
244 },
245 {
246 .ifnum = 1,
247 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
248 .data = & (const struct audioformat) {
249 .format = SNDRV_PCM_FORMAT_S16_LE,
250 .channels = 2,
251 .iface = 1,
252 .altsetting = 1,
253 .altset_idx = 1,
254 .attributes = EP_CS_ATTR_FILL_MAX,
255 .endpoint = 0x81,
256 .ep_attr = 0x05,
257 .rates = SNDRV_PCM_RATE_CONTINUOUS,
258 .rate_min = 44100,
259 .rate_max = 44100,
260 }
261 },
262 {
263 .ifnum = 2,
264 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100265 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266 .out_cables = 0x0007,
267 .in_cables = 0x0007
268 }
269 },
270 {
271 .ifnum = -1
272 }
273 }
274 }
275},
276{
277 USB_DEVICE(0x0582, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100278 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279 .vendor_name = "EDIROL",
280 .product_name = "UM-4",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200281 .ifnum = QUIRK_ANY_INTERFACE,
282 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100283 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200284 {
285 .ifnum = 0,
286 .type = QUIRK_IGNORE_INTERFACE
287 },
288 {
289 .ifnum = 1,
290 .type = QUIRK_IGNORE_INTERFACE
291 },
292 {
293 .ifnum = 2,
294 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100295 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200296 .out_cables = 0x000f,
297 .in_cables = 0x000f
298 }
299 },
300 {
301 .ifnum = -1
302 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700303 }
304 }
305},
306{
307 USB_DEVICE(0x0582, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100308 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700309 .vendor_name = "Roland",
310 .product_name = "SC-8850",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200311 .ifnum = QUIRK_ANY_INTERFACE,
312 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100313 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200314 {
315 .ifnum = 0,
316 .type = QUIRK_IGNORE_INTERFACE
317 },
318 {
319 .ifnum = 1,
320 .type = QUIRK_IGNORE_INTERFACE
321 },
322 {
323 .ifnum = 2,
324 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100325 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200326 .out_cables = 0x003f,
327 .in_cables = 0x003f
328 }
329 },
330 {
331 .ifnum = -1
332 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700333 }
334 }
335},
336{
337 USB_DEVICE(0x0582, 0x0004),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100338 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339 .vendor_name = "Roland",
340 .product_name = "U-8",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200341 .ifnum = QUIRK_ANY_INTERFACE,
342 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100343 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200344 {
345 .ifnum = 0,
346 .type = QUIRK_IGNORE_INTERFACE
347 },
348 {
349 .ifnum = 1,
350 .type = QUIRK_IGNORE_INTERFACE
351 },
352 {
353 .ifnum = 2,
354 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100355 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200356 .out_cables = 0x0005,
357 .in_cables = 0x0005
358 }
359 },
360 {
361 .ifnum = -1
362 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700363 }
364 }
365},
366{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100367 /* Has ID 0x0099 when not in "Advanced Driver" mode.
368 * The UM-2EX has only one input, but we cannot detect this. */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369 USB_DEVICE(0x0582, 0x0005),
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 = "EDIROL",
372 .product_name = "UM-2",
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 = 0x0003,
389 .in_cables = 0x0003
390 }
391 },
392 {
393 .ifnum = -1
394 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700395 }
396 }
397},
398{
399 USB_DEVICE(0x0582, 0x0007),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100400 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401 .vendor_name = "Roland",
402 .product_name = "SC-8820",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200403 .ifnum = QUIRK_ANY_INTERFACE,
404 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100405 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200406 {
407 .ifnum = 0,
408 .type = QUIRK_IGNORE_INTERFACE
409 },
410 {
411 .ifnum = 1,
412 .type = QUIRK_IGNORE_INTERFACE
413 },
414 {
415 .ifnum = 2,
416 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100417 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200418 .out_cables = 0x0013,
419 .in_cables = 0x0013
420 }
421 },
422 {
423 .ifnum = -1
424 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425 }
426 }
427},
428{
429 USB_DEVICE(0x0582, 0x0008),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100430 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700431 .vendor_name = "Roland",
432 .product_name = "PC-300",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200433 .ifnum = QUIRK_ANY_INTERFACE,
434 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100435 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200436 {
437 .ifnum = 0,
438 .type = QUIRK_IGNORE_INTERFACE
439 },
440 {
441 .ifnum = 1,
442 .type = QUIRK_IGNORE_INTERFACE
443 },
444 {
445 .ifnum = 2,
446 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100447 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200448 .out_cables = 0x0001,
449 .in_cables = 0x0001
450 }
451 },
452 {
453 .ifnum = -1
454 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700455 }
456 }
457},
458{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100459 /* has ID 0x009d when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700460 USB_DEVICE(0x0582, 0x0009),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100461 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700462 .vendor_name = "EDIROL",
463 .product_name = "UM-1",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200464 .ifnum = QUIRK_ANY_INTERFACE,
465 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100466 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200467 {
468 .ifnum = 0,
469 .type = QUIRK_IGNORE_INTERFACE
470 },
471 {
472 .ifnum = 1,
473 .type = QUIRK_IGNORE_INTERFACE
474 },
475 {
476 .ifnum = 2,
477 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100478 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200479 .out_cables = 0x0001,
480 .in_cables = 0x0001
481 }
482 },
483 {
484 .ifnum = -1
485 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700486 }
487 }
488},
489{
490 USB_DEVICE(0x0582, 0x000b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100491 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700492 .vendor_name = "Roland",
493 .product_name = "SK-500",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200494 .ifnum = QUIRK_ANY_INTERFACE,
495 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100496 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200497 {
498 .ifnum = 0,
499 .type = QUIRK_IGNORE_INTERFACE
500 },
501 {
502 .ifnum = 1,
503 .type = QUIRK_IGNORE_INTERFACE
504 },
505 {
506 .ifnum = 2,
507 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100508 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200509 .out_cables = 0x0013,
510 .in_cables = 0x0013
511 }
512 },
513 {
514 .ifnum = -1
515 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700516 }
517 }
518},
519{
520 /* thanks to Emiliano Grilli <emillo@libero.it>
521 * for helping researching this data */
522 USB_DEVICE(0x0582, 0x000c),
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 = "SC-D70",
526 .ifnum = QUIRK_ANY_INTERFACE,
527 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100528 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700529 {
530 .ifnum = 0,
531 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
532 .data = & (const struct audioformat) {
533 .format = SNDRV_PCM_FORMAT_S24_3LE,
534 .channels = 2,
535 .iface = 0,
536 .altsetting = 1,
537 .altset_idx = 1,
538 .attributes = 0,
539 .endpoint = 0x01,
540 .ep_attr = 0x01,
541 .rates = SNDRV_PCM_RATE_CONTINUOUS,
542 .rate_min = 44100,
543 .rate_max = 44100,
544 }
545 },
546 {
547 .ifnum = 1,
548 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
549 .data = & (const struct audioformat) {
550 .format = SNDRV_PCM_FORMAT_S24_3LE,
551 .channels = 2,
552 .iface = 1,
553 .altsetting = 1,
554 .altset_idx = 1,
555 .attributes = 0,
556 .endpoint = 0x81,
557 .ep_attr = 0x01,
558 .rates = SNDRV_PCM_RATE_CONTINUOUS,
559 .rate_min = 44100,
560 .rate_max = 44100,
561 }
562 },
563 {
564 .ifnum = 2,
565 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100566 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700567 .out_cables = 0x0007,
568 .in_cables = 0x0007
569 }
570 },
571 {
572 .ifnum = -1
573 }
574 }
575 }
576},
577{ /*
578 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
579 * If the advanced mode switch at the back of the unit is off, the
580 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
581 * but offers only 16-bit PCM.
582 * In advanced mode, the UA-5 will output S24_3LE samples (two
583 * channels) at the rate indicated on the front switch, including
584 * the 96kHz sample rate.
585 */
586 USB_DEVICE(0x0582, 0x0010),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100587 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700588 .vendor_name = "EDIROL",
589 .product_name = "UA-5",
590 .ifnum = QUIRK_ANY_INTERFACE,
591 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100592 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700593 {
594 .ifnum = 1,
595 .type = QUIRK_AUDIO_STANDARD_INTERFACE
596 },
597 {
598 .ifnum = 2,
599 .type = QUIRK_AUDIO_STANDARD_INTERFACE
600 },
601 {
602 .ifnum = -1
603 }
604 }
605 }
606},
607{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200608 /* has ID 0x0013 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700609 USB_DEVICE(0x0582, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100610 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700611 .vendor_name = "Roland",
612 .product_name = "XV-5050",
613 .ifnum = 0,
614 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100615 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700616 .out_cables = 0x0001,
617 .in_cables = 0x0001
618 }
619 }
620},
621{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200622 /* has ID 0x0015 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700623 USB_DEVICE(0x0582, 0x0014),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100624 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700625 .vendor_name = "EDIROL",
626 .product_name = "UM-880",
627 .ifnum = 0,
628 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100629 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700630 .out_cables = 0x01ff,
631 .in_cables = 0x01ff
632 }
633 }
634},
635{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200636 /* has ID 0x0017 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700637 USB_DEVICE(0x0582, 0x0016),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100638 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700639 .vendor_name = "EDIROL",
640 .product_name = "SD-90",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200641 .ifnum = QUIRK_ANY_INTERFACE,
642 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100643 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200644 {
645 .ifnum = 0,
646 .type = QUIRK_IGNORE_INTERFACE
647 },
648 {
649 .ifnum = 1,
650 .type = QUIRK_IGNORE_INTERFACE
651 },
652 {
653 .ifnum = 2,
654 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100655 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200656 .out_cables = 0x000f,
657 .in_cables = 0x000f
658 }
659 },
660 {
661 .ifnum = -1
662 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700663 }
664 }
665},
666{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200667 /* has ID 0x001c when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700668 USB_DEVICE(0x0582, 0x001b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100669 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700670 .vendor_name = "Roland",
671 .product_name = "MMP-2",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200672 .ifnum = QUIRK_ANY_INTERFACE,
673 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100674 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200675 {
676 .ifnum = 0,
677 .type = QUIRK_IGNORE_INTERFACE
678 },
679 {
680 .ifnum = 1,
681 .type = QUIRK_IGNORE_INTERFACE
682 },
683 {
684 .ifnum = 2,
685 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100686 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200687 .out_cables = 0x0001,
688 .in_cables = 0x0001
689 }
690 },
691 {
692 .ifnum = -1
693 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700694 }
695 }
696},
697{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200698 /* has ID 0x001e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700699 USB_DEVICE(0x0582, 0x001d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100700 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700701 .vendor_name = "Roland",
702 .product_name = "V-SYNTH",
703 .ifnum = 0,
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100705 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700706 .out_cables = 0x0001,
707 .in_cables = 0x0001
708 }
709 }
710},
711{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200712 /* has ID 0x0024 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700713 USB_DEVICE(0x0582, 0x0023),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100714 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715 .vendor_name = "EDIROL",
716 .product_name = "UM-550",
717 .ifnum = 0,
718 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100719 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720 .out_cables = 0x003f,
721 .in_cables = 0x003f
722 }
723 }
724},
725{
726 /*
727 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
728 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
729 * and no MIDI.
730 */
731 USB_DEVICE(0x0582, 0x0025),
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 = "EDIROL",
734 .product_name = "UA-20",
735 .ifnum = QUIRK_ANY_INTERFACE,
736 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100737 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700738 {
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100739 .ifnum = 0,
740 .type = QUIRK_IGNORE_INTERFACE
741 },
742 {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700743 .ifnum = 1,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100744 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
745 .data = & (const struct audioformat) {
746 .format = SNDRV_PCM_FORMAT_S24_3LE,
747 .channels = 2,
748 .iface = 1,
749 .altsetting = 1,
750 .altset_idx = 1,
751 .attributes = 0,
752 .endpoint = 0x01,
753 .ep_attr = 0x01,
754 .rates = SNDRV_PCM_RATE_CONTINUOUS,
755 .rate_min = 44100,
756 .rate_max = 44100,
757 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700758 },
759 {
760 .ifnum = 2,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100761 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
762 .data = & (const struct audioformat) {
763 .format = SNDRV_PCM_FORMAT_S24_3LE,
764 .channels = 2,
765 .iface = 2,
766 .altsetting = 1,
767 .altset_idx = 1,
768 .attributes = 0,
769 .endpoint = 0x82,
770 .ep_attr = 0x01,
771 .rates = SNDRV_PCM_RATE_CONTINUOUS,
772 .rate_min = 44100,
773 .rate_max = 44100,
774 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700775 },
776 {
777 .ifnum = 3,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100778 .type = QUIRK_MIDI_FIXED_ENDPOINT,
779 .data = & (const struct snd_usb_midi_endpoint_info) {
780 .out_cables = 0x0001,
781 .in_cables = 0x0001
782 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700783 },
784 {
785 .ifnum = -1
786 }
787 }
788 }
789},
790{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200791 /* has ID 0x0028 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700792 USB_DEVICE(0x0582, 0x0027),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100793 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700794 .vendor_name = "EDIROL",
795 .product_name = "SD-20",
796 .ifnum = 0,
797 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100798 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700799 .out_cables = 0x0003,
800 .in_cables = 0x0007
801 }
802 }
803},
804{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200805 /* has ID 0x002a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700806 USB_DEVICE(0x0582, 0x0029),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100807 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700808 .vendor_name = "EDIROL",
809 .product_name = "SD-80",
810 .ifnum = 0,
811 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100812 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700813 .out_cables = 0x000f,
814 .in_cables = 0x000f
815 }
816 }
817},
818{ /*
819 * This quirk is for the "Advanced" modes of the Edirol UA-700.
820 * If the sample format switch is not in an advanced setting, the
821 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
822 * but offers only 16-bit PCM and no MIDI.
823 */
824 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
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 = "UA-700",
828 .ifnum = QUIRK_ANY_INTERFACE,
829 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100830 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700831 {
832 .ifnum = 1,
833 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
834 },
835 {
836 .ifnum = 2,
837 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
838 },
839 {
840 .ifnum = 3,
841 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
842 },
843 {
844 .ifnum = -1
845 }
846 }
847 }
848},
849{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200850 /* has ID 0x002e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851 USB_DEVICE(0x0582, 0x002d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100852 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700853 .vendor_name = "Roland",
854 .product_name = "XV-2020",
855 .ifnum = 0,
856 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100857 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700858 .out_cables = 0x0001,
859 .in_cables = 0x0001
860 }
861 }
862},
863{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200864 /* has ID 0x0030 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700865 USB_DEVICE(0x0582, 0x002f),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100866 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700867 .vendor_name = "Roland",
868 .product_name = "VariOS",
869 .ifnum = 0,
870 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100871 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700872 .out_cables = 0x0007,
873 .in_cables = 0x0007
874 }
875 }
876},
877{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200878 /* has ID 0x0034 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700879 USB_DEVICE(0x0582, 0x0033),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100880 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700881 .vendor_name = "EDIROL",
882 .product_name = "PCR",
883 .ifnum = 0,
884 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100885 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700886 .out_cables = 0x0003,
887 .in_cables = 0x0007
888 }
889 }
890},
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200891 /* TODO: add Roland M-1000 support */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700892{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200893 /*
894 * Has ID 0x0038 when not in "Advanced Driver" mode;
895 * later revisions use IDs 0x0054 and 0x00a2.
896 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700897 USB_DEVICE(0x0582, 0x0037),
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 = "Digital Piano",
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 = 0x0001,
905 .in_cables = 0x0001
906 }
907 }
908},
909{
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200910 /*
911 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
912 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
913 * and no MIDI.
914 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100916 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700917 .vendor_name = "BOSS",
918 .product_name = "GS-10",
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200919 .ifnum = QUIRK_ANY_INTERFACE,
920 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100921 .data = & (const struct snd_usb_audio_quirk[]) {
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200922 {
923 .ifnum = 1,
924 .type = QUIRK_AUDIO_STANDARD_INTERFACE
925 },
926 {
927 .ifnum = 2,
928 .type = QUIRK_AUDIO_STANDARD_INTERFACE
929 },
930 {
931 .ifnum = 3,
932 .type = QUIRK_MIDI_STANDARD_INTERFACE
933 },
934 {
935 .ifnum = -1
936 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937 }
938 }
939},
940{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200941 /* has ID 0x0041 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700942 USB_DEVICE(0x0582, 0x0040),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100943 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700944 .vendor_name = "Roland",
945 .product_name = "GI-20",
946 .ifnum = 0,
947 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100948 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700949 .out_cables = 0x0001,
950 .in_cables = 0x0001
951 }
952 }
953},
954{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200955 /* has ID 0x0043 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700956 USB_DEVICE(0x0582, 0x0042),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100957 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700958 .vendor_name = "Roland",
959 .product_name = "RS-70",
960 .ifnum = 0,
961 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100962 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700963 .out_cables = 0x0001,
964 .in_cables = 0x0001
965 }
966 }
967},
968{
969 USB_DEVICE(0x0582, 0x0044),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100970 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700971 .vendor_name = "Roland",
972 .product_name = "UA-1000",
973 .ifnum = QUIRK_ANY_INTERFACE,
974 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100975 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700976 {
977 .ifnum = 1,
978 .type = QUIRK_AUDIO_EDIROL_UA1000
979 },
980 {
981 .ifnum = 2,
982 .type = QUIRK_AUDIO_EDIROL_UA1000
983 },
984 {
985 .ifnum = 3,
986 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100987 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700988 .out_cables = 0x0003,
989 .in_cables = 0x0003
990 }
991 },
992 {
993 .ifnum = -1
994 }
995 }
996 }
997},
998{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200999 /* has ID 0x004a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001000 USB_DEVICE(0x0582, 0x0048),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001001 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001002 .vendor_name = "EDIROL",
1003 .product_name = "UR-80",
1004 .ifnum = 0,
1005 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001006 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001007 .out_cables = 0x0003,
1008 .in_cables = 0x0007
1009 }
1010 }
1011},
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001012 /* TODO: add Edirol M-100FX support */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001013{
Clemens Ladischf38cc312007-02-09 20:52:55 +01001014 /* has ID 0x004e when not in "Advanced Driver" mode */
1015 USB_DEVICE(0x0582, 0x004c),
1016 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1017 .vendor_name = "EDIROL",
1018 .product_name = "PCR-A",
1019 .ifnum = QUIRK_ANY_INTERFACE,
1020 .type = QUIRK_COMPOSITE,
1021 .data = (const struct snd_usb_audio_quirk[]) {
1022 {
1023 .ifnum = 1,
1024 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1025 },
1026 {
1027 .ifnum = 2,
1028 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1029 },
1030 {
1031 .ifnum = -1
1032 }
1033 }
1034 }
1035},
1036{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001037 /* has ID 0x004f when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001038 USB_DEVICE(0x0582, 0x004d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001039 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001040 .vendor_name = "EDIROL",
1041 .product_name = "PCR-A",
1042 .ifnum = 0,
1043 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001044 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001045 .out_cables = 0x0003,
1046 .in_cables = 0x0007
1047 }
1048 }
1049},
1050{
1051 /*
1052 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1053 * is standard compliant, but has only 16-bit PCM.
1054 */
1055 USB_DEVICE(0x0582, 0x0050),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001056 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001057 .vendor_name = "EDIROL",
1058 .product_name = "UA-3FX",
1059 .ifnum = QUIRK_ANY_INTERFACE,
1060 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001061 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001062 {
1063 .ifnum = 1,
1064 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1065 },
1066 {
1067 .ifnum = 2,
1068 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1069 },
1070 {
1071 .ifnum = -1
1072 }
1073 }
1074 }
1075},
1076{
1077 USB_DEVICE(0x0582, 0x0052),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001078 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001079 .vendor_name = "EDIROL",
1080 .product_name = "UM-1SX",
1081 .ifnum = 0,
1082 .type = QUIRK_MIDI_STANDARD_INTERFACE
1083 }
1084},
Takashi Iwaif1676842007-07-09 10:39:44 +02001085{
1086 USB_DEVICE(0x0582, 0x0060),
1087 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1088 .vendor_name = "Roland",
1089 .product_name = "EXR Series",
1090 .ifnum = 0,
1091 .type = QUIRK_MIDI_STANDARD_INTERFACE
1092 }
1093},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001094{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001095 /* has ID 0x0067 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001096 USB_DEVICE(0x0582, 0x0065),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001097 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001098 .vendor_name = "EDIROL",
1099 .product_name = "PCR-1",
1100 .ifnum = 0,
1101 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001102 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001103 .out_cables = 0x0001,
1104 .in_cables = 0x0003
1105 }
1106 }
1107},
1108{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001109 /* has ID 0x006b when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001110 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001111 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001112 .vendor_name = "Roland",
1113 .product_name = "SP-606",
1114 .ifnum = 3,
1115 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001116 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001117 .out_cables = 0x0001,
1118 .in_cables = 0x0001
1119 }
1120 }
1121},
1122{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001123 /* has ID 0x006e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001124 USB_DEVICE(0x0582, 0x006d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001125 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001126 .vendor_name = "Roland",
1127 .product_name = "FANTOM-X",
1128 .ifnum = 0,
1129 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001130 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001131 .out_cables = 0x0001,
1132 .in_cables = 0x0001
1133 }
1134 }
1135},
Claudio Matsuoka95093a22007-07-03 20:07:39 +02001136{
1137 USB_DEVICE(0x582, 0x00a6),
1138 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1139 .vendor_name = "Roland",
1140 .product_name = "Juno-G",
1141 .ifnum = 0,
1142 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1143 .data = & (const struct snd_usb_midi_endpoint_info) {
1144 .out_cables = 0x0001,
1145 .in_cables = 0x0001
1146 }
1147 }
1148},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001149{ /*
1150 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1151 * If the switch is not in an advanced setting, the UA-25 has
1152 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1153 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1154 */
1155 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001157 .vendor_name = "EDIROL",
1158 .product_name = "UA-25",
1159 .ifnum = QUIRK_ANY_INTERFACE,
1160 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001161 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001162 {
1163 .ifnum = 0,
1164 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1165 },
1166 {
1167 .ifnum = 1,
1168 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1169 },
1170 {
1171 .ifnum = 2,
1172 .type = QUIRK_AUDIO_EDIROL_UA700_UA25
1173 },
1174 {
1175 .ifnum = -1
1176 }
1177 }
1178 }
1179},
1180{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001181 /* has ID 0x0076 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001182 USB_DEVICE(0x0582, 0x0075),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001183 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001184 .vendor_name = "BOSS",
1185 .product_name = "DR-880",
1186 .ifnum = 0,
1187 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001188 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001189 .out_cables = 0x0001,
1190 .in_cables = 0x0001
1191 }
1192 }
1193},
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001194{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001195 /* has ID 0x007b when not in "Advanced Driver" mode */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001196 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001197 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001198 .vendor_name = "Roland",
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001199 /* "RD" or "RD-700SX"? */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001200 .ifnum = 0,
1201 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001202 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001203 .out_cables = 0x0003,
1204 .in_cables = 0x0003
1205 }
1206 }
1207},
Bjoern Fayd0b0fac2007-02-05 12:27:21 +01001208/* Roland UA-101 in High-Speed Mode only */
1209{
1210 USB_DEVICE(0x0582, 0x007d),
1211 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1212 .vendor_name = "Roland",
1213 .product_name = "UA-101",
1214 .ifnum = QUIRK_ANY_INTERFACE,
1215 .type = QUIRK_COMPOSITE,
1216 .data = (const struct snd_usb_audio_quirk[]) {
1217 {
1218 .ifnum = 0,
1219 .type = QUIRK_AUDIO_EDIROL_UA101
1220 },
1221 {
1222 .ifnum = 1,
1223 .type = QUIRK_AUDIO_EDIROL_UA101
1224 },
1225 {
1226 .ifnum = 2,
1227 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1228 .data = & (const struct snd_usb_midi_endpoint_info) {
1229 .out_cables = 0x0001,
1230 .in_cables = 0x0001
1231 }
1232 },
1233 {
1234 .ifnum = -1
1235 }
1236 }
1237 }
1238},
Clemens Ladischcdca8812006-01-18 08:53:32 +01001239{
1240 /* has ID 0x0081 when not in "Advanced Driver" mode */
1241 USB_DEVICE(0x0582, 0x0080),
1242 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1243 .vendor_name = "Roland",
1244 .product_name = "G-70",
1245 .ifnum = 0,
1246 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1247 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch05422572006-01-18 15:44:53 +01001248 .out_cables = 0x0001,
1249 .in_cables = 0x0001
Clemens Ladischcdca8812006-01-18 08:53:32 +01001250 }
1251 }
1252},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001253 /* TODO: add Roland V-SYNTH XT support */
1254 /* TODO: add BOSS GT-PRO support */
Clemens Ladisch415b09e2006-01-16 08:03:52 +01001255{
1256 /* has ID 0x008c when not in "Advanced Driver" mode */
1257 USB_DEVICE(0x0582, 0x008b),
1258 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1259 .vendor_name = "EDIROL",
1260 .product_name = "PC-50",
1261 .ifnum = 0,
1262 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1263 .data = & (const struct snd_usb_midi_endpoint_info) {
1264 .out_cables = 0x0001,
1265 .in_cables = 0x0001
1266 }
1267 }
1268},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001269 /* TODO: add Edirol PC-80 support */
Takashi Iwai9b0d39b2007-08-10 15:07:06 +02001270{
1271 USB_DEVICE(0x0582, 0x0096),
1272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1273 .vendor_name = "EDIROL",
1274 .product_name = "UA-1EX",
1275 .ifnum = QUIRK_ANY_INTERFACE,
1276 .type = QUIRK_COMPOSITE,
1277 .data = (const struct snd_usb_audio_quirk[]) {
1278 {
1279 .ifnum = 0,
1280 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1281 },
1282 {
1283 .ifnum = 1,
1284 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1285 },
1286 {
1287 .ifnum = -1
1288 }
1289 }
1290 }
1291},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001292{
1293 USB_DEVICE(0x0582, 0x009a),
1294 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1295 .vendor_name = "EDIROL",
1296 .product_name = "UM-3EX",
1297 .ifnum = 0,
1298 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1299 .data = & (const struct snd_usb_midi_endpoint_info) {
1300 .out_cables = 0x000f,
1301 .in_cables = 0x000f
1302 }
1303 }
1304},
1305 /* TODO: add Edirol MD-P1 support */
Carlo Beccaria87823092007-07-03 08:04:25 +02001306{
1307 /* Roland SH-201 */
1308 USB_DEVICE(0x0582, 0x00ad),
1309 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1310 .vendor_name = "Roland",
1311 .product_name = "SH-201",
1312 .ifnum = QUIRK_ANY_INTERFACE,
1313 .type = QUIRK_COMPOSITE,
1314 .data = (const struct snd_usb_audio_quirk[]) {
1315 {
1316 .ifnum = 0,
1317 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1318 },
1319 {
1320 .ifnum = 1,
1321 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1322 },
1323 {
1324 .ifnum = 2,
1325 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1326 .data = & (const struct snd_usb_midi_endpoint_info) {
1327 .out_cables = 0x0001,
1328 .in_cables = 0x0001
1329 }
1330 },
1331 {
1332 .ifnum = -1
1333 }
1334 }
1335 }
1336},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001337
Clemens Ladischa25f1752005-10-05 13:23:19 +02001338/* Guillemot devices */
1339{
1340 /*
1341 * This is for the "Windows Edition" where the external MIDI ports are
1342 * the only MIDI ports; the control data is reported through HID
1343 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1344 * compliant USB MIDI ports for external MIDI and controls.
1345 */
1346 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001347 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001348 .vendor_name = "Hercules",
1349 .product_name = "DJ Console (WE)",
1350 .ifnum = 4,
1351 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001352 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001353 .out_cables = 0x0001,
1354 .in_cables = 0x0001
1355 }
1356 }
1357},
1358
Linus Torvalds1da177e2005-04-16 15:20:36 -07001359/* Midiman/M-Audio devices */
1360{
1361 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001362 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001363 .vendor_name = "M-Audio",
1364 .product_name = "MidiSport 2x2",
1365 .ifnum = QUIRK_ANY_INTERFACE,
1366 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001367 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001368 .out_cables = 0x0003,
1369 .in_cables = 0x0003
1370 }
1371 }
1372},
1373{
1374 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001375 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001376 .vendor_name = "M-Audio",
1377 .product_name = "MidiSport 1x1",
1378 .ifnum = QUIRK_ANY_INTERFACE,
1379 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001380 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001381 .out_cables = 0x0001,
1382 .in_cables = 0x0001
1383 }
1384 }
1385},
1386{
1387 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001388 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001389 .vendor_name = "M-Audio",
1390 .product_name = "Keystation",
1391 .ifnum = QUIRK_ANY_INTERFACE,
1392 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001393 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001394 .out_cables = 0x0001,
1395 .in_cables = 0x0001
1396 }
1397 }
1398},
1399{
1400 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001401 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001402 .vendor_name = "M-Audio",
1403 .product_name = "MidiSport 4x4",
1404 .ifnum = QUIRK_ANY_INTERFACE,
1405 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001406 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001407 .out_cables = 0x000f,
1408 .in_cables = 0x000f
1409 }
1410 }
1411},
1412{
1413 /*
1414 * For hardware revision 1.05; in the later revisions (1.10 and
1415 * 1.21), 0x1031 is the ID for the device without firmware.
1416 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1417 */
1418 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001419 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001420 .vendor_name = "M-Audio",
1421 .product_name = "MidiSport 8x8",
1422 .ifnum = QUIRK_ANY_INTERFACE,
1423 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001424 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001425 .out_cables = 0x01ff,
1426 .in_cables = 0x01ff
1427 }
1428 }
1429},
1430{
1431 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001432 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001433 .vendor_name = "M-Audio",
1434 .product_name = "MidiSport 8x8",
1435 .ifnum = QUIRK_ANY_INTERFACE,
1436 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001437 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001438 .out_cables = 0x01ff,
1439 .in_cables = 0x01ff
1440 }
1441 }
1442},
1443{
1444 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001445 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001446 .vendor_name = "M-Audio",
1447 .product_name = "MidiSport 2x4",
1448 .ifnum = QUIRK_ANY_INTERFACE,
1449 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001450 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001451 .out_cables = 0x000f,
1452 .in_cables = 0x0003
1453 }
1454 }
1455},
1456{
1457 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001458 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001459 .vendor_name = "M-Audio",
1460 .product_name = "Quattro",
1461 .ifnum = QUIRK_ANY_INTERFACE,
1462 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001463 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001464 /*
1465 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1466 * and share endpoints with the other interfaces.
1467 * Ignore them. The other interfaces can do 24 bits,
1468 * but captured samples are big-endian (see usbaudio.c).
1469 */
1470 {
1471 .ifnum = 0,
1472 .type = QUIRK_IGNORE_INTERFACE
1473 },
1474 {
1475 .ifnum = 1,
1476 .type = QUIRK_IGNORE_INTERFACE
1477 },
1478 {
1479 .ifnum = 2,
1480 .type = QUIRK_IGNORE_INTERFACE
1481 },
1482 {
1483 .ifnum = 3,
1484 .type = QUIRK_IGNORE_INTERFACE
1485 },
1486 {
1487 .ifnum = 4,
1488 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1489 },
1490 {
1491 .ifnum = 5,
1492 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1493 },
1494 {
1495 .ifnum = 6,
1496 .type = QUIRK_IGNORE_INTERFACE
1497 },
1498 {
1499 .ifnum = 7,
1500 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1501 },
1502 {
1503 .ifnum = 8,
1504 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1505 },
1506 {
1507 .ifnum = 9,
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 .ifnum = -1
1516 }
1517 }
1518 }
1519},
1520{
1521 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
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 = "AudioPhile",
1525 .ifnum = 6,
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 = 0x0001,
1529 .in_cables = 0x0001
1530 }
1531 }
1532},
1533{
1534 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
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 = "Ozone",
1538 .ifnum = 3,
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 = 0x0001,
1542 .in_cables = 0x0001
1543 }
1544 }
1545},
1546{
1547 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
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 = "OmniStudio",
1551 .ifnum = QUIRK_ANY_INTERFACE,
1552 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001553 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001554 {
1555 .ifnum = 0,
1556 .type = QUIRK_IGNORE_INTERFACE
1557 },
1558 {
1559 .ifnum = 1,
1560 .type = QUIRK_IGNORE_INTERFACE
1561 },
1562 {
1563 .ifnum = 2,
1564 .type = QUIRK_IGNORE_INTERFACE
1565 },
1566 {
1567 .ifnum = 3,
1568 .type = QUIRK_IGNORE_INTERFACE
1569 },
1570 {
1571 .ifnum = 4,
1572 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1573 },
1574 {
1575 .ifnum = 5,
1576 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1577 },
1578 {
1579 .ifnum = 6,
1580 .type = QUIRK_IGNORE_INTERFACE
1581 },
1582 {
1583 .ifnum = 7,
1584 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1585 },
1586 {
1587 .ifnum = 8,
1588 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1589 },
1590 {
1591 .ifnum = 9,
1592 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001593 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001594 .out_cables = 0x0001,
1595 .in_cables = 0x0001
1596 }
1597 },
1598 {
1599 .ifnum = -1
1600 }
1601 }
1602 }
1603},
Clemens Ladisch2ea547dc2007-09-17 09:33:17 +02001604{
1605 USB_DEVICE(0x0763, 0x2019),
1606 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1607 /* .vendor_name = "M-Audio", */
1608 /* .product_name = "Ozone Academic", */
1609 .ifnum = QUIRK_ANY_INTERFACE,
1610 .type = QUIRK_COMPOSITE,
1611 .data = & (const struct snd_usb_audio_quirk[]) {
1612 {
1613 .ifnum = 0,
1614 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1615 },
1616 {
1617 .ifnum = 1,
1618 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1619 },
1620 {
1621 .ifnum = 2,
1622 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1623 },
1624 {
1625 .ifnum = 3,
1626 .type = QUIRK_MIDI_MIDIMAN,
1627 .data = & (const struct snd_usb_midi_endpoint_info) {
1628 .out_cables = 0x0001,
1629 .in_cables = 0x0001
1630 }
1631 },
1632 {
1633 .ifnum = -1
1634 }
1635 }
1636 }
1637},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001638
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001639/* Casio devices */
1640{
Clemens Ladisch9808dc92006-03-16 08:15:25 +01001641 USB_DEVICE(0x07cf, 0x6801),
1642 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1643 .vendor_name = "Casio",
1644 .product_name = "PL-40R",
1645 .ifnum = 0,
1646 .type = QUIRK_MIDI_YAMAHA
1647 }
1648},
1649{
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001650 /* this ID is used by several devices without a product ID */
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001651 USB_DEVICE(0x07cf, 0x6802),
1652 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1653 .vendor_name = "Casio",
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001654 .product_name = "Keyboard",
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001655 .ifnum = 0,
1656 .type = QUIRK_MIDI_YAMAHA
1657 }
1658},
1659
Linus Torvalds1da177e2005-04-16 15:20:36 -07001660/* Mark of the Unicorn devices */
1661{
1662 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
Clemens Ladischbbd46152005-07-04 09:21:45 +02001663 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1664 USB_DEVICE_ID_MATCH_PRODUCT |
1665 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1666 .idVendor = 0x07fd,
1667 .idProduct = 0x0001,
1668 .bDeviceSubClass = 2,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001669 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001670 .vendor_name = "MOTU",
1671 .product_name = "Fastlane",
1672 .ifnum = QUIRK_ANY_INTERFACE,
1673 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001674 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001675 {
1676 .ifnum = 0,
Clemens Ladisch6155aff2005-07-04 09:20:42 +02001677 .type = QUIRK_MIDI_RAW
Linus Torvalds1da177e2005-04-16 15:20:36 -07001678 },
1679 {
1680 .ifnum = 1,
1681 .type = QUIRK_IGNORE_INTERFACE
1682 },
1683 {
1684 .ifnum = -1
1685 }
1686 }
1687 }
1688},
1689
1690{
1691 /* Creative Sound Blaster MP3+ */
1692 USB_DEVICE(0x041e, 0x3010),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001693 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001694 .vendor_name = "Creative Labs",
1695 .product_name = "Sound Blaster MP3+",
1696 .ifnum = QUIRK_NO_INTERFACE
1697 }
1698
1699},
1700
1701/* Emagic devices */
1702{
1703 USB_DEVICE(0x086a, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001704 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001705 .vendor_name = "Emagic",
1706 /* .product_name = "Unitor8", */
1707 .ifnum = 2,
1708 .type = QUIRK_MIDI_EMAGIC,
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 = 0x80ff,
1711 .in_cables = 0x80ff
1712 }
1713 }
1714},
1715{
1716 USB_DEVICE(0x086a, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001717 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001718 .vendor_name = "Emagic",
1719 /* .product_name = "AMT8", */
1720 .ifnum = 2,
1721 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001722 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001723 .out_cables = 0x80ff,
1724 .in_cables = 0x80ff
1725 }
1726 }
1727},
1728{
1729 USB_DEVICE(0x086a, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001730 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001731 .vendor_name = "Emagic",
1732 /* .product_name = "MT4", */
1733 .ifnum = 2,
1734 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001735 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001736 .out_cables = 0x800f,
1737 .in_cables = 0x8003
1738 }
1739 }
1740},
1741
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001742/* TerraTec devices */
1743{
1744 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001745 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001746 .vendor_name = "TerraTec",
1747 .product_name = "PHASE 26",
1748 .ifnum = 3,
1749 .type = QUIRK_MIDI_STANDARD_INTERFACE
1750 }
1751},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001752{
1753 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001754 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001755 .vendor_name = "TerraTec",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001756 .product_name = "PHASE 26",
1757 .ifnum = 3,
1758 .type = QUIRK_MIDI_STANDARD_INTERFACE
1759 }
1760},
Clemens Ladischb2b82292006-02-08 12:38:23 +01001761{
Clemens Ladischbc56eff2006-04-13 10:16:08 +02001762 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1763 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1764 .vendor_name = "TerraTec",
1765 .product_name = "PHASE 26",
1766 .ifnum = 3,
1767 .type = QUIRK_MIDI_STANDARD_INTERFACE
1768 }
1769},
1770{
Clemens Ladischb2b82292006-02-08 12:38:23 +01001771 USB_DEVICE(0x0ccd, 0x0035),
1772 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1773 .vendor_name = "Miditech",
1774 .product_name = "Play'n Roll",
1775 .ifnum = 0,
1776 .type = QUIRK_MIDI_CME
1777 }
1778},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001779
Mark Hills0f28ecd2007-08-10 08:01:54 +02001780/* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1781{
1782 USB_DEVICE(0x103d, 0x0100),
1783 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1784 .vendor_name = "Stanton",
1785 .product_name = "ScratchAmp",
1786 .ifnum = QUIRK_NO_INTERFACE
1787 }
1788},
1789{
1790 USB_DEVICE(0x103d, 0x0101),
1791 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1792 .vendor_name = "Stanton",
1793 .product_name = "ScratchAmp",
1794 .ifnum = QUIRK_NO_INTERFACE
1795 }
1796},
1797
Linus Torvalds1da177e2005-04-16 15:20:36 -07001798/* Novation EMS devices */
1799{
1800 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001801 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001802 .vendor_name = "Novation",
1803 .product_name = "ReMOTE Audio/XStation",
1804 .ifnum = 4,
1805 .type = QUIRK_MIDI_NOVATION
1806 }
1807},
1808{
1809 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001810 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001811 .vendor_name = "Novation",
1812 .product_name = "Speedio",
1813 .ifnum = 3,
1814 .type = QUIRK_MIDI_NOVATION
1815 }
1816},
1817{
1818 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001819 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001820 .vendor_name = "Novation",
1821 .product_name = "ReMOTE25",
1822 .ifnum = 0,
1823 .type = QUIRK_MIDI_NOVATION
1824 }
1825},
1826
Mark Hills3a7788b2007-09-03 08:20:09 +02001827/* */
Clemens Ladisch15944802007-08-29 17:38:14 +02001828{
Mark Hills3a7788b2007-09-03 08:20:09 +02001829 /* aka. Serato Scratch Live DJ Box */
Clemens Ladisch15944802007-08-29 17:38:14 +02001830 USB_DEVICE(0x13e5, 0x0001),
Mark Hills3a7788b2007-09-03 08:20:09 +02001831 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1832 .vendor_name = "Rane",
1833 .product_name = "SL-1",
1834 .ifnum = QUIRK_NO_INTERFACE
Clemens Ladisch15944802007-08-29 17:38:14 +02001835 }
1836},
1837
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001838/* Miditech devices */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001839{
Clemens Ladischf38275f2005-07-25 16:17:29 +02001840 USB_DEVICE(0x4752, 0x0011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001841 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02001842 .vendor_name = "Miditech",
1843 .product_name = "Midistart-2",
1844 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001845 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02001846 }
1847},
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001848
1849/* Central Music devices */
Clemens Ladischf38275f2005-07-25 16:17:29 +02001850{
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001851 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
Clemens Ladischf38275f2005-07-25 16:17:29 +02001852 USB_DEVICE(0x7104, 0x2202),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001853 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02001854 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01001855 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02001856 }
1857},
1858
1859{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001860 /*
1861 * Some USB MIDI devices don't have an audio control interface,
1862 * so we have to grab MIDI streaming interfaces here.
1863 */
1864 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
1865 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
1866 .bInterfaceClass = USB_CLASS_AUDIO,
1867 .bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001868 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001869 .ifnum = QUIRK_ANY_INTERFACE,
1870 .type = QUIRK_MIDI_STANDARD_INTERFACE
1871 }
1872},
1873
1874#undef USB_DEVICE_VENDOR_SPEC