Blame view

sound/usb/usbquirks.h 39.1 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  /*
   * ALSA USB Audio Driver
   *
   * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>,
   *                       Clemens Ladisch <clemens@ladisch.de>
   *
   *
   *  This program is free software; you can redistribute it and/or modify
   *  it under the terms of the GNU General Public License as published by
   *  the Free Software Foundation; either version 2 of the License, or
   *  (at your option) any later version.
   *
   *  This program is distributed in the hope that it will be useful,
   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   *  GNU General Public License for more details.
   *
   *  You should have received a copy of the GNU General Public License
   *  along with this program; if not, write to the Free Software
   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
   */
  
  /*
   * The contents of this file are part of the driver's id_table.
   *
   * In a perfect world, this file would be empty.
   */
  
  /*
   * Use this for devices where other interfaces are standard compliant,
   * to prevent the quirk being applied to those interfaces. (To work with
   * hotplugging, bDeviceClass must be set to USB_CLASS_PER_INTERFACE.)
   */
  #define USB_DEVICE_VENDOR_SPEC(vend, prod) \
  	.match_flags = USB_DEVICE_ID_MATCH_VENDOR | \
  		       USB_DEVICE_ID_MATCH_PRODUCT | \
  		       USB_DEVICE_ID_MATCH_INT_CLASS, \
  	.idVendor = vend, \
  	.idProduct = prod, \
  	.bInterfaceClass = USB_CLASS_VENDOR_SPEC
  
  /*
   * Yamaha devices
   */
  
  #define YAMAHA_DEVICE(id, name) { \
  	USB_DEVICE(0x0499, id), \
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
48
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
49
50
51
52
53
54
55
56
  		.vendor_name = "Yamaha", \
  		.product_name = name, \
  		.ifnum = QUIRK_ANY_INTERFACE, \
  		.type = QUIRK_MIDI_YAMAHA \
  	} \
  }
  #define YAMAHA_INTERFACE(id, intf, name) { \
  	USB_DEVICE_VENDOR_SPEC(0x0499, id), \
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
57
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
  		.vendor_name = "Yamaha", \
  		.product_name = name, \
  		.ifnum = intf, \
  		.type = QUIRK_MIDI_YAMAHA \
  	} \
  }
  YAMAHA_DEVICE(0x1000, "UX256"),
  YAMAHA_DEVICE(0x1001, "MU1000"),
  YAMAHA_DEVICE(0x1002, "MU2000"),
  YAMAHA_DEVICE(0x1003, "MU500"),
  YAMAHA_INTERFACE(0x1004, 3, "UW500"),
  YAMAHA_DEVICE(0x1005, "MOTIF6"),
  YAMAHA_DEVICE(0x1006, "MOTIF7"),
  YAMAHA_DEVICE(0x1007, "MOTIF8"),
  YAMAHA_DEVICE(0x1008, "UX96"),
  YAMAHA_DEVICE(0x1009, "UX16"),
  YAMAHA_INTERFACE(0x100a, 3, "EOS BX"),
  YAMAHA_DEVICE(0x100c, "UC-MX"),
  YAMAHA_DEVICE(0x100d, "UC-KX"),
  YAMAHA_DEVICE(0x100e, "S08"),
  YAMAHA_DEVICE(0x100f, "CLP-150"),
  YAMAHA_DEVICE(0x1010, "CLP-170"),
  YAMAHA_DEVICE(0x1011, "P-250"),
  YAMAHA_DEVICE(0x1012, "TYROS"),
  YAMAHA_DEVICE(0x1013, "PF-500"),
  YAMAHA_DEVICE(0x1014, "S90"),
  YAMAHA_DEVICE(0x1015, "MOTIF-R"),
4ccb4a438   Clemens Ladisch   [ALSA] usb-audio:...
85
  YAMAHA_DEVICE(0x1016, "MDP-5"),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
86
87
88
89
90
91
92
93
  YAMAHA_DEVICE(0x1017, "CVP-204"),
  YAMAHA_DEVICE(0x1018, "CVP-206"),
  YAMAHA_DEVICE(0x1019, "CVP-208"),
  YAMAHA_DEVICE(0x101a, "CVP-210"),
  YAMAHA_DEVICE(0x101b, "PSR-1100"),
  YAMAHA_DEVICE(0x101c, "PSR-2100"),
  YAMAHA_DEVICE(0x101d, "CLP-175"),
  YAMAHA_DEVICE(0x101e, "PSR-K1"),
4ccb4a438   Clemens Ladisch   [ALSA] usb-audio:...
94
  YAMAHA_DEVICE(0x101f, "EZ-J24"),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  YAMAHA_DEVICE(0x1020, "EZ-250i"),
  YAMAHA_DEVICE(0x1021, "MOTIF ES 6"),
  YAMAHA_DEVICE(0x1022, "MOTIF ES 7"),
  YAMAHA_DEVICE(0x1023, "MOTIF ES 8"),
  YAMAHA_DEVICE(0x1024, "CVP-301"),
  YAMAHA_DEVICE(0x1025, "CVP-303"),
  YAMAHA_DEVICE(0x1026, "CVP-305"),
  YAMAHA_DEVICE(0x1027, "CVP-307"),
  YAMAHA_DEVICE(0x1028, "CVP-309"),
  YAMAHA_DEVICE(0x1029, "CVP-309GP"),
  YAMAHA_DEVICE(0x102a, "PSR-1500"),
  YAMAHA_DEVICE(0x102b, "PSR-3000"),
  YAMAHA_DEVICE(0x102e, "ELS-01/01C"),
  YAMAHA_DEVICE(0x1030, "PSR-295/293"),
  YAMAHA_DEVICE(0x1031, "DGX-205/203"),
  YAMAHA_DEVICE(0x1032, "DGX-305"),
  YAMAHA_DEVICE(0x1033, "DGX-505"),
  YAMAHA_DEVICE(0x1034, NULL),
  YAMAHA_DEVICE(0x1035, NULL),
  YAMAHA_DEVICE(0x1036, NULL),
  YAMAHA_DEVICE(0x1037, NULL),
  YAMAHA_DEVICE(0x1038, NULL),
  YAMAHA_DEVICE(0x1039, NULL),
  YAMAHA_DEVICE(0x103a, NULL),
  YAMAHA_DEVICE(0x103b, NULL),
  YAMAHA_DEVICE(0x103c, NULL),
0ac2ac0ad   Clemens Ladisch   [ALSA] usb-audio:...
121
  YAMAHA_DEVICE(0x103d, NULL),
f542fda8f   Clemens Ladisch   [ALSA] usb-audio:...
122
123
124
125
  YAMAHA_DEVICE(0x103e, NULL),
  YAMAHA_DEVICE(0x103f, NULL),
  YAMAHA_DEVICE(0x1040, NULL),
  YAMAHA_DEVICE(0x1041, NULL),
f1265391e   Clemens Ladisch   [ALSA] usb-audio:...
126
127
128
129
  YAMAHA_DEVICE(0x1042, NULL),
  YAMAHA_DEVICE(0x1043, NULL),
  YAMAHA_DEVICE(0x1044, NULL),
  YAMAHA_DEVICE(0x1045, NULL),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
  YAMAHA_DEVICE(0x2000, "DGP-7"),
  YAMAHA_DEVICE(0x2001, "DGP-5"),
  YAMAHA_DEVICE(0x2002, NULL),
  YAMAHA_DEVICE(0x5000, "CS1D"),
  YAMAHA_DEVICE(0x5001, "DSP1D"),
  YAMAHA_DEVICE(0x5002, "DME32"),
  YAMAHA_DEVICE(0x5003, "DM2000"),
  YAMAHA_DEVICE(0x5004, "02R96"),
  YAMAHA_DEVICE(0x5005, "ACU16-C"),
  YAMAHA_DEVICE(0x5006, "NHB32-C"),
  YAMAHA_DEVICE(0x5007, "DM1000"),
  YAMAHA_DEVICE(0x5008, "01V96"),
  YAMAHA_DEVICE(0x5009, "SPX2000"),
  YAMAHA_DEVICE(0x500a, "PM5D"),
  YAMAHA_DEVICE(0x500b, "DME64N"),
  YAMAHA_DEVICE(0x500c, "DME24N"),
  YAMAHA_DEVICE(0x500d, NULL),
  YAMAHA_DEVICE(0x500e, NULL),
f1265391e   Clemens Ladisch   [ALSA] usb-audio:...
148
  YAMAHA_DEVICE(0x500f, NULL),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
149
150
151
152
153
154
155
156
157
158
  YAMAHA_DEVICE(0x7000, "DTX"),
  YAMAHA_DEVICE(0x7010, "UB99"),
  #undef YAMAHA_DEVICE
  #undef YAMAHA_INTERFACE
  
  /*
   * Roland/RolandED/Edirol/BOSS devices
   */
  {
  	USB_DEVICE(0x0582, 0x0000),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
159
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
160
161
162
163
  		.vendor_name = "Roland",
  		.product_name = "UA-100",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
164
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.format = SNDRV_PCM_FORMAT_S16_LE,
  					.channels = 4,
  					.iface = 0,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = 0,
  					.endpoint = 0x01,
  					.ep_attr = 0x09,
  					.rates = SNDRV_PCM_RATE_CONTINUOUS,
  					.rate_min = 44100,
  					.rate_max = 44100,
  				}
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.format = SNDRV_PCM_FORMAT_S16_LE,
  					.channels = 2,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = EP_CS_ATTR_FILL_MAX,
  					.endpoint = 0x81,
  					.ep_attr = 0x05,
  					.rates = SNDRV_PCM_RATE_CONTINUOUS,
  					.rate_min = 44100,
  					.rate_max = 44100,
  				}
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
202
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
203
204
205
206
207
208
209
210
211
212
213
214
  					.out_cables = 0x0007,
  					.in_cables  = 0x0007
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
215
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
216
217
  		.vendor_name = "EDIROL",
  		.product_name = "UM-4",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
218
219
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
220
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
221
222
223
224
225
226
227
228
229
230
231
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
232
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
233
234
235
236
237
238
239
  					.out_cables = 0x000f,
  					.in_cables  = 0x000f
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
240
241
242
243
244
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0003),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
245
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
246
247
  		.vendor_name = "Roland",
  		.product_name = "SC-8850",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
248
249
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
250
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
251
252
253
254
255
256
257
258
259
260
261
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
262
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
263
264
265
266
267
268
269
  					.out_cables = 0x003f,
  					.in_cables  = 0x003f
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
270
271
272
273
274
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0004),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
275
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
276
277
  		.vendor_name = "Roland",
  		.product_name = "U-8",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
278
279
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
280
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
281
282
283
284
285
286
287
288
289
290
291
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
292
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
293
294
295
296
297
298
299
  					.out_cables = 0x0005,
  					.in_cables  = 0x0005
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
300
301
302
303
  		}
  	}
  },
  {
119c4ff52   Clemens Ladisch   [ALSA] usb-audio:...
304
305
  	/* Has ID 0x0099 when not in "Advanced Driver" mode.
  	 * The UM-2EX has only one input, but we cannot detect this. */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
306
  	USB_DEVICE(0x0582, 0x0005),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
307
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
308
309
  		.vendor_name = "EDIROL",
  		.product_name = "UM-2",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
310
311
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
312
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
313
314
315
316
317
318
319
320
321
322
323
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
324
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
325
326
327
328
329
330
331
  					.out_cables = 0x0003,
  					.in_cables  = 0x0003
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
332
333
334
335
336
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0007),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
337
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
338
339
  		.vendor_name = "Roland",
  		.product_name = "SC-8820",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
340
341
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
342
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
343
344
345
346
347
348
349
350
351
352
353
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
354
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
355
356
357
358
359
360
361
  					.out_cables = 0x0013,
  					.in_cables  = 0x0013
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
362
363
364
365
366
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0008),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
367
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
368
369
  		.vendor_name = "Roland",
  		.product_name = "PC-300",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
370
371
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
372
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
373
374
375
376
377
378
379
380
381
382
383
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
384
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
385
386
387
388
389
390
391
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
392
393
394
395
  		}
  	}
  },
  {
119c4ff52   Clemens Ladisch   [ALSA] usb-audio:...
396
  	/* has ID 0x009d when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
397
  	USB_DEVICE(0x0582, 0x0009),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
398
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
399
400
  		.vendor_name = "EDIROL",
  		.product_name = "UM-1",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
401
402
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
403
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
404
405
406
407
408
409
410
411
412
413
414
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
415
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
416
417
418
419
420
421
422
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
423
424
425
426
427
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x000b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
428
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
429
430
  		.vendor_name = "Roland",
  		.product_name = "SK-500",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
431
432
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
433
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
434
435
436
437
438
439
440
441
442
443
444
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
445
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
446
447
448
449
450
451
452
  					.out_cables = 0x0013,
  					.in_cables  = 0x0013
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
453
454
455
456
457
458
459
  		}
  	}
  },
  {
  	/* thanks to Emiliano Grilli <emillo@libero.it>
  	 * for helping researching this data */
  	USB_DEVICE(0x0582, 0x000c),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
460
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
461
462
463
464
  		.vendor_name = "Roland",
  		.product_name = "SC-D70",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
465
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.format = SNDRV_PCM_FORMAT_S24_3LE,
  					.channels = 2,
  					.iface = 0,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = 0,
  					.endpoint = 0x01,
  					.ep_attr = 0x01,
  					.rates = SNDRV_PCM_RATE_CONTINUOUS,
  					.rate_min = 44100,
  					.rate_max = 44100,
  				}
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.format = SNDRV_PCM_FORMAT_S24_3LE,
  					.channels = 2,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = 0,
  					.endpoint = 0x81,
  					.ep_attr = 0x01,
  					.rates = SNDRV_PCM_RATE_CONTINUOUS,
  					.rate_min = 44100,
  					.rate_max = 44100,
  				}
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
503
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
  					.out_cables = 0x0007,
  					.in_cables  = 0x0007
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {	/*
  	 * This quirk is for the "Advanced Driver" mode of the Edirol UA-5.
  	 * If the advanced mode switch at the back of the unit is off, the
  	 * UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks),
  	 * but offers only 16-bit PCM.
  	 * In advanced mode, the UA-5 will output S24_3LE samples (two
  	 * channels) at the rate indicated on the front switch, including
  	 * the 96kHz sample rate.
  	 */
  	USB_DEVICE(0x0582, 0x0010),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
524
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
525
526
527
528
  		.vendor_name = "EDIROL",
  		.product_name = "UA-5",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
529
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
545
  	/* has ID 0x0013 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
546
  	USB_DEVICE(0x0582, 0x0012),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
547
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
548
549
550
551
  		.vendor_name = "Roland",
  		.product_name = "XV-5050",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
552
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
553
554
555
556
557
558
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
559
  	/* has ID 0x0015 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
560
  	USB_DEVICE(0x0582, 0x0014),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
561
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
562
563
564
565
  		.vendor_name = "EDIROL",
  		.product_name = "UM-880",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
566
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
567
568
569
570
571
572
  			.out_cables = 0x01ff,
  			.in_cables  = 0x01ff
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
573
  	/* has ID 0x0017 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
574
  	USB_DEVICE(0x0582, 0x0016),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
575
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
576
577
  		.vendor_name = "EDIROL",
  		.product_name = "SD-90",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
578
579
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
580
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
581
582
583
584
585
586
587
588
589
590
591
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
592
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
593
594
595
596
597
598
599
  					.out_cables = 0x000f,
  					.in_cables  = 0x000f
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
600
601
602
603
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
604
  	/* has ID 0x001c when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
605
  	USB_DEVICE(0x0582, 0x001b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
606
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
607
608
  		.vendor_name = "Roland",
  		.product_name = "MMP-2",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
609
610
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
611
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
612
613
614
615
616
617
618
619
620
621
622
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
623
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
624
625
626
627
628
629
630
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
631
632
633
634
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
635
  	/* has ID 0x001e when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
636
  	USB_DEVICE(0x0582, 0x001d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
637
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
638
639
640
641
  		.vendor_name = "Roland",
  		.product_name = "V-SYNTH",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
642
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
643
644
645
646
647
648
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
649
  	/* has ID 0x0024 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
650
  	USB_DEVICE(0x0582, 0x0023),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
651
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
652
653
654
655
  		.vendor_name = "EDIROL",
  		.product_name = "UM-550",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
656
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
657
658
659
660
661
662
663
664
665
666
667
668
  			.out_cables = 0x003f,
  			.in_cables  = 0x003f
  		}
  	}
  },
  {
  	/*
  	 * This quirk is for the "Advanced Driver" mode. If off, the UA-20
  	 * has ID 0x0026 and is standard compliant, but has only 16-bit PCM
  	 * and no MIDI.
  	 */
  	USB_DEVICE(0x0582, 0x0025),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
669
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
670
671
672
673
  		.vendor_name = "EDIROL",
  		.product_name = "UA-20",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
674
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
675
  			{
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
676
677
678
679
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
680
  				.ifnum = 1,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
681
682
683
684
685
686
687
688
689
690
691
692
693
694
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.format = SNDRV_PCM_FORMAT_S24_3LE,
  					.channels = 2,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = 0,
  					.endpoint = 0x01,
  					.ep_attr = 0x01,
  					.rates = SNDRV_PCM_RATE_CONTINUOUS,
  					.rate_min = 44100,
  					.rate_max = 44100,
  				}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
695
696
697
  			},
  			{
  				.ifnum = 2,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
698
699
700
701
702
703
704
705
706
707
708
709
710
711
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.format = SNDRV_PCM_FORMAT_S24_3LE,
  					.channels = 2,
  					.iface = 2,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = 0,
  					.endpoint = 0x82,
  					.ep_attr = 0x01,
  					.rates = SNDRV_PCM_RATE_CONTINUOUS,
  					.rate_min = 44100,
  					.rate_max = 44100,
  				}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
712
713
714
  			},
  			{
  				.ifnum = 3,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
715
716
717
718
719
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
720
721
722
723
724
725
726
727
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
728
  	/* has ID 0x0028 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
729
  	USB_DEVICE(0x0582, 0x0027),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
730
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
731
732
733
734
  		.vendor_name = "EDIROL",
  		.product_name = "SD-20",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
735
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
736
737
738
739
740
741
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
742
  	/* has ID 0x002a when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
743
  	USB_DEVICE(0x0582, 0x0029),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
744
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
745
746
747
748
  		.vendor_name = "EDIROL",
  		.product_name = "SD-80",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
749
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
750
751
752
753
754
755
756
757
758
759
760
761
  			.out_cables = 0x000f,
  			.in_cables  = 0x000f
  		}
  	}
  },
  {	/*
  	 * This quirk is for the "Advanced" modes of the Edirol UA-700.
  	 * If the sample format switch is not in an advanced setting, the
  	 * UA-700 has ID 0x0582/0x002c and is standard compliant (no quirks),
  	 * but offers only 16-bit PCM and no MIDI.
  	 */
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
762
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
763
764
765
766
  		.vendor_name = "EDIROL",
  		.product_name = "UA-700",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
767
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_EDIROL_UA700_UA25
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_EDIROL_UA700_UA25
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_AUDIO_EDIROL_UA700_UA25
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
787
  	/* has ID 0x002e when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
788
  	USB_DEVICE(0x0582, 0x002d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
789
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
790
791
792
793
  		.vendor_name = "Roland",
  		.product_name = "XV-2020",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
794
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
795
796
797
798
799
800
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
801
  	/* has ID 0x0030 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
802
  	USB_DEVICE(0x0582, 0x002f),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
803
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
804
805
806
807
  		.vendor_name = "Roland",
  		.product_name = "VariOS",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
808
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
809
810
811
812
813
814
  			.out_cables = 0x0007,
  			.in_cables  = 0x0007
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
815
  	/* has ID 0x0034 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
816
  	USB_DEVICE(0x0582, 0x0033),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
817
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
818
819
820
821
  		.vendor_name = "EDIROL",
  		.product_name = "PCR",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
822
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
823
824
825
826
827
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
828
  	/* TODO: add Roland M-1000 support */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
829
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
830
831
832
833
  	/*
  	 * Has ID 0x0038 when not in "Advanced Driver" mode;
  	 * later revisions use IDs 0x0054 and 0x00a2.
  	 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
834
  	USB_DEVICE(0x0582, 0x0037),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
835
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
836
837
838
839
  		.vendor_name = "Roland",
  		.product_name = "Digital Piano",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
840
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
841
842
843
844
845
846
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
5af4c8337   Clemens Ladisch   [ALSA] usb-audio ...
847
848
849
850
851
  	/*
  	 * This quirk is for the "Advanced Driver" mode.  If off, the GS-10
  	 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
  	 * and no MIDI.
  	 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
852
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
853
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
854
855
  		.vendor_name = "BOSS",
  		.product_name = "GS-10",
5af4c8337   Clemens Ladisch   [ALSA] usb-audio ...
856
857
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
858
  		.data = & (const struct snd_usb_audio_quirk[]) {
5af4c8337   Clemens Ladisch   [ALSA] usb-audio ...
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_MIDI_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
874
875
876
877
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
878
  	/* has ID 0x0041 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
879
  	USB_DEVICE(0x0582, 0x0040),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
880
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
881
882
883
884
  		.vendor_name = "Roland",
  		.product_name = "GI-20",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
885
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
886
887
888
889
890
891
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
892
  	/* has ID 0x0043 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
893
  	USB_DEVICE(0x0582, 0x0042),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
894
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
895
896
897
898
  		.vendor_name = "Roland",
  		.product_name = "RS-70",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
899
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
900
901
902
903
904
905
906
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0044),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
907
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
908
909
910
911
  		.vendor_name = "Roland",
  		.product_name = "UA-1000",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
912
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
913
914
915
916
917
918
919
920
921
922
923
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_EDIROL_UA1000
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_EDIROL_UA1000
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
924
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
925
926
927
928
929
930
931
932
933
934
935
  					.out_cables = 0x0003,
  					.in_cables  = 0x0003
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
936
  	/* has ID 0x004a when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
937
  	USB_DEVICE(0x0582, 0x0048),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
938
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
939
940
941
942
  		.vendor_name = "EDIROL",
  		.product_name = "UR-80",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
943
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
944
945
946
947
948
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
949
  	/* TODO: add Edirol M-100FX support */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
950
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
951
  	/* has ID 0x004f when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
952
  	USB_DEVICE(0x0582, 0x004d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
953
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
954
955
956
957
  		.vendor_name = "EDIROL",
  		.product_name = "PCR-A",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
958
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
959
960
961
962
963
964
965
966
967
968
969
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
  {
  	/*
  	 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
  	 * is standard compliant, but has only 16-bit PCM.
  	 */
  	USB_DEVICE(0x0582, 0x0050),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
970
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
971
972
973
974
  		.vendor_name = "EDIROL",
  		.product_name = "UA-3FX",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
975
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0052),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
992
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
993
994
995
996
997
998
  		.vendor_name = "EDIROL",
  		.product_name = "UM-1SX",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
999
  	/* TODO: add Roland EXR support */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1000
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1001
  	/* has ID 0x0067 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1002
  	USB_DEVICE(0x0582, 0x0065),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1003
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1004
1005
1006
1007
  		.vendor_name = "EDIROL",
  		.product_name = "PCR-1",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1008
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1009
1010
1011
1012
1013
1014
  			.out_cables = 0x0001,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1015
  	/* has ID 0x006b when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1016
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1017
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1018
1019
1020
1021
  		.vendor_name = "Roland",
  		.product_name = "SP-606",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1022
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1023
1024
1025
1026
1027
1028
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1029
  	/* has ID 0x006e when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1030
  	USB_DEVICE(0x0582, 0x006d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1031
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1032
1033
1034
1035
  		.vendor_name = "Roland",
  		.product_name = "FANTOM-X",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1036
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {	/*
  	 * This quirk is for the "Advanced" modes of the Edirol UA-25.
  	 * If the switch is not in an advanced setting, the UA-25 has
  	 * ID 0x0582/0x0073 and is standard compliant (no quirks), but
  	 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
  	 */
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x0074),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1049
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1050
1051
1052
1053
  		.vendor_name = "EDIROL",
  		.product_name = "UA-25",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1054
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_EDIROL_UA700_UA25
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_EDIROL_UA700_UA25
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_EDIROL_UA700_UA25
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1074
  	/* has ID 0x0076 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1075
  	USB_DEVICE(0x0582, 0x0075),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1076
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1077
1078
1079
1080
  		.vendor_name = "BOSS",
  		.product_name = "DR-880",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1081
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1082
1083
1084
1085
1086
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1087
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1088
  	/* has ID 0x007b when not in "Advanced Driver" mode */
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1089
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1090
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1091
  		.vendor_name = "Roland",
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1092
  		/* "RD" or "RD-700SX"? */
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1093
1094
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1095
  		.data = & (const struct snd_usb_midi_endpoint_info) {
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1096
1097
1098
1099
1100
  			.out_cables = 0x0003,
  			.in_cables  = 0x0003
  		}
  	}
  },
7c79b7682   Clemens Ladisch   [ALSA] usb-audio:...
1101
  	/* TODO: add Edirol UA-101 support */
cdca881d7   Clemens Ladisch   [ALSA] usb-audio:...
1102
1103
1104
1105
1106
1107
1108
1109
1110
  {
  	/* has ID 0x0081 when not in "Advanced Driver" mode */
  	USB_DEVICE(0x0582, 0x0080),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Roland",
  		.product_name = "G-70",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
05422575d   Clemens Ladisch   [ALSA] usb-audio:...
1111
1112
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
cdca881d7   Clemens Ladisch   [ALSA] usb-audio:...
1113
1114
1115
  		}
  	}
  },
7c79b7682   Clemens Ladisch   [ALSA] usb-audio:...
1116
1117
  	/* TODO: add Roland V-SYNTH XT support */
  	/* TODO: add BOSS GT-PRO support */
415b09e45   Clemens Ladisch   [ALSA] usb-audio:...
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
  {
  	/* has ID 0x008c when not in "Advanced Driver" mode */
  	USB_DEVICE(0x0582, 0x008b),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "EDIROL",
  		.product_name = "PC-50",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
7c79b7682   Clemens Ladisch   [ALSA] usb-audio:...
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
  	/* TODO: add Edirol PC-80 support */
  	/* TODO: add Edirol UA-1EX support */
  {
  	USB_DEVICE(0x0582, 0x009a),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "EDIROL",
  		.product_name = "UM-3EX",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
  			.out_cables = 0x000f,
  			.in_cables  = 0x000f
  		}
  	}
  },
  	/* TODO: add Edirol MD-P1 support */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1148

a25f175c2   Clemens Ladisch   [ALSA] usb-audio:...
1149
1150
1151
1152
1153
1154
1155
1156
1157
  /* Guillemot devices */
  {
  	/*
  	 * This is for the "Windows Edition" where the external MIDI ports are
  	 * the only MIDI ports; the control data is reported through HID
  	 * interfaces.  The "Macintosh Edition" has ID 0xd002 and uses standard
  	 * compliant USB MIDI ports for external MIDI and controls.
  	 */
  	USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1158
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
a25f175c2   Clemens Ladisch   [ALSA] usb-audio:...
1159
1160
1161
1162
  		.vendor_name = "Hercules",
  		.product_name = "DJ Console (WE)",
  		.ifnum = 4,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1163
  		.data = & (const struct snd_usb_midi_endpoint_info) {
a25f175c2   Clemens Ladisch   [ALSA] usb-audio:...
1164
1165
1166
1167
1168
  			.out_cables = 0x0001,
  			.in_cables = 0x0001
  		}
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1169
1170
1171
  /* Midiman/M-Audio devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1172
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1173
1174
1175
1176
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 2x2",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1177
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1178
1179
1180
1181
1182
1183
1184
  			.out_cables = 0x0003,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1185
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1186
1187
1188
1189
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 1x1",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1190
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1191
1192
1193
1194
1195
1196
1197
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1198
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1199
1200
1201
1202
  		.vendor_name = "M-Audio",
  		.product_name = "Keystation",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1203
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1204
1205
1206
1207
1208
1209
1210
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1211
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1212
1213
1214
1215
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 4x4",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1216
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
  			.out_cables = 0x000f,
  			.in_cables  = 0x000f
  		}
  	}
  },
  {
  	/*
  	 * For hardware revision 1.05; in the later revisions (1.10 and
  	 * 1.21), 0x1031 is the ID for the device without firmware.
  	 * Thanks to Olaf Giesbrecht <Olaf_Giesbrecht@yahoo.de>
  	 */
  	USB_DEVICE_VER(0x0763, 0x1031, 0x0100, 0x0109),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1229
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1230
1231
1232
1233
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 8x8",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1234
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1235
1236
1237
1238
1239
1240
1241
  			.out_cables = 0x01ff,
  			.in_cables  = 0x01ff
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1242
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1243
1244
1245
1246
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 8x8",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1247
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1248
1249
1250
1251
1252
1253
1254
  			.out_cables = 0x01ff,
  			.in_cables  = 0x01ff
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1255
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1256
1257
1258
1259
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 2x4",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1260
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1261
1262
1263
1264
1265
1266
1267
  			.out_cables = 0x000f,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1268
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1269
1270
1271
1272
  		.vendor_name = "M-Audio",
  		.product_name = "Quattro",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1273
  		.data = & (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
  			/*
  			 * Interfaces 0-2 are "Windows-compatible", 16-bit only,
  			 * and share endpoints with the other interfaces.
  			 * Ignore them.  The other interfaces can do 24 bits,
  			 * but captured samples are big-endian (see usbaudio.c).
  			 */
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 4,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 5,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 6,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 7,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 8,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 9,
  				.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1319
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1332
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1333
1334
1335
1336
  		.vendor_name = "M-Audio",
  		.product_name = "AudioPhile",
  		.ifnum = 6,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1337
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1338
1339
1340
1341
1342
1343
1344
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1345
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1346
1347
1348
1349
  		.vendor_name = "M-Audio",
  		.product_name = "Ozone",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1350
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1351
1352
1353
1354
1355
1356
1357
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1358
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1359
1360
1361
1362
  		.vendor_name = "M-Audio",
  		.product_name = "OmniStudio",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1363
  		.data = & (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 4,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 5,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 6,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 7,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 8,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 9,
  				.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1403
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
0243ef71a   Clemens Ladisch   [ALSA] usb-audio:...
1414
1415
  /* Casio devices */
  {
9808dc962   Clemens Ladisch   [ALSA] usb-audio:...
1416
1417
1418
1419
1420
1421
1422
1423
1424
  	USB_DEVICE(0x07cf, 0x6801),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Casio",
  		.product_name = "PL-40R",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_YAMAHA
  	}
  },
  {
318d27f8b   Clemens Ladisch   [ALSA] usb-audio:...
1425
  	/* this ID is used by several devices without a product ID */
0243ef71a   Clemens Ladisch   [ALSA] usb-audio:...
1426
1427
1428
  	USB_DEVICE(0x07cf, 0x6802),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Casio",
318d27f8b   Clemens Ladisch   [ALSA] usb-audio:...
1429
  		.product_name = "Keyboard",
0243ef71a   Clemens Ladisch   [ALSA] usb-audio:...
1430
1431
1432
1433
  		.ifnum = 0,
  		.type = QUIRK_MIDI_YAMAHA
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1434
1435
1436
  /* Mark of the Unicorn devices */
  {
  	/* thanks to Robert A. Lerche <ral 'at' msbit.com> */
bbd4615cd   Clemens Ladisch   [ALSA] usb-audio ...
1437
1438
1439
1440
1441
1442
  	.match_flags = USB_DEVICE_ID_MATCH_VENDOR |
  		       USB_DEVICE_ID_MATCH_PRODUCT |
  		       USB_DEVICE_ID_MATCH_DEV_SUBCLASS,
  	.idVendor = 0x07fd,
  	.idProduct = 0x0001,
  	.bDeviceSubClass = 2,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1443
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1444
1445
1446
1447
  		.vendor_name = "MOTU",
  		.product_name = "Fastlane",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1448
  		.data = & (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1449
1450
  			{
  				.ifnum = 0,
6155aff84   Clemens Ladisch   [ALSA] usb-audio ...
1451
  				.type = QUIRK_MIDI_RAW
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  
  {
  	/* Creative Sound Blaster MP3+ */
  	USB_DEVICE(0x041e, 0x3010),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1467
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
  		.vendor_name = "Creative Labs",
  		.product_name = "Sound Blaster MP3+",
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  	
  },
  
  /* Emagic devices */
  {
  	USB_DEVICE(0x086a, 0x0001),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1478
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1479
1480
1481
1482
  		.vendor_name = "Emagic",
  		/* .product_name = "Unitor8", */
  		.ifnum = 2,
  		.type = QUIRK_MIDI_EMAGIC,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1483
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1484
1485
1486
1487
1488
1489
1490
  			.out_cables = 0x80ff,
  			.in_cables  = 0x80ff
  		}
  	}
  },
  {
  	USB_DEVICE(0x086a, 0x0002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1491
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1492
1493
1494
1495
  		.vendor_name = "Emagic",
  		/* .product_name = "AMT8", */
  		.ifnum = 2,
  		.type = QUIRK_MIDI_EMAGIC,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1496
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1497
1498
1499
1500
1501
1502
1503
  			.out_cables = 0x80ff,
  			.in_cables  = 0x80ff
  		}
  	}
  },
  {
  	USB_DEVICE(0x086a, 0x0003),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1504
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1505
1506
1507
1508
  		.vendor_name = "Emagic",
  		/* .product_name = "MT4", */
  		.ifnum = 2,
  		.type = QUIRK_MIDI_EMAGIC,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1509
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1510
1511
1512
1513
1514
  			.out_cables = 0x800f,
  			.in_cables  = 0x8003
  		}
  	}
  },
31ab9523e   Clemens Ladisch   [ALSA] usb-audio:...
1515
1516
1517
  /* TerraTec devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1518
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
31ab9523e   Clemens Ladisch   [ALSA] usb-audio:...
1519
1520
1521
1522
1523
1524
  		.vendor_name = "TerraTec",
  		.product_name = "PHASE 26",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1525
1526
  {
  	USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1527
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
bc56eff12   Clemens Ladisch   [ALSA] add anothe...
1528
1529
1530
1531
1532
1533
1534
1535
1536
  		.vendor_name = "TerraTec",
  		.product_name = "PHASE 26",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0014),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
31ab9523e   Clemens Ladisch   [ALSA] usb-audio:...
1537
  		.vendor_name = "TerraTec",
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1538
1539
1540
1541
1542
  		.product_name = "PHASE 26",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
b2b8229dd   Clemens Ladisch   [ALSA] usb-audio:...
1543
1544
1545
1546
1547
1548
1549
1550
1551
  {
  	USB_DEVICE(0x0ccd, 0x0035),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Miditech",
  		.product_name = "Play'n Roll",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_CME
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1552
1553
1554
1555
  
  /* Novation EMS devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1556
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1557
1558
1559
1560
1561
1562
1563
1564
  		.vendor_name = "Novation",
  		.product_name = "ReMOTE Audio/XStation",
  		.ifnum = 4,
  		.type = QUIRK_MIDI_NOVATION
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x1235, 0x0002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1565
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1566
1567
1568
1569
1570
1571
1572
1573
  		.vendor_name = "Novation",
  		.product_name = "Speedio",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_NOVATION
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1574
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1575
1576
1577
1578
1579
1580
  		.vendor_name = "Novation",
  		.product_name = "ReMOTE25",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_NOVATION
  	}
  },
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
1581
  /* Miditech devices */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1582
  {
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1583
  	USB_DEVICE(0x4752, 0x0011),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1584
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1585
1586
1587
  		.vendor_name = "Miditech",
  		.product_name = "Midistart-2",
  		.ifnum = 0,
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
1588
  		.type = QUIRK_MIDI_CME
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1589
1590
  	}
  },
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
1591
1592
  
  /* Central Music devices */
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1593
  {
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
1594
  	/* this ID used by both Miditech MidiStudio-2 and CME UF-x */
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1595
  	USB_DEVICE(0x7104, 0x2202),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1596
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1597
  		.ifnum = 0,
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
1598
  		.type = QUIRK_MIDI_CME
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
1599
1600
1601
1602
  	}
  },
  
  {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1603
1604
1605
1606
1607
1608
1609
1610
  	/*
  	 * Some USB MIDI devices don't have an audio control interface,
  	 * so we have to grab MIDI streaming interfaces here.
  	 */
  	.match_flags = USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
  	.bInterfaceSubClass = USB_SUBCLASS_MIDI_STREAMING,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1611
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1612
1613
1614
1615
1616
1617
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
  
  #undef USB_DEVICE_VENDOR_SPEC