blob: f06faf7917b968b120a705e82b7f29dadf6e736a [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
Andrea Borgiadc61b66f2009-01-12 23:17:47 +010042/* Creative/Toshiba Multimedia Center SB-0500 */
43{
44 USB_DEVICE(0x041e, 0x3048),
45 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
46 .vendor_name = "Toshiba",
47 .product_name = "SB-0500",
48 .ifnum = QUIRK_NO_INTERFACE
49 }
50},
51
Clemens Ladisch25a47b62008-02-25 11:04:19 +010052/* Creative/E-Mu devices */
53{
54 USB_DEVICE(0x041e, 0x3010),
55 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
56 .vendor_name = "Creative Labs",
57 .product_name = "Sound Blaster MP3+",
58 .ifnum = QUIRK_NO_INTERFACE
59 }
60},
61{
62 /* E-Mu 0202 USB */
63 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
64 .idVendor = 0x041e,
65 .idProduct = 0x3f02,
66 .bInterfaceClass = USB_CLASS_AUDIO,
67},
68{
69 /* E-Mu 0404 USB */
70 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
71 .idVendor = 0x041e,
72 .idProduct = 0x3f04,
73 .bInterfaceClass = USB_CLASS_AUDIO,
74},
Eran Tromer97c889a2008-09-26 01:07:03 -040075{
76 /* E-Mu Tracker Pre */
77 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
78 .idVendor = 0x041e,
79 .idProduct = 0x3f0a,
80 .bInterfaceClass = USB_CLASS_AUDIO,
81},
Clemens Ladisch25a47b62008-02-25 11:04:19 +010082
Linus Torvalds1da177e2005-04-16 15:20:36 -070083/*
Daniel Drakea9121452007-05-07 09:27:05 +020084 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
85 * class matches do not take effect without an explicit ID match.
86 */
87{
88 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
89 USB_DEVICE_ID_MATCH_INT_CLASS |
90 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
91 .idVendor = 0x046d,
Daniel Draked4170452007-05-10 08:52:19 +020092 .idProduct = 0x0850,
93 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +010094 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
Daniel Draked4170452007-05-10 08:52:19 +020095},
96{
97 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
98 USB_DEVICE_ID_MATCH_INT_CLASS |
99 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
100 .idVendor = 0x046d,
George Shapovalovc34532d2007-07-09 10:42:35 +0200101 .idProduct = 0x08ae,
102 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +0100103 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
George Shapovalovc34532d2007-07-09 10:42:35 +0200104},
105{
106 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
107 USB_DEVICE_ID_MATCH_INT_CLASS |
108 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
109 .idVendor = 0x046d,
Ritesh Raj Sarrafcfc24ec2007-07-10 13:03:57 +0200110 .idProduct = 0x08c6,
111 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +0100112 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
Ritesh Raj Sarrafcfc24ec2007-07-10 13:03:57 +0200113},
114{
115 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
116 USB_DEVICE_ID_MATCH_INT_CLASS |
117 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
118 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +0200119 .idProduct = 0x08f0,
120 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +0100121 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
Daniel Drakea9121452007-05-07 09:27:05 +0200122},
123{
124 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
125 USB_DEVICE_ID_MATCH_INT_CLASS |
126 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
127 .idVendor = 0x046d,
Dawid Wrobel31127f22007-10-22 11:57:17 +0200128 .idProduct = 0x08f5,
129 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +0100130 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
Dawid Wrobel31127f22007-10-22 11:57:17 +0200131},
132{
133 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
134 USB_DEVICE_ID_MATCH_INT_CLASS |
135 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
136 .idVendor = 0x046d,
Daniel Drakea9121452007-05-07 09:27:05 +0200137 .idProduct = 0x08f6,
138 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +0100139 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
Daniel Drakea9121452007-05-07 09:27:05 +0200140},
Signed-off-by: Peter Stokes5c6c9e62009-01-14 09:47:57 +0100141{
142 USB_DEVICE(0x046d, 0x0990),
143 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
144 .vendor_name = "Logitech, Inc.",
145 .product_name = "QuickCam Pro 9000",
146 .ifnum = QUIRK_NO_INTERFACE
147 }
148},
Clemens Ladisch25a47b62008-02-25 11:04:19 +0100149
James Courtier-Dutton1e741902007-10-08 18:49:43 +0100150/*
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151 * Yamaha devices
152 */
153
154#define YAMAHA_DEVICE(id, name) { \
155 USB_DEVICE(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100156 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 .vendor_name = "Yamaha", \
158 .product_name = name, \
159 .ifnum = QUIRK_ANY_INTERFACE, \
160 .type = QUIRK_MIDI_YAMAHA \
161 } \
162}
163#define YAMAHA_INTERFACE(id, intf, name) { \
164 USB_DEVICE_VENDOR_SPEC(0x0499, id), \
Takashi Iwai86e07d32005-11-17 15:08:02 +0100165 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166 .vendor_name = "Yamaha", \
167 .product_name = name, \
168 .ifnum = intf, \
169 .type = QUIRK_MIDI_YAMAHA \
170 } \
171}
172YAMAHA_DEVICE(0x1000, "UX256"),
173YAMAHA_DEVICE(0x1001, "MU1000"),
174YAMAHA_DEVICE(0x1002, "MU2000"),
175YAMAHA_DEVICE(0x1003, "MU500"),
176YAMAHA_INTERFACE(0x1004, 3, "UW500"),
177YAMAHA_DEVICE(0x1005, "MOTIF6"),
178YAMAHA_DEVICE(0x1006, "MOTIF7"),
179YAMAHA_DEVICE(0x1007, "MOTIF8"),
180YAMAHA_DEVICE(0x1008, "UX96"),
181YAMAHA_DEVICE(0x1009, "UX16"),
182YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
183YAMAHA_DEVICE(0x100c, "UC-MX"),
184YAMAHA_DEVICE(0x100d, "UC-KX"),
185YAMAHA_DEVICE(0x100e, "S08"),
186YAMAHA_DEVICE(0x100f, "CLP-150"),
187YAMAHA_DEVICE(0x1010, "CLP-170"),
188YAMAHA_DEVICE(0x1011, "P-250"),
189YAMAHA_DEVICE(0x1012, "TYROS"),
190YAMAHA_DEVICE(0x1013, "PF-500"),
191YAMAHA_DEVICE(0x1014, "S90"),
192YAMAHA_DEVICE(0x1015, "MOTIF-R"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100193YAMAHA_DEVICE(0x1016, "MDP-5"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194YAMAHA_DEVICE(0x1017, "CVP-204"),
195YAMAHA_DEVICE(0x1018, "CVP-206"),
196YAMAHA_DEVICE(0x1019, "CVP-208"),
197YAMAHA_DEVICE(0x101a, "CVP-210"),
198YAMAHA_DEVICE(0x101b, "PSR-1100"),
199YAMAHA_DEVICE(0x101c, "PSR-2100"),
200YAMAHA_DEVICE(0x101d, "CLP-175"),
201YAMAHA_DEVICE(0x101e, "PSR-K1"),
Clemens Ladisch4ccb4a42006-03-15 12:24:19 +0100202YAMAHA_DEVICE(0x101f, "EZ-J24"),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203YAMAHA_DEVICE(0x1020, "EZ-250i"),
204YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
205YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
206YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
207YAMAHA_DEVICE(0x1024, "CVP-301"),
208YAMAHA_DEVICE(0x1025, "CVP-303"),
209YAMAHA_DEVICE(0x1026, "CVP-305"),
210YAMAHA_DEVICE(0x1027, "CVP-307"),
211YAMAHA_DEVICE(0x1028, "CVP-309"),
212YAMAHA_DEVICE(0x1029, "CVP-309GP"),
213YAMAHA_DEVICE(0x102a, "PSR-1500"),
214YAMAHA_DEVICE(0x102b, "PSR-3000"),
215YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
216YAMAHA_DEVICE(0x1030, "PSR-295/293"),
217YAMAHA_DEVICE(0x1031, "DGX-205/203"),
218YAMAHA_DEVICE(0x1032, "DGX-305"),
219YAMAHA_DEVICE(0x1033, "DGX-505"),
220YAMAHA_DEVICE(0x1034, NULL),
221YAMAHA_DEVICE(0x1035, NULL),
222YAMAHA_DEVICE(0x1036, NULL),
223YAMAHA_DEVICE(0x1037, NULL),
224YAMAHA_DEVICE(0x1038, NULL),
225YAMAHA_DEVICE(0x1039, NULL),
226YAMAHA_DEVICE(0x103a, NULL),
227YAMAHA_DEVICE(0x103b, NULL),
228YAMAHA_DEVICE(0x103c, NULL),
Clemens Ladisch0ac2ac02005-07-01 16:19:39 +0200229YAMAHA_DEVICE(0x103d, NULL),
Clemens Ladischf542fda2005-09-20 09:06:36 +0200230YAMAHA_DEVICE(0x103e, NULL),
231YAMAHA_DEVICE(0x103f, NULL),
232YAMAHA_DEVICE(0x1040, NULL),
233YAMAHA_DEVICE(0x1041, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200234YAMAHA_DEVICE(0x1042, NULL),
235YAMAHA_DEVICE(0x1043, NULL),
236YAMAHA_DEVICE(0x1044, NULL),
237YAMAHA_DEVICE(0x1045, NULL),
Clemens Ladischc85ceac2008-07-10 11:01:06 +0200238YAMAHA_INTERFACE(0x104e, 0, NULL),
Clemens Ladisch83a1a392008-07-10 11:05:42 +0200239YAMAHA_DEVICE(0x104f, NULL),
240YAMAHA_DEVICE(0x1050, NULL),
241YAMAHA_DEVICE(0x1051, NULL),
242YAMAHA_DEVICE(0x1052, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243YAMAHA_DEVICE(0x2000, "DGP-7"),
244YAMAHA_DEVICE(0x2001, "DGP-5"),
245YAMAHA_DEVICE(0x2002, NULL),
246YAMAHA_DEVICE(0x5000, "CS1D"),
247YAMAHA_DEVICE(0x5001, "DSP1D"),
248YAMAHA_DEVICE(0x5002, "DME32"),
249YAMAHA_DEVICE(0x5003, "DM2000"),
250YAMAHA_DEVICE(0x5004, "02R96"),
251YAMAHA_DEVICE(0x5005, "ACU16-C"),
252YAMAHA_DEVICE(0x5006, "NHB32-C"),
253YAMAHA_DEVICE(0x5007, "DM1000"),
254YAMAHA_DEVICE(0x5008, "01V96"),
255YAMAHA_DEVICE(0x5009, "SPX2000"),
256YAMAHA_DEVICE(0x500a, "PM5D"),
257YAMAHA_DEVICE(0x500b, "DME64N"),
258YAMAHA_DEVICE(0x500c, "DME24N"),
259YAMAHA_DEVICE(0x500d, NULL),
260YAMAHA_DEVICE(0x500e, NULL),
Clemens Ladischf1265392006-07-21 10:46:18 +0200261YAMAHA_DEVICE(0x500f, NULL),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262YAMAHA_DEVICE(0x7000, "DTX"),
263YAMAHA_DEVICE(0x7010, "UB99"),
264#undef YAMAHA_DEVICE
265#undef YAMAHA_INTERFACE
266
267/*
268 * Roland/RolandED/Edirol/BOSS devices
269 */
270{
271 USB_DEVICE(0x0582, 0x0000),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273 .vendor_name = "Roland",
274 .product_name = "UA-100",
275 .ifnum = QUIRK_ANY_INTERFACE,
276 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100277 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278 {
279 .ifnum = 0,
280 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
281 .data = & (const struct audioformat) {
282 .format = SNDRV_PCM_FORMAT_S16_LE,
283 .channels = 4,
284 .iface = 0,
285 .altsetting = 1,
286 .altset_idx = 1,
287 .attributes = 0,
288 .endpoint = 0x01,
289 .ep_attr = 0x09,
290 .rates = SNDRV_PCM_RATE_CONTINUOUS,
291 .rate_min = 44100,
292 .rate_max = 44100,
293 }
294 },
295 {
296 .ifnum = 1,
297 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
298 .data = & (const struct audioformat) {
299 .format = SNDRV_PCM_FORMAT_S16_LE,
300 .channels = 2,
301 .iface = 1,
302 .altsetting = 1,
303 .altset_idx = 1,
Daniel Mackde48c7b2010-02-22 23:49:13 +0100304 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700305 .endpoint = 0x81,
306 .ep_attr = 0x05,
307 .rates = SNDRV_PCM_RATE_CONTINUOUS,
308 .rate_min = 44100,
309 .rate_max = 44100,
310 }
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) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700316 .out_cables = 0x0007,
317 .in_cables = 0x0007
318 }
319 },
320 {
321 .ifnum = -1
322 }
323 }
324 }
325},
326{
327 USB_DEVICE(0x0582, 0x0002),
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 = "EDIROL",
330 .product_name = "UM-4",
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 = 0x000f,
347 .in_cables = 0x000f
348 }
349 },
350 {
351 .ifnum = -1
352 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 }
354 }
355},
356{
357 USB_DEVICE(0x0582, 0x0003),
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 = "SC-8850",
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 = 0x003f,
377 .in_cables = 0x003f
378 }
379 },
380 {
381 .ifnum = -1
382 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383 }
384 }
385},
386{
387 USB_DEVICE(0x0582, 0x0004),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100388 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700389 .vendor_name = "Roland",
390 .product_name = "U-8",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200391 .ifnum = QUIRK_ANY_INTERFACE,
392 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100393 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200394 {
395 .ifnum = 0,
396 .type = QUIRK_IGNORE_INTERFACE
397 },
398 {
399 .ifnum = 1,
400 .type = QUIRK_IGNORE_INTERFACE
401 },
402 {
403 .ifnum = 2,
404 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100405 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200406 .out_cables = 0x0005,
407 .in_cables = 0x0005
408 }
409 },
410 {
411 .ifnum = -1
412 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700413 }
414 }
415},
416{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100417 /* Has ID 0x0099 when not in "Advanced Driver" mode.
418 * The UM-2EX has only one input, but we cannot detect this. */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700419 USB_DEVICE(0x0582, 0x0005),
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 = "EDIROL",
422 .product_name = "UM-2",
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 = 0x0003,
439 .in_cables = 0x0003
440 }
441 },
442 {
443 .ifnum = -1
444 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700445 }
446 }
447},
448{
449 USB_DEVICE(0x0582, 0x0007),
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 = "SC-8820",
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 = 0x0013,
469 .in_cables = 0x0013
470 }
471 },
472 {
473 .ifnum = -1
474 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475 }
476 }
477},
478{
479 USB_DEVICE(0x0582, 0x0008),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100480 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700481 .vendor_name = "Roland",
482 .product_name = "PC-300",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200483 .ifnum = QUIRK_ANY_INTERFACE,
484 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100485 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200486 {
487 .ifnum = 0,
488 .type = QUIRK_IGNORE_INTERFACE
489 },
490 {
491 .ifnum = 1,
492 .type = QUIRK_IGNORE_INTERFACE
493 },
494 {
495 .ifnum = 2,
496 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100497 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200498 .out_cables = 0x0001,
499 .in_cables = 0x0001
500 }
501 },
502 {
503 .ifnum = -1
504 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700505 }
506 }
507},
508{
Clemens Ladisch119c4ff2006-01-19 08:25:19 +0100509 /* has ID 0x009d when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700510 USB_DEVICE(0x0582, 0x0009),
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 = "EDIROL",
513 .product_name = "UM-1",
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 = 0x0001,
530 .in_cables = 0x0001
531 }
532 },
533 {
534 .ifnum = -1
535 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700536 }
537 }
538},
539{
540 USB_DEVICE(0x0582, 0x000b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100541 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700542 .vendor_name = "Roland",
543 .product_name = "SK-500",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200544 .ifnum = QUIRK_ANY_INTERFACE,
545 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100546 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200547 {
548 .ifnum = 0,
549 .type = QUIRK_IGNORE_INTERFACE
550 },
551 {
552 .ifnum = 1,
553 .type = QUIRK_IGNORE_INTERFACE
554 },
555 {
556 .ifnum = 2,
557 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100558 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200559 .out_cables = 0x0013,
560 .in_cables = 0x0013
561 }
562 },
563 {
564 .ifnum = -1
565 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700566 }
567 }
568},
569{
570 /* thanks to Emiliano Grilli <emillo@libero.it>
571 * for helping researching this data */
572 USB_DEVICE(0x0582, 0x000c),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100573 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700574 .vendor_name = "Roland",
575 .product_name = "SC-D70",
576 .ifnum = QUIRK_ANY_INTERFACE,
577 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100578 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700579 {
580 .ifnum = 0,
581 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
582 .data = & (const struct audioformat) {
583 .format = SNDRV_PCM_FORMAT_S24_3LE,
584 .channels = 2,
585 .iface = 0,
586 .altsetting = 1,
587 .altset_idx = 1,
588 .attributes = 0,
589 .endpoint = 0x01,
590 .ep_attr = 0x01,
591 .rates = SNDRV_PCM_RATE_CONTINUOUS,
592 .rate_min = 44100,
593 .rate_max = 44100,
594 }
595 },
596 {
597 .ifnum = 1,
598 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
599 .data = & (const struct audioformat) {
600 .format = SNDRV_PCM_FORMAT_S24_3LE,
601 .channels = 2,
602 .iface = 1,
603 .altsetting = 1,
604 .altset_idx = 1,
605 .attributes = 0,
606 .endpoint = 0x81,
607 .ep_attr = 0x01,
608 .rates = SNDRV_PCM_RATE_CONTINUOUS,
609 .rate_min = 44100,
610 .rate_max = 44100,
611 }
612 },
613 {
614 .ifnum = 2,
615 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100616 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700617 .out_cables = 0x0007,
618 .in_cables = 0x0007
619 }
620 },
621 {
622 .ifnum = -1
623 }
624 }
625 }
626},
627{ /*
628 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
629 * If the advanced mode switch at the back of the unit is off, the
630 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
631 * but offers only 16-bit PCM.
632 * In advanced mode, the UA-5 will output S24_3LE samples (two
633 * channels) at the rate indicated on the front switch, including
634 * the 96kHz sample rate.
635 */
636 USB_DEVICE(0x0582, 0x0010),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100637 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700638 .vendor_name = "EDIROL",
639 .product_name = "UA-5",
640 .ifnum = QUIRK_ANY_INTERFACE,
641 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100642 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700643 {
644 .ifnum = 1,
645 .type = QUIRK_AUDIO_STANDARD_INTERFACE
646 },
647 {
648 .ifnum = 2,
649 .type = QUIRK_AUDIO_STANDARD_INTERFACE
650 },
651 {
652 .ifnum = -1
653 }
654 }
655 }
656},
657{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200658 /* has ID 0x0013 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659 USB_DEVICE(0x0582, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100660 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700661 .vendor_name = "Roland",
662 .product_name = "XV-5050",
663 .ifnum = 0,
664 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100665 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700666 .out_cables = 0x0001,
667 .in_cables = 0x0001
668 }
669 }
670},
671{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200672 /* has ID 0x0015 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700673 USB_DEVICE(0x0582, 0x0014),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100674 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700675 .vendor_name = "EDIROL",
676 .product_name = "UM-880",
677 .ifnum = 0,
678 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100679 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700680 .out_cables = 0x01ff,
681 .in_cables = 0x01ff
682 }
683 }
684},
685{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200686 /* has ID 0x0017 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700687 USB_DEVICE(0x0582, 0x0016),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100688 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700689 .vendor_name = "EDIROL",
690 .product_name = "SD-90",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200691 .ifnum = QUIRK_ANY_INTERFACE,
692 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100693 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200694 {
695 .ifnum = 0,
696 .type = QUIRK_IGNORE_INTERFACE
697 },
698 {
699 .ifnum = 1,
700 .type = QUIRK_IGNORE_INTERFACE
701 },
702 {
703 .ifnum = 2,
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100705 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200706 .out_cables = 0x000f,
707 .in_cables = 0x000f
708 }
709 },
710 {
711 .ifnum = -1
712 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700713 }
714 }
715},
716{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200717 /* has ID 0x001c when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700718 USB_DEVICE(0x0582, 0x001b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100719 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720 .vendor_name = "Roland",
721 .product_name = "MMP-2",
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200722 .ifnum = QUIRK_ANY_INTERFACE,
723 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100724 .data = (const struct snd_usb_audio_quirk[]) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200725 {
726 .ifnum = 0,
727 .type = QUIRK_IGNORE_INTERFACE
728 },
729 {
730 .ifnum = 1,
731 .type = QUIRK_IGNORE_INTERFACE
732 },
733 {
734 .ifnum = 2,
735 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100736 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischd3ff42f2005-05-17 09:14:27 +0200737 .out_cables = 0x0001,
738 .in_cables = 0x0001
739 }
740 },
741 {
742 .ifnum = -1
743 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744 }
745 }
746},
747{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200748 /* has ID 0x001e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700749 USB_DEVICE(0x0582, 0x001d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100750 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751 .vendor_name = "Roland",
752 .product_name = "V-SYNTH",
753 .ifnum = 0,
754 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100755 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700756 .out_cables = 0x0001,
757 .in_cables = 0x0001
758 }
759 }
760},
761{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200762 /* has ID 0x0024 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700763 USB_DEVICE(0x0582, 0x0023),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100764 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700765 .vendor_name = "EDIROL",
766 .product_name = "UM-550",
767 .ifnum = 0,
768 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100769 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700770 .out_cables = 0x003f,
771 .in_cables = 0x003f
772 }
773 }
774},
775{
776 /*
777 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
778 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
779 * and no MIDI.
780 */
781 USB_DEVICE(0x0582, 0x0025),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100782 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700783 .vendor_name = "EDIROL",
784 .product_name = "UA-20",
785 .ifnum = QUIRK_ANY_INTERFACE,
786 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100787 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700788 {
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100789 .ifnum = 0,
790 .type = QUIRK_IGNORE_INTERFACE
791 },
792 {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700793 .ifnum = 1,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100794 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
795 .data = & (const struct audioformat) {
796 .format = SNDRV_PCM_FORMAT_S24_3LE,
797 .channels = 2,
798 .iface = 1,
799 .altsetting = 1,
800 .altset_idx = 1,
801 .attributes = 0,
802 .endpoint = 0x01,
803 .ep_attr = 0x01,
804 .rates = SNDRV_PCM_RATE_CONTINUOUS,
805 .rate_min = 44100,
806 .rate_max = 44100,
807 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700808 },
809 {
810 .ifnum = 2,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100811 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
812 .data = & (const struct audioformat) {
813 .format = SNDRV_PCM_FORMAT_S24_3LE,
814 .channels = 2,
815 .iface = 2,
816 .altsetting = 1,
817 .altset_idx = 1,
818 .attributes = 0,
819 .endpoint = 0x82,
820 .ep_attr = 0x01,
821 .rates = SNDRV_PCM_RATE_CONTINUOUS,
822 .rate_min = 44100,
823 .rate_max = 44100,
824 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700825 },
826 {
827 .ifnum = 3,
Clemens Ladisch1f14a652005-11-21 16:40:00 +0100828 .type = QUIRK_MIDI_FIXED_ENDPOINT,
829 .data = & (const struct snd_usb_midi_endpoint_info) {
830 .out_cables = 0x0001,
831 .in_cables = 0x0001
832 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700833 },
834 {
835 .ifnum = -1
836 }
837 }
838 }
839},
840{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200841 /* has ID 0x0028 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700842 USB_DEVICE(0x0582, 0x0027),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100843 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700844 .vendor_name = "EDIROL",
845 .product_name = "SD-20",
846 .ifnum = 0,
847 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100848 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700849 .out_cables = 0x0003,
850 .in_cables = 0x0007
851 }
852 }
853},
854{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200855 /* has ID 0x002a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700856 USB_DEVICE(0x0582, 0x0029),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100857 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700858 .vendor_name = "EDIROL",
859 .product_name = "SD-80",
860 .ifnum = 0,
861 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100862 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700863 .out_cables = 0x000f,
864 .in_cables = 0x000f
865 }
866 }
867},
868{ /*
869 * This quirk is for the "Advanced" modes of the Edirol UA-700.
870 * If the sample format switch is not in an advanced setting, the
871 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
872 * but offers only 16-bit PCM and no MIDI.
873 */
874 USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100875 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700876 .vendor_name = "EDIROL",
877 .product_name = "UA-700",
878 .ifnum = QUIRK_ANY_INTERFACE,
879 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100880 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700881 {
882 .ifnum = 1,
Pedro Lopez-Cabanillas310e0dc2008-10-04 16:27:36 +0200883 .type = QUIRK_AUDIO_EDIROL_UAXX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700884 },
885 {
886 .ifnum = 2,
Pedro Lopez-Cabanillas310e0dc2008-10-04 16:27:36 +0200887 .type = QUIRK_AUDIO_EDIROL_UAXX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700888 },
889 {
890 .ifnum = 3,
Pedro Lopez-Cabanillas59b3db62008-10-07 20:54:18 +0200891 .type = QUIRK_AUDIO_EDIROL_UAXX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700892 },
893 {
894 .ifnum = -1
895 }
896 }
897 }
898},
899{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200900 /* has ID 0x002e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700901 USB_DEVICE(0x0582, 0x002d),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100902 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700903 .vendor_name = "Roland",
904 .product_name = "XV-2020",
905 .ifnum = 0,
906 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100907 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700908 .out_cables = 0x0001,
909 .in_cables = 0x0001
910 }
911 }
912},
913{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200914 /* has ID 0x0030 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 USB_DEVICE(0x0582, 0x002f),
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 = "Roland",
918 .product_name = "VariOS",
919 .ifnum = 0,
920 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100921 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700922 .out_cables = 0x0007,
923 .in_cables = 0x0007
924 }
925 }
926},
927{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200928 /* has ID 0x0034 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700929 USB_DEVICE(0x0582, 0x0033),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100930 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700931 .vendor_name = "EDIROL",
932 .product_name = "PCR",
933 .ifnum = 0,
934 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100935 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700936 .out_cables = 0x0003,
937 .in_cables = 0x0007
938 }
939 }
940},
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200941 /* TODO: add Roland M-1000 support */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700942{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200943 /*
944 * Has ID 0x0038 when not in "Advanced Driver" mode;
945 * later revisions use IDs 0x0054 and 0x00a2.
946 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700947 USB_DEVICE(0x0582, 0x0037),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100948 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700949 .vendor_name = "Roland",
950 .product_name = "Digital Piano",
951 .ifnum = 0,
952 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100953 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700954 .out_cables = 0x0001,
955 .in_cables = 0x0001
956 }
957 }
958},
959{
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200960 /*
961 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
962 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
963 * and no MIDI.
964 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700965 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100966 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700967 .vendor_name = "BOSS",
968 .product_name = "GS-10",
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200969 .ifnum = QUIRK_ANY_INTERFACE,
970 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100971 .data = & (const struct snd_usb_audio_quirk[]) {
Clemens Ladisch5af4c832005-04-06 09:47:02 +0200972 {
973 .ifnum = 1,
974 .type = QUIRK_AUDIO_STANDARD_INTERFACE
975 },
976 {
977 .ifnum = 2,
978 .type = QUIRK_AUDIO_STANDARD_INTERFACE
979 },
980 {
981 .ifnum = 3,
982 .type = QUIRK_MIDI_STANDARD_INTERFACE
983 },
984 {
985 .ifnum = -1
986 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700987 }
988 }
989},
990{
Clemens Ladischd879f0c2005-09-21 16:33:49 +0200991 /* has ID 0x0041 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700992 USB_DEVICE(0x0582, 0x0040),
Takashi Iwai86e07d32005-11-17 15:08:02 +0100993 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700994 .vendor_name = "Roland",
995 .product_name = "GI-20",
996 .ifnum = 0,
997 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +0100998 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700999 .out_cables = 0x0001,
1000 .in_cables = 0x0001
1001 }
1002 }
1003},
1004{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001005 /* has ID 0x0043 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001006 USB_DEVICE(0x0582, 0x0042),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001007 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001008 .vendor_name = "Roland",
1009 .product_name = "RS-70",
1010 .ifnum = 0,
1011 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001012 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001013 .out_cables = 0x0001,
1014 .in_cables = 0x0001
1015 }
1016 }
1017},
1018{
1019 USB_DEVICE(0x0582, 0x0044),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001020 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001021 .vendor_name = "Roland",
1022 .product_name = "UA-1000",
1023 .ifnum = QUIRK_ANY_INTERFACE,
1024 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001025 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001026 {
1027 .ifnum = 1,
1028 .type = QUIRK_AUDIO_EDIROL_UA1000
1029 },
1030 {
1031 .ifnum = 2,
1032 .type = QUIRK_AUDIO_EDIROL_UA1000
1033 },
1034 {
1035 .ifnum = 3,
1036 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001037 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001038 .out_cables = 0x0003,
1039 .in_cables = 0x0003
1040 }
1041 },
1042 {
1043 .ifnum = -1
1044 }
1045 }
1046 }
1047},
1048{
Clemens Ladisch358ce0c2007-12-19 14:25:24 +01001049 /* has ID 0x0049 when not in "Advanced Driver" mode */
1050 USB_DEVICE(0x0582, 0x0047),
1051 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1052 /* .vendor_name = "EDIROL", */
1053 /* .product_name = "UR-80", */
1054 .ifnum = QUIRK_ANY_INTERFACE,
1055 .type = QUIRK_COMPOSITE,
1056 .data = (const struct snd_usb_audio_quirk[]) {
1057 /* in the 96 kHz modes, only interface 1 is there */
1058 {
1059 .ifnum = 1,
1060 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1061 },
1062 {
1063 .ifnum = 2,
1064 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1065 },
1066 {
1067 .ifnum = -1
1068 }
1069 }
1070 }
1071},
1072{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001073 /* has ID 0x004a when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001074 USB_DEVICE(0x0582, 0x0048),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001075 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch358ce0c2007-12-19 14:25:24 +01001076 /* .vendor_name = "EDIROL", */
1077 /* .product_name = "UR-80", */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001078 .ifnum = 0,
1079 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001080 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001081 .out_cables = 0x0003,
1082 .in_cables = 0x0007
1083 }
1084 }
1085},
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001086 /* TODO: add Edirol M-100FX support */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001087{
Clemens Ladischf38cc312007-02-09 20:52:55 +01001088 /* has ID 0x004e when not in "Advanced Driver" mode */
1089 USB_DEVICE(0x0582, 0x004c),
1090 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1091 .vendor_name = "EDIROL",
1092 .product_name = "PCR-A",
1093 .ifnum = QUIRK_ANY_INTERFACE,
1094 .type = QUIRK_COMPOSITE,
1095 .data = (const struct snd_usb_audio_quirk[]) {
1096 {
1097 .ifnum = 1,
1098 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1099 },
1100 {
1101 .ifnum = 2,
1102 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1103 },
1104 {
1105 .ifnum = -1
1106 }
1107 }
1108 }
1109},
1110{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001111 /* has ID 0x004f when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001112 USB_DEVICE(0x0582, 0x004d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001113 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001114 .vendor_name = "EDIROL",
1115 .product_name = "PCR-A",
1116 .ifnum = 0,
1117 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001118 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001119 .out_cables = 0x0003,
1120 .in_cables = 0x0007
1121 }
1122 }
1123},
1124{
1125 /*
1126 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
1127 * is standard compliant, but has only 16-bit PCM.
1128 */
1129 USB_DEVICE(0x0582, 0x0050),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001130 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001131 .vendor_name = "EDIROL",
1132 .product_name = "UA-3FX",
1133 .ifnum = QUIRK_ANY_INTERFACE,
1134 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001135 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001136 {
1137 .ifnum = 1,
1138 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1139 },
1140 {
1141 .ifnum = 2,
1142 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1143 },
1144 {
1145 .ifnum = -1
1146 }
1147 }
1148 }
1149},
1150{
1151 USB_DEVICE(0x0582, 0x0052),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001152 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001153 .vendor_name = "EDIROL",
1154 .product_name = "UM-1SX",
1155 .ifnum = 0,
1156 .type = QUIRK_MIDI_STANDARD_INTERFACE
1157 }
1158},
Takashi Iwaif1676842007-07-09 10:39:44 +02001159{
1160 USB_DEVICE(0x0582, 0x0060),
1161 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1162 .vendor_name = "Roland",
1163 .product_name = "EXR Series",
1164 .ifnum = 0,
1165 .type = QUIRK_MIDI_STANDARD_INTERFACE
1166 }
1167},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001168{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001169 /* has ID 0x0067 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001170 USB_DEVICE(0x0582, 0x0065),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001171 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001172 .vendor_name = "EDIROL",
1173 .product_name = "PCR-1",
1174 .ifnum = 0,
1175 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001176 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001177 .out_cables = 0x0001,
1178 .in_cables = 0x0003
1179 }
1180 }
1181},
1182{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001183 /* has ID 0x006b when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001184 USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001185 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001186 .vendor_name = "Roland",
1187 .product_name = "SP-606",
1188 .ifnum = 3,
1189 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001190 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001191 .out_cables = 0x0001,
1192 .in_cables = 0x0001
1193 }
1194 }
1195},
1196{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001197 /* has ID 0x006e when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001198 USB_DEVICE(0x0582, 0x006d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001199 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001200 .vendor_name = "Roland",
1201 .product_name = "FANTOM-X",
1202 .ifnum = 0,
1203 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001204 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001205 .out_cables = 0x0001,
1206 .in_cables = 0x0001
1207 }
1208 }
1209},
1210{ /*
1211 * This quirk is for the "Advanced" modes of the Edirol UA-25.
1212 * If the switch is not in an advanced setting, the UA-25 has
1213 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
1214 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1215 */
1216 USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001217 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001218 .vendor_name = "EDIROL",
1219 .product_name = "UA-25",
1220 .ifnum = QUIRK_ANY_INTERFACE,
1221 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001222 .data = (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001223 {
1224 .ifnum = 0,
Pedro Lopez-Cabanillas310e0dc2008-10-04 16:27:36 +02001225 .type = QUIRK_AUDIO_EDIROL_UAXX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001226 },
1227 {
1228 .ifnum = 1,
Pedro Lopez-Cabanillas310e0dc2008-10-04 16:27:36 +02001229 .type = QUIRK_AUDIO_EDIROL_UAXX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001230 },
1231 {
1232 .ifnum = 2,
Pedro Lopez-Cabanillas59b3db62008-10-07 20:54:18 +02001233 .type = QUIRK_AUDIO_EDIROL_UAXX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001234 },
1235 {
1236 .ifnum = -1
1237 }
1238 }
1239 }
1240},
1241{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001242 /* has ID 0x0076 when not in "Advanced Driver" mode */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001243 USB_DEVICE(0x0582, 0x0075),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001244 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001245 .vendor_name = "BOSS",
1246 .product_name = "DR-880",
1247 .ifnum = 0,
1248 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001249 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001250 .out_cables = 0x0001,
1251 .in_cables = 0x0001
1252 }
1253 }
1254},
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001255{
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001256 /* has ID 0x007b when not in "Advanced Driver" mode */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001257 USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001258 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001259 .vendor_name = "Roland",
Clemens Ladischd879f0c2005-09-21 16:33:49 +02001260 /* "RD" or "RD-700SX"? */
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001261 .ifnum = 0,
1262 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001263 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch5a2a68f2005-09-19 12:24:00 +02001264 .out_cables = 0x0003,
1265 .in_cables = 0x0003
1266 }
1267 }
1268},
Clemens Ladischcdca8812006-01-18 08:53:32 +01001269{
1270 /* has ID 0x0081 when not in "Advanced Driver" mode */
1271 USB_DEVICE(0x0582, 0x0080),
1272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1273 .vendor_name = "Roland",
1274 .product_name = "G-70",
1275 .ifnum = 0,
1276 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1277 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladisch05422572006-01-18 15:44:53 +01001278 .out_cables = 0x0001,
1279 .in_cables = 0x0001
Clemens Ladischcdca8812006-01-18 08:53:32 +01001280 }
1281 }
1282},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001283 /* TODO: add Roland V-SYNTH XT support */
1284 /* TODO: add BOSS GT-PRO support */
Clemens Ladisch415b09e2006-01-16 08:03:52 +01001285{
1286 /* has ID 0x008c when not in "Advanced Driver" mode */
1287 USB_DEVICE(0x0582, 0x008b),
1288 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1289 .vendor_name = "EDIROL",
1290 .product_name = "PC-50",
1291 .ifnum = 0,
1292 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1293 .data = & (const struct snd_usb_midi_endpoint_info) {
1294 .out_cables = 0x0001,
1295 .in_cables = 0x0001
1296 }
1297 }
1298},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001299 /* TODO: add Edirol PC-80 support */
Takashi Iwai9b0d39b2007-08-10 15:07:06 +02001300{
1301 USB_DEVICE(0x0582, 0x0096),
1302 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1303 .vendor_name = "EDIROL",
1304 .product_name = "UA-1EX",
1305 .ifnum = QUIRK_ANY_INTERFACE,
1306 .type = QUIRK_COMPOSITE,
1307 .data = (const struct snd_usb_audio_quirk[]) {
1308 {
1309 .ifnum = 0,
1310 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1311 },
1312 {
1313 .ifnum = 1,
1314 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1315 },
1316 {
1317 .ifnum = -1
1318 }
1319 }
1320 }
1321},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001322{
1323 USB_DEVICE(0x0582, 0x009a),
1324 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1325 .vendor_name = "EDIROL",
1326 .product_name = "UM-3EX",
1327 .ifnum = 0,
1328 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1329 .data = & (const struct snd_usb_midi_endpoint_info) {
1330 .out_cables = 0x000f,
1331 .in_cables = 0x000f
1332 }
1333 }
1334},
Pedro Lopez-Cabanillas310e0dc2008-10-04 16:27:36 +02001335{
1336 /*
1337 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
1338 * is standard compliant, but has only 16-bit PCM and no MIDI.
1339 */
1340 USB_DEVICE(0x0582, 0x00a3),
1341 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1342 .vendor_name = "EDIROL",
1343 .product_name = "UA-4FX",
1344 .ifnum = QUIRK_ANY_INTERFACE,
1345 .type = QUIRK_COMPOSITE,
1346 .data = (const struct snd_usb_audio_quirk[]) {
1347 {
1348 .ifnum = 0,
1349 .type = QUIRK_AUDIO_EDIROL_UAXX
1350 },
1351 {
1352 .ifnum = 1,
1353 .type = QUIRK_AUDIO_EDIROL_UAXX
1354 },
1355 {
1356 .ifnum = 2,
Pedro Lopez-Cabanillas59b3db62008-10-07 20:54:18 +02001357 .type = QUIRK_AUDIO_EDIROL_UAXX
Pedro Lopez-Cabanillas310e0dc2008-10-04 16:27:36 +02001358 },
1359 {
1360 .ifnum = -1
1361 }
1362 }
1363 }
1364},
Clemens Ladisch7c79b762006-01-10 18:56:23 +01001365 /* TODO: add Edirol MD-P1 support */
Carlo Beccaria87823092007-07-03 08:04:25 +02001366{
Clemens Ladisch25a47b62008-02-25 11:04:19 +01001367 USB_DEVICE(0x582, 0x00a6),
1368 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1369 .vendor_name = "Roland",
1370 .product_name = "Juno-G",
1371 .ifnum = 0,
1372 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1373 .data = & (const struct snd_usb_midi_endpoint_info) {
1374 .out_cables = 0x0001,
1375 .in_cables = 0x0001
1376 }
1377 }
1378},
1379{
Carlo Beccaria87823092007-07-03 08:04:25 +02001380 /* Roland SH-201 */
1381 USB_DEVICE(0x0582, 0x00ad),
1382 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1383 .vendor_name = "Roland",
1384 .product_name = "SH-201",
1385 .ifnum = QUIRK_ANY_INTERFACE,
1386 .type = QUIRK_COMPOSITE,
1387 .data = (const struct snd_usb_audio_quirk[]) {
1388 {
1389 .ifnum = 0,
1390 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1391 },
1392 {
1393 .ifnum = 1,
1394 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1395 },
1396 {
1397 .ifnum = 2,
1398 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1399 .data = & (const struct snd_usb_midi_endpoint_info) {
1400 .out_cables = 0x0001,
1401 .in_cables = 0x0001
1402 }
1403 },
1404 {
1405 .ifnum = -1
1406 }
1407 }
1408 }
1409},
Chris Mennie62b12632008-05-19 16:21:33 +02001410{
1411 /* Roland SonicCell */
1412 USB_DEVICE(0x0582, 0x00c2),
1413 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1414 .vendor_name = "Roland",
1415 .product_name = "SonicCell",
1416 .ifnum = QUIRK_ANY_INTERFACE,
1417 .type = QUIRK_COMPOSITE,
1418 .data = (const struct snd_usb_audio_quirk[]) {
1419 {
1420 .ifnum = 0,
1421 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1422 },
1423 {
1424 .ifnum = 1,
1425 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1426 },
1427 {
1428 .ifnum = 2,
1429 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1430 .data = & (const struct snd_usb_midi_endpoint_info) {
1431 .out_cables = 0x0001,
1432 .in_cables = 0x0001
1433 }
1434 },
1435 {
1436 .ifnum = -1
1437 }
1438 }
1439 }
1440},
Clemens Ladischb38addb2008-07-28 10:19:39 +02001441{
Takashi Iwai6efd2cd2009-06-01 10:59:51 +02001442 /* Edirol M-16DX */
1443 /* FIXME: This quirk gives a good-working capture stream but the
1444 * playback seems problematic because of lacking of sync
1445 * with capture stream. It needs to sync with the capture
1446 * clock. As now, you'll get frequent sound distortions
1447 * via the playback.
1448 */
1449 USB_DEVICE(0x0582, 0x00c4),
1450 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1451 .ifnum = QUIRK_ANY_INTERFACE,
1452 .type = QUIRK_COMPOSITE,
1453 .data = (const struct snd_usb_audio_quirk[]) {
1454 {
1455 .ifnum = 0,
1456 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1457 },
1458 {
1459 .ifnum = 1,
1460 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1461 },
1462 {
1463 .ifnum = 2,
1464 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1465 .data = & (const struct snd_usb_midi_endpoint_info) {
1466 .out_cables = 0x0001,
1467 .in_cables = 0x0001
1468 }
1469 },
1470 {
1471 .ifnum = -1
1472 }
1473 }
1474 }
1475},
1476{
Clemens Ladischb38addb2008-07-28 10:19:39 +02001477 /* BOSS GT-10 */
1478 USB_DEVICE(0x0582, 0x00da),
1479 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1480 .ifnum = QUIRK_ANY_INTERFACE,
1481 .type = QUIRK_COMPOSITE,
1482 .data = (const struct snd_usb_audio_quirk[]) {
1483 {
1484 .ifnum = 0,
1485 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1486 },
1487 {
1488 .ifnum = 1,
1489 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1490 },
1491 {
1492 .ifnum = 2,
1493 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1494 .data = & (const struct snd_usb_midi_endpoint_info) {
1495 .out_cables = 0x0001,
1496 .in_cables = 0x0001
1497 }
1498 },
1499 {
1500 .ifnum = -1
1501 }
1502 }
1503 }
1504},
Takashi Iwaie2736262008-10-20 16:07:45 +02001505{
1506 /* Advanced modes of the Edirol UA-25EX.
1507 * For the standard mode, UA-25EX has ID 0582:00e7, which
1508 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
1509 */
1510 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
1511 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1512 .vendor_name = "EDIROL",
1513 .product_name = "UA-25EX",
1514 .ifnum = QUIRK_ANY_INTERFACE,
1515 .type = QUIRK_COMPOSITE,
1516 .data = (const struct snd_usb_audio_quirk[]) {
1517 {
1518 .ifnum = 0,
1519 .type = QUIRK_AUDIO_EDIROL_UAXX
1520 },
1521 {
1522 .ifnum = 1,
1523 .type = QUIRK_AUDIO_EDIROL_UAXX
1524 },
1525 {
1526 .ifnum = 2,
1527 .type = QUIRK_AUDIO_EDIROL_UAXX
1528 },
1529 {
1530 .ifnum = -1
1531 }
1532 }
1533 }
1534},
Clemens Ladischd867bba2009-11-19 14:34:33 +01001535{
1536 /* has ID 0x00ea when not in Advanced Driver mode */
1537 USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
1538 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1539 /* .vendor_name = "Roland", */
1540 /* .product_name = "UA-1G", */
1541 .ifnum = QUIRK_ANY_INTERFACE,
1542 .type = QUIRK_COMPOSITE,
1543 .data = (const struct snd_usb_audio_quirk[]) {
1544 {
1545 .ifnum = 0,
1546 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1547 },
1548 {
1549 .ifnum = 1,
1550 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1551 },
1552 {
1553 .ifnum = -1
1554 }
1555 }
1556 }
1557},
Chris Mennie62b12632008-05-19 16:21:33 +02001558
Clemens Ladischa25f1752005-10-05 13:23:19 +02001559/* Guillemot devices */
1560{
1561 /*
1562 * This is for the "Windows Edition" where the external MIDI ports are
1563 * the only MIDI ports; the control data is reported through HID
1564 * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
1565 * compliant USB MIDI ports for external MIDI and controls.
1566 */
1567 USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001568 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001569 .vendor_name = "Hercules",
1570 .product_name = "DJ Console (WE)",
1571 .ifnum = 4,
1572 .type = QUIRK_MIDI_FIXED_ENDPOINT,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001573 .data = & (const struct snd_usb_midi_endpoint_info) {
Clemens Ladischa25f1752005-10-05 13:23:19 +02001574 .out_cables = 0x0001,
1575 .in_cables = 0x0001
1576 }
1577 }
1578},
1579
Linus Torvalds1da177e2005-04-16 15:20:36 -07001580/* Midiman/M-Audio devices */
1581{
1582 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001583 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001584 .vendor_name = "M-Audio",
1585 .product_name = "MidiSport 2x2",
1586 .ifnum = QUIRK_ANY_INTERFACE,
1587 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001588 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001589 .out_cables = 0x0003,
1590 .in_cables = 0x0003
1591 }
1592 }
1593},
1594{
1595 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001596 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001597 .vendor_name = "M-Audio",
1598 .product_name = "MidiSport 1x1",
1599 .ifnum = QUIRK_ANY_INTERFACE,
1600 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001601 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001602 .out_cables = 0x0001,
1603 .in_cables = 0x0001
1604 }
1605 }
1606},
1607{
1608 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001609 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001610 .vendor_name = "M-Audio",
1611 .product_name = "Keystation",
1612 .ifnum = QUIRK_ANY_INTERFACE,
1613 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001614 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001615 .out_cables = 0x0001,
1616 .in_cables = 0x0001
1617 }
1618 }
1619},
1620{
1621 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001622 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001623 .vendor_name = "M-Audio",
1624 .product_name = "MidiSport 4x4",
1625 .ifnum = QUIRK_ANY_INTERFACE,
1626 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001627 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001628 .out_cables = 0x000f,
1629 .in_cables = 0x000f
1630 }
1631 }
1632},
1633{
1634 /*
1635 * For hardware revision 1.05; in the later revisions (1.10 and
1636 * 1.21), 0x1031 is the ID for the device without firmware.
1637 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
1638 */
1639 USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001640 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001641 .vendor_name = "M-Audio",
1642 .product_name = "MidiSport 8x8",
1643 .ifnum = QUIRK_ANY_INTERFACE,
1644 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001645 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001646 .out_cables = 0x01ff,
1647 .in_cables = 0x01ff
1648 }
1649 }
1650},
1651{
1652 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001653 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001654 .vendor_name = "M-Audio",
1655 .product_name = "MidiSport 8x8",
1656 .ifnum = QUIRK_ANY_INTERFACE,
1657 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001658 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001659 .out_cables = 0x01ff,
1660 .in_cables = 0x01ff
1661 }
1662 }
1663},
1664{
1665 USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001666 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001667 .vendor_name = "M-Audio",
1668 .product_name = "MidiSport 2x4",
1669 .ifnum = QUIRK_ANY_INTERFACE,
1670 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001671 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001672 .out_cables = 0x000f,
1673 .in_cables = 0x0003
1674 }
1675 }
1676},
1677{
1678 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001679 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001680 .vendor_name = "M-Audio",
1681 .product_name = "Quattro",
1682 .ifnum = QUIRK_ANY_INTERFACE,
1683 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001684 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001685 /*
1686 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
1687 * and share endpoints with the other interfaces.
1688 * Ignore them. The other interfaces can do 24 bits,
1689 * but captured samples are big-endian (see usbaudio.c).
1690 */
1691 {
1692 .ifnum = 0,
1693 .type = QUIRK_IGNORE_INTERFACE
1694 },
1695 {
1696 .ifnum = 1,
1697 .type = QUIRK_IGNORE_INTERFACE
1698 },
1699 {
1700 .ifnum = 2,
1701 .type = QUIRK_IGNORE_INTERFACE
1702 },
1703 {
1704 .ifnum = 3,
1705 .type = QUIRK_IGNORE_INTERFACE
1706 },
1707 {
1708 .ifnum = 4,
1709 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1710 },
1711 {
1712 .ifnum = 5,
1713 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1714 },
1715 {
1716 .ifnum = 6,
1717 .type = QUIRK_IGNORE_INTERFACE
1718 },
1719 {
1720 .ifnum = 7,
1721 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1722 },
1723 {
1724 .ifnum = 8,
1725 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1726 },
1727 {
1728 .ifnum = 9,
1729 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001730 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001731 .out_cables = 0x0001,
1732 .in_cables = 0x0001
1733 }
1734 },
1735 {
1736 .ifnum = -1
1737 }
1738 }
1739 }
1740},
1741{
1742 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001743 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001744 .vendor_name = "M-Audio",
1745 .product_name = "AudioPhile",
1746 .ifnum = 6,
1747 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001748 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001749 .out_cables = 0x0001,
1750 .in_cables = 0x0001
1751 }
1752 }
1753},
1754{
1755 USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001756 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001757 .vendor_name = "M-Audio",
1758 .product_name = "Ozone",
1759 .ifnum = 3,
1760 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001761 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001762 .out_cables = 0x0001,
1763 .in_cables = 0x0001
1764 }
1765 }
1766},
1767{
1768 USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001769 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001770 .vendor_name = "M-Audio",
1771 .product_name = "OmniStudio",
1772 .ifnum = QUIRK_ANY_INTERFACE,
1773 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001774 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001775 {
1776 .ifnum = 0,
1777 .type = QUIRK_IGNORE_INTERFACE
1778 },
1779 {
1780 .ifnum = 1,
1781 .type = QUIRK_IGNORE_INTERFACE
1782 },
1783 {
1784 .ifnum = 2,
1785 .type = QUIRK_IGNORE_INTERFACE
1786 },
1787 {
1788 .ifnum = 3,
1789 .type = QUIRK_IGNORE_INTERFACE
1790 },
1791 {
1792 .ifnum = 4,
1793 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1794 },
1795 {
1796 .ifnum = 5,
1797 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1798 },
1799 {
1800 .ifnum = 6,
1801 .type = QUIRK_IGNORE_INTERFACE
1802 },
1803 {
1804 .ifnum = 7,
1805 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1806 },
1807 {
1808 .ifnum = 8,
1809 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1810 },
1811 {
1812 .ifnum = 9,
1813 .type = QUIRK_MIDI_MIDIMAN,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001814 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001815 .out_cables = 0x0001,
1816 .in_cables = 0x0001
1817 }
1818 },
1819 {
1820 .ifnum = -1
1821 }
1822 }
1823 }
1824},
Clemens Ladisch2ea547dc2007-09-17 09:33:17 +02001825{
1826 USB_DEVICE(0x0763, 0x2019),
1827 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1828 /* .vendor_name = "M-Audio", */
1829 /* .product_name = "Ozone Academic", */
1830 .ifnum = QUIRK_ANY_INTERFACE,
1831 .type = QUIRK_COMPOSITE,
1832 .data = & (const struct snd_usb_audio_quirk[]) {
1833 {
1834 .ifnum = 0,
1835 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1836 },
1837 {
1838 .ifnum = 1,
1839 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1840 },
1841 {
1842 .ifnum = 2,
1843 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1844 },
1845 {
1846 .ifnum = 3,
1847 .type = QUIRK_MIDI_MIDIMAN,
1848 .data = & (const struct snd_usb_midi_endpoint_info) {
1849 .out_cables = 0x0001,
1850 .in_cables = 0x0001
1851 }
1852 },
1853 {
1854 .ifnum = -1
1855 }
1856 }
1857 }
1858},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001859
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001860/* Casio devices */
1861{
Clemens Ladisch9808dc92006-03-16 08:15:25 +01001862 USB_DEVICE(0x07cf, 0x6801),
1863 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1864 .vendor_name = "Casio",
1865 .product_name = "PL-40R",
1866 .ifnum = 0,
1867 .type = QUIRK_MIDI_YAMAHA
1868 }
1869},
1870{
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001871 /* this ID is used by several devices without a product ID */
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001872 USB_DEVICE(0x07cf, 0x6802),
1873 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1874 .vendor_name = "Casio",
Clemens Ladisch318d27f2006-03-09 08:17:08 +01001875 .product_name = "Keyboard",
Clemens Ladisch0243ef712006-03-09 07:55:55 +01001876 .ifnum = 0,
1877 .type = QUIRK_MIDI_YAMAHA
1878 }
1879},
1880
Linus Torvalds1da177e2005-04-16 15:20:36 -07001881/* Mark of the Unicorn devices */
1882{
1883 /* thanks to Robert A. Lerche <ral 'at' msbit.com> */
Clemens Ladischbbd46152005-07-04 09:21:45 +02001884 .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
1885 USB_DEVICE_ID_MATCH_PRODUCT |
1886 USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
1887 .idVendor = 0x07fd,
1888 .idProduct = 0x0001,
1889 .bDeviceSubClass = 2,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001890 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001891 .vendor_name = "MOTU",
1892 .product_name = "Fastlane",
1893 .ifnum = QUIRK_ANY_INTERFACE,
1894 .type = QUIRK_COMPOSITE,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001895 .data = & (const struct snd_usb_audio_quirk[]) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001896 {
1897 .ifnum = 0,
Clemens Ladisch55de5ef2009-05-27 10:49:30 +02001898 .type = QUIRK_MIDI_FASTLANE
Linus Torvalds1da177e2005-04-16 15:20:36 -07001899 },
1900 {
1901 .ifnum = 1,
1902 .type = QUIRK_IGNORE_INTERFACE
1903 },
1904 {
1905 .ifnum = -1
1906 }
1907 }
1908 }
1909},
1910
Linus Torvalds1da177e2005-04-16 15:20:36 -07001911/* Emagic devices */
1912{
1913 USB_DEVICE(0x086a, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001914 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001915 .vendor_name = "Emagic",
1916 /* .product_name = "Unitor8", */
1917 .ifnum = 2,
1918 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001919 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001920 .out_cables = 0x80ff,
1921 .in_cables = 0x80ff
1922 }
1923 }
1924},
1925{
1926 USB_DEVICE(0x086a, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001927 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001928 .vendor_name = "Emagic",
1929 /* .product_name = "AMT8", */
1930 .ifnum = 2,
1931 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001932 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001933 .out_cables = 0x80ff,
1934 .in_cables = 0x80ff
1935 }
1936 }
1937},
1938{
1939 USB_DEVICE(0x086a, 0x0003),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001940 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001941 .vendor_name = "Emagic",
1942 /* .product_name = "MT4", */
1943 .ifnum = 2,
1944 .type = QUIRK_MIDI_EMAGIC,
Takashi Iwai86e07d32005-11-17 15:08:02 +01001945 .data = & (const struct snd_usb_midi_endpoint_info) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001946 .out_cables = 0x800f,
1947 .in_cables = 0x8003
1948 }
1949 }
1950},
1951
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001952/* TerraTec devices */
1953{
1954 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001955 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001956 .vendor_name = "TerraTec",
1957 .product_name = "PHASE 26",
1958 .ifnum = 3,
1959 .type = QUIRK_MIDI_STANDARD_INTERFACE
1960 }
1961},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001962{
1963 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
Takashi Iwai86e07d32005-11-17 15:08:02 +01001964 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladisch31ab9522005-09-26 08:55:01 +02001965 .vendor_name = "TerraTec",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001966 .product_name = "PHASE 26",
1967 .ifnum = 3,
1968 .type = QUIRK_MIDI_STANDARD_INTERFACE
1969 }
1970},
Clemens Ladischb2b82292006-02-08 12:38:23 +01001971{
Clemens Ladischbc56eff2006-04-13 10:16:08 +02001972 USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
1973 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1974 .vendor_name = "TerraTec",
1975 .product_name = "PHASE 26",
1976 .ifnum = 3,
1977 .type = QUIRK_MIDI_STANDARD_INTERFACE
1978 }
1979},
1980{
Andrea Borgiaca85b6b2009-06-02 19:21:17 +02001981 USB_DEVICE(0x0ccd, 0x0028),
Andrea Borgia93bfd012009-06-01 10:48:54 +02001982 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1983 .vendor_name = "TerraTec",
Andrea Borgiad9e89bf2009-06-14 12:16:17 +02001984 .product_name = "Aureon5.1MkII",
Andrea Borgia93bfd012009-06-01 10:48:54 +02001985 .ifnum = QUIRK_NO_INTERFACE
1986 }
1987},
1988{
Clemens Ladischb2b82292006-02-08 12:38:23 +01001989 USB_DEVICE(0x0ccd, 0x0035),
1990 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1991 .vendor_name = "Miditech",
1992 .product_name = "Play'n Roll",
1993 .ifnum = 0,
1994 .type = QUIRK_MIDI_CME
1995 }
1996},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001997
Mark Hills0f28ecd2007-08-10 08:01:54 +02001998/* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
1999{
2000 USB_DEVICE(0x103d, 0x0100),
2001 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2002 .vendor_name = "Stanton",
2003 .product_name = "ScratchAmp",
2004 .ifnum = QUIRK_NO_INTERFACE
2005 }
2006},
2007{
2008 USB_DEVICE(0x103d, 0x0101),
2009 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2010 .vendor_name = "Stanton",
2011 .product_name = "ScratchAmp",
2012 .ifnum = QUIRK_NO_INTERFACE
2013 }
2014},
2015
Linus Torvalds1da177e2005-04-16 15:20:36 -07002016/* Novation EMS devices */
2017{
2018 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
Takashi Iwai86e07d32005-11-17 15:08:02 +01002019 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07002020 .vendor_name = "Novation",
2021 .product_name = "ReMOTE Audio/XStation",
2022 .ifnum = 4,
2023 .type = QUIRK_MIDI_NOVATION
2024 }
2025},
2026{
2027 USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
Takashi Iwai86e07d32005-11-17 15:08:02 +01002028 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07002029 .vendor_name = "Novation",
2030 .product_name = "Speedio",
2031 .ifnum = 3,
2032 .type = QUIRK_MIDI_NOVATION
2033 }
2034},
2035{
2036 USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
Takashi Iwai86e07d32005-11-17 15:08:02 +01002037 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07002038 .vendor_name = "Novation",
2039 .product_name = "ReMOTE25",
2040 .ifnum = 0,
2041 .type = QUIRK_MIDI_NOVATION
2042 }
2043},
2044
Sebastien Alaiwand39e82d2010-02-16 08:55:08 +01002045/* Access Music devices */
2046{
2047 /* VirusTI Desktop */
2048 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2049 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2050 .ifnum = QUIRK_ANY_INTERFACE,
2051 .type = QUIRK_COMPOSITE,
2052 .data = &(const struct snd_usb_audio_quirk[]) {
2053 {
2054 .ifnum = 3,
2055 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2056 .data = &(const struct snd_usb_midi_endpoint_info) {
2057 .out_cables = 0x0003,
2058 .in_cables = 0x0003
2059 }
2060 },
2061 {
2062 .ifnum = 4,
2063 .type = QUIRK_IGNORE_INTERFACE
2064 },
2065 {
2066 .ifnum = -1
2067 }
2068 }
2069 }
2070},
2071
Mark Hills3a7788b2007-09-03 08:20:09 +02002072/* */
Clemens Ladisch15944802007-08-29 17:38:14 +02002073{
Mark Hills3a7788b2007-09-03 08:20:09 +02002074 /* aka. Serato Scratch Live DJ Box */
Clemens Ladisch15944802007-08-29 17:38:14 +02002075 USB_DEVICE(0x13e5, 0x0001),
Mark Hills3a7788b2007-09-03 08:20:09 +02002076 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
2077 .vendor_name = "Rane",
2078 .product_name = "SL-1",
2079 .ifnum = QUIRK_NO_INTERFACE
Clemens Ladisch15944802007-08-29 17:38:14 +02002080 }
2081},
2082
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01002083/* Miditech devices */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002084{
Clemens Ladischf38275f2005-07-25 16:17:29 +02002085 USB_DEVICE(0x4752, 0x0011),
Takashi Iwai86e07d32005-11-17 15:08:02 +01002086 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02002087 .vendor_name = "Miditech",
2088 .product_name = "Midistart-2",
2089 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01002090 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02002091 }
2092},
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01002093
2094/* Central Music devices */
Clemens Ladischf38275f2005-07-25 16:17:29 +02002095{
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01002096 /* this ID used by both Miditech MidiStudio-2 and CME UF-x */
Clemens Ladischf38275f2005-07-25 16:17:29 +02002097 USB_DEVICE(0x7104, 0x2202),
Takashi Iwai86e07d32005-11-17 15:08:02 +01002098 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Clemens Ladischf38275f2005-07-25 16:17:29 +02002099 .ifnum = 0,
Clemens Ladischcc7a59b2006-02-07 17:11:06 +01002100 .type = QUIRK_MIDI_CME
Clemens Ladischf38275f2005-07-25 16:17:29 +02002101 }
2102},
2103
John S. Gruber52a7a582009-12-27 12:19:59 -05002104/* Hauppauge HVR-950Q and HVR-850 */
2105{
2106 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
2107 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2108 USB_DEVICE_ID_MATCH_INT_CLASS |
2109 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2110 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002111 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002112 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2113 .vendor_name = "Hauppauge",
2114 .product_name = "HVR-950Q",
2115 .ifnum = QUIRK_ANY_INTERFACE,
2116 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2117 }
2118},
2119{
2120 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7201),
2121 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2122 USB_DEVICE_ID_MATCH_INT_CLASS |
2123 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2124 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002125 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002126 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2127 .vendor_name = "Hauppauge",
2128 .product_name = "HVR-950Q",
2129 .ifnum = QUIRK_ANY_INTERFACE,
2130 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2131 }
2132},
2133{
2134 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7202),
2135 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2136 USB_DEVICE_ID_MATCH_INT_CLASS |
2137 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2138 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002139 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002140 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2141 .vendor_name = "Hauppauge",
2142 .product_name = "HVR-950Q",
2143 .ifnum = QUIRK_ANY_INTERFACE,
2144 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2145 }
2146},
2147{
2148 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7203),
2149 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2150 USB_DEVICE_ID_MATCH_INT_CLASS |
2151 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2152 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002153 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002154 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2155 .vendor_name = "Hauppauge",
2156 .product_name = "HVR-950Q",
2157 .ifnum = QUIRK_ANY_INTERFACE,
2158 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2159 }
2160},
2161{
2162 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7204),
2163 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2164 USB_DEVICE_ID_MATCH_INT_CLASS |
2165 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2166 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002167 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002168 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2169 .vendor_name = "Hauppauge",
2170 .product_name = "HVR-950Q",
2171 .ifnum = QUIRK_ANY_INTERFACE,
2172 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2173 }
2174},
2175{
2176 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7205),
2177 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2178 USB_DEVICE_ID_MATCH_INT_CLASS |
2179 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2180 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002181 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002182 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2183 .vendor_name = "Hauppauge",
2184 .product_name = "HVR-950Q",
2185 .ifnum = QUIRK_ANY_INTERFACE,
2186 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2187 }
2188},
2189{
2190 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7250),
2191 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2192 USB_DEVICE_ID_MATCH_INT_CLASS |
2193 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2194 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002195 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002196 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2197 .vendor_name = "Hauppauge",
2198 .product_name = "HVR-950Q",
2199 .ifnum = QUIRK_ANY_INTERFACE,
2200 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2201 }
2202},
2203{
2204 USB_DEVICE_VENDOR_SPEC(0x2040, 0x7230),
2205 .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
2206 USB_DEVICE_ID_MATCH_INT_CLASS |
2207 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2208 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002209 .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
John S. Gruber52a7a582009-12-27 12:19:59 -05002210 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2211 .vendor_name = "Hauppauge",
2212 .product_name = "HVR-850",
2213 .ifnum = QUIRK_ANY_INTERFACE,
2214 .type = QUIRK_AUDIO_ALIGN_TRANSFER,
2215 }
2216},
2217
Chris J Arges40717382010-02-17 12:12:52 -06002218/* Digidesign Mbox */
2219{
2220 /* Thanks to Clemens Ladisch <clemens@ladisch.de> */
2221 USB_DEVICE(0x0dba, 0x1000),
2222 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2223 .vendor_name = "Digidesign",
2224 .product_name = "MBox",
2225 .ifnum = QUIRK_ANY_INTERFACE,
2226 .type = QUIRK_COMPOSITE,
2227 .data = (const struct snd_usb_audio_quirk[]){
2228 {
2229 .ifnum = 0,
2230 .type = QUIRK_IGNORE_INTERFACE,
2231 },
2232 {
2233 .ifnum = 1,
2234 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2235 .data = &(const struct audioformat) {
2236 .format = SNDRV_PCM_FORMAT_S24_3BE,
2237 .channels = 2,
2238 .iface = 1,
2239 .altsetting = 1,
2240 .altset_idx = 1,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002241 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
Chris J Arges40717382010-02-17 12:12:52 -06002242 .endpoint = 0x02,
2243 .ep_attr = 0x01,
2244 .maxpacksize = 0x130,
2245 .rates = SNDRV_PCM_RATE_44100 |
2246 SNDRV_PCM_RATE_48000,
2247 .rate_min = 44100,
2248 .rate_max = 48000,
2249 .nr_rates = 2,
2250 .rate_table = (unsigned int[]) {
2251 44100, 48000
2252 }
2253 }
2254 },
2255 {
2256 .ifnum = -1
2257 }
2258 }
2259
2260 }
2261},
2262
Clemens Ladischf38275f2005-07-25 16:17:29 +02002263{
Linus Torvalds1da177e2005-04-16 15:20:36 -07002264 /*
2265 * Some USB MIDI devices don't have an audio control interface,
2266 * so we have to grab MIDI streaming interfaces here.
2267 */
2268 .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
2269 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
2270 .bInterfaceClass = USB_CLASS_AUDIO,
Daniel Mackde48c7b2010-02-22 23:49:13 +01002271 .bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
Takashi Iwai86e07d32005-11-17 15:08:02 +01002272 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Linus Torvalds1da177e2005-04-16 15:20:36 -07002273 .ifnum = QUIRK_ANY_INTERFACE,
2274 .type = QUIRK_MIDI_STANDARD_INTERFACE
2275 }
2276},
2277
2278#undef USB_DEVICE_VENDOR_SPEC