Blame view

sound/usb/quirks-table.h 65.9 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
  /*
   * 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
1ef0e0a05   Kristian Amlie   ALSA: usb-audio: ...
41
42
43
44
45
46
47
48
49
50
  /* FTDI devices */
  {
  	USB_DEVICE(0x0403, 0xb8d8),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "STARR LABS", */
  		/* .product_name = "Starr Labs MIDI USB device", */
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FTDI
  	}
  },
dc61b66fc   Andrea Borgia   ALSA: rename "Dev...
51
52
53
54
55
56
57
58
59
  /* Creative/Toshiba Multimedia Center SB-0500 */
  {
  	USB_DEVICE(0x041e, 0x3048),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Toshiba",
  		.product_name = "SB-0500",
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
25a47b6b0   Clemens Ladisch   [ALSA] usb-audio:...
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  /* Creative/E-Mu devices */
  {
  	USB_DEVICE(0x041e, 0x3010),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Creative Labs",
  		.product_name = "Sound Blaster MP3+",
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
  {
  	/* E-Mu 0202 USB */
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x041e,
  	.idProduct = 0x3f02,
  	.bInterfaceClass = USB_CLASS_AUDIO,
  },
  {
  	/* E-Mu 0404 USB */
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x041e,
  	.idProduct = 0x3f04,
  	.bInterfaceClass = USB_CLASS_AUDIO,
  },
97c889a78   Eran Tromer   ALSA: usb-audio: ...
83
84
85
86
87
88
89
  {
  	/* E-Mu Tracker Pre */
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x041e,
  	.idProduct = 0x3f0a,
  	.bInterfaceClass = USB_CLASS_AUDIO,
  },
1cdfa9f34   Joseph Teichman   ALSA: usbaudio - ...
90
91
92
93
94
95
  {
  	/* E-Mu 0204 USB */
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x041e,
  	.idProduct = 0x3f19,
  	.bInterfaceClass = USB_CLASS_AUDIO,
97c889a78   Eran Tromer   ALSA: usb-audio: ...
96
  },
25a47b6b0   Clemens Ladisch   [ALSA] usb-audio:...
97

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
98
  /*
a91214589   Daniel Drake   [ALSA] usb-audio:...
99
100
101
102
103
104
105
106
   * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface
   * class matches do not take effect without an explicit ID match.
   */
  {
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.idVendor = 0x046d,
d417045e7   Daniel Drake   [ALSA] usb-audio:...
107
108
  	.idProduct = 0x0850,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
109
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
d417045e7   Daniel Drake   [ALSA] usb-audio:...
110
111
112
113
114
115
  },
  {
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.idVendor = 0x046d,
c34532da9   George Shapovalov   [ALSA] usb-audio:...
116
117
  	.idProduct = 0x08ae,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
118
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
c34532da9   George Shapovalov   [ALSA] usb-audio:...
119
120
121
122
123
124
  },
  {
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.idVendor = 0x046d,
cfc24ec89   Ritesh Raj Sarraf   [ALSA] USB ID for...
125
126
  	.idProduct = 0x08c6,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
127
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
cfc24ec89   Ritesh Raj Sarraf   [ALSA] USB ID for...
128
129
130
131
132
133
  },
  {
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.idVendor = 0x046d,
a91214589   Daniel Drake   [ALSA] usb-audio:...
134
135
  	.idProduct = 0x08f0,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
136
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
a91214589   Daniel Drake   [ALSA] usb-audio:...
137
138
139
140
141
142
  },
  {
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.idVendor = 0x046d,
31127f2eb   Dawid Wrobel   [ALSA] usb-audio:...
143
144
  	.idProduct = 0x08f5,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
145
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
31127f2eb   Dawid Wrobel   [ALSA] usb-audio:...
146
147
148
149
150
151
  },
  {
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.idVendor = 0x046d,
a91214589   Daniel Drake   [ALSA] usb-audio:...
152
153
  	.idProduct = 0x08f6,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
154
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL
a91214589   Daniel Drake   [ALSA] usb-audio:...
155
  },
5c6c9e6fe   Signed-off-by: Peter Stokes   ALSA: USB quirk f...
156
157
158
159
160
161
162
163
  {
  	USB_DEVICE(0x046d, 0x0990),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Logitech, Inc.",
  		.product_name = "QuickCam Pro 9000",
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
25a47b6b0   Clemens Ladisch   [ALSA] usb-audio:...
164

1e74190bc   James Courtier-Dutton   [ALSA] snd-usb-au...
165
  /*
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
166
167
168
169
170
   * Yamaha devices
   */
  
  #define YAMAHA_DEVICE(id, name) { \
  	USB_DEVICE(0x0499, id), \
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
171
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
172
173
174
175
176
177
178
179
  		.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...
180
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { \
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
  		.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:...
208
  YAMAHA_DEVICE(0x1016, "MDP-5"),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
209
210
211
212
213
214
215
216
  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:...
217
  YAMAHA_DEVICE(0x101f, "EZ-J24"),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
  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:...
244
  YAMAHA_DEVICE(0x103d, NULL),
f542fda8f   Clemens Ladisch   [ALSA] usb-audio:...
245
246
247
248
  YAMAHA_DEVICE(0x103e, NULL),
  YAMAHA_DEVICE(0x103f, NULL),
  YAMAHA_DEVICE(0x1040, NULL),
  YAMAHA_DEVICE(0x1041, NULL),
f1265391e   Clemens Ladisch   [ALSA] usb-audio:...
249
250
251
252
  YAMAHA_DEVICE(0x1042, NULL),
  YAMAHA_DEVICE(0x1043, NULL),
  YAMAHA_DEVICE(0x1044, NULL),
  YAMAHA_DEVICE(0x1045, NULL),
c85ceac97   Clemens Ladisch   ALSA: usb-audio: ...
253
  YAMAHA_INTERFACE(0x104e, 0, NULL),
83a1a3974   Clemens Ladisch   ALSA: usb-audio: ...
254
255
256
257
  YAMAHA_DEVICE(0x104f, NULL),
  YAMAHA_DEVICE(0x1050, NULL),
  YAMAHA_DEVICE(0x1051, NULL),
  YAMAHA_DEVICE(0x1052, NULL),
422fdc318   Clemens Ladisch   ALSA: usb-audio: ...
258
259
260
261
262
263
264
265
266
267
268
  YAMAHA_INTERFACE(0x1053, 0, NULL),
  YAMAHA_INTERFACE(0x1054, 0, NULL),
  YAMAHA_DEVICE(0x1055, NULL),
  YAMAHA_DEVICE(0x1056, NULL),
  YAMAHA_DEVICE(0x1057, NULL),
  YAMAHA_DEVICE(0x1058, NULL),
  YAMAHA_DEVICE(0x1059, NULL),
  YAMAHA_DEVICE(0x105a, NULL),
  YAMAHA_DEVICE(0x105b, NULL),
  YAMAHA_DEVICE(0x105c, NULL),
  YAMAHA_DEVICE(0x105d, NULL),
8c3f5d8a9   Clemens Ladisch   ALSA: usb-audio: ...
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
  {
  	USB_DEVICE(0x0499, 0x1503),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "Yamaha", */
  		/* .product_name = "MOX6/MOX8", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_MIDI_YAMAHA
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
295
296
297
  YAMAHA_DEVICE(0x2000, "DGP-7"),
  YAMAHA_DEVICE(0x2001, "DGP-5"),
  YAMAHA_DEVICE(0x2002, NULL),
422fdc318   Clemens Ladisch   ALSA: usb-audio: ...
298
  YAMAHA_DEVICE(0x2003, NULL),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
  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:...
314
  YAMAHA_DEVICE(0x500f, NULL),
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
315
316
317
318
319
320
321
322
323
324
  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...
325
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
326
327
328
329
  		.vendor_name = "Roland",
  		.product_name = "UA-100",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
330
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
331
332
333
334
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
015eb0b08   Clemens Ladisch   ALSA: usb-audio: ...
335
  					.formats = SNDRV_PCM_FMTBIT_S16_LE,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
  					.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) {
015eb0b08   Clemens Ladisch   ALSA: usb-audio: ...
352
  					.formats = SNDRV_PCM_FMTBIT_S16_LE,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
353
354
355
356
  					.channels = 2,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
357
  					.attributes = UAC_EP_CS_ATTR_FILL_MAX,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
358
359
360
361
362
363
364
365
366
367
  					.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...
368
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
369
370
371
372
373
374
375
376
377
378
379
380
  					.out_cables = 0x0007,
  					.in_cables  = 0x0007
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
381
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
382
383
  		.vendor_name = "EDIROL",
  		.product_name = "UM-4",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
384
385
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
386
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
387
388
389
390
391
392
393
394
395
396
397
  			{
  				.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...
398
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
399
400
401
402
403
404
405
  					.out_cables = 0x000f,
  					.in_cables  = 0x000f
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
406
407
408
409
410
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0003),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
411
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
412
413
  		.vendor_name = "Roland",
  		.product_name = "SC-8850",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
414
415
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
416
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
417
418
419
420
421
422
423
424
425
426
427
  			{
  				.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...
428
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
429
430
431
432
433
434
435
  					.out_cables = 0x003f,
  					.in_cables  = 0x003f
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
436
437
438
439
440
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0004),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
441
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
442
443
  		.vendor_name = "Roland",
  		.product_name = "U-8",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
444
445
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
446
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
447
448
449
450
451
452
453
454
455
456
457
  			{
  				.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...
458
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
459
460
461
462
463
464
465
  					.out_cables = 0x0005,
  					.in_cables  = 0x0005
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
466
467
468
469
  		}
  	}
  },
  {
119c4ff52   Clemens Ladisch   [ALSA] usb-audio:...
470
471
  	/* 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
472
  	USB_DEVICE(0x0582, 0x0005),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
473
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
474
475
  		.vendor_name = "EDIROL",
  		.product_name = "UM-2",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
476
477
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
478
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
479
480
481
482
483
484
485
486
487
488
489
  			{
  				.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...
490
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
491
492
493
494
495
496
497
  					.out_cables = 0x0003,
  					.in_cables  = 0x0003
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
498
499
500
501
502
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0007),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
503
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
504
505
  		.vendor_name = "Roland",
  		.product_name = "SC-8820",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
506
507
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
508
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
509
510
511
512
513
514
515
516
517
518
519
  			{
  				.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...
520
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
521
522
523
524
525
526
527
  					.out_cables = 0x0013,
  					.in_cables  = 0x0013
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
528
529
530
531
532
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x0008),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
533
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
534
535
  		.vendor_name = "Roland",
  		.product_name = "PC-300",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
536
537
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
538
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
539
540
541
542
543
544
545
546
547
548
549
  			{
  				.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...
550
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
551
552
553
554
555
556
557
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
558
559
560
561
  		}
  	}
  },
  {
119c4ff52   Clemens Ladisch   [ALSA] usb-audio:...
562
  	/* has ID 0x009d when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
563
  	USB_DEVICE(0x0582, 0x0009),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
564
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
565
566
  		.vendor_name = "EDIROL",
  		.product_name = "UM-1",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
567
568
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
569
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
570
571
572
573
574
575
576
577
578
579
580
  			{
  				.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...
581
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
582
583
584
585
586
587
588
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
589
590
591
592
593
  		}
  	}
  },
  {
  	USB_DEVICE(0x0582, 0x000b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
594
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
595
596
  		.vendor_name = "Roland",
  		.product_name = "SK-500",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
597
598
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
599
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
600
601
602
603
604
605
606
607
608
609
610
  			{
  				.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...
611
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
612
613
614
615
616
617
618
  					.out_cables = 0x0013,
  					.in_cables  = 0x0013
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
619
620
621
622
623
624
625
  		}
  	}
  },
  {
  	/* thanks to Emiliano Grilli <emillo@libero.it>
  	 * for helping researching this data */
  	USB_DEVICE(0x0582, 0x000c),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
626
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
627
628
629
630
  		.vendor_name = "Roland",
  		.product_name = "SC-D70",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
631
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
632
633
634
635
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
015eb0b08   Clemens Ladisch   ALSA: usb-audio: ...
636
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
  					.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) {
015eb0b08   Clemens Ladisch   ALSA: usb-audio: ...
653
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
  					.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...
669
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
  					.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...
690
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
691
692
693
694
  		.vendor_name = "EDIROL",
  		.product_name = "UA-5",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
695
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
711
  	/* has ID 0x0013 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
712
  	USB_DEVICE(0x0582, 0x0012),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
713
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
714
715
716
717
  		.vendor_name = "Roland",
  		.product_name = "XV-5050",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
718
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
719
720
721
722
723
724
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
725
  	/* has ID 0x0015 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
726
  	USB_DEVICE(0x0582, 0x0014),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
727
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
728
729
730
731
  		.vendor_name = "EDIROL",
  		.product_name = "UM-880",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
732
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
733
734
735
736
737
738
  			.out_cables = 0x01ff,
  			.in_cables  = 0x01ff
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
739
  	/* has ID 0x0017 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
740
  	USB_DEVICE(0x0582, 0x0016),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
741
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
742
743
  		.vendor_name = "EDIROL",
  		.product_name = "SD-90",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
744
745
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
746
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
747
748
  			{
  				.ifnum = 0,
061b869ec   Clemens Ladisch   ALSA: usb-audio: ...
749
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
750
751
752
  			},
  			{
  				.ifnum = 1,
061b869ec   Clemens Ladisch   ALSA: usb-audio: ...
753
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
754
755
756
757
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
758
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
759
760
761
762
763
764
765
  					.out_cables = 0x000f,
  					.in_cables  = 0x000f
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
766
767
768
769
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
770
  	/* has ID 0x001c when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
771
  	USB_DEVICE(0x0582, 0x001b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
772
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
773
774
  		.vendor_name = "Roland",
  		.product_name = "MMP-2",
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
775
776
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
777
  		.data = (const struct snd_usb_audio_quirk[]) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
778
779
780
781
782
783
784
785
786
787
788
  			{
  				.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...
789
  				.data = & (const struct snd_usb_midi_endpoint_info) {
d3ff42fd2   Clemens Ladisch   [ALSA] usb-audio ...
790
791
792
793
794
795
796
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
797
798
799
800
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
801
  	/* has ID 0x001e when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
802
  	USB_DEVICE(0x0582, 0x001d),
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 = "V-SYNTH",
  		.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 = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
815
  	/* has ID 0x0024 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
816
  	USB_DEVICE(0x0582, 0x0023),
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 = "UM-550",
  		.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
828
829
830
831
832
833
834
  			.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...
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 = "EDIROL",
  		.product_name = "UA-20",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
840
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
841
  			{
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
842
843
844
845
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
846
  				.ifnum = 1,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
847
848
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
015eb0b08   Clemens Ladisch   ALSA: usb-audio: ...
849
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
850
851
852
853
854
855
856
857
858
859
860
  					.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
861
862
863
  			},
  			{
  				.ifnum = 2,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
864
865
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
015eb0b08   Clemens Ladisch   ALSA: usb-audio: ...
866
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
867
868
869
870
871
872
873
874
875
876
877
  					.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
878
879
880
  			},
  			{
  				.ifnum = 3,
1f14a657d   Clemens Ladisch   [ALSA] usb-audio:...
881
882
883
884
885
  				.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
886
887
888
889
890
891
892
893
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
894
  	/* has ID 0x0028 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
895
  	USB_DEVICE(0x0582, 0x0027),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
896
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
897
898
899
900
  		.vendor_name = "EDIROL",
  		.product_name = "SD-20",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
901
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
902
903
904
905
906
907
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
908
  	/* has ID 0x002a when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
909
  	USB_DEVICE(0x0582, 0x0029),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
910
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
911
912
913
914
  		.vendor_name = "EDIROL",
  		.product_name = "SD-80",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
915
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
916
917
918
919
920
921
922
923
924
925
926
927
  			.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...
928
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
929
930
931
932
  		.vendor_name = "EDIROL",
  		.product_name = "UA-700",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
933
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
934
935
  			{
  				.ifnum = 1,
310e0dc01   Pedro Lopez-Cabanillas   ALSA: snd-usb-aud...
936
  				.type = QUIRK_AUDIO_EDIROL_UAXX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
937
938
939
  			},
  			{
  				.ifnum = 2,
310e0dc01   Pedro Lopez-Cabanillas   ALSA: snd-usb-aud...
940
  				.type = QUIRK_AUDIO_EDIROL_UAXX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
941
942
943
  			},
  			{
  				.ifnum = 3,
59b3db6c6   Pedro Lopez-Cabanillas   ALSA: usb-audio: ...
944
  				.type = QUIRK_AUDIO_EDIROL_UAXX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
945
946
947
948
949
950
951
952
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
953
  	/* has ID 0x002e when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
954
  	USB_DEVICE(0x0582, 0x002d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
955
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
956
957
958
959
  		.vendor_name = "Roland",
  		.product_name = "XV-2020",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
960
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
961
962
963
964
965
966
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
967
  	/* has ID 0x0030 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
968
  	USB_DEVICE(0x0582, 0x002f),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
969
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
970
971
972
973
  		.vendor_name = "Roland",
  		.product_name = "VariOS",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
974
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
975
976
977
978
979
980
  			.out_cables = 0x0007,
  			.in_cables  = 0x0007
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
981
  	/* has ID 0x0034 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
982
  	USB_DEVICE(0x0582, 0x0033),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
983
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
984
985
986
987
  		.vendor_name = "EDIROL",
  		.product_name = "PCR",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
988
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
989
990
991
992
993
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
994
  	/* TODO: add Roland M-1000 support */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
995
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
996
997
998
999
  	/*
  	 * Has ID 0x0038 when not in "Advanced Driver" mode;
  	 * later revisions use IDs 0x0054 and 0x00a2.
  	 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1000
  	USB_DEVICE(0x0582, 0x0037),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1001
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1002
1003
1004
1005
  		.vendor_name = "Roland",
  		.product_name = "Digital Piano",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1006
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1007
1008
1009
1010
1011
1012
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
5af4c8337   Clemens Ladisch   [ALSA] usb-audio ...
1013
1014
1015
1016
1017
  	/*
  	 * 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
1018
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1019
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1020
1021
  		.vendor_name = "BOSS",
  		.product_name = "GS-10",
5af4c8337   Clemens Ladisch   [ALSA] usb-audio ...
1022
1023
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1024
  		.data = & (const struct snd_usb_audio_quirk[]) {
5af4c8337   Clemens Ladisch   [ALSA] usb-audio ...
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
  			{
  				.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
1040
1041
1042
1043
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1044
  	/* has ID 0x0041 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1045
  	USB_DEVICE(0x0582, 0x0040),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1046
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1047
1048
1049
1050
  		.vendor_name = "Roland",
  		.product_name = "GI-20",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1051
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1052
1053
1054
1055
1056
1057
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1058
  	/* has ID 0x0043 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1059
  	USB_DEVICE(0x0582, 0x0042),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1060
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1061
1062
1063
1064
  		.vendor_name = "Roland",
  		.product_name = "RS-70",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1065
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1066
1067
1068
1069
1070
1071
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
358ce0cf3   Clemens Ladisch   [ALSA] usb-audio:...
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
  	/* has ID 0x0049 when not in "Advanced Driver" mode */
  	USB_DEVICE(0x0582, 0x0047),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "EDIROL", */
  		/* .product_name = "UR-80", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			/* in the 96 kHz modes, only interface 1 is there */
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1096
  	/* has ID 0x004a when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1097
  	USB_DEVICE(0x0582, 0x0048),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1098
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
358ce0cf3   Clemens Ladisch   [ALSA] usb-audio:...
1099
1100
  		/* .vendor_name = "EDIROL", */
  		/* .product_name = "UR-80", */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1101
1102
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1103
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1104
1105
1106
1107
1108
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1109
  	/* TODO: add Edirol M-100FX support */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1110
  {
f38cc317c   Clemens Ladisch   [ALSA] usb-audio:...
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
  	/* has ID 0x004e when not in "Advanced Driver" mode */
  	USB_DEVICE(0x0582, 0x004c),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "EDIROL",
  		.product_name = "PCR-A",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1134
  	/* has ID 0x004f when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1135
  	USB_DEVICE(0x0582, 0x004d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1136
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1137
1138
1139
1140
  		.vendor_name = "EDIROL",
  		.product_name = "PCR-A",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1141
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
  			.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...
1153
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1154
1155
1156
1157
  		.vendor_name = "EDIROL",
  		.product_name = "UA-3FX",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1158
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
  			{
  				.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...
1175
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1176
1177
1178
1179
1180
1181
  		.vendor_name = "EDIROL",
  		.product_name = "UM-1SX",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
f167684a6   Takashi Iwai   [ALSA] usbaudio -...
1182
1183
1184
1185
1186
1187
1188
1189
1190
  {
  	USB_DEVICE(0x0582, 0x0060),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Roland",
  		.product_name = "EXR Series",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1191
  {
aa70201fd   Clemens Ladisch   ALSA: usb-audio: ...
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
  	/* has ID 0x0066 when not in "Advanced Driver" mode */
  	USB_DEVICE(0x0582, 0x0064),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "EDIROL", */
  		/* .product_name = "PCR-1", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1215
  	/* has ID 0x0067 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1216
  	USB_DEVICE(0x0582, 0x0065),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1217
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
aa70201fd   Clemens Ladisch   ALSA: usb-audio: ...
1218
1219
  		/* .vendor_name = "EDIROL", */
  		/* .product_name = "PCR-1", */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1220
1221
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1222
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1223
1224
1225
1226
1227
1228
  			.out_cables = 0x0001,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1229
  	/* has ID 0x006b when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1230
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1231
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1232
1233
1234
1235
  		.vendor_name = "Roland",
  		.product_name = "SP-606",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1236
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1237
1238
1239
1240
1241
1242
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1243
  	/* has ID 0x006e when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1244
  	USB_DEVICE(0x0582, 0x006d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1245
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1246
1247
1248
1249
  		.vendor_name = "Roland",
  		.product_name = "FANTOM-X",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1250
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
  			.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...
1263
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1264
1265
1266
1267
  		.vendor_name = "EDIROL",
  		.product_name = "UA-25",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1268
  		.data = (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1269
1270
  			{
  				.ifnum = 0,
310e0dc01   Pedro Lopez-Cabanillas   ALSA: snd-usb-aud...
1271
  				.type = QUIRK_AUDIO_EDIROL_UAXX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1272
1273
1274
  			},
  			{
  				.ifnum = 1,
310e0dc01   Pedro Lopez-Cabanillas   ALSA: snd-usb-aud...
1275
  				.type = QUIRK_AUDIO_EDIROL_UAXX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1276
1277
1278
  			},
  			{
  				.ifnum = 2,
59b3db6c6   Pedro Lopez-Cabanillas   ALSA: usb-audio: ...
1279
  				.type = QUIRK_AUDIO_EDIROL_UAXX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1280
1281
1282
1283
1284
1285
1286
1287
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1288
  	/* has ID 0x0076 when not in "Advanced Driver" mode */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1289
  	USB_DEVICE(0x0582, 0x0075),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1290
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1291
1292
1293
1294
  		.vendor_name = "BOSS",
  		.product_name = "DR-880",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1295
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1296
1297
1298
1299
1300
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1301
  {
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1302
  	/* has ID 0x007b when not in "Advanced Driver" mode */
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1303
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x007a),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1304
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1305
  		.vendor_name = "Roland",
d879f0ccf   Clemens Ladisch   [ALSA] usb-audio:...
1306
  		/* "RD" or "RD-700SX"? */
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1307
1308
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1309
  		.data = & (const struct snd_usb_midi_endpoint_info) {
5a2a68f5a   Clemens Ladisch   [ALSA] usb-audio:...
1310
1311
1312
1313
1314
  			.out_cables = 0x0003,
  			.in_cables  = 0x0003
  		}
  	}
  },
cdca881d7   Clemens Ladisch   [ALSA] usb-audio:...
1315
1316
1317
1318
1319
1320
1321
1322
1323
  {
  	/* 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:...
1324
1325
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
cdca881d7   Clemens Ladisch   [ALSA] usb-audio:...
1326
1327
1328
  		}
  	}
  },
7c79b7682   Clemens Ladisch   [ALSA] usb-audio:...
1329
1330
  	/* TODO: add Roland V-SYNTH XT support */
  	/* TODO: add BOSS GT-PRO support */
415b09e45   Clemens Ladisch   [ALSA] usb-audio:...
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
  {
  	/* 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:...
1345
  	/* TODO: add Edirol PC-80 support */
9b0d39be5   Takashi Iwai   [ALSA] usb-audio ...
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
  {
  	USB_DEVICE(0x0582, 0x0096),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "EDIROL",
  		.product_name = "UA-1EX",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
7c79b7682   Clemens Ladisch   [ALSA] usb-audio:...
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
  {
  	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
  		}
  	}
  },
310e0dc01   Pedro Lopez-Cabanillas   ALSA: snd-usb-aud...
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
  {
  	/*
  	 * This quirk is for the "Advanced Driver" mode. If off, the UA-4FX
  	 * is standard compliant, but has only 16-bit PCM and no MIDI.
  	 */
  	USB_DEVICE(0x0582, 0x00a3),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "EDIROL",
  		.product_name = "UA-4FX",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_EDIROL_UAXX
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_EDIROL_UAXX
  			},
  			{
  				.ifnum = 2,
59b3db6c6   Pedro Lopez-Cabanillas   ALSA: usb-audio: ...
1403
  				.type = QUIRK_AUDIO_EDIROL_UAXX
310e0dc01   Pedro Lopez-Cabanillas   ALSA: snd-usb-aud...
1404
1405
1406
1407
1408
1409
1410
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
7c79b7682   Clemens Ladisch   [ALSA] usb-audio:...
1411
  	/* TODO: add Edirol MD-P1 support */
87823090a   Carlo Beccaria   [ALSA] usb-audio:...
1412
  {
25a47b6b0   Clemens Ladisch   [ALSA] usb-audio:...
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
  	USB_DEVICE(0x582, 0x00a6),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Roland",
  		.product_name = "Juno-G",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
87823090a   Carlo Beccaria   [ALSA] usb-audio:...
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
  	/* Roland SH-201 */
  	USB_DEVICE(0x0582, 0x00ad),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Roland",
  		.product_name = "SH-201",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
62b126315   Chris Mennie   [ALSA] usb-audio ...
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
  {
  	/* Roland SonicCell */
  	USB_DEVICE(0x0582, 0x00c2),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Roland",
  		.product_name = "SonicCell",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
6efd2cd5e   Takashi Iwai   ALSA: usb-audio -...
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
  	/* Edirol M-16DX */
  	/* FIXME: This quirk gives a good-working capture stream but the
  	 *        playback seems problematic because of lacking of sync
  	 *        with capture stream.  It needs to sync with the capture
  	 *        clock.  As now, you'll get frequent sound distortions
  	 *        via the playback.
  	 */
  	USB_DEVICE(0x0582, 0x00c4),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
62b126315   Chris Mennie   [ALSA] usb-audio ...
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
b38addb2d   Clemens Ladisch   ALSA: usb-audio: ...
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
  {
  	/* BOSS GT-10 */
  	USB_DEVICE(0x0582, 0x00da),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
e2736261b   Takashi Iwai   ALSA: usb - Add q...
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
  {
  	/* Advanced modes of the Edirol UA-25EX.
  	 * For the standard mode, UA-25EX has ID 0582:00e7, which
  	 * offers only 16-bit PCM at 44.1 kHz and no MIDI.
  	 */
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "EDIROL",
  		.product_name = "UA-25EX",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_EDIROL_UAXX
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_EDIROL_UAXX
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_EDIROL_UAXX
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
d867bba94   Clemens Ladisch   sound: usb-audio:...
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
  {
  	/* has ID 0x00ea when not in Advanced Driver mode */
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e9),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "Roland", */
  		/* .product_name = "UA-1G", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
9d0c91938   Clemens Ladisch   ALSA: usb-audio: ...
1604
  {
e19869204   Clemens Ladisch   ALSA: usb-audio: ...
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x0104),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "Roland", */
  		/* .product_name = "UM-1G", */
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
cb6f4b55f   Keith A. Milner   ALSA: usb-audio -...
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
  	/* Boss JS-8 Jam Station  */
  	USB_DEVICE(0x0582, 0x0109),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "BOSS", */
  		/* .product_name = "JS-8", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
9d0c91938   Clemens Ladisch   ALSA: usb-audio: ...
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
  	/* has ID 0x0110 when not in Advanced Driver mode */
  	USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "Roland", */
  		/* .product_name = "A-PRO", */
  		.ifnum = 1,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
  			.out_cables = 0x0003,
  			.in_cables  = 0x0007
  		}
  	}
  },
7b28079b3   Clemens Ladisch   ALSA: usb-audio: ...
1658
  {
ae7cc709f   John F Leach   ALSA: usb-audio -...
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
  	/* Roland GAIA SH-01 */
  	USB_DEVICE(0x0582, 0x0111),
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Roland",
  		.product_name = "GAIA",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = &(const struct snd_usb_midi_endpoint_info) {
  				.out_cables = 0x0003,
  				.in_cables  = 0x0003
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
7b28079b3   Clemens Ladisch   ALSA: usb-audio: ...
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
  	USB_DEVICE(0x0582, 0x0113),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "BOSS", */
  		/* .product_name = "ME-25", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
0ef283247   Daniel Mack   ALSA: usb-audio: ...
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
  {
  	USB_DEVICE(0x0582, 0x0127),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "Roland", */
  		/* .product_name = "GR-55", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
6a6d822e1   David G Turner   ALSA: usb-audio -...
1745
  {
14515a082   Daniele Guerrieri   ALSA: usb-audio: ...
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
  	/* Added support for Roland UM-ONE which differs from UM-1 */
  	USB_DEVICE(0x0582, 0x012a),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "ROLAND", */
  		/* .product_name = "UM-ONE", */
  		.ifnum = 0,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
  		.data = & (const struct snd_usb_midi_endpoint_info) {
  			.out_cables = 0x0001,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
6a6d822e1   David G Turner   ALSA: usb-audio -...
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
  	USB_DEVICE(0x0582, 0x011e),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "BOSS", */
  		/* .product_name = "BR-800", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
c9c9e4e42   Kazutomo Yoshii   ALSA: usb-audio -...
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
  {
  	USB_DEVICE(0x0582, 0x0130),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "BOSS", */
  		/* .product_name = "MICRO BR-80", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
62b126315   Chris Mennie   [ALSA] usb-audio ...
1823

a25f175c2   Clemens Ladisch   [ALSA] usb-audio:...
1824
1825
1826
1827
1828
1829
1830
1831
1832
  /* 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...
1833
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
a25f175c2   Clemens Ladisch   [ALSA] usb-audio:...
1834
1835
1836
1837
  		.vendor_name = "Hercules",
  		.product_name = "DJ Console (WE)",
  		.ifnum = 4,
  		.type = QUIRK_MIDI_FIXED_ENDPOINT,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1838
  		.data = & (const struct snd_usb_midi_endpoint_info) {
a25f175c2   Clemens Ladisch   [ALSA] usb-audio:...
1839
1840
1841
1842
1843
  			.out_cables = 0x0001,
  			.in_cables = 0x0001
  		}
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1844
1845
1846
  /* Midiman/M-Audio devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1847
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1848
1849
1850
1851
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 2x2",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1852
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1853
1854
1855
1856
1857
1858
1859
  			.out_cables = 0x0003,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1011),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1860
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1861
1862
1863
1864
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 1x1",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1865
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1866
1867
1868
1869
1870
1871
1872
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1015),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1873
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1874
1875
1876
1877
  		.vendor_name = "M-Audio",
  		.product_name = "Keystation",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1878
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1879
1880
1881
1882
1883
1884
1885
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1021),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1886
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1887
1888
1889
1890
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 4x4",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1891
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
  			.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...
1904
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1905
1906
1907
1908
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 8x8",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1909
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1910
1911
1912
1913
1914
1915
1916
  			.out_cables = 0x01ff,
  			.in_cables  = 0x01ff
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1033),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1917
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1918
1919
1920
1921
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 8x8",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1922
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1923
1924
1925
1926
1927
1928
1929
  			.out_cables = 0x01ff,
  			.in_cables  = 0x01ff
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x1041),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1930
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1931
1932
1933
1934
  		.vendor_name = "M-Audio",
  		.product_name = "MidiSport 2x4",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1935
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1936
1937
1938
1939
1940
1941
1942
  			.out_cables = 0x000f,
  			.in_cables  = 0x0003
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1943
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1944
1945
1946
1947
  		.vendor_name = "M-Audio",
  		.product_name = "Quattro",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
1948
  		.data = & (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
  			/*
  			 * 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...
1994
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2007
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2008
2009
2010
2011
  		.vendor_name = "M-Audio",
  		.product_name = "AudioPhile",
  		.ifnum = 6,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2012
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2013
2014
2015
2016
2017
2018
2019
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2008),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2020
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2021
2022
2023
2024
  		.vendor_name = "M-Audio",
  		.product_name = "Ozone",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_MIDIMAN,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2025
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2026
2027
2028
2029
2030
2031
2032
  			.out_cables = 0x0001,
  			.in_cables  = 0x0001
  		}
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x200d),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2033
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2034
2035
2036
2037
  		.vendor_name = "M-Audio",
  		.product_name = "OmniStudio",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2038
  		.data = & (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
  			{
  				.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...
2078
  				.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
2ea547dcd   Clemens Ladisch   [ALSA] usb-audio:...
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
  {
  	USB_DEVICE(0x0763, 0x2019),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "M-Audio", */
  		/* .product_name = "Ozone Academic", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = & (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 2,
  				.type = QUIRK_AUDIO_STANDARD_INTERFACE
  			},
  			{
  				.ifnum = 3,
  				.type = QUIRK_MIDI_MIDIMAN,
  				.data = & (const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0001,
  					.in_cables  = 0x0001
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2123
  {
c91d9cda5   Daniel Mack   ALSA: usb-audio: ...
2124
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080),
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2125
2126
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "M-Audio", */
65f04443c   Clemens Ladisch   ALSA: usb-audio: ...
2127
  		/* .product_name = "Fast Track Ultra", */
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2128
2129
2130
2131
2132
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = & (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
d5a0bf6cc   Daniel Mack   ALSA: usb-audio: ...
2133
  				.type = QUIRK_AUDIO_STANDARD_MIXER,
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2134
2135
2136
  			},
  			{
  				.ifnum = 1,
65f04443c   Clemens Ladisch   ALSA: usb-audio: ...
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
  					.channels = 8,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  					.endpoint = 0x01,
  					.ep_attr = 0x09,
  					.rates = SNDRV_PCM_RATE_44100 |
  						 SNDRV_PCM_RATE_48000 |
  						 SNDRV_PCM_RATE_88200 |
  						 SNDRV_PCM_RATE_96000,
  					.rate_min = 44100,
  					.rate_max = 96000,
  					.nr_rates = 4,
  					.rate_table = (unsigned int[]) {
  						44100, 48000, 88200, 96000
  					}
  				}
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2158
2159
2160
  			},
  			{
  				.ifnum = 2,
65f04443c   Clemens Ladisch   ALSA: usb-audio: ...
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
  					.channels = 8,
  					.iface = 2,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  					.endpoint = 0x81,
  					.ep_attr = 0x05,
  					.rates = SNDRV_PCM_RATE_44100 |
  						 SNDRV_PCM_RATE_48000 |
  						 SNDRV_PCM_RATE_88200 |
  						 SNDRV_PCM_RATE_96000,
  					.rate_min = 44100,
  					.rate_max = 96000,
  					.nr_rates = 4,
  					.rate_table = (unsigned int[]) {
  						44100, 48000, 88200, 96000
  					}
  				}
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2182
2183
2184
2185
2186
2187
2188
2189
2190
  			},
  			/* interface 3 (MIDI) is standard compliant */
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
  {
c91d9cda5   Daniel Mack   ALSA: usb-audio: ...
2191
  	USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081),
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2192
2193
2194
2195
2196
2197
2198
2199
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "M-Audio", */
  		/* .product_name = "Fast Track Ultra 8R", */
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = & (const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 0,
d5a0bf6cc   Daniel Mack   ALSA: usb-audio: ...
2200
  				.type = QUIRK_AUDIO_STANDARD_MIXER,
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2201
2202
2203
  			},
  			{
  				.ifnum = 1,
65f04443c   Clemens Ladisch   ALSA: usb-audio: ...
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
  					.channels = 8,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  					.endpoint = 0x01,
  					.ep_attr = 0x09,
  					.rates = SNDRV_PCM_RATE_44100 |
  						 SNDRV_PCM_RATE_48000 |
  						 SNDRV_PCM_RATE_88200 |
  						 SNDRV_PCM_RATE_96000,
  					.rate_min = 44100,
  					.rate_max = 96000,
  					.nr_rates = 4,
  					.rate_table = (unsigned int[]) {
  							44100, 48000, 88200, 96000
  					}
  				}
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2225
2226
2227
  			},
  			{
  				.ifnum = 2,
65f04443c   Clemens Ladisch   ALSA: usb-audio: ...
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = & (const struct audioformat) {
  					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
  					.channels = 8,
  					.iface = 2,
  					.altsetting = 1,
  					.altset_idx = 1,
  					.attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
  					.endpoint = 0x81,
  					.ep_attr = 0x05,
  					.rates = SNDRV_PCM_RATE_44100 |
  						 SNDRV_PCM_RATE_48000 |
  						 SNDRV_PCM_RATE_88200 |
  						 SNDRV_PCM_RATE_96000,
  					.rate_min = 44100,
  					.rate_max = 96000,
  					.nr_rates = 4,
  					.rate_table = (unsigned int[]) {
  						44100, 48000, 88200, 96000
  					}
  				}
fca5bca48   Felix Homann   ALSA: usbaudio: A...
2249
2250
2251
2252
2253
2254
2255
2256
  			},
  			/* interface 3 (MIDI) is standard compliant */
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2257

0243ef71a   Clemens Ladisch   [ALSA] usb-audio:...
2258
2259
  /* Casio devices */
  {
9808dc962   Clemens Ladisch   [ALSA] usb-audio:...
2260
2261
2262
2263
2264
2265
2266
2267
2268
  	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:...
2269
  	/* this ID is used by several devices without a product ID */
0243ef71a   Clemens Ladisch   [ALSA] usb-audio:...
2270
2271
2272
  	USB_DEVICE(0x07cf, 0x6802),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Casio",
318d27f8b   Clemens Ladisch   [ALSA] usb-audio:...
2273
  		.product_name = "Keyboard",
0243ef71a   Clemens Ladisch   [ALSA] usb-audio:...
2274
2275
2276
2277
  		.ifnum = 0,
  		.type = QUIRK_MIDI_YAMAHA
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2278
2279
2280
  /* Mark of the Unicorn devices */
  {
  	/* thanks to Robert A. Lerche <ral 'at' msbit.com> */
bbd4615cd   Clemens Ladisch   [ALSA] usb-audio ...
2281
2282
2283
2284
2285
2286
  	.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...
2287
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2288
2289
2290
2291
  		.vendor_name = "MOTU",
  		.product_name = "Fastlane",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2292
  		.data = & (const struct snd_usb_audio_quirk[]) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2293
2294
  			{
  				.ifnum = 0,
c7f572168   Clemens Ladisch   ALSA: usb-audio: ...
2295
  				.type = QUIRK_MIDI_RAW_BYTES
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2307
2308
2309
  /* Emagic devices */
  {
  	USB_DEVICE(0x086a, 0x0001),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2310
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2311
2312
2313
2314
  		.vendor_name = "Emagic",
  		/* .product_name = "Unitor8", */
  		.ifnum = 2,
  		.type = QUIRK_MIDI_EMAGIC,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2315
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2316
2317
2318
2319
2320
2321
2322
  			.out_cables = 0x80ff,
  			.in_cables  = 0x80ff
  		}
  	}
  },
  {
  	USB_DEVICE(0x086a, 0x0002),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2323
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2324
2325
2326
2327
  		.vendor_name = "Emagic",
  		/* .product_name = "AMT8", */
  		.ifnum = 2,
  		.type = QUIRK_MIDI_EMAGIC,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2328
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2329
2330
2331
2332
2333
2334
2335
  			.out_cables = 0x80ff,
  			.in_cables  = 0x80ff
  		}
  	}
  },
  {
  	USB_DEVICE(0x086a, 0x0003),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2336
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2337
2338
2339
2340
  		.vendor_name = "Emagic",
  		/* .product_name = "MT4", */
  		.ifnum = 2,
  		.type = QUIRK_MIDI_EMAGIC,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2341
  		.data = & (const struct snd_usb_midi_endpoint_info) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2342
2343
2344
2345
2346
  			.out_cables = 0x800f,
  			.in_cables  = 0x8003
  		}
  	}
  },
56a9eb1f3   Daniel Mack   ALSA: usb-audio: ...
2347
2348
2349
2350
2351
2352
2353
2354
  /* KORG devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "KORG, Inc.",
  		/* .product_name = "PANDORA PX5D", */
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE,
1bba160a0   Sergiusz Urbaniak   ALSA: snd-usb: ad...
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
  	}
  },
  
  {
  	USB_DEVICE_VENDOR_SPEC(0x0944, 0x0201),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "KORG, Inc.",
  		/* .product_name = "ToneLab ST", */
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE,
56a9eb1f3   Daniel Mack   ALSA: usb-audio: ...
2365
2366
  	}
  },
4434ade8c   Krzysztof Foltman   ALSA: usb-audio: ...
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
  /* AKAI devices */
  {
  	USB_DEVICE(0x09e8, 0x0062),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "AKAI",
  		.product_name = "MPD16",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_AKAI,
  	}
  },
31ab9523e   Clemens Ladisch   [ALSA] usb-audio:...
2377
2378
2379
  /* TerraTec devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2380
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
31ab9523e   Clemens Ladisch   [ALSA] usb-audio:...
2381
2382
2383
2384
2385
2386
  		.vendor_name = "TerraTec",
  		.product_name = "PHASE 26",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2387
2388
  {
  	USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0013),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2389
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
bc56eff12   Clemens Ladisch   [ALSA] add anothe...
2390
2391
2392
2393
2394
2395
2396
2397
2398
  		.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:...
2399
  		.vendor_name = "TerraTec",
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2400
2401
2402
2403
2404
  		.product_name = "PHASE 26",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
b2b8229dd   Clemens Ladisch   [ALSA] usb-audio:...
2405
  {
ca85b6ba5   Andrea Borgia   ALSA: usb-audio -...
2406
  	USB_DEVICE(0x0ccd, 0x0028),
93bfd0122   Andrea Borgia   ALSA: usb-audio -...
2407
2408
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "TerraTec",
d9e89bf0c   Andrea Borgia   ALSA: usb-audio -...
2409
  		.product_name = "Aureon5.1MkII",
93bfd0122   Andrea Borgia   ALSA: usb-audio -...
2410
2411
2412
2413
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
  {
b2b8229dd   Clemens Ladisch   [ALSA] usb-audio:...
2414
2415
2416
2417
2418
2419
2420
2421
  	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
2422

0f28ecd33   Mark Hills   [ALSA] This patch...
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
  /* Stanton/N2IT Final Scratch v1 device ('Scratchamp') */
  {
  	USB_DEVICE(0x103d, 0x0100),
  		.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Stanton",
  		.product_name = "ScratchAmp",
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
  {
  	USB_DEVICE(0x103d, 0x0101),
  		.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Stanton",
  		.product_name = "ScratchAmp",
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2440
2441
2442
  /* Novation EMS devices */
  {
  	USB_DEVICE_VENDOR_SPEC(0x1235, 0x0001),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2443
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2444
2445
2446
2447
2448
2449
2450
2451
  		.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...
2452
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2453
2454
2455
2456
2457
2458
2459
  		.vendor_name = "Novation",
  		.product_name = "Speedio",
  		.ifnum = 3,
  		.type = QUIRK_MIDI_NOVATION
  	}
  },
  {
c7f572168   Clemens Ladisch   ALSA: usb-audio: ...
2460
2461
2462
2463
2464
2465
2466
2467
2468
  	USB_DEVICE(0x1235, 0x000e),
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		/* .vendor_name = "Novation", */
  		/* .product_name = "Launchpad", */
  		.ifnum = 0,
  		.type = QUIRK_MIDI_RAW_BYTES
  	}
  },
  {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2469
  	USB_DEVICE_VENDOR_SPEC(0x1235, 0x4661),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2470
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2471
2472
2473
2474
2475
2476
  		.vendor_name = "Novation",
  		.product_name = "ReMOTE25",
  		.ifnum = 0,
  		.type = QUIRK_MIDI_NOVATION
  	}
  },
d39e82db7   Sebastien Alaiwan   ALSA: USB MIDI su...
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
  /* Access Music devices */
  {
  	/* VirusTI Desktop */
  	USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = &(const struct snd_usb_audio_quirk[]) {
  			{
  				.ifnum = 3,
  				.type = QUIRK_MIDI_FIXED_ENDPOINT,
  				.data = &(const struct snd_usb_midi_endpoint_info) {
  					.out_cables = 0x0003,
  					.in_cables  = 0x0003
  				}
  			},
  			{
  				.ifnum = 4,
  				.type = QUIRK_IGNORE_INTERFACE
  			},
  			{
  				.ifnum = -1
  			}
  		}
  	}
  },
3a7788b75   Mark Hills   [ALSA] usb-audio:...
2503
  /* */
15944806e   Clemens Ladisch   [ALSA] usb-audio:...
2504
  {
3a7788b75   Mark Hills   [ALSA] usb-audio:...
2505
  	/* aka. Serato Scratch Live DJ Box */
15944806e   Clemens Ladisch   [ALSA] usb-audio:...
2506
  	USB_DEVICE(0x13e5, 0x0001),
3a7788b75   Mark Hills   [ALSA] usb-audio:...
2507
2508
2509
2510
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  		.vendor_name = "Rane",
  		.product_name = "SL-1",
  		.ifnum = QUIRK_NO_INTERFACE
15944806e   Clemens Ladisch   [ALSA] usb-audio:...
2511
2512
  	}
  },
54a8c500d   Daniel Mack   ALSA: usb-audio: ...
2513
2514
  /* Native Instruments MK2 series */
  {
759e890f5   Daniel Mack   ALSA: usb-audio: ...
2515
  	/* Komplete Audio 6 */
9cdc35293   Daniel Mack   ALSA: usb-audio: ...
2516
2517
2518
2519
2520
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x17cc,
  	.idProduct = 0x1000,
  },
  {
54a8c500d   Daniel Mack   ALSA: usb-audio: ...
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
  	/* Traktor Audio 6 */
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x17cc,
  	.idProduct = 0x1010,
  },
  {
  	/* Traktor Audio 10 */
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE,
  	.idVendor = 0x17cc,
  	.idProduct = 0x1020,
  },
02651d1a9   Miller Puckette   ALSA: usb-audio -...
2532
2533
2534
2535
2536
  /* KeithMcMillen Stringport */
  {
  	USB_DEVICE(0x1f38, 0x0001),
  	.bInterfaceClass = USB_CLASS_AUDIO,
  },
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
2537
  /* Miditech devices */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2538
  {
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2539
  	USB_DEVICE(0x4752, 0x0011),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2540
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2541
2542
2543
  		.vendor_name = "Miditech",
  		.product_name = "Midistart-2",
  		.ifnum = 0,
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
2544
  		.type = QUIRK_MIDI_CME
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2545
2546
  	}
  },
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
2547
2548
  
  /* Central Music devices */
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2549
  {
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
2550
  	/* this ID used by both Miditech MidiStudio-2 and CME UF-x */
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2551
  	USB_DEVICE(0x7104, 0x2202),
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2552
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2553
  		.ifnum = 0,
cc7a59bd8   Clemens Ladisch   [ALSA] usb-audio:...
2554
  		.type = QUIRK_MIDI_CME
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2555
2556
  	}
  },
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2557
2558
2559
2560
2561
2562
2563
  /* Hauppauge HVR-950Q and HVR-850 */
  {
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200),
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2564
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2565
2566
2567
2568
2569
2570
2571
2572
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x7240),
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-850",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x7210),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2588
2589
2590
2591
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2592
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2593
2594
2595
2596
2597
2598
2599
2600
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2601
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x7217),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2602
2603
2604
2605
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2606
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2607
2608
2609
2610
2611
2612
2613
2614
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2615
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x721b),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2616
2617
2618
2619
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2620
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2621
2622
2623
2624
2625
2626
2627
2628
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2629
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x721e),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2630
2631
2632
2633
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2634
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2635
2636
2637
2638
2639
2640
2641
2642
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2643
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x721f),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2644
2645
2646
2647
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2648
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2649
2650
2651
2652
2653
2654
2655
2656
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2657
  	USB_DEVICE_VENDOR_SPEC(0x2040, 0x7280),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2658
2659
2660
2661
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2662
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2663
2664
2665
2666
2667
2668
2669
2670
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
  		.product_name = "HVR-950Q",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
  {
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2671
  	USB_DEVICE_VENDOR_SPEC(0x0fd9, 0x0008),
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2672
2673
2674
2675
  	.match_flags = USB_DEVICE_ID_MATCH_DEVICE |
  		       USB_DEVICE_ID_MATCH_INT_CLASS |
  		       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
  	.bInterfaceClass = USB_CLASS_AUDIO,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2676
  	.bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL,
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2677
2678
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Hauppauge",
dd2f8c2f8   John S Gruber   ALSA: usb - Corre...
2679
  		.product_name = "HVR-950Q",
52a7a5835   John S. Gruber   ALSA: usb-audio: ...
2680
2681
2682
2683
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_AUDIO_ALIGN_TRANSFER,
  	}
  },
40717382e   Chris J Arges   ALSA: usbaudio Mb...
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
  /* Digidesign Mbox */
  {
  	/* Thanks to Clemens Ladisch <clemens@ladisch.de> */
  	USB_DEVICE(0x0dba, 0x1000),
  	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
  		.vendor_name = "Digidesign",
  		.product_name = "MBox",
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_COMPOSITE,
  		.data = (const struct snd_usb_audio_quirk[]){
  			{
  				.ifnum = 0,
  				.type = QUIRK_IGNORE_INTERFACE,
  			},
  			{
  				.ifnum = 1,
  				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
  				.data = &(const struct audioformat) {
29088fef3   Clemens Ladisch   ALSA: usb-audio: ...
2702
  					.formats = SNDRV_PCM_FMTBIT_S24_3BE,
40717382e   Chris J Arges   ALSA: usbaudio Mb...
2703
2704
2705
2706
  					.channels = 2,
  					.iface = 1,
  					.altsetting = 1,
  					.altset_idx = 1,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2707
  					.attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
40717382e   Chris J Arges   ALSA: usbaudio Mb...
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
  					.endpoint = 0x02,
  					.ep_attr = 0x01,
  					.maxpacksize = 0x130,
  					.rates = SNDRV_PCM_RATE_44100 |
  						 SNDRV_PCM_RATE_48000,
  					.rate_min = 44100,
  					.rate_max = 48000,
  					.nr_rates = 2,
  					.rate_table = (unsigned int[]) {
  						44100, 48000
  					}
  				}
  			},
  			{
  				.ifnum = -1
  			}
  		}
  
  	}
  },
f38275fe9   Clemens Ladisch   [ALSA] usb-audio ...
2728
  {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2729
2730
2731
2732
2733
2734
2735
  	/*
  	 * 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,
de48c7bc6   Daniel Mack   ALSA: usbaudio: c...
2736
  	.bInterfaceSubClass = USB_SUBCLASS_MIDISTREAMING,
86e07d346   Takashi Iwai   [ALSA] Remove xxx...
2737
  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2738
2739
2740
2741
2742
2743
  		.ifnum = QUIRK_ANY_INTERFACE,
  		.type = QUIRK_MIDI_STANDARD_INTERFACE
  	}
  },
  
  #undef USB_DEVICE_VENDOR_SPEC